<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ports/lang/python32, branch main</title>
<subtitle>FreeBSD ports tree</subtitle>
<id>https://cgit-dev.freebsd.org/ports/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/ports/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/'/>
<updated>2016-02-02T20:16:34Z</updated>
<entry>
<title>Remove expired lang/python32</title>
<updated>2016-02-02T20:16:34Z</updated>
<author>
<name>Ruslan Makhmatkhanov</name>
<email>rm@FreeBSD.org</email>
</author>
<published>2016-02-02T20:16:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=ed63d28c085967c3d7a5345fb02fb6879ff4b9e9'/>
<id>urn:sha1:ed63d28c085967c3d7a5345fb02fb6879ff4b9e9</id>
<content type='text'>
Python 3.2 has reached it's EOL. Please update to Python 3.5

With hat:	python
</content>
</entry>
<entry>
<title>lang/python{27,3*}: Backport patch in upstream issue20397</title>
<updated>2016-01-08T16:45:09Z</updated>
<author>
<name>Kubilay Kocak</name>
<email>koobs@FreeBSD.org</email>
</author>
<published>2016-01-08T16:45:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=474ff0ec6ac0f38e948e345cd9650ed808204dc2'/>
<id>urn:sha1:474ff0ec6ac0f38e948e345cd9650ed808204dc2</id>
<content type='text'>
In certain situations, file references (.py[co]) for Python files that
fail to compile with compileall() are still added to distutils --record
output.

This output is used for pkg-plist generation and must only contain
references to files that will be installed.

One example of a failure condition is when a Python 2/3 compatible
package containing a file containing Python 3.x only code is built with
Python 2.x, such as Gunicorn's _gaiohttp.py [1]

This change backports patches submitted against upstream issue 20397 [2]
that has not yet been committed.

 - For Python 2.7 and 3.5, backport both install_lib and test
 - For Python 3.2, 3.3 and 3.4, only backport install_lib

[1] https://svnweb.freebsd.org/changeset/ports/404558
[2] https://bugs.python.org/issue20397

Thank you to Brendan Molloy for producing and submitting the patches
against upstream sources.

Reviewed by:		sbz (python)
MFH:			2016Q1
Differential Revision:	D4832
</content>
</entry>
<entry>
<title>lang/python27(3*), Mk/Uses/python.mk: remove make spawn</title>
<updated>2015-12-29T12:03:09Z</updated>
<author>
<name>John Marino</name>
<email>marino@FreeBSD.org</email>
</author>
<published>2015-12-29T12:03:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=6256117d69833c86052b33bbc7252a244d3413a7'/>
<id>urn:sha1:6256117d69833c86052b33bbc7252a244d3413a7</id>
<content type='text'>
There are some inefficiencies in python.mk that significantly slow down
full tree scanning.  The use of bmake to obtain the current version of
a specific python is responsible for the majority of the slow done.

This commit splits out the PYTHON_PORTVERSION definition (which is the
same as the lang/python* PORTVERSION) into separate files.  With this
change, python.mk can simple include the makefile fragment instead of
spawning a new instance of make.

Different Revision:	https://reviews.freebsd.org/D4660
Approved by:		antoine (python), mva (python)
</content>
</entry>
<entry>
<title>lang/python32: Mark deprecated / fix No-EDGD/-SSLv3</title>
<updated>2015-12-24T17:09:12Z</updated>
<author>
<name>Bernard Spil</name>
<email>brnrd@FreeBSD.org</email>
</author>
<published>2015-12-24T17:09:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=a43a125b90e193afc487ff1b0f39b52bd2ed6479'/>
<id>urn:sha1:a43a125b90e193afc487ff1b0f39b52bd2ed6479</id>
<content type='text'>
  - Mark DEPRECATED, EXPIRES Feb 2016 [1]
  - Backport issue21356 RAND_egd fix [2]
  - Fix build for openssl -nossl3

[1] https://www.python.org/dev/peps/pep-0392/#lifespan
[2] http://bugs.python.org/issue21356

PR:		195513
Reviewed by:	koobs (mentor, python), feld (mentor)
Approved by:	koobs (python, mentor)
Differential Revision: https://reviews.freebsd.org/D4701
</content>
</entry>
<entry>
<title>- Switch regression-test to TEST_TARGED</title>
<updated>2015-12-24T11:39:53Z</updated>
<author>
<name>Martin Wilke</name>
<email>miwi@FreeBSD.org</email>
</author>
<published>2015-12-24T11:39:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=b05bb8a6fb064d305258f13a518990f60f767d71'/>
<id>urn:sha1:b05bb8a6fb064d305258f13a518990f60f767d71</id>
<content type='text'>
Discussed in:   D4695
Reviewed by:	koobs
</content>
</entry>
<entry>
<title>- Update lang/python32 to 3.2.6 [1]</title>
<updated>2015-12-21T18:13:33Z</updated>
<author>
<name>Martin Wilke</name>
<email>miwi@FreeBSD.org</email>
</author>
<published>2015-12-21T18:13:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=df08d0c78547197da445a241c2b4418a0b5619fb'/>
<id>urn:sha1:df08d0c78547197da445a241c2b4418a0b5619fb</id>
<content type='text'>
- Update lang/python35 to 3.5.1 [2]
- Update lang/python-doc-html for [1]
- Switch to do-test

