461 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
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
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
naddy
deea7ed07b drop SHARED_ONLY from python and ruby ports 2016-03-20 16:12:22 +00:00
naddy
5fc24d3cb3 removing SHARED_ONLY is safe here 2016-03-16 20:02:11 +00:00
naddy
17b84e4360 remove NO_SHARED_LIBS 2016-03-11 18:13:19 +00:00
naddy
d1fb05fbc3 requires --enable-shared 2016-03-10 11:50:13 +00:00
jasper
ac6e688019 - set a default HOMEPAGE for ports using MODPY_PI
- while here add _MODPY_EGG_NAME and re-use that to define MODPY_PI_DIR

idea from aja@
ok aja@ rpointel@
2016-01-07 21:14:06 +00:00
rpointel
3e663e26e2 update to python 3.4.4.
ok with inputs from aja@ shadchin@
2015-12-23 07:18:12 +00:00
rpointel
2acc75ca78 update to python 3.5.1.
ok shadchin@ benoit@
2015-12-22 18:00:30 +00:00
rpointel
0ab7998e33 update python to 2.7.11.
from jsg@ (thank you), ok shadchin@.
2015-12-17 19:16:51 +00:00
jasper
cbf974b5d2 add MODPY_SETUP_ARGS which is used in MODPY_CMD. this allows for passing
arguments to setup.py as will be required by a virt-manager upgrade.

ok sthen@
2015-11-26 20:27:30 +00:00
sthen
26b53c6870 cope with 'env python' (extra space) in MODPY_BIN_ADJ, ok landry 2015-10-09 09:22:48 +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
sthen
aeb03012b1 Force MODPY_SETUPUTILS_DEPEND version dependency on the new version, to
avoid surprises at runtime, edd@ agrees.

REVISION bump vomit incoming.
2015-09-29 10:50:16 +00:00
rpointel
9381476ed6 patch to detect ALPN support commited upstream.
modify CHANGES to indicate this.
ok sthen@.
2015-09-28 04:50:37 +00:00
sthen
872afeed8f @comment the wininst*.exe files as done in python3.4, also fixes packaging
on !amd64 as some filenames included ${MACHINE_ARCH} but are actually static.
ok rpointel@
2015-09-24 19:16:42 +00:00
rpointel
f3e4f44d12 permit to build ports with 3.5. 2015-09-23 19:26:01 +00:00
rpointel
70d46d4c0b +3.5 2015-09-23 19:24:41 +00:00
rpointel
724150adb2 import Python 3.5.0 and link it to the build to have more feedbacks. 2015-09-23 19:23:55 +00:00
rpointel
8e426e0c53 PORTROACH = limit:^3\.4 2015-09-19 07:58:33 +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
phessler
16f4169646 use lower optimization levels, so compiles work on sparc 2015-04-17 07:58:12 +00:00
jasper
8a0cffc098 add MODPY_PI which automatically sets MASTER_SITES when set to 'yes'.
if the subdirectory needs to be overriden set MODPY_PI_DIR.

as discussed with sthen@ and rpointel@
earlier diff ok rpointel@
2015-04-02 13:57:10 +00:00
rpointel
28a7371b5a update python to 3.4.3.
removed patch files because it's know detected during configuration.
Release note: https://www.python.org/downloads/release/python-343/
2015-03-15 07:42:11 +00:00