Commit graph

43 commits

Author SHA1 Message Date
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
minskim
ff7fee44a5 Honor LDFLAGS when building shared libraries on Linux. Previously,
python2[34]{,-pth} failed on Linux when Berkeley DB from pkgsrc was
used.
2004-12-30 21:56:20 +00:00
recht
97217b7045 Add patches from darwinports/fink to make the posixmodule work on Darwin/
OSX and build the libpython as dynamic library.
While at it also fix the PLIST for Darwin/OSX.
2004-11-28 13:33:19 +00:00
grant
228fec1326 before the SIGINT fix, the PKGREVISION was set to 1 in
python23{,-pth}/Makefile.

it was then "bumped" to 1 in Makefile.common.

really bump it to 2 and leave it in Makefile.common (hi luke!)
2004-06-15 14:26:34 +00:00
lukem
16f02bb613 * Add patches to ensure that signal handlers consistently don't set SA_RESTART
(restartable system calls).  (These patches have been submitted back to the
  python community.).  Fixes the bug in NetBSD PR [pkg/24797] that I submitted.
* Highlight in the DESCR files what the thread support is for that package.
* Bump PKGREVISION.
2004-06-14 02:31:13 +00:00
recht
b5316b9c7d NetBSD 2.0 changes sys.platform to netbsd2 -- catch up with this
patch by drochner@ in private mail

