159 Commits

Author SHA1 Message Date
Baptiste Daroussin
e727f72ce8 Only try to retrieve python's version is the python command is installed to please bmake
Obtained from: 	dports
2013-05-02 14:11:03 +00:00
Sunpoet Po-Chuan Hsieh
6cfb605b6b - Update USE_PYTHON example
- Add cosmetic tab
2013-03-09 15:58:45 +00:00
Ruslan Makhmatkhanov
b06fadc69e - replace deprecated devel/py-setuptools with devel/py-distribute
- change explicit dependency for the ports, that don't utilize USE_DISTUTILS feature
- add UPDATING entry

PR:		176142
Submitted by:	rm (myself)
Approved by:	portmgr (miwi)
Tested by:  	exp-run by miwi
2013-03-05 07:12:24 +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
7c0f9fe801 Introduce PYTHON_MAJOR_VER variable.
Discussed on python@ a while ago.
2012-12-21 15:38:06 +00:00
Dmitry Sivachenko
c3793c1fde Port for python version 3.3.
Submitted by:	Kubilay Kocak <koobs.freebsd@gmail.com>
2012-12-20 11:55:54 +00:00
Ruslan Makhmatkhanov
309da33d2f - do not hardcode distfile extension for lang/python ports in bsd.python.mk
(PYTHON_DISTFILE variable)
- switch lang/python ports (and it's slaves) to tar.xz

I compared all the four pairs .tgz/.tar.xz and they have no content differences.

Discussed on:	python@
2012-10-03 04:06:37 +00:00
Ruslan Makhmatkhanov
a42c55a4cd - remove PYDISTUTILS "dependency line" since USE_PYTHON will garantee
availability of distutils module. There is no consumers of this in the tree.
- add PYGAME shortcut for devel/py-game
2012-09-13 04:05:41 +00:00
Ruslan Makhmatkhanov
8a2c694e65 - trim check for unsupported python versions
- change depends for USE_ZOPE case to make it work with current zope version

Submitted by:	lwhsu (final patch revision)
Reviewed by:	crees
Discussed in:	python
2012-09-11 14:27:22 +00:00
Ruslan Makhmatkhanov
473f7fc2dc - remove expired ports
* lang/python24 and lang/python25: unmaintained upstream
  * www/zope and www/zope211: unmaintained upstream (the only
    consumers of python24)
- clean-up python versions < 2.6 from lang/python-doc-html
- clean-up python24/25 from Mk/bsd.ports.mk
- add www/zope213 glue to bsd.python.mk
- clean-up zope versions != 2.13 from bsd.python.mk

Submitted by:	miwi (based on)
Approved by:	portmgr (miwi)
2012-07-16 17:04:29 +00:00
Sunpoet Po-Chuan Hsieh
83b5f64d38 - Revert accidental commit 2012-06-26 13:54:59 +00:00
Sunpoet Po-Chuan Hsieh
8ae901c16d - Add shared TLS description 2012-06-26 13:42:52 +00:00
Marcus von Appen
abb9ab5e87 - Force cmake to use PYTHON_VER as version to detect, so that it uses
the same Python version for the interpreter and library linking, if
  multiple Python versions are installed.

PR:		ports/168159
On behalf of:	python@
2012-06-19 17:18:13 +00:00
Marcus von Appen
ceb60c1ed0 - Ensure that PYTHONOPTIMIZE and PYTHONDONTWRITEBYTECODE are ignored on
using PY_DISTUTILS to avoid plist corruptions

PR:		ports/146957
Reported by:	swell.k@gmail.com
On behalf of:	python@
2012-06-17 12:28:19 +00:00
Sunpoet Po-Chuan Hsieh
7ef8361ca5 - Fix format:
- Remove superfluous colon
  - Change tab to space in the message
2012-05-30 14:54:34 +00:00
Ruslan Makhmatkhanov
9c08ea7fd8 Fix incompatibilities with python 3.x (mostly calling print as function).
PR:		166226
Submitted by:	Mel Flynn <rflynn at acsalaska dot net>
Approved by:    portmgr (pav)
2012-05-25 17:13:10 +00:00
Martin Wilke
61d8acdb49 - Remove emacs mode, -*- mode: ...; -*- [1]
- Comments for BUILD_ and RUN_DEPENDS fail to mention alternate means to specify dependencie [2]
- Fix make reinstall [3]
- Trivial comment change for PORTDATA [4]

PR:		151954 [1]
		161314 [2]
		167085 [3]
		167465 [4]
Submitted by:	Anonymous <swell.k@gmail.com> [1]
		dougb@ and Chris Rees <utisoft@gmail.com> [2]
		Garrett Cooper <yanegomi@gmail.com> [3]
		"Bryan Drewery" <bryan@shatow.net> [4]
Tested via:	phw
2012-05-23 08:17:49 +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
Pav Lucistnik
0e654d3512 - Stop resolving dependencies on deinstall when juggling python eggs
PR:		ports/159962
Submitted by:	Ruslan Mahmatkhanov <cvs-src@yandex.ru>
2011-11-07 12:40:53 +00:00
Sofian Brabez
36b48d77cf - Update to 11.0.0
- Update MASTER_SITES
- Add LICENSE

Reviewed by:	lwhsu@
Approved by:	jadawin@ (mentor)
2011-09-07 09:27:54 +00:00
Wen Heping
adf82ac916 - Update lang/python32 to 3.2.2 2011-09-05 01:28:56 +00:00
Sunpoet Po-Chuan Hsieh
62896e4934 - Revert accidental commit 2011-09-04 17:35:07 +00:00
Sunpoet Po-Chuan Hsieh
65e103c48f - Remove ftp.net.ohio-state.edu
PR:		ports/160311
Submitted by:	Anton Shterenlikht <mexas@bristol.ac.uk>
2011-09-04 17:31:01 +00:00
Sunpoet Po-Chuan Hsieh
6138ed34b5 - Fix formatting
Submitted by:	obrien@
2011-08-03 01:14:21 +00:00
Li-Wen Hsu
9569935fbd - Make 3.2 higher priority than 3.1
PR:		ports/156811
Submitted by:	Volodymyr Kostyrko <c.kworr@gmail.com>
2011-07-22 15:38:11 +00:00
Li-Wen Hsu
1aeea51c58 - Update to 3.2.1
PR:		ports/158850
Submitted by:	wen
2011-07-22 15:12:07 +00:00
Sunpoet Po-Chuan Hsieh
96cd508600 - Introduce PYTHON_ABIVER: fix PYTHON_INCLUDEDIR for python32 users (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
2011-07-14 04:13:24 +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
0ca8bc3717 - Update lang/python31 to 3.1.4 2011-06-16 08:18:09 +00:00
Wen Heping
1dd8e6661c - Update to 2.6.7 2011-06-08 08:17:06 +00:00
Wen Heping
93470f7aa5 - Update to 2.5.6 2011-05-30 12:08:39 +00:00
Brendan Fabeny
d163b8c30c Tell ports that USE_PYDISTUTILS to link shared objects
with the same compiler used to build them. While here,
fix a typo.

PR:		154742
Approved by:	miwi
2011-03-05 00:39:33 +00:00
Martin Wilke
5d9b68c9f2 - Restore python 2.4 in _PYTHON_ALLBRANCHES
Reported by:	ale@
2011-03-04 16:25:05 +00:00
Martin Wilke
3d2b040a70 - Make Python 2.7.1 the default Python version
Tested by:	2x pointyhat runs
2011-03-04 16:08:23 +00:00
Martin Wilke
3e8d73e14d - Part 1 of python24 removal
- 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
2011-02-25 09:46:39 +00:00
Wen Heping
24fc729f59 - Update to 3.2.0 and complete repocopy
PR:		ports/153829
Submitted by:	Wen Heping (myself)
Reviewed by:	miwi@
2011-02-22 07:44:48 +00:00
Wen Heping
39858860ea - Update to 3.1.3 2010-12-14 06:31:19 +00:00
Wen Heping
91993cc40d - Update to 2.7.1 2010-11-29 06:29:13 +00:00
Wen Heping
a332f5435d - Update to 2.6.6 2010-09-12 09:07:44 +00:00
Li-Wen Hsu
59584b2561 - Fix PYTHON_MASTER_SITE_SUBDIR expression for RC release 2010-08-18 19:11:34 +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
2c0165032e - Update to 2.5.5
Changelog:
	http://python.org/download/releases/2.5.5/NEWS.txt
2010-02-02 22:00:24 +00:00
Martin Wilke
213ae9a9a4 - Get rid python-2.3 and python-3.0 (no longer under developement)
Reviewed by:	alexbl, clsung, pav
2009-12-18 10:08:32 +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
Li-Wen Hsu
083b45d5c6 - Update lang/python31 to Python 3.1.1
Submitted by:	wen heping <wenheping AT gmail.com>
2009-08-22 07:22:11 +00:00
Li-Wen Hsu
48d856c3b2 - Add Python 3.1 2009-07-06 20:30:29 +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
Pav Lucistnik
e2018b5de2 - zope27 was switch to python24, chase here 2009-03-24 09:30:21 +00:00
Martin Wilke
cba7f02fe1 - Update python30 to 3.0.1
Release Changelog:
http://python.org/download/releases/3.0.1/NEWS.txt
2009-03-09 22:52:21 +00:00