491 Commits

Author SHA1 Message Date
martijn
65599bc7ce /MODPY_DISTUTILS_INSTALL/s/LOCALBASE/TRUEPREFIX/
Triggered by remark of sthen@.

OK sthen@, rpointel@
2018-12-04 05:57:31 +00:00
danj
85e27d6f74 regen patch 2018-11-09 19:55:39 +00:00
rpointel
c104026cfa update to python 3.6.7.
tested in a bulk build by naddy@ (thanks).
2018-11-03 18:56:32 +00:00
sthen
2a83c63018 add MODGCC4_CPPLIBDEP to LIB_DEPENDS-main to unbreak !clang arches -
on clang arches this is a noop, on !clang arches this gives a path to
the estdc++ WANTLIB. needed because this is a multi-package port and
LIB_DEPENDS-main doesn't include the default LIB_DEPENDS added by
gcc4.port.mk.
2018-10-31 23:48:19 +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
landry
075b2f0d05 Build python 3.6 with --enable-loadable-sqlite-extensions.
This unbreaks the following testcase, and fixes spatialite databases in QGIS.

import sqlite3
con = sqlite3.connect(":memory:")
con.enable_load_extension(True)

See https://trac.macports.org/ticket/49317 &
https://riccardo.forina.me/spatialite-for-python-does-not-work-on-osx/
for similar fixes on OSX.

went in a bulk build without fallout, sounds good to rpointel@
2018-08-30 16:22:49 +00:00
danj
a00bb2a8a9 regen patches as some need fuzzing
ok tb
2018-08-09 17:39:27 +00:00
espie
406d092c5c make the BUILD_DEPEND mechanism on python more flexible, and less
surprising.

It's always controlled by MODPY_BUILDDEP, which defaults to Yes
usually, unless NO_BUILD=Yes is set, and then it defaults to No.

this caters to matthieu's xcbgen port

okay aja@, rpointel@
2018-07-24 12:10:10 +00:00
rpointel
52492d9dd4 update python to 3.6.6.
tested in a bulk build by naddy@ (thanks).
release notes: https://docs.python.org/3.6/whatsnew/changelog.html#python-3-6-6-final
2018-07-02 04:56:07 +00:00
espie
6c9bec5fc3 python is the first module to gain explicit update-plist support, do not
try to add those substs in the middle of words
2018-05-12 10:47:36 +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
danj
3c47b441c2 Bump setuptools requirement
ok sthen@
2018-04-24 09:40:51 +00:00
rpointel
8bf4b1a96e update to Python 3.6.5, tested in a bulk build by naddy@ (thanks).
release notes: https://docs.python.org/3.6/whatsnew/changelog.html#python-3-6-5-final
2018-04-03 17:53:48 +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
landry
7b5cbbc044 Default MODPY_DISTUTILS_BUILD to build in ${WRKBUILD} instead of
${WRKSRC} - this way python ports using distutils respects
SEPARATE_BUILD.

From Klemens Nanni, tested in an amd64 bulk, ok sthen@ rpointel@
2018-01-29 20:49:24 +00:00
danj
d85bd544fa regen patches 2017-12-23 19:57:48 +00:00
rpointel
cb2c77a11c update to Python 3.6.4.
tested in a bulk build by naddy@.
2017-12-20 19:47:30 +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
13b87a790d don't update PLIST after make tests...
spotted by naddy@.
2017-10-16 05:16:24 +00:00
rpointel
1e9db2667c update Python to 3.6.3.
tested in a bulk build by naddy@, thanks.
2017-10-15 16:31:45 +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
rpointel
dad64efff7 update python to 3.6.2, tested in a bulk by sthen@. 2017-08-10 06:25:18 +00:00
sthen
5e964ab0df bump LIBCXX/LIBECXX/COMPILER_LIBCXX ports. 2017-07-26 22:45:14 +00:00
espie
8ac47fd9c6 use COMPILER_LIBCXX where applicable 2017-07-16 19:18:47 +00:00
landry
635c433e2b Retire python 3.4 and 3.5, python 3.6 is the default python3 version
since 7 months, and nothing uses those anymore.
ok rpointel@ (MAINTAINER) ajacoutot@
2017-07-08 08:28:00 +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
ajacoutot
4f8b9a547c Only add ac_cv_prog_PYTHON and ac_cv_path_PYTHON to CONFIGURE_ENV when
CONFIGURE_STYLE is gnu (or autoconf). It makes no sense for other styles.

survived a bulk
2017-04-19 07:41:00 +00:00
sthen
bcbf44ab87 use LIBCXX 2017-04-10 11:46:18 +00:00
rpointel
f55f3c9695 update python to 3.4.6. 2017-04-08 04:29:56 +00:00
rpointel
5c4360e2c0 update to 3.5.3.
more information: https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-3
ok benoit@.
2017-04-05 11:43:23 +00:00
rpointel
4a6385224e update to python 3.6.1.
release notes: https://docs.python.org/3.6/whatsnew/changelog.html#python-3-6-1
ok benoit@.
2017-04-05 07:00:37 +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
phessler
0df7a040a4 remove a sparc leftover 2017-02-17 10:01:28 +00:00
landry
e22346e653 Switch MODPY_DEFAULT_VERSION_3 to 3.6, diff from rpointel@, testing and
fixes by shadchin@, bulk build by me, support from danj@, no objection
from naddy@

All 250-something ports depending on python3 will be bumped in a few.
Fasten your seatbelts.
2017-01-03 19:12:42 +00:00
shadchin
023286d19f Add a MODPY_PYOEXTENSION variable.
Beginning with Python 3.5 .pyo files are no longer used and
have been replaced by a more flexible scheme that includes
the optimization level explicitly in .pyc name (See PEP-488).
2017-01-03 18:54:48 +00:00
rpointel
6fc508ff23 add the possibility to use 3.6 version for a port. 2016-12-26 19:48:47 +00:00
rpointel
993f7d7c0a link Python 3.6 to the build 2016-12-26 19:42:49 +00:00
rpointel
47d293372a adapt ALL_TARGET for Python 3.6. 2016-12-26 19:41:45 +00:00
rpointel
76e1f03727 add python 3.6.
ok shadchin@
2016-12-26 19:40:12 +00:00
rpointel
371963dfa8 update Python to 2.7.13.
ok juanfra@ shadchin@
2016-12-19 20:47:26 +00:00
jca
6c5bba2178 Pass ALL_TEST_ENV, not just MAKE_ENV, to the default target.
ok shadchin@
2016-11-07 16:42:08 +00:00
jasper
894d70c203 wrap overly-long SUBST_VARS line 2016-10-31 11:08:16 +00:00
danj
94e1a61724 Update MODPY_SETUPUTILS_DEPEND after py-setuptools update
This commit also introduces MODPY_ABI_TAG for when, an ABI tag is also
used for names of compiled extensions (idea and name from sthen@)

ok sthen@
2016-10-29 18:25:01 +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