121 Commits

Author SHA1 Message Date
phessler
9e7b773b4a 10 years ago, we needed to build python with c++ to make sure modules
with native c++ code worked fine.  We no longer need to do that, and
llvm errors out with the non-sensical combination of "c++ -std=c99".

this fixes the python build on arm64

tested by sthen@ in an i386 bulk, thanks!

OK sthen@, rpointel@ (maintainer)
2017-02-20 11:04:27 +00:00
phessler
0df7a040a4 remove a sparc leftover 2017-02-17 10:01:28 +00:00
rpointel
47d293372a adapt ALL_TARGET for Python 3.6. 2016-12-26 19:41:45 +00:00
sthen
564c6c344a Cope with moving sqlite3 back to ports. 2016-09-23 09:16:52 +00:00
jasper
484e46033e switch to USE_WXNEEDED 2016-08-18 12:50:42 +00:00
jasper
978e3c67a6 annotate python interpreters with wxneeded; while python itself is clean there
are various ports that aren't (e.g. py-cryptography and py-qt5 (QtWebKit)).

obviously not a long-term "fix" but helps to keep moving forward

ok jca@ sthen@ rpointel@ (MAINTAINER)
2016-08-12 09:55:28 +00:00
naddy
c43d50609f fix build after OpenBSD 5.x -> 6.x transition 2016-05-11 22:43:49 +00:00
naddy
d9f3e296dc replace gettext module with library dependency; ok rpointel@ 2016-04-06 11:29:25 +00:00
naddy
5fc24d3cb3 removing SHARED_ONLY is safe here 2016-03-16 20:02:11 +00:00
naddy
d1fb05fbc3 requires --enable-shared 2016-03-10 11:50:13 +00:00
rpointel
40cf7487a9 python != 2.7 depends on archivers/xz; spotted by nigel@ (thanks).
bump revision for python 3.5.
2015-10-08 07:18:24 +00:00
phessler
16f4169646 use lower optimization levels, so compiles work on sparc 2015-04-17 07:58:12 +00:00
ratchov
a6bb527423 Stop installing python 2.7 ossaudiodev module. It's not present
in recent versions of python most probably because it doesn't make sense
to expose non-portable low-level ioctl's to scripts (PyAudio & PyGame
are much better choices).

ok brad, aja and sthen ok'd first version of this diff
2015-02-01 12:52:53 +00:00
naddy
9281e1d2ce Drop USE_GROFF from subdir: trivial formatting differences only. 2015-01-22 23:03:31 +00:00
naddy
d4ca7b9741 remove python 3.3 leftovers; ok rpointel@ 2014-11-05 12:09:07 +00:00
rpointel
d097a7853b understand Python 3.4. 2014-04-13 07:11:10 +00:00
rpointel
db6be01734 Activate locale.bindtextdomain in Python.
ok aja@.
2014-03-09 20:23:44 +00:00
fgsch
28ab4132a5 - Merge ctypes fragment into main now that libffi is fixed
- Remove uneeded diff after the time_t change
- Clean things a bit
- Bump revisions

tested by rpointel@, sthen@ and myself. ok by them and jasper@
2013-10-27 18:32:55 +00:00
fgsch
618f6d7e09 GC python 2.5. Thanks to zhuk who made this possible. 2013-06-04 08:02:20 +00:00
ajacoutot
832f214f93 3.2 -> 3.3 2013-05-30 14:46:31 +00:00
fgsch
bbdbab0410 Add missing dependencies and sync wantlib.
prompted by and ok ajacoutot@
2013-05-22 12:36:03 +00:00
fgsch
f2cb915b21 - update what tests should be skipped
- add missing dependency on archivers/xz
- temporarily fix timeval's tv_sec handling
- bump

ajacoutot@ jasper@ sthen@ ok as part of a larger diff.
2013-05-18 04:13:16 +00:00
fgsch
2d8eef9572 remove djm and put rpointel as the maintainer for 2.5 and 2.7 as well.
discussed with djm.
2013-05-07 08:03:42 +00:00
fgsch
7f313b784c - change post-patch to use configure.ac
- set default autoconf version to 2.69
- explicitly set tk version to 8.5. prompted by sthen.
2013-04-28 00:49:11 +00:00
fgsch
1f62a58148 Update python 2.7 to 2.7.4.
This is a slighly different version that I sent that includes an updated
kqueue diff that works with python 2 and 3 and puts test_bsddb and
test_bsddb3 back on the skip list as they're not built outside amd64
and i386.

Only 2 tests are known to fail: test_kqueue (broken) and test_threading
(failing on 2.7.3, under investigation but likely broken). If something
else fails please send your test.log.

