Commit graph

95 commits

Author SHA1 Message Date
Kubilay Kocak
9c597eecc6 lang/python27: Update to 2.7.6
- Update to 2.7.6
- Update pkg-plist
- Temporarily override OPT:Olimit using CONFIGURE_ENV (ports/182952) [1]
- Replace patch: extra-patch-configure-pth with CONFIGURE_ENV instead
- Remove patch: patch-Modules-_ctypes-libffi_fficonfig.py.in [2]
- QA: Clean up and group related USE_*, WRKSRC and CONFIGURE entries
- QA: Whitespace alignment

Changes: 2.7.6 - November 10, 2013

http://www.python.org/download/releases/2.7.6/

[1] Python removed OPT:Olimit in 3.2+, requested backport or
    alternative upstream patch: http://bugs.python.org/issue877121
[2] Upstreamed: http://bugs.python.org/issue18178

PR:		ports/182952
PR:		ports/156759
Reviewed by:	antoine, mva
2013-11-24 13:22:40 +00:00
William Grzybowski
f760a28ec7 lang/python27: add support for freebsd11
PR:		ports/183597
Submitted by:	avilla
2013-11-11 12:01:22 +00:00
Marcus von Appen
7452555915 - Move the symlink magic for the default python version into lang/python
and lang/python2 and lang/python3. This change brings us closer to the goal
  of making Python ports usable with different Python versions at the same
  time.
- Add a new lang/python2 port to handle the symlinks for bin/python2,
  bin/idle2, bin/pydoc2 and so on.
- Add a new lang/python3 port to handle the symlinks for bin/python3,
  bin/idle3, bin/pydoc3 and so on.
- Bump the PORTREVISION on all lang/python* ports.
2013-08-17 19:10:59 +00:00
Ruslan Makhmatkhanov
11bf569497 - update to latest upstream versions:
. lang/python27: 2.7.3 -> 2.7.5
  . lang/python32: 3.2.3 -> 3.2.4
  . lang/python33: 3.3.0 -> 3.3.1
- update Mk/bsd.python.mk with new versions
- mark lang/python26 and lang/python31 as deprecated (set them to
  upstream EoL dates)
- update docs (lang/python-doc-html)
- align databases/py-bsddb patch for python27 - most of it was applied
  upstream. Raise BDB version to 4.3 atleast, according to
  upstream requirements.

Many thanks to Martin (miwi) for his time on this update.

PR:		178506
Submitted by:	rm (myself)
Exp-run by:	    portmgr (miwi)

- revert erroneous threads patch in lang/python26 and lang/python27,
  that was added after ports/131080. It was rejected upstream, because it's
  not actually a bug, but misuse.

  Gabor Pali (pgj) in collaboration with Kubilay Kocak (koobs) did an
  independent investigation regard the issue. See here for details:

  http://lists.freebsd.org/pipermail/freebsd-python/2013-April/005376.html

PR:	    153167
Submitted by:	Duncan Findlay <duncan@duncf.ca>
Reported by:	pgj/koobs (at python@ ML)
Exp-run by:     portmgr (miwi)
2013-05-17 04:17:22 +00:00
Ruslan Makhmatkhanov
f831a5f25d Commit all the non-functional changes to python ports to reduce the diff size
for an exp-run of updated python versions.

- trim Makefile headers
- remove leading indefinite article from COMMENT
- use PYTHON shortcut in MASTER_SITES
- whitespace fixes
- remove checks for unsupported versions of FreeBSD
- use static value ``33'' instead of PYTHON_SUFFIX in lang/python33/pkg-plist,
  because this value is not supposed to be changed across the branch and for
  consistency with other python3 ports
- remove conflicts in lang/python-mode.el with not more existing python-2.4
2013-05-11 11:37:54 +00:00
Li-Wen Hsu
6e2fa0573b - Remove "first-installed-win" logic for automatically setting
${PYTHON_DEFAULT_VERSION}, this generates conflicting packages.

- Create symbolic links as PEP 394 [1] suggests. ${PYTHON_DEFAULT_VERSION}
  will create python and python${MAJOR_VERSION} links.  In current default,
  lang/python27 will create: python -> python2 -> python2.7

- Introduce ${PYTHON3_DEFAULT_VERSION}, which will handle bin/python3 link.
  At this point, lang/python33 will create python3 -> python3.3

- Minor cleanups
  * Trim Makefile headers
  * Remove ${OSVERSION} detection for xz, whihc is done by USE_XZ

[1] http://www.python.org/dev/peps/pep-0394/
2012-12-23 17:52:46 +00:00
Dmitry Sivachenko
10277be714 Create python2 symlink for the latest version of python2.X executable and
python3 symlink for the latest version of python3.X executable.

People who really want to use older python version for both python branches
should specify explicit version number in interpreter invocation.

