Commit graph

73 commits

Author SHA1 Message Date
joerg
d61c3b641c 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
49f6b8a469 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
9bb0d96ea9 Remove @dirrm related logic. 2009-06-14 22:57:58 +00:00
snj
6c915cb2b4 Make BUILDLINK_API_DEPENDS.python26 agree with the package. 2009-04-19 15:14:19 +00:00
snj
a3a36c09ca Add py26 to default list of PYTHON_VERSIONS_ACCEPTED and set
BUILDLINK_API_DEPENDS.python26.
2009-04-19 15:09:51 +00:00
wiz
9b9585121e 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
abs
838f71cf62 only set 25 in PYTHON_VERSIONS_ACCEPTED if ../../wip/python25/Makefile found 2008-04-11 15:37:30 +00:00
abs
0d84a34939 Add 25 to PYTHON_VERSIONS_ACCEPTED, so PYTHON_VERSION_DEFAULT=25 works in mk.conf 2008-04-11 13:10:15 +00:00
joerg
3350db1645 For Python 2.5, check that the wip directory actually exists. 2008-03-15 16:43:25 +00:00
rillig
0f02165471 Removed colons from variable names so they are accessible to "bmake
help".
2008-02-20 10:43:55 +00:00
joerg
2b0bc101a4 Revert last. Python 2.5 is not in the main tree and creating noise for
bulk builds is inacceptable.
2008-02-04 23:27:50 +00:00
xtraeme
2b897c0e5f python 2.5 should be supported because it's the current production release,
make it understand wip/python25 and PYTHON_VERSION_DEFAULT=25.

Change the wip path iff python25 is imported.
2008-02-01 08:17:00 +00:00
rillig
7e52f334bb Improved the wording for the cases where PYTHON_VERSIONS_INCOMPATIBLE
should be used instead of PYTHON_VERSIONS_ACCEPTED.
2008-01-31 19:34:35 +00:00
rillig
300f843ec7 Explained the comment for PYTHON_VERSIONS_ACCEPTED and documented why
PYTHON_VERSIONS_INCOMPATIBLE should be used instead.
2008-01-31 13:47:19 +00:00
rillig
3eba055a93 Added PYTHON to ALL_ENV, since otherwise many packages may be confused
by other Python installations.
2007-08-24 07:14:28 +00:00
rillig
9ac98044ac In the BUILD_DEFS message, print which Python version has actually been
selected.
2007-01-07 01:04:22 +00:00
rillig
693597153f Moved the BUILD_DEFS code a bit so that it only gets executed when the
PYTHON_VERSION_DEFAULT can really change things. Thanks to joerg for
noticing it.
2006-09-07 22:12:15 +00:00
rillig
e102b5135c Added the usual documentation.
Whenever this file is used, PYTHON_VERSION_DEFAULT is added to
BUILD_DEFS to inform the user that the Python version is configurable.
2006-09-07 16:22:54 +00:00
drochner
999fc2ed87 set the default defauly python version to 2.4 2006-08-08 09:49:57 +00:00
joerg
39d1e8a0df py15-distutils-* => py15-distutils-[0-9]* 2006-06-30 07:15:30 +00:00
joerg
48a69a810a Don't query distutils when bootstrapping it. Should fix problems
with devel/py-distutils from the bulk builds.
2006-06-15 16:16:12 +00:00
joerg
a3a510958e Remove logic to use the current installed Python as default.
Always prefer the default version and fallback to the first entry
of PYTHON_VERSIONS_ACCEPTED, which is supported by the current
system. Also honour PYTHON_VERSIONS_ACCEPTED and _INCOMPATIBLE,
when PYTHON_VERSION_REQD is used.
2006-06-04 16:26:53 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
rillig
dd744146a8 Use PTHREAD_OPTS+=require instead of a "=". 2005-11-04 18:24:37 +00:00
kristerw
64caa70b1d Prevent include of nonexisting file when the requested python version
is not available for the platform.

Mark packages as "unavailable" instead of "broken" when they depend on
a python version that is not available for the platform.
2005-07-09 01:11:15 +00:00
seb
4796586cf3 Fix typo: it's BUILDLINK_DEPMETHOD.python not BUILD_DEPMETHOD.python. 2005-06-23 11:10:32 +00:00
xtraeme
3a06e87cfc Use PKG_FAIL_REASON when the python version is not found, otherwise
will get an unassociated shell command building some packages.
2005-03-29 15:00:35 +00:00
jlam
15a7c172aa Remove redundant inclusion of pth/buildlink3.mk. This exact same code
already exists in pthread.buildlink3.mk.
2005-03-24 22:44:37 +00:00
jlam
da2fc85390 Don't check for USE_BUILDLINK3 anymore in these files. These are included
by other package Makefiles, and with the deprecation of USE_BUILDLINK3
support in the infrastructure files, these had the potential to break
existing packages.
2005-03-24 22:42:58 +00:00
recht
06a05b69b4 Remove 23 from PYTHON_VERSIONS_INCOMPATIBLE in the Darwin case.
It builds and runs just fine.
2005-01-24 08:04:41 +00:00
recht
367eed19fe Build Python with thread support by default and turn the existing
python*-pth packages into meta-packages which will install the non-pth
packages. Bump PKGREVISIONs on the non-pth versions to propagate the
thread change, but leave the *-pth versions untouched to not affect
existing installations.
Sync all PYTHON_VERSIONS_AFFECTED lines in package Makefiles.
2005-01-23 20:41:45 +00:00
recht
9c29fe1aeb add Python 2.4 2004-12-05 23:39:03 +00:00
recht
fd59b78727 Add PRINT_PLIST_AWKs for PYINC, PYSITELIB and PYLIB. 2004-07-23 15:35:50 +00:00
tv
b5fba10e3c Add a PYTHON_VERSIONS_INCOMPATIBLE, an additive variable that can be set
by package Makefiles as well as buildlink3s to prevent usage of particular
versions of Python -- even if they appear in PYTHON_VERSIONS_ACCEPTED.

(And make Darwin exclusion use this variable instead, so that it effectively
overrides any pkg's definition of _ACCEPTED.)
2004-06-06 16:24:55 +00:00
recht
4656bfa637 Now that all Python modules have been bl3ified remove the bl2 support. 2004-05-23 17:15:09 +00:00
danw
abae35bcf4 set INSTALL_UNSTRIPPED on Darwin so modules will be able to resolve
symbols in the python binary. Bump PKGREVISION and require the new
versions on Darwin. Fixes pkg/25272
2004-04-23 01:25:09 +00:00
recht
2a79299bd1 Make Python 2.3 the default Python version.
ok'd by drochner@
2004-04-22 16:03:51 +00:00
danw
4b8bae1c91 Fix up the supported versions on Darwin 2004-03-11 23:50:10 +00:00