82 Commits

Author SHA1 Message Date
pamela
475708fabd regenerate patches
OK sthen@
2019-12-06 21:03:09 +00:00
ajacoutot
8e232da1bf Provide all python debug packages. 2019-11-11 17:47:41 +00:00
jca
428d69794f Unbreak numpy after the python-2.7.17 update
python cflags are now being honored which means gcc now pukes on the
bogus -OPT:Olimit=0 present in python2-config --cflags.  Force-disable
the bogus use of -OPT:Olimit=0.  ok kmos@ sthen@
2019-11-03 08:55:33 +00:00
rpointel
b5e9f7f1fb update python to 2.7.17.
ok kmos@.
2019-11-01 17:40:08 +00:00
naddy
ebf751b927 Update gettext to 0.20.1.
Follow the upstream recommendations for packagers and switch to
multi-packages:
devel/gettext       -> devel/gettext,-runtime
devel/gettext-tools -> devel/gettext,-tools
(new)                  devel/gettext,-textstyle
2019-05-20 22:15:00 +00:00
ajacoutot
8d092f421f Missed bump. 2019-04-22 10:09:37 +00:00
sthen
c3e90e6a46 python tweaks;
- sync WANTLIB
- use do-gen instead of post-patch for the "subst and regen
autoconf files" target
- ALL_TARGET needs setting differently between 2.7 and 3.x;
rather than checking against 3.6 for "all", check against 2.7
for "all ./Lib/plat-openbsd6". needed for newer 3.x.
2019-04-21 09:32:19 +00:00
rpointel
99f091b273 update Python to 2.7.16.
tested by sthen@ and kmos@ (thanks).
2019-04-03 05:23:40 +00:00
sthen
25f0e460f2 Add COMPILER lines to c++ ports which currently use the default. Adjust
some existing COMPILER lines with arch restrictions etc. In the usual
case this is now using "COMPILER = base-clang ports-gcc base-gcc" on
ports with c++ libraries in WANTLIB.

This is basically intended to be a noop on architectures using clang
as the system compiler, but help with other architectures where we
currently have many ports knocked out due to building with an unsuitable
compiler -

- some ports require c++11/newer so the GCC version in base that is used
on these archirtectures is too old.

- some ports have conflicts where an executable is built with one compiler
(e.g. gcc from base) but a library dependency is built with a different
one (e.g. gcc from ports), resulted in mixing incompatible libraries in the
same address space.

devel/gmp is intentionally skipped as it's on the path to building gcc -
the c++ library there is unused in ports (and not built by default upstream)
so intending to disable building gmpcxx in a future commit.
2018-10-24 14:27:57 +00:00
danj
7d569fc533 Tweak MASTER_SITES and HOMEPAGE
Switch to https and remove dead mirror.
Noticed by rsadowski@, ok rpointel@
2018-09-18 16:43:12 +00:00
danj
a00bb2a8a9 regen patches as some need fuzzing
ok tb
2018-08-09 17:39:27 +00:00
rpointel
b0ffc09fc2 update python 2.7 to 2.7.15.
tested in a bulk by naddy@ (thanks).
ok jasper@.
2018-05-03 20:09:25 +00:00
tb
439a9563e3 Use our own PKCS5_PBKDF2_HMAC() instead of using PKCS5_PBKDF2_HMAC_fast().
They are essentially the same.

discussed with jsing
ok & bumping help sthen
2018-03-18 01:27:30 +00:00
sthen
823951dedc fix following libressl changes. maybe the thread locking can go away too now,
just doing the minimum to unbreak the ports tree for now.
2018-03-17 22:30:04 +00:00
sthen
ad52b4a5fb unbreak following libressl additions - we have X509_OBJECT_get0_X509,
BIO_up_ref, X509_STORE_get0_objects but not X509_NAME_ENTRY_set,
SSL_CTX_get_default_passwd_cb, X509_OBJECT_get_type,
SSL_CTX_get_default_passwd_cb_userdata, X509_STORE_get0_param,
SSL_SESSION_has_ticket, SSL_SESSION_get_ticket_lifetime_hint

while there: don't override TLS_*method with macros
2018-02-22 23:03:12 +00:00
jca
c3f5e64921 Add missing make dep, to allow builds with MAKE_JOBS >= 2
iirc ok naddy@, no objection from rpointel@ (maintainer)
2017-11-09 10:05:14 +00:00
jca
c816c665cd Regen patches 2017-11-05 06:33:45 +00:00
ajacoutot
d2bf181df8 Provide symlinks for python2, python3 and friends like most other OSes do.
This will allow us to drop patches and substitutions in our ports tree. Nowadays
most upstreams don't hardcode the path to python but instead use env(1) to find
the path.

bulk tested
ok sthen@
ok and input from rpointel@ (on an older patch)
2017-11-03 13:13:05 +00:00
rpointel
29fbf8cf5b update Python to 2.7.14.
tested in a bulk build by naddy@, thanks.
2017-09-20 18:44:48 +00:00
sthen
5e964ab0df bump LIBCXX/LIBECXX/COMPILER_LIBCXX ports. 2017-07-26 22:45:14 +00:00
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