Discussed on python@ long ago.
2012-12-21 15:45:29 +00:00
Koop Mast
4e9d93dbac Don't try to tidy up user-created directories.
Approved by:	crees (python@)
2012-10-06 08:01:29 +00:00
Martin Wilke
19425757a8 - Update:
* python26 -> 2.6.8
  * python27 -> 2.7.3
  * python31 -> 3.1.5
  * python32 -> 3.2.1

Security:	http://www.vuxml.org/freebsd/b4f8be9e-56b2-11e1-9fb7-003067b2972c.html
		CVE-2012-0845 CVE-2012-0876 CVE-2012-1150 CVE-2012-0845 CVE-2011-3389
2012-04-11 12:52:17 +00:00
Erwin Lansing
ce2f38ec49 Fix build on powerpc as is done on other python ports
Submitted by:	linimon
Tested on:	pointyhat
2011-10-27 10:11:41 +00:00
Erwin Lansing
d7364df969 Fix build on FreeBSD 10
Submitted by:	beat
Tested on:	pointyhat i386-9-exp and i386-10
2011-10-27 09:56:58 +00:00
Li-Wen Hsu
80b804c403 - Fix pkg-plist when building with WITHOUT_THREADS
PR:		ports/159842
Submitted by:	Ruslan Mahmatkhanov <cvs-src@yandex.ru>
2011-08-19 13:09:30 +00:00
Wen Heping
d3a995e088 - Update to 2.7.2
- Mark BROKEN when build with pth

Reviewed by:	miwi@
2011-06-27 02:37:39 +00:00
Wen Heping
91993cc40d - Update to 2.7.1 2010-11-29 06:29:13 +00:00
Wen Heping
40d7ee37de - Fix build to create _curses module correctly.
Submitted by:	olli@lurza.secnetix.de (via Email)
2010-09-06 00:25:05 +00:00
Li-Wen Hsu
61b31f74b4 - Introduce Python 2.7.0
Original work by:	wen
2010-08-15 19:12:51 +00:00
Wen Heping
25e48ae956 - Update lang/python26 to 2.6.5
- Update lang/python31 to 3.1.2

Reviewed by:	miwi@, lwhsu@
2010-05-12 12:13:07 +00:00
Martin Wilke
492dce90c8 - Update to 2.6.4
Changelog:
	http://python.org/download/releases/2.6.4/NEWS.txt
2009-11-26 22:21:20 +00:00
Martin Wilke
7ab93f8778 - Add support for FreeBSD 9.0
PR:		based on 138600
2009-09-11 14:58:08 +00:00
Martin Wilke
e3b22deb7d - Use dirrmtry in lib-old dir to fix some plist leftlovers 2009-08-13 12:12:20 +00:00
Li-Wen Hsu
986242b42a - Honor EXAMPLESDIR, DATADIR, NOPORTEXAMPLES, NOPORTDATA
- portlint(1)
2009-07-12 17:17:52 +00:00
Martin Wilke
81100672d4 - Update lang/python26 and make Python 2.6.2 to the default Python version
Tested by:	3 pointyhat runs
Thanks to:	pav, gahr, lwhsu, mva, amdmi3
2009-06-08 22:30:55 +00:00
Martin Wilke
c95782ae1a - Update to python 2.5.4 and python 2.6.1
Reviewed by:	perky | lwhsu
Tested with:	exp-run via pav
2009-02-16 23:32:02 +00:00
Hye-Shik Chang
3813a5dbe7 Introduce two new versions of Python: 2.6 and 3.0rc1 (finally!)
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
2008-10-13 08:23:00 +00:00
Pav Lucistnik
ae4d9bdc60 - Fix plist
Reported by:	pointyhat
2008-02-25 16:39:19 +00:00
Hye-Shik Chang
bfb5f6f187 Update to Python 2.5.2. 2008-02-24 13:42:27 +00:00
Hye-Shik Chang
6e02f1db93 Add support for FreeBSD 8.
Obtained from:	Python SVN (r58697, r58698)
2007-10-29 00:14:50 +00:00
Alexander Botero-Lowry
4942ce5a7d - Make Python 2.5.1 the default Python version
- 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
2007-07-30 09:42:28 +00:00
Hye-Shik Chang
e18b838fd9 Revert the default version of Python to 2.4 for the ports freeze
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)
2006-10-13 07:16:45 +00:00
Hye-Shik Chang
1d18bb4fff - Update the main python version to 2.5.
- Now, lang/python is just a meta-port which depends on lang/python25.
  - And all versions of Python ports have short version identifier in its
    package name; python25-2.5, python24-2.4.3 and etc.
  - Also you must upgrade all python modules after lang/python updated,
     cd /usr/ports/lang/python && make upgrade-site-packages

- Give maintainership of Python ports to the new python@ group which
  includes me, alexbl@ and others.
