475 Commits

Author SHA1 Message Date
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
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