Commit graph

105 commits

Author SHA1 Message Date
tsarna
df40d624f2 Add Python 3.3.0 2012-12-10 03:15:48 +00:00
cheusov
98a0ec4f42 Move documentation for *_REQD variables to "Infrastructure variables"
as suggested by obache@
2012-10-03 23:48:00 +00:00
cheusov
80b4e85d4c Introduce variable PYTHON_SELF_CONFLICT
for registering conflicts between python modules.
2012-10-03 23:39:21 +00:00
wiz
7ea8e815be Remove python25, as promised in March. EOL'd last year. 2012-10-03 22:03:41 +00:00
cheusov
d9d49610f9 Update documentation for {PYTHON,RUBY,PHP}_VERSION_REQD variables, move them
to "user variables" section.  pkglint is now aware of them.  Bump pkglint
version.  Oked by wiz@
2012-09-16 20:03:50 +00:00
drochner
1cf8359eef oops - forgot to commit a framework change needed by py-dbus:
provide py2x and py3x PLIST_VARS to let pkgs deal easily with files
installed for one major version but not for the other
2012-08-01 19:07:20 +00:00
obache
fe5a350b48 Add python32 support. 2012-05-06 13:18:30 +00:00
wiz
2abc0ab85b All supported python version in pkgsrc set PYDISTUTILS_CREATES_EGGFILES
to "yes", so remove variable and code for "no".
2012-04-08 20:17:10 +00:00
wiz
aada88e659 Remove python24 and all traces of it from pkgsrc.
Remove devel/py-ctypes (only needed by and supporting python24).
Remove PYTHON_VERSIONS_ACCEPTED and PYTHON_VERSIONS_INCOMPATIBLE
lines that just mirror defaults now.
Miscellaneous cleanup while editing all these files.
2012-04-08 19:08:44 +00:00
wiz
b6dae9a43d Update python default version to 2.7, per announcement on pkgsrc-users
last week.
2012-03-08 11:44:06 +00:00
sbd
075dfbcd02 Revert the below change (by me).
---
   Module Name:	pkgsrc
   Committed By:	sbd
   Date:		Tue Feb 21 21:04:30 UTC 2012

   Modified Files:
   	pkgsrc/lang/python: pyversion.mk

   Log Message:
   Add _PYTHON_VERSION_DEFAULT with the "default" python version and set
   PYTHON_VERSION_DEFAULT from that.


   To generate a diff of this commit:
   cvs rdiff -u -r1.93 -r1.94 pkgsrc/lang/python/pyversion.mk
2012-02-26 09:17:41 +00:00
sbd
c3fae05323 Add _PYTHON_VERSION_DEFAULT with the "default" python version and set
PYTHON_VERSION_DEFAULT from that.
2012-02-21 21:04:29 +00:00
joerg
f26125ea3f Some packages play with PYPKGPREFIX, even if no valid Python version can
be found, so provide it.
2012-01-28 12:14:08 +00:00
joerg
9a0666357e Tag the 28 locations that result in a Python 3.1 package as supporting so.
Remove it from the default list for the rest.
2011-12-03 00:02:14 +00:00
joerg
125959dede Make sure that PYDISTUTILS_CREATES_EGGFILES is defined in all branches. 2011-07-07 18:46:32 +00:00
reed
6da084e457 Change the PYDEPENDENCY for python31 to python31.
What uses PYDEPENDENCY?
2011-06-21 14:11:24 +00:00
reed
3a675e1e5d Add support for python31.
(I have been using this for around 18 months on several platforms;
adjusted once after python27 was added.)
2011-06-17 01:01:04 +00:00
obache
cf3e73988a No need to add 27 for PYTHON_VERSIONS_ACCEPTED over again. 2011-03-26 07:53:30 +00:00
wiz
a2163548a9 Add MULTI variable, and add it to BUILD_DEFS, to more easily find
variable settings affecting binary packages.