Tested on a bulk by landry, sparc64 by brad, ppc gonzalo and amd64 by me.
2013-04-13 22:31:42 +00:00
bcallah
28e3ca351b Fix a hardcoded INSTSONAME, which happens to be wrong for Python 2.7
Bump everyone's REVISION.
ok sthen@
2013-03-31 21:35:26 +00:00
sthen
7b10e7c633 PERMIT_* 2013-03-11 12:27:53 +00:00
espie
0662a4e9d6 PERMIT_* / REGRESS->TEST sweep 2013-03-11 11:20:26 +00:00
sthen
701ea4d98f sync wantlib 2012-08-23 19:19:16 +00:00
ajacoutot
c6cc5cfb1b Don't overwrite THREAD_STACK_SIZE but use the default.
ok fgsch@
2012-05-09 06:21:12 +00:00
rpointel
58f0310490 Update Python 2.7.2 to 2.7.3.
ok mpi@, gonzalo@. tested in a bulk build by landry@.
2012-04-27 08:18:59 +00:00
espie
4ed7caa04f first pass at handling sqlite3 move 2012-04-23 17:15:17 +00:00
fgsch
7cf02618d6 RIP python2.4.
jasper@ ok
2011-12-20 13:08:06 +00:00
espie
154a57cb29 PROPERTIES is now available from Makefile.inc, update infra/ 2011-12-08 08:17:28 +00:00
naddy
7011821d4e rather than trying to list all LP64 architectures, get this from
bsd.port.arch.mk; ok espie@ djm@
2011-12-07 15:14:22 +00:00
espie
56902f8f20 fix build: prevent infinite recursion thru python.
also annotate gamin for bootstrap property, and mark haddock,no_deps as
a "real flavor", since it's only used for bootstrap anyways AND significantly
changes the build.
2011-10-18 06:46:24 +00:00
fgsch
1d041aca14 python 2.6 is not longer but comment still valid for 2.7 so update accordingly. 2011-09-28 16:59:33 +00:00
sthen
119b2307f8 let Python use PKGSPEC infrastructure, discussed with and variable name
suggestion from fgsch@
2011-09-27 21:27:36 +00:00
fgsch
f07def33ab Merge in support for python3.
remi@ sthen@ ok
2011-09-21 14:37:28 +00:00
rpointel
a03b19cfef Use system libffi on Python 2.5 and 2.7 (except on arm).
ok jasper@ landry@ sthen@.
2011-09-06 20:58:08 +00:00
naddy
97797cc0a0 fix build after after 4.9->5.0; with help from rpointel@ 2011-07-18 15:32:18 +00:00
sthen
17b5e65888 Replace a dead MASTER_SITES mirror with a working one. 2011-07-16 20:22:48 +00:00
rpointel
ea37821819 Correct the wrong value of LDFLAGS (certain ports will need WANTLIB += ${MODPY_WANTLIB}).
Thanks for fgsch@ for his patch-Modules_selectmodule_c to correct SIGBUS error on sparc64 (test_kqueue.py).

It's time make bulks of Python2.7 on as many archs as we can.

Thanks a lot.

ok sthen@ aja@
2011-05-30 21:11:44 +00:00
jasper
dcd4f22681 Remove python-mode.el, it's now part of the emacs-python package.
It wasn't distributed anymore in the python distfile starting from 2.7 anymore.

Please install the emacs-python pacakge to continue using the functionality.

ok rpointel@
2011-05-23 06:42:02 +00:00
rpointel
129e1f459d Removed AUTOCONF_VERSION?= now we have the correct AUTOCONF_VERSION in each version of Python.
From Brad, ok sthen@.
2011-05-03 17:52:04 +00:00
fgsch
14d07c603d adjust interpreter path for 2to3 and install it under pythonVERSION-2to3.
discussed with rpointel, rpointel sthen martynas ok.
2011-05-03 17:14:43 +00:00
rpointel
c25fe689b1 Prepare import of python 2.7.
(Not linked to the build, and not made the default python).
ok landry@, fgsch@.
2011-04-24 09:19:01 +00:00
kili
a08d197254 Whenever a package installs a script using #!/usr/bin/env, god kills
a kitten.

Let pydoc${VERSION} use #!${LOCALBASE}/bin/python${VERSION} instead
of $!/usr/bin/env python${VERSION}.

ok rpointel@, sthen@ (after some discussion wether post-build is
the proper target for this or not)
2011-04-12 19:28:13 +00:00
espie
be2f93f11d since db/v4 has db->=4,<5 as default, no need to specify it explicitly 2010-11-26 14:50:09 +00:00
espie
f7466761c3 missed some 2010-11-22 09:20:34 +00:00