Commit graph

132 commits

Author SHA1 Message Date
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
drochner
2aadeff11c use REPLACE_INTERPRETER instead of our private implementation 2004-03-02 15:26:02 +00:00
lukem
dcea7098b5 Add a python "meta package" to install a symlink from ${PKGBASE}/bin/python
to the preferred version of python (as specified by PYTHON_VERSION_DEFAULT).
This means that cross-platform python scripts with "#!/usr/bin/env python"
actually function on pkgsrc systems without nasty hackery.
Approved by Alistair.
2004-02-06 08:37:22 +00:00
recht
9c27695967 add buildlink3 support 2004-01-25 14:28:52 +00:00
xtraeme
8320f833ef Add missing `*', noted by Min Sik Kim in private email. 2004-01-14 03:22:47 +00:00
xtraeme
0a0152f5e4 Accept any python executable with _PYTHON_PATCH_SCRIPT_SED; previous
scheme only accepts `python', so if we have a script which uses:

#!/path/to/python23

PYTHON_PATCH_SCRIPTS will fail.

Fix provided by Min Sik Kim in PR pkg/24069.
2004-01-14 02:10:47 +00:00
recht
6ff2e5bdd5 update to 2.3.3
This is a bug-fix release for Python 2.3 that fixes a number of bugs,
including a couple of serious errors with weakrefs and the cyclic garbage
collector. There are also a number of fixes to the standard library
- see the release notes ( http://www.python.org/2.3.3/NEWS.html )for details.
2003-12-23 17:24:42 +00:00
recht
d5dc8a4e54 Update to Python 2.3.2
Changes in Python:
Quite a few fixes.. See NEWS for details.

Changes in the pkg:
- add FreeBSD patches from the FreeBSD port
- add fix for a fatal bug in type's GC handling causes segfaults
  (via FreeBSD port)
  see http://cvs.sourceforge.net/viewcvs.py/python/python/dist/src/Misc/NEWS?r1=1.831.4.75&r2=1.831.4.76&diff_format=u
- always build the db 1.85 module (on all platforms)
2003-12-08 21:13:56 +00:00
recht
5ae0dcc995 Fix PYTHON_VERSION_REQG regex for non-NetBSD native make (read for bmake). 2003-12-05 19:24:31 +00:00
darcy
291b036e4d Revert previous change. I was trying to get pkglint to keep quiet but
Marc Recht pointed out that install is not the install command here but
rather an argument to the Python setup program.
2003-12-03 12:26:35 +00:00
darcy
b4b58bfb37 Change hard coded call of install to use INSTALL environment variable. 2003-12-03 12:00:09 +00:00
recht
3619f6de56 Add a comment for the last change. 2003-11-03 18:25:01 +00:00
recht
585a55d24c Fix breakage caused by PKGNAME_REQD quoting in bsd.pkg.mk. 2003-11-01 12:10:00 +00:00
kristerw
1379422e42 DTRT for USE_BUILDLINK2=no (or [nN][oO]). 2003-09-30 22:44:52 +00:00
recht
e914ab3288 hange extension.mk to also install optimized files for distutils packages.
Inspired by FreeBSD "ports".

Fix the PLISTs accordingly.
Also, while at it, remove now obsolete compileall.py calls in post-install
targets and insure that extension.mk is in included before builinlinks of
other Python modules.

Discussed with/ok'ed by drochner@.
2003-09-14 16:43:45 +00:00
recht
13d6925118 Adapt a change from FreeBSD's ports Mk/bsd.python.mk.
Change the order of PYSETUP*AGS and the corresponding target.
Eg.:
s/${PYSETUPINSTALLARGS} install/install ${PYSETUPINSTALLARGS}/

This allows us to automatically install .pyo files with a
PYSETUPINSTALLARGS=-O1 -c and thus drop the compileall.py stuff in the
post-install target.

ok'ed by drochner@
2003-09-11 13:13:47 +00:00
drochner
88109ac95a prepare for Python-2.3 2003-08-04 08:15:47 +00:00
drochner
52947f7d70 update Python22 to 2.2.3
This is a bugfix release.
Also, use the LINK_ALL_LIBGCC_HACK just introduced to link the
interpreter against libgcc. This should fix PR pkg/16144 in the
Python2.2 (and NetBSD-1.5) case.
2003-06-06 17:31:17 +00:00
jdolecek
a796119e39 some packages (e.g. py-wxWindows 2.4.0.7) have the Python setup.py
in subdirectory and need to execute setup.py in that directory, but
still need WRKSRC set to the base directory for configure/patch targets

to handle this, add PYSETUPSUBDIR variable (default empty), and
change do-build+do-install targets to use working directory
${WRKSRC}/${PYSETUPSUBDIR} when executing setup.py
2003-05-09 09:24:17 +00:00
drochner
4aae56f303 use the same logics for pth dependency like in python2?-pth/Makefile 2003-05-07 20:08:18 +00:00
jdolecek
0e8a85b77b add 22pth and 21pth to default 'accepted' list
fixes PR pkg/20601 by David W. Talmage
2003-03-10 09:19:07 +00:00
wiz
d44383d5b9 Remove references to pth/buildlink.mk. 2002-12-23 14:11:36 +00:00
schmonz
0a1bd5acad Replace IGNORE with PKG_FAIL_REASON or PKG_SKIP_REASON as appropriate. 2002-12-07 02:38:52 +00:00
schmonz
687c3e18be On Darwin, since it's currently the only Python that's usable there,
force PYTHON_VERSIONS_ACCEPTED to "22".
2002-11-23 00:54:44 +00:00
tsarna
73dec61f67 Make default version of Python 2.2.x instead of 2.1.x. Since multiple
versions of Python may be installed, and packages that require an
earlier version can always specify that, this should cause no problem,
and it seems sensible that people who don't care should get the latest.

(drochner concurs)
2002-10-30 22:36:16 +00:00
drochner
92b5ac655f another Python version 2002-10-25 10:52:24 +00:00