From Aleksey Cheusov in PR 44695.
2011-03-12 14:07:13 +00:00
wiz
f09b8dbca6 Let's assume for now that everything that worked with python-2.6 also
works with python-2.7.
2011-02-25 09:47:18 +00:00
obache
ddaad9060f Use function-style `print', for python3. 2011-02-22 11:12:51 +00:00
obache
0aa7dc141b fix for python27. 2011-02-22 09:12:37 +00:00
obache
1238a8a5f4 Allow python27 and acceptable by default (default python is still 2.6). 2011-02-22 09:01:28 +00:00
obache
c3800b46ca remove "next;" in PRINT_PLIST_AWK, it may prevent additional substitute,
like ${EGG_INFODIR}.
2011-02-13 08:07:39 +00:00
gdt
5313c097fe Add support for packaging python "distributions" that use distutils.
Suppport conditional PLIST inclusion of the expected egg file, because
python2.4 distutils does not create them but later versions do.  (Note
that PRINT_PLIST_AWK production is not working, probably due to order
of substitution.)

Earlier patch reviewed by wiz@.
2010-07-24 12:32:22 +00:00
drochner
d202e4278e allow to override cmake's Python search order, to enforce the version
selected by pkgsrc
this automatically affects pkgs which use FIND_PACKAGE(PythonInterp)
or FIND_PACKAGE(PythonLibs)
2010-02-12 13:45:54 +00:00
joerg
969606e64d Make Python 2.6 the default version. 2010-02-10 19:16:48 +00:00
joerg
f75822b4ca Add PYTHONCONFIG similar to PYTHONBIN. 2010-02-09 22:55:16 +00:00
tron
2fb6019e05 Simplify pattern to detect Mac OS X Intel 64-Bit. 2009-09-25 13:42:26 +00:00
tron
bc35dabdce Re-do last change to avoid problems on Mac OS X older than Snow Leopard. 2009-09-25 13:36:19 +00:00
tron
8a7c79ead2 Use Python 2.6 by default under Mac OS X if we compile for the 64-Bit ABI.
Not even Apple were able to build a 64-Bit version of Python 2.5.
2009-09-22 13:46:09 +00:00
joerg
5d74bfed39 Retire Python 2.3 support. 2009-09-07 18:21:43 +00:00
joerg
d4a50a2966 Provide PY_COMPILE_ALL and PY_COMPILE_O_ALL to compile all Python
sources in a directory (tree) in pversion.mk. Adjust the various places
that called it locally.
2009-07-08 13:55:58 +00:00
joerg
d83f0ef2ac Restore PRINT_PLIST_AWK logic in so far they don't create @dirrm
entries. I pruned them too aggressively as the @dirrm matching here was
conditional. OK wiz
2009-07-02 09:37:12 +00:00
joerg
76039544d1 Remove @dirrm related logic. 2009-06-14 22:57:58 +00:00
snj
a852a3c317 Make BUILDLINK_API_DEPENDS.python26 agree with the package. 2009-04-19 15:14:19 +00:00
snj
73cbd311a0 Add py26 to default list of PYTHON_VERSIONS_ACCEPTED and set
BUILDLINK_API_DEPENDS.python26.
2009-04-19 15:09:51 +00:00
wiz
14dcbe6199 Add untested entries for python26. 2009-04-19 14:48:17 +00:00
snj
a36e9e49f7 Remove traces of python21. 2009-03-21 06:24:48 +00:00
joerg
3c95ad1d12 Move the PYTHON_VERSION_REQD logic from extension.mk to pyversion.mk.
It shouldn't hurt and allows including application.mk and extension.mk
in any order.
2009-03-08 17:05:10 +00:00
obache
a3bd53bc5f Update comments, now default python version is 25. 2009-02-18 05:50:31 +00:00
joerg
3c645bb7fc Switch to Python 2.5 as default. Bump revision of all packages that have
changed runtime dependencies now.
2009-02-09 22:56:21 +00:00
joerg
e2107c85f6 Remove Python 2.1 support. 2009-02-09 21:09:20 +00:00
joerg
88db16e83f Remove comment that doesn't reflect the consensus on how to mark support
Python versions.
2009-01-23 18:02:32 +00:00
snj
54628d0029 Remove one last python15 bit. 2008-11-29 19:30:33 +00:00
snj
2ff595bb24 Oops, forgot to commit these. Remove python15 support. 2008-11-29 18:52:22 +00:00
tnn
1d1107a0e7 Remove python 2.1 from the default set of acceptable python packages
so that packages that require it must specify so explicitly.
2008-04-25 16:27:45 +00:00
tnn
40e0e535ac De-orbit support for python 2.0 and python 2.2 under the "three major
releases is enough" rule of thumb. (python 2.3 was released 5 years ago.)
Keep python 1.5 and 2.1 though, because there are a handful of packages
that still need them.
2008-04-25 16:11:11 +00:00
tnn
be2d35d1a7 adjust directory for python25 2008-04-24 02:02:04 +00:00
joerg
2bdd4daeaa As all Python packages are required to include lang/python/pyversion.mk
anyway, simplify logic a bit:
Add Python 2.5 to the default list, but also mark it as incompatible if
wip/python25 is not present. Move the Darwin handling after setting a
default value.
Provide a new variable _PYTHON_VERSIONS_ACCEPTED that is filtered by
PYTHON_VERSIONS_INCOMPATIBLE. This helps to avoid providing broken
dependencies when a version is not supported as PYPKGPREFIX wouldn't be
set in that case.
2008-04-18 12:24:21 +00:00