Commit graph

20 commits

Author SHA1 Message Date
Dmitry Marakasov
a0805c0e13 - Fix more shebangs
Approved by:	portmgr blanket
2017-12-21 17:21:14 +00:00
Sunpoet Po-Chuan Hsieh
1f0bde91fb Update to 3.6.4
Changes:	https://docs.python.org/3.6/whatsnew/changelog.html
2017-12-20 14:38:13 +00:00
Mathieu Arnold
551be3c723 Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
  current python flavor.  It can be used in dependency lines when the
  port itself is not python flavored.  For example, deskutils/calibre.

  By default, all the flavors are generated.  To only generate flavors
  for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define
  BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf.

  In all the ports with Python dependencies, the *_DEPENDS entries MUST
  end with the flavor so that the framework knows which to build/use.
  This is done by appending '@${PY_FLAVOR}' after the origin (or
  @${FLAVOR} if in a Python module with Python flavors, as the content
  will be the same).  For example:

    RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}

PR:		223071
Reviewed by:	portmgr, python
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D12464
2017-11-30 15:50:30 +00:00
Sunpoet Po-Chuan Hsieh
dc6db978a7 Update to 3.6.3
Changes:	https://docs.python.org/3.6/whatsnew/changelog.html
2017-10-04 10:55:25 +00:00
Sean Bruno
64c2c626f8 Add a code block for the qemu-user enabled cross build environment. When using
this environment in poudriere, CC is not set to the default of /usr/bin/cc and
a cross-compile toolchain is used.  We need to hand edit this so that the run
time configuration for python matches what the FreeBSD base system provides.

PR:		208282
Submitted by:	manu
Approved by:	portmgr (mat)
2017-08-03 00:56:08 +00:00
Sunpoet Po-Chuan Hsieh
a8598a611b Update to 3.6.2
Changes:	https://docs.python.org/3.6/whatsnew/changelog.html
2017-07-17 18:42:02 +00:00
Danilo G. Baio
a4046066e9 lang/python{27,33,34,35,36}: Make Python curses module work with Unicode
Use readline from ports (USES= readline:port) and patch
setup.py to ignore readline from base. The patch is necessary for
FreeBSD < 1100000, as after this the readline library became an
INTERNALLIB, see base r268461 [1]

Link devel/readline against termcapw instead of termcap is part of
this change, see ports r444463 [2]

Note that this is the **ports** approach for getting Python curses
module working with Unicode. The other way is splitting libncurses
into separate libncurses and libtinfo in base, for which an open
issue exists [3].

Apart from Python language ports, at least www/rtv and
sysutils/py-ranger ports have been tested to work correctly
(display Unicode) after this change.

[1] https://svnweb.freebsd.org/changeset/base/268461
[2] https://svnweb.freebsd.org/changeset/ports/444463
[3] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197317

PR:		171246, 197317
Reported by:	Vitaly Magerya <vmagerya gmail com>
Reviewed by:	garga, koobs, miwi, sunpoet
Approved by:	garga (mentor), sunpoet (python, with hat)
Differential Revision:	https://reviews.freebsd.org/D11127
2017-06-28 02:37:53 +00:00
Sunpoet Po-Chuan Hsieh
cb037d3c98 Update devel/readline to 7.0 patch 3
- Bump PORTREVISION for shlib change

Changes:	https://cnswww.cns.cwru.edu/php/chet/readline/CHANGES
		https://lists.gnu.org/archive/html/bug-bash/2016-09/msg00107.html
		https://lists.gnu.org/archive/html/bug-readline/2017-01/msg00002.html
Differential Revision:	https://reviews.freebsd.org/D11172
PR:		219947
Exp-run by:	antoine
2017-06-27 13:46:53 +00:00
Mathieu Arnold
d43901881d Mark BROKEN with openssl-devel.
pkg-static: Unable to access file /wrkdirs/usr/ports/lang/python36/work/stage/usr/local/lib/python3.6/lib-dynload/_ssl.so:No such file or directory

Sponsored by:	Absolight
2017-06-08 10:31:15 +00:00
Kubilay Kocak
2f6fe8dcec lang/python{27,33,34,35,36}: Install GDB debugging script
Users with a GDB that supports [1] Python extensions will automatically
load the extra debugging extensions when debugging programs that are
linked with libpythonX.Y.so.foo.

This enables extensions like 'py-bt' and 'py-frame' as described in
the Fedora Wiki Article: Easier Python Debugging [2], which can be
useful for debugging Python program state from crashes in C extensions,
for example.

[1] PYTHON option enabled in devel/gdb
[2] https://fedoraproject.org/wiki/Features/EasierPythonDebugging

PR:		203021
Submitted by:	cem
Reviewed by:	mat, koobs (python)
Approved by:	koobs (python)
Differential Revision: D10398
2017-06-06 12:56:47 +00:00
Sunpoet Po-Chuan Hsieh
b242df8cd3 Remove BROKEN_SSL
PR:		217703
Submitted by:	Melvyn Sopacua <m.r.sopacua@gmail.com>
2017-05-27 19:30:33 +00:00
Sunpoet Po-Chuan Hsieh
2619ed3ece Use BROKEN_SSL and fix indent 2017-04-16 11:08:44 +00:00
Martin Wilke
d69a0b0f5d - Fix shebang
Thanks to: amdmi3
2017-04-14 18:07:08 +00:00
Wen Heping
bb6cdc7f1f - Update to 3.6.1 2017-03-23 14:15:41 +00:00
Sunpoet Po-Chuan Hsieh
a92815fe29 Clean up Makefile
- Use PORTVERSION
- Remove CPE_VERSION
- Update WWW
2017-03-14 21:35:52 +00:00
Sunpoet Po-Chuan Hsieh
99f848d853 Fix PLIST
- While I'm here, sort PLIST

PR:		216444
Reported by:	Randy <randy+bsd@terbush.org>
2017-01-24 18:42:57 +00:00
Wen Heping
ec6ab67338 - Fix plist when build with WITHOUT_NIS=yes
PR:		216369
Submitted by:	claudius@ambtec.de
2017-01-23 02:49:10 +00:00
Sunpoet Po-Chuan Hsieh
f51c2f0758 - Remove TSC option
PR:		215580
Submitted by:	Roland Smith <rsmith@xs4all.nl>
2016-12-26 16:45:31 +00:00
Antoine Brodin
fd96352229 Fix packaging with non default ABI 2016-12-26 14:30:53 +00:00
Wen Heping
234f3ad658 - Repocopy lang/python35 --> lang/python36 and update to 3.6.0 2016-12-25 15:08:35 +00:00