62 Commits

Author SHA1 Message Date
espie
8f66b5e686 tweak generated includes so that C++ extensions compile with clang.
- we don't have xlocale
- so we use __bsd_locale_fallbacks_h, yes even for #include <iostream>
- that depends on mbsnrtowcs and wcsnrtombs  from wchar.h
- those require __POSIX_VISIBLE to be >= 200809...

bump accordingly. tested by naddy@, no breakage on gcc platforms.
2017-05-04 15:20:24 +00:00
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
rpointel
371963dfa8 update Python to 2.7.13.
ok juanfra@ shadchin@
2016-12-19 20:47:26 +00:00
sthen
564c6c344a Cope with moving sqlite3 back to ports. 2016-09-23 09:16:52 +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
rpointel
a4515812c4 forgotten make update-patches, spotted by danj@.
inputs and ok sthen@.
2016-07-03 20:10:33 +00:00
rpointel
88f000423c update Python 2.7 to 2.7.12, 3.4 to 3.4.5 and 3.5 to 3.5.2.
tested in a bulk build and ok sthen@, ok danj@
2016-07-03 18:16:00 +00:00
espie
1d55a231e7 add is-branch to all trivial ports that exist as multiple branches. 2016-06-29 16:14:38 +00:00
sthen
6be8037616 Handle OpenBSD 6.x in Python 2.7 tests. Python 3.x's tests
are done in a different way and don't need this.  OK rpointel@
2016-05-24 09:57:50 +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
rpointel
0ab7998e33 update python to 2.7.11.
from jsg@ (thank you), ok shadchin@.
2015-12-17 19:16:51 +00:00
rpointel
5d0bd23967 PORTROACH = limit:^2\.7
ok aja@
2015-09-18 21:49:09 +00:00
rpointel
973ff31c5f update python to 2.7.10.
ok aja@
2015-05-31 07:56:10 +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
sthen
f47c010e07 copy the license requirement comment from Makefile.inc to the relevant
version Makefiles (so that it will be clearly visible in files which are
edited when REVISION is bumped)
2014-12-16 10:05:40 +00:00
rpointel
452edb578e Update Python 2.7 to 2.7.9.
ok sthen@, also tested on macppc by Fred <openbsd@crowsons.com> (thanks).
2014-12-14 08:32:55 +00:00
rpointel
9616e3bb7c Update Python to 2.7.8.
Changelog: http://hg.python.org/cpython/raw-file/v2.7.8/Misc/NEWS
ok daniel@ (thanks for the 2 patches).
2014-07-11 06:59:42 +00:00
rpointel
5b51d2380d Update Python 2.7 to 2.7.7.
ok benoit@, tested by tobiasu@ on sparc and Daniel Dickman (thanks).
2014-06-07 14:46:46 +00:00
espie
1e9d78fa6c grr much better with the actual patch added thank you 2014-04-19 14:17:47 +00:00
espie
229fbb919f hoping that's the last remnant in py land... 2014-04-19 14:10:10 +00:00
espie
bc1dfe2217 ... and the python glue as well 2014-04-19 13:53:15 +00:00
espie
e1a5039985 zap RAND_egd, allow python to build.
okay sthen@
2014-04-19 12:43:47 +00:00
rpointel
db6be01734 Activate locale.bindtextdomain in Python.
ok aja@.
2014-03-09 20:23:44 +00:00
rpointel
9212547d04 Security fix for Python 2.7 and 3.3.
More information: http://bugs.python.org/issue20246
http://seclists.org/oss-sec/2014/q1/284

go aja@ espie@
2014-02-09 09:49:26 +00:00
fgsch
eb6a449df4 Update to python to 2.7.6.
Tested on i386, amd64 and macppc. macppc included a diff that's not part
of this update but will be added at a later time.
Committing on behalf of rpointel@. sthen@ OK
2014-01-09 18:03:35 +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
a7efa58b45 sigh, missed this one. 2013-05-22 12:43:53 +00:00
fgsch
84013341bb Update to 2.7.5.
ok ajacoutot@ as part of a larger diff.
2013-05-22 12:39:30 +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
16a37755ae pickup the system readline even if devel/readline is installed.
reported by nigel@, sthen@ ok.
2013-04-28 22:42:41 +00:00
fgsch
fa8e43c0f5 - Update changes specific to OpenBSD
- Update comments on patch-configure_ac
- Drop uneeded change in setup.py
- Bump package
2013-04-28 00:51:34 +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
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
rpointel
008ea8ea49 Update Python to 2.7.2 and remove hacks for old pthread.
ok fgsch@ and aja@.
2012-02-27 19:30:46 +00:00
naddy
3ba3d24b0d ./configure[7897]: LIBS: not found
Don't introduce a syntax error in configure; sh(1) is not make(1)
and here the expansion happens in sh.  ok rpointel@
2011-12-10 19:06:03 +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
espie
e820071495 normalize pkgpath 2011-09-16 10:31:20 +00:00
fgsch
a0eda24d70 siginterrupt test is passing now. remove skipIf from here.
no bump required.
2011-09-14 09:23:11 +00:00
naddy
1e2bbe8777 bump all (sub)packages that depend on db/v4; requested by and help from espie@ 2011-09-12 18:02:34 +00:00
landry
443dbc68e7 Remove empty patches. 2011-09-07 05:18:05 +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
rpointel
fa6adaafb4 Comma was missing in our patch so test failed. Now it's ok.
Bump revision.
ok aja@.
2011-08-23 07:08:23 +00:00
naddy
97797cc0a0 fix build after after 4.9->5.0; with help from rpointel@ 2011-07-18 15:32:18 +00:00
jasper
8037b9b663 missing in prev. 2011-07-07 21:32:58 +00:00
jasper
dcc5448126 recognize openbsd5, may need some more work 2011-07-07 21:32:39 +00:00