2006-10-09 14:29:18 +00:00
Hye-Shik Chang
2e854e2553 - Update lang/python-devel to Python 2.5c2
- Sync some recent workarounds from lang/python.
2006-09-13 16:26:49 +00:00
Hye-Shik Chang
ae152aa766 Update python-devel to 2.5b3. 2006-08-04 06:37:06 +00:00
Hye-Shik Chang
06295f9285 Update python-devel to 2.5b1. 2006-06-23 03:09:16 +00:00
Hye-Shik Chang
b243082281 Update to Python trunk snapshot as of 2006-03-26. 2006-03-26 07:58:41 +00:00
Hye-Shik Chang
ec0aa03843 Update python-devel to 2.5.a0.20050728 snapshot. 2005-07-28 08:29:32 +00:00
Hye-Shik Chang
fe1f003f68 Fix package building on non-i386 platforms by unrestrict audioop
module for them in plist.

Approved by:	portmgr (kris)
2005-03-28 23:11:44 +00:00
Hye-Shik Chang
b73a0c98c1 Unbreak package building on ia64, alpha, amd64 and sparc64 by
adding ossaudiodev module to their plists, either.

Approved by: portmgr (kris)
2005-03-23 04:43:57 +00:00
Hye-Shik Chang
35c8a898d4 Resurrect lang/python-devel port with Python 2.5 development snapshot
as of today.
2005-01-29 05:01:02 +00:00
Hye-Shik Chang
61282086ba Update -devel to Python-2.4b2. 2004-11-06 19:48:48 +00:00
Hye-Shik Chang
a8ff97aec3 Update to 2.4a3
PR:		71340
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
2004-09-03 17:12:28 +00:00
Hye-Shik Chang
adca4f9d0e - Add support for FreeBSD 6.
- Drop FreeBSD 2 support.
- Fix build on -stable.

Spotted by:	marcus, kris
Obtained from:	Python CVS
2004-08-21 01:02:12 +00:00
Hye-Shik Chang
03cd3fd2e0 - Update to 2.4a2
- Add IPV6 option [1]

PR:		69950 [1]
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br> [1]
2004-08-07 06:36:57 +00:00
Hye-Shik Chang
95340a84dc - Update to 2.4a1, the first alpha release of Python 2.4.
- Provide USE_PYTHON_BUILD and USE_PYTHON_RUN to allow explicit
  dependencies. [1]
- Provide PYDISTUTILS_CONFIGUREARGS and run ${PYSETUP} config on
  'do-configure' targets. [2]

Reviewed by:	eik [1]
Submitted by:	Mike Brown <mike@skew.org>
2004-07-08 15:53:45 +00:00
Hye-Shik Chang
2083111047 Update to Python development snapshot as of 040311.
I must say that it's faster by 10%~ than previous snapshot or 2.3.
And it incorporated CJKCodecs from this! :)
2004-03-11 15:53:06 +00:00
Hye-Shik Chang
3c031745cd Create a symbolic link to lib/python2.3.so on lib/python2.3/config/
for seamless upgrade from a static library.

Suggested by:	dd
2004-03-09 02:24:31 +00:00
Hye-Shik Chang
1ba15b7a7e Build and install a shared library and its frontend besides static one
by default.

[HEADS UP] The python executable and static library isn't built PIC
anymore even on amd64 and ia64. Please use a shared library instead.

Requested by:	jhay, dd
Tested by:	Charles Swiger <cswiger@mac.com>,
		Tim Middleton <x@Vex.Net>
2004-03-08 12:43:11 +00:00
Hye-Shik Chang
427c8bd159 Fix plist.
Reported by:	Mun-Kyo Seo <munggo@pmy.lv>
2004-01-09 02:04:12 +00:00
Hye-Shik Chang
7da4e22141 Add missed deltas on 2.4 040106 update. 2004-01-09 01:58:22 +00:00
Hye-Shik Chang
62e80c6399 - Include pyexpat module in python base ports because python incorporated
expat 1.95.6 in its distribution from Python-2.3.
- Bump PORTREVISION subsequently.

Requested by:	Mike Brown <mike@skew.org>
		Jeremy Kloth <jeremy.kloth@fourthought.com>
2003-11-04 18:00:37 +00:00
Hye-Shik Chang
040577c1f7 - Update lang/python-devel to Python-2.4 031022 snapshot.
- Correct USE_ZOPE dependency to Python 2.1. [1]
- Fetch from correct MASTER_SITE_SUBDIR when upgrading python
  in same branch. [2]
- Enable installing separated standard modules for python-devel port.

Reported by:	Filippo Natali <pitonat@libero.it> [1],
		Yoshihiko Sarumaru <mistral@imasy.or.jp> [2]
2003-10-29 21:31:13 +00:00