Changelog:
[1] https://hg.python.org/cpython/file/v3.2.6/Misc/NEWS
[2] https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-1-final

Reviewed by:	koobs (python)
Approved by:	mat (mentor)
Differential Revision:	D4663
</content>
</entry>
<entry>
<title>Add version specified ports of separated standard Python modules for</title>
<updated>2015-11-19T01:28:38Z</updated>
<author>
<name>Li-Wen Hsu</name>
<email>lwhsu@FreeBSD.org</email>
</author>
<published>2015-11-19T01:28:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=4c536e83f0992dff95019536ff4b314b8627475f'/>
<id>urn:sha1:4c536e83f0992dff95019536ff4b314b8627475f</id>
<content type='text'>
non-default Python versions:

- Add pyXY-{sqlite3,gdbm,tkinter} ports for generating binary packages
- Improve/add pkg-message to point users to install respective packages of
  separated Python standard modules
- Add COMMENT to explicitly show the Python version that package should be
  used with
- Simplify version-related PYTHON_* for lang/python35

Reviewed by:	koobs
Differential Revision:	https://reviews.freebsd.org/D4170
</content>
</entry>
<entry>
<title>lang/python{27,32,33}: Fix missing shlib path in python-config</title>
<updated>2015-10-18T09:50:39Z</updated>
<author>
<name>Kubilay Kocak</name>
<email>koobs@FreeBSD.org</email>
</author>
<published>2015-10-18T09:50:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=479c987464c4f48bc456de87ba34b140ad091667'/>
<id>urn:sha1:479c987464c4f48bc456de87ba34b140ad091667</id>
<content type='text'>
In Python 3.4+, upstream added and switched to using a shell
implementation of the python-config script [1]. The Python
implementation  (python-config.py) remained used by all versions &lt; 3.4.

While the shell implementation returns the path to the Python
shared library when using the --ldflags script argument, the Python
implementation of the script does not. The bug has been reported, but
has not yet been merged [2].

The Python ports currently default to including ${LOCALBASE}/lib
in LIBS when the NLS option is enabled (which it is by default).

When built *with* NLS (gettext) support, the flags added to LIBS
are returned in `pythonX.Y-config --ldflags` output, which happens
to match the path to the Python shared library.

If the NLS option is disabled, ${LOCALBASE}/lib is not added to LIBS,
and are therefore not returned in --ldflags output.

This results in potential linking errors for software that uses
python-config to obtain the correct library path, when the NLS option is
disabled:

$ make WITH=PYTHON -C audio/alsa-lib
[...]
--- smixer-python.la ---
CCLD     smixer-python.la
/usr/bin/ld: cannot find -lpython2.7

This change modifies the python-config.in script to match the shell
implementation, outputting the library path in --ldflags output.

While I'm here:

for Python 3.2 and Python 3.3 ports, backport a library order
change [3]. This could affect linking with static libraries.

Use standard length lines and reduce diffs in pkg-message

[1] https://bugs.python.org/issue16235
[2] https://bugs.python.org/issue7352
[2] https://bugs.python.org/issue18096

PR:		197757
Submitted by:	jbeich
MFH:		2015Q4
</content>
</entry>
<entry>
<title>lang/python{27,32,33,34}: Mark MAKE_JOBS_UNSAFE</title>
<updated>2015-07-30T03:31:55Z</updated>
<author>
<name>Kubilay Kocak</name>
<email>koobs@FreeBSD.org</email>
</author>
<published>2015-07-30T03:31:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=63e4144b8ed357daf50013d50f4eeb56ec00b0eb'/>
<id>urn:sha1:63e4144b8ed357daf50013d50f4eeb56ec00b0eb</id>
<content type='text'>
Parser/pgen code intermittently and non-deterministically fails
at build time causing errors including, among others:

 * Parser/pgen.o: file not recognized: File truncated
 * pgenmain.c:(.text+0x244): undefined reference to `_Py_pgen'

This is apparently due to incorrect uses of recursive make [1] which
was fixed in the upstream Python 'default' (3.5) branch [2].

This change marks all Python port versions as MAKE_JOBS_UNSANFE until
the the original changeset [1] and the resulting regression in
cross-builds [3], whos fix is still pending, can be backported.

[1] https://bugs.python.org/issue22359
[2] https://hg.python.org/cpython/rev/c2a53aa27cad
[3] https://bugs.python.org/issue22625

PR:		200622
Reported by:	marino
MFH:		2015Q3
</content>
</entry>
<entry>
<title>MASTER_SITES cleanup.</title>
<updated>2015-05-14T10:15:04Z</updated>
<author>
<name>Mathieu Arnold</name>
<email>mat@FreeBSD.org</email>
</author>
<published>2015-05-14T10:15:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=60d1a83c2a113150cedbc43ff12a7375144f741a'/>
<id>urn:sha1:60d1a83c2a113150cedbc43ff12a7375144f741a</id>
<content type='text'>
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
</content>
</entry>
</feed>