bump PKGREVISION to 1
2004-06-10 10:13:06 +00:00
recht
bb50a9cc2d Update to 2.3.4
This is a bug-fix release for Python 2.3 that fixes a number of bugs,
including a couple of weakref bugs and a bug in pickle version 2. There
are also a number of fixes to the standard library, and some build
fixes - see the release notes ( http://www.python.org/2.3.4/NEWS.html )
for details.
2004-06-02 12:29:28 +00:00
recht
4656bfa637 Now that all Python modules have been bl3ified remove the bl2 support. 2004-05-23 17:15:09 +00:00
recht
a2a789cb93 Add missing patches and disable PKGVIEW installation for now until the
issues with modules are sorted out.
2004-05-12 16:25:34 +00:00
recht
c3fe9a0f17 - Merge bugfixes from python 2.3 maintenance branch:
o weakref object's garbage collection problem.
  o save unnecessary startup-time memory allocation of 100KB+ from
    intobject.

via FreeBSD ports

- Enable pkgviews installation.

Bump PKGREVISION for the bugfixes.
2004-05-12 15:19:49 +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
0f312c17dc Rework bdb detection: Since we're using buildlink we could save rely
on the variables it sets (eg. BDB_TYPE). While at bl3ify.
Thanks to minskim@ for fixes and testing.
2004-04-13 22:48:41 +00:00
recht
8d32594619 Also add python23's cursesmodule fix (patch-aa) here. It's named patch-ba
here since patch-aa already exists.
2004-04-09 23:10:36 +00:00
wiz
a661ce60c0 PKGREVISION bump after openssl-security-fix-update to 0.9.6m.
Buildlink files: RECOMMENDED version changed to current version.
2004-03-26 02:27:34 +00:00
minskim
dcc10c5606 Disable db3 and db4 detection in python23 and python23-pth, so as to
prevent them from picking up a wrong db library on systems that have
native db3 or db4.
2004-03-22 06:33:58 +00:00
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +00:00
recht
ee8ddf1d62 Apply first part (creation of libpython.so) of the patch provided by
Michal Pasternak in PR 24599.
Leave the RUNSHARED part for now until it's proven that it's really needed
and a cleaner has been found.
2004-03-01 00:16:35 +00:00
jlam
1b2674fcd7 The BUILDLINK_DEPENDS.<pkg> lines should match between the buildlink3.mk
and any pre-existing buildlink2.mk files.
2004-02-10 20:45:01 +00:00
grant
f64b4298c9 use ${EGREP} instead of relying on GNU grep features. 2004-01-29 10:33:51 +00:00
abs
76af5a3859 Add USE_GCC_SHLIB to python2 packages:
python20 to python20-2.0.1nb6
    python21 to python21-2.1.3nb2
    python21-pth to python21-2.1.3nb4
    python22 to python22-2.2.3nb1
    python22-pth to python22-2.2.3nb1
    python23 to python23-2.3.3nb1
    python23-pth to python23-2.3.3nb1
2004-01-27 18:55:30 +00:00
grant
5f9a42b2f5 use -h instead of -soname= when creating shared objects to appease
Solaris linker.
2004-01-26 12:11:57 +00:00
recht
f4a7cde525 Revert python23{,pth} back to buildlink2. The build fails on NetBSD 1.6
since BUILDLINK_CPPFLAGS and friends are undefined in db's buildlink3.
2004-01-25 21:10:10 +00:00
jlam
a8aead0d03 * Follow the new buildlink3 standard and append to BUILDLINK_DEPENDS.<pkg>.
* Use BUILDLINK_{INCDIRS,LIBDIRS}.<pkg> instead of using
  BUILDLINK_{CPPFLAGS,LDFLAGS}.<pkg> since we're just dealing with adding
  directories to the various search paths.
2004-01-25 17:15:12 +00:00
recht
7d01b8f2ba shorten createbuildlink's generated comment a bit 2004-01-25 14:11:13 +00:00
recht
b6436d1b36 add buildlink3.mk 2004-01-25 14:05:34 +00:00
recht
4a8320bcb9 bl3ify 2004-01-24 20:53:54 +00:00
recht
18b47b5426 Follow grant@'s lead and use Makefile.common for python23 and python23-pth. 2004-01-24 19:48:11 +00:00
recht
7ba51279e0 fix typo
spotted by grant@
2004-01-24 18:17:54 +00:00
recht
3e338f2ad7 remove stacksize from UNLIMIT_RESOURCES. This isn't needed for the build
and causes more harm than good for the regression tests.
2004-01-11 11:04:43 +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
7a9d015928 The dl module isn't built for 64 bit archs and Darwin, so exclude it in
the PLIST for these.
2003-11-17 00:11:43 +00:00
jschauma
fe19bb05b5 PKGREVISION++ after openssl update. 2003-11-12 03:39:39 +00:00
recht
44917e36b8 Use my NetBSD.org email address. 2003-09-14 18:13:48 +00:00
recht
9b36f82e48 Avoid redefinition of redefinition of wchar_t and wint_ if
_XOPEN_SOURCE_EXTENDED is defined. This fixes py-curses on NetBSD > 1.6T.

Bumb PKGREVSION to 2, because of the header change.
2003-09-14 14:04:31 +00:00
recht
92483009b1 Correctly disable POSIX* and XOPEN* macros on < 1.6T. This should fix
py-curses in hubertf's bulk build.
Also add a patch from drochner@ for 1.5.
Bump PKGREVISION 1, because the This the pyconfig.h header is affected.
2003-09-10 00:11:03 +00:00
recht
1e2a04351d Partly override Python's CFLAGS with the ones from pkgsrc.
Idea by Adam <adam at albedo dot art dot pl> in private email.
2003-09-04 18:31:43 +00:00
recht
a666fc8beb Split the PLIST into common and os dependent parts. Start with NetBSD
and Linux. Disable the curses module on Linux.
2003-08-18 20:57:11 +00:00
recht
e39670cde9 - Fix build for NetBSD <= 1.5.
- Include bzip2's buildlink2.mk to work-around different API versions.
- Include db's buildlink2.mk on non-NetBSD platforms to get a similar
  feature-set on a pkgsrc platforms.
2003-08-18 17:16:53 +00:00
drochner
18e644ad2b Add a symlink so that the shared lib can be found as *.so, and
engage Marc Recht as MAINTAINER.
2003-08-06 11:51:30 +00:00
drochner
6e80dc318e -add a patch from Marc Recht vie pkgsrc-wip which meddes with these
XOPEN/POSIX/NetBSD_SOURCE definitions so that it builds on 1.6.x
-pull in some GNU-pth related fixes from Python-2.2-pth
2003-08-06 11:38:10 +00:00
drochner
89febf819d oops - forgot a piece of a patch taken over from Python-2.2 2003-08-06 11:05:27 +00:00
drochner
eac7ba6335 Python-2.3 with thread support. Tested on -current/i386 only so far
(this means, GNU pth support is untested).
Suffers from stack shortage problems, thus doesn't get far in its
selftest suite.
2003-08-04 08:29:31 +00:00