aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.python.mk
Commit message (Collapse)AuthorAgeFilesLines
* - Introduce PYTHON_ABIVER: fix PYTHON_INCLUDEDIR for python32 users ↵Sunpoet Po-Chuan Hsieh2011-07-141-6/+15
| | | | | | | | | | | | | | | | | (PYMALLOC and UCS4 are on by default) - Use devel/py-distribute as setuptools for python 3.x users - Use py${PYTHON_VER} instead of ${PYTHON_VERSION:S/thon//} - Use "yes" PR: ports/158662 Submitted by: sunpoet (myself) Reviewed by: lwhsu Tested by: exp-run by pav With Hat: python Notes: svn path=/head/; revision=277662
* - Update to 2.7.2Wen Heping2011-06-271-2/+2
| | | | | | | | | - Mark BROKEN when build with pth Reviewed by: miwi@ Notes: svn path=/head/; revision=276472
* - Update lang/python31 to 3.1.4Wen Heping2011-06-161-2/+2
| | | | Notes: svn path=/head/; revision=275660
* - Update to 2.6.7Wen Heping2011-06-081-2/+2
| | | | Notes: svn path=/head/; revision=275215
* - Update to 2.5.6Wen Heping2011-05-301-2/+2
| | | | Notes: svn path=/head/; revision=274805
* Tell ports that USE_PYDISTUTILS to link shared objectsBrendan Fabeny2011-03-051-1/+4
| | | | | | | | | | | with the same compiler used to build them. While here, fix a typo. PR: 154742 Approved by: miwi Notes: svn path=/head/; revision=270325
* - Restore python 2.4 in _PYTHON_ALLBRANCHESMartin Wilke2011-03-041-1/+1
| | | | | | | Reported by: ale@ Notes: svn path=/head/; revision=270308
* - Make Python 2.7.1 the default Python versionMartin Wilke2011-03-041-6/+6
| | | | | | | Tested by: 2x pointyhat runs Notes: svn path=/head/; revision=270306
* - Part 1 of python24 removalMartin Wilke2011-02-251-36/+0
| | | | | | | | | | | | | | - Clean up bsd.python.mk (remove PYWSGIREF, PYHASHLIB, PYCTYPES and PYEXPAT) all these is now part of python since python25 Remove: textproc/py-expat devel/py-ctypes security/py-hashlib www/py-wsgiref Notes: svn path=/head/; revision=269669
* - Update to 3.2.0 and complete repocopyWen Heping2011-02-221-2/+11
| | | | | | | | | PR: ports/153829 Submitted by: Wen Heping (myself) Reviewed by: miwi@ Notes: svn path=/head/; revision=269489
* - Update to 3.1.3Wen Heping2010-12-141-2/+2
| | | | Notes: svn path=/head/; revision=266272
* - Update to 2.7.1Wen Heping2010-11-291-2/+2
| | | | Notes: svn path=/head/; revision=265362
* - Update to 2.6.6Wen Heping2010-09-121-2/+2
| | | | Notes: svn path=/head/; revision=261021
* - Fix PYTHON_MASTER_SITE_SUBDIR expression for RC releaseLi-Wen Hsu2010-08-181-1/+1
| | | | Notes: svn path=/head/; revision=259530
* - Introduce Python 2.7.0Li-Wen Hsu2010-08-151-1/+10
| | | | | | | Original work by: wen Notes: svn path=/head/; revision=259318
* - Update lang/python26 to 2.6.5Wen Heping2010-05-121-4/+4
| | | | | | | | | - Update lang/python31 to 3.1.2 Reviewed by: miwi@, lwhsu@ Notes: svn path=/head/; revision=254191
* - Update to 2.5.5Martin Wilke2010-02-021-2/+2
| | | | | | | | Changelog: http://python.org/download/releases/2.5.5/NEWS.txt Notes: svn path=/head/; revision=249109
* - Get rid python-2.3 and python-3.0 (no longer under developement)Martin Wilke2009-12-181-20/+2
| | | | | | | Reviewed by: alexbl, clsung, pav Notes: svn path=/head/; revision=246131
* - Update to 2.6.4Martin Wilke2009-11-261-2/+2
| | | | | | | | Changelog: http://python.org/download/releases/2.6.4/NEWS.txt Notes: svn path=/head/; revision=244804
* - Update lang/python31 to Python 3.1.1Li-Wen Hsu2009-08-221-2/+2
| | | | | | | Submitted by: wen heping <wenheping AT gmail.com> Notes: svn path=/head/; revision=240093
* - Add Python 3.1Li-Wen Hsu2009-07-061-2/+11
| | | | Notes: svn path=/head/; revision=237278
* - Update lang/python26 and make Python 2.6.2 to the default Python versionMartin Wilke2009-06-081-8/+8
| | | | | | | | Tested by: 3 pointyhat runs Thanks to: pav, gahr, lwhsu, mva, amdmi3 Notes: svn path=/head/; revision=235453
* - zope27 was switch to python24, chase herePav Lucistnik2009-03-241-4/+0
| | | | Notes: svn path=/head/; revision=230837
* - Update python30 to 3.0.1Martin Wilke2009-03-091-2/+2
| | | | | | | | Release Changelog: http://python.org/download/releases/3.0.1/NEWS.txt Notes: svn path=/head/; revision=229812
* - Update to python 2.5.4 and python 2.6.1Martin Wilke2009-02-161-4/+4
| | | | | | | | Reviewed by: perky | lwhsu Tested with: exp-run via pav Notes: svn path=/head/; revision=228521
* - Update py-twisted-* to 8.2.0Li-Wen Hsu2009-01-311-22/+11
| | | | | | | | | | | | | | | | - turn devel/py-twisted into a meta port. - Update USE_TWISTED{,_BUILD,_RUN} in bsd.python.mk: * Remove flow, pair, xish, which are deprecated (but still update them to latest release in the tree) * Remove USE_TWISTED=13 (no port uses this) * Fix typos in twisted components _DEPENDS PR: ports/130001 Submitted by: lwhsu Approved by: maintainer timeout Notes: svn path=/head/; revision=227248
* - Adjust PYNUMERIC commentPav Lucistnik2008-12-121-3/+2
| | | | Notes: svn path=/head/; revision=224159
* Welcome to the new era of Python 3, with antigravity support!Hye-Shik Chang2008-12-041-1/+1
| | | | | | | Update to Python 3.0. Notes: svn path=/head/; revision=223755
* Introduce two new versions of Python: 2.6 and 3.0rc1 (finally!)Hye-Shik Chang2008-10-131-5/+23
| | | | | | | | | | | Python 2.6 will be the next default python version when enough testings of consumer ports are done. The new "2to3" program is renamed to 2to3-2.6 and 2to3-3.0 for each version, respectively. Repo-copied by: marcus Notes: svn path=/head/; revision=221521
* Major optimizations for 'make index' and other recursive traversalKris Kennaway2008-07-191-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | targets. * Use /rescue/sh for index builds instead of /bin/sh, when it exists. The former is statically linked and faster to execute, which becomes significant when executing it tens of thousands of times. This trick can be used with other recursive targets by passing in __MAKE_SHELL. * Get rid of make variable assignments that use != command invocations in the critical path, using several methods: - rewriting logic to use shell or make builtins instead of external command executions - macroizing commands and executing them in the targets where they are needed instead of with every invocation of make - precomputing the results of invariant commands in bsd.port.subdir.mk and passing them in explicitly to child makes, and using this to avoid recalculation in all the children. NB: the commands are still run one per top-level subdirectory but this does not currently seem to be a major issue. They could be moved further up into the top-level Makefile at the cost of some cleanliness. - Committers are strongly discouraged from adding further "bare" != assignments to the ports tree, even in their own ports. One of the above strategies should be used to avoid future bloat. * Rewrite the core 'describe' target to work entirely within a single shell process using only builtin commands. The old version is retained as a backup for use on systems older than 603104, which does not have the make :u modifier. This cuts down the number of processes executed during the course of a 'make index' by an order of magnitude, and we are essentially now amortized to the minimum of a single make + sh instance per port, plus whatever commands the port makefile itself executes (which are usually unnecessary and bogus). * Less validation of the WWW: target is performed; this can become policed at a port level by portlint. Specifically we look at the second word of the first line beginning with "WWW:" in pkg-descr, and append "http://" to it unless it already begins with "http://", "https://" or "ftp://". Thanks to dougb for the idea of how to extract WWW: using shell builtins. * Use the "true" shell builtin instead of echo > /dev/null for a measurable decrease in CPU use. * Add a note about dubious escaping strategy in bsd.port.subdir.mk * Minor change in output of 'make describe': it no longer strips trailing CR characters from pkg-descr files with MSDOS CR/LF termination. Instead the makeindex perl script that post-processes make describe into the INDEX is tweaked to strip on input. The bottom line is that on my test hardware INDEX builds are now faster by more than a factor of 2 and with a reduction in system time by a factor of 4-8 depending on configuration. Notes: svn path=/head/; revision=217132
* Update python23 to 2.3.7.Hye-Shik Chang2008-05-301-2/+2
| | | | Notes: svn path=/head/; revision=213912
* Update python23 to Python 2.3.6 and python24 to Python 2.4.5.Hye-Shik Chang2008-03-161-4/+4
| | | | Notes: svn path=/head/; revision=209145
* Update to Python 2.5.2.Hye-Shik Chang2008-02-241-2/+2
| | | | Notes: svn path=/head/; revision=207831
* Don't define PYTHONPATH unless PREFIX != LOCALBASE. This fixesHye-Shik Chang2007-10-101-0/+2
| | | | | | | | | the massive plist problems introduced by the previous commit. Reported by: pav Notes: svn path=/head/; revision=201240
* - Correct installation paths in plist for PREFIX != LOCALBASE [1]Hye-Shik Chang2007-10-071-6/+34
| | | | | | | | | | | | | | | - Fix typo on comment about SZOPEBASEDIR and ZOPEBASEDIR [2] - Fix type on Zope 2.10 support [3] - Add a workaround for package building of ports using easy_install on jail environments [4] PR: 116278 [1], 116428 [2], 116520 [3] Submitted by: Marcus von Appen <mva@sysfault.org> [1], nakaji [2], Christian Ullrich <chris@chrullrich.net> [3] Reported by: sat [4] Notes: svn path=/head/; revision=201047
* - Extract command variable definitions from bsd.port.mk, they are now stored inGabor Kovesdan2007-08-041-1/+1
| | | | | | | | | | | | bsd.commands.mk and can be easily reused within the infrastructure. - Revert old DESTDIR implementation. - Add a new, fully chrooted DESTDIR implementation as bsd.destdir.mk. Sponsored by: Google Summer of Code 2007 Approved by: portmgr (pav) Notes: svn path=/head/; revision=197074
* - Correct typo in comment blockPav Lucistnik2007-07-301-1/+1
| | | | Notes: svn path=/head/; revision=196749
* Fix typo in comment.Hye-Shik Chang2007-07-301-2/+2
| | | | Notes: svn path=/head/; revision=196708
* - Make Python 2.5.1 the default Python versionAlexander Botero-Lowry2007-07-301-20/+111
| | | | | | | | | | | | | - Add significantly better support in bsd.python.mk for working with Python Eggs and the easy_install system Tested by: pointyhat runs Approved by: pav (portmgr) Most work by: perky Thanks to: pav Notes: svn path=/head/; revision=196700
* - add PYTHON to CONFIGURE_ENV so that ports using auto* for python will beAlexander Botero-Lowry2007-02-261-0/+3
| | | | | | | | | able to detect it if it's not installed as bin/python Prodded by: 104560, and others Notes: svn path=/head/; revision=185960
* Update to Python 2.4.4.Xin LI2007-02-141-2/+2
| | | | | | | | | Approved by: maintainer timeout, alexbl (python@) Tested by: pointyhat PR: ports/105901 Notes: svn path=/head/; revision=185141
* Remove python21 and python22 bits now that they are gone.Tom McLaughlin2007-01-271-19/+1
| | | | | | | Approved by: python@ (alexbl) Notes: svn path=/head/; revision=183383
* - Fix whitespacesMartin Wilke2007-01-171-2/+2
| | | | | | | Approved by: alexbl Notes: svn path=/head/; revision=182625
* - add a PYTHON_VER variable to bsd.python.mk, this provides a simple x.yAlexander Botero-Lowry2007-01-171-0/+6
| | | | | | | | version variable for the Python installation which is to be used when making egg filenames instead of using the internal _PYTHON_VERSION Notes: svn path=/head/; revision=182624
* - add a PYWSGIREF dependency line since wsgiref is included with 2.5Alexander Botero-Lowry2006-12-221-1/+11
| | | | Notes: svn path=/head/; revision=180460
* - add ${PYHASHLIB} dependency macro to bsd.python.mkAlexander Botero-Lowry2006-12-131-0/+9
| | | | Notes: svn path=/head/; revision=179626
* - Mark devel/py-ctypes IGNORE with Python 2.5 [1]Alexander Botero-Lowry2006-12-081-0/+12
| | | | | | | | | | | | | - add a PYCTYPES dependency macro to bsd.python.mk to unbreak ctypes using ports on Python 2.5 [2] - Update two of the four ports using ctypes to this macro [3] PR: 104587 [1] Submitted by: Marcus von Appen <mva@sysfault.org> [1] Approved by: portmgr (pav, linimon) [2], myself [3] Notes: svn path=/head/; revision=179198
* - Add PYNUMPY macro to bsd.python.mkAlexander Botero-Lowry2006-12-081-0/+2
| | | | | | | | | | | | Ports using Py-Numeric should be aware that it is considered deprecated in favor of NumPy. PR: 105544 Submitted by: Diane Bruce <db@db.net> Approved by: maintainer timeout, python@ (self) Notes: svn path=/head/; revision=179155
* - Add support for Zope 2.10Pav Lucistnik2006-11-301-5/+9
| | | | | | | | PR: ports/106001 Submitted by: HAYASHI Yasushi <yasi@yasi.to> Notes: svn path=/head/; revision=178336
* Revert the default version of Python to 2.4 for the ports freezeHye-Shik Chang2006-10-131-4/+4
| | | | | | | | | | | | period. Python 2.5 brought a vast range of incompatibility to a large number of ports, so the python@ team will do more basic compatibility work in a private repository and merge it later. Sorry for the inconvenience. Approved by: portmgr (kris) Notes: svn path=/head/; revision=175244