Commit graph

157 commits

Author SHA1 Message Date
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
joerg
e616abfb19 With the advent of Apache module prefixes the Python package prefix
might not the first component of PKGNAME_REQD. Change this to match
either py[0-9][0-9] or the same string after a hyphen.
2007-10-31 00:59:52 +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
joerg
3d18e6981d Explicitly specify --root=/ for the non-DESTDIR case so that setuptools
shuts up. Fixes PR 36758.
2007-08-10 13:49:08 +00:00
joerg
37fcba077c EGGNAME -> EGG_NAME for consistency. 2007-08-09 13:25:31 +00:00
joerg
2a3a65e1e2 Add some basic infrastructure to manage Python eggs in pkgsrc.
We use the flat installation mode (e.g. no multiple versions by
default) by default. That avoids having to run DEINSTALL/INSTALL
scripts and allows DESTDIR installation.
2007-08-09 13:24:12 +00:00
tron
8ebe653aaf Correct version number for Python 2.4.x. 2007-06-08 18:50:05 +00:00
rillig
543328633d Added REPLACE_PYTHON as an alias to PYTHON_PATCH_SCRIPTS, to have more
consistent names. (See REPLACE_PERL, REPLACE_AWK, REPLACE_SH, ...)
2007-02-20 11:30:43 +00:00
rillig
10ae5d3fe3 Made "make help" find this. 2007-01-24 09:59:02 +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
joerg
297e6be4e8 distutils allows installation in a separate tree by passing
--root. Do so when using destdir.
2006-10-09 12:50:38 +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
drochner
a8e1710951 update python24 to 2.4.3
Python 2.4 is now in bugfix-only mode, no new features are being added. At
least 50 bugs have been squashed since Python 2.4.2, including a number of
bugs and potential bugs found by Coverity.
2006-04-12 20:21:48 +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
ghen
a527d84ce0 Convert all packages using REPLACE_INTERPRETER to the new variable names
without underscores (REPLACE.*.old, REPLACE.*.new, and REPLACE_FILES.*).

Also convert REPLACE.*.new= ${SH:Q} back to ${SH}, as it should not be quoted
here, if at all.

Ok with rillig.
2006-03-11 10:07:49 +00:00
recht
1d6d407223 Add missing part for the last python24 fix. 2006-01-24 07:25:35 +00:00
rillig
dd744146a8 Use PTHREAD_OPTS+=require instead of a "=". 2005-11-04 18:24:37 +00:00
rillig
f3a8eb5b6a Use "+=" for PKG_FAIL_REASON. 2005-11-04 16:50:34 +00:00
recht
1da55da943 sync with new Python 2.4 version 2005-10-02 10:50:57 +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
abs
fcb1dc287b Fix srcdist.mk usage for _PYTHON_VERSION 24, and add reminder comment to
python24/Makefile for next update
2005-05-10 22:27:44 +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
tron
860a102aa1 Update two more occurances of the old version number. 2005-02-16 10:41:50 +00:00
tron
00386ce424 Update Python 2.3.x version number here, too. 2005-02-16 10:38:02 +00:00
jmmv
df333169fb Convert the python packages to use the alternatives system to install a
bin/python wrapper.  Bump their PKGREVISION to 1.

Also remove the python package.  In order to preserve a similar behavior to
this one using the new framework, start by installing pkg_alternatives.
Then just open its manpage, scroll down to the EXAMPLES section, Applying
filters subsection, and follow the (rather short) directions given there.
2005-01-30 12:44:39 +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
adrianp
c27f428e15 - Fix an error where -lpython does not get defined on Darwin and causes
the compile of python modules to fail.
- Fixes PR# 28605
- Ok'ed recht@
2004-12-28 22:48:11 +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
recht
4150812b27 add python as category
ok'd a while back at pkgsrcCon by agc and wiz
2004-07-22 09:15:59 +00:00
darcy
f2eae255dc Add quotes around word "install" in the setup command.
Note that this cannot be changed to ${INSTALL} because it is not the install
command but rather an argument to setup.py.  While adding the quotes makes
no difference to the use of the file, it does keep pkglint quiet.  This is
even more important because this file is included by many other packages
and causes warnings when trying to check new Python extensions.
2004-06-12 21:18:31 +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
3878bc7011 catch up with the Python 2.3.4 update 2004-06-02 12:30: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