435 Commits

Author SHA1 Message Date
rpointel
d61da32057 import Python 3.4 but it will be linked to the build later.
ok aja@.
Release notes: https://docs.python.org/3.4/whatsnew/3.4.html
2014-04-13 07:10:09 +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
dcoppa
4e50abc4ae Run '${MODPY_CMD} egg_info' at pre-build stage for setuptools-based
python ports and get rid of MODPY_BADEGGS

initial idea by me, better solution suggested by espie@
ok espie@, landry@, rpointel@
2013-10-03 16:28:00 +00:00
ajacoutot
d76c816a4d Also set ac_cv_path_PYTHON to ${MODPY_BIN} the same way we set
ac_cv_prog_PYTHON. This is needed to prevent conflict between one set to
py2 and the other to py3... yeah configure scripts are stupid.

ok fgsch@
2013-09-24 16:55:02 +00:00
espie
103194bcf2 fix pre-build-steps to redirect files correctly at the end.
refactor the do-* tests to be usable in cooperation with other modules
that want similar things, like we did in ruby and cmake.

(checked through a bulk-build, ok rpointel@)
2013-06-28 10:27:49 +00:00
sthen
a976c84603 Don't lose the flavour extension when overwriting FULLPKGNAME for python3
flavours. (Only affects the, possibly currently non-existent, case where a
port has python3 and another flavour). Switch to ?= rather than = to permit
further overriding in the port Makefile. Discussed with many, no change
to INDEX, looks good to fgsch@ rpointel@.
2013-06-05 11:11:38 +00:00
fgsch
618f6d7e09 GC python 2.5. Thanks to zhuk who made this possible. 2013-06-04 08:02:20 +00:00
fgsch
76a2b2e3b3 disconnect python 2.5 from the tree. 2013-06-04 07:29:13 +00:00
ajacoutot
832f214f93 3.2 -> 3.3 2013-05-30 14:46:31 +00:00
ajacoutot
57a41f6b6d -3.2 2013-05-30 14:45:07 +00:00
ajacoutot
72122f7f6f Remove python 3.2 now that 3.3 is the default. There is no point in keeping
2 different versions of py3.

ok jasper@ fgsch@
2013-05-30 14:44:54 +00:00
ajacoutot
31714330cd Bump the default python3 version to 3.3.
Successfully tested with gnome which is the biggest consumer of py3 -- any
regression, please let me know.

discussed with fgsch@ rpointel@ sthen@ jasper@ landry@ zhuk@
2013-05-30 13:08:59 +00:00
fgsch
16f0c500f3 bump after wantlib sync. 2013-05-22 13:32:02 +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
3a8bca7ab4 Update to 3.2.5.
ok ajacoutot@ as part of a larger diff.
2013-05-22 12:38:18 +00:00
fgsch
b01ad1ee48 Update to 3.3.2.
ok ajacoutot@ as part of a larger diff.
2013-05-22 12:37:05 +00:00
fgsch
bbdbab0410 Add missing dependencies and sync wantlib.
prompted by and ok ajacoutot@
2013-05-22 12:36:03 +00:00
fgsch
f2cb915b21 - update what tests should be skipped
- add missing dependency on archivers/xz
- temporarily fix timeval's tv_sec handling
- bump

ajacoutot@ jasper@ sthen@ ok as part of a larger diff.
2013-05-18 04:13:16 +00:00
fgsch
f2b172b030 make _MODPY_CMD external (remove underscore).
sthen@ ok
2013-05-13 19:06:45 +00:00
ajacoutot
091f0bba3b Since we can override MODPY_VERSION, no need to override
MODPY_DEFAULT_VERSION_3 as well.

ok fgsch@
2013-05-10 06:07:53 +00:00
sthen
d60151d125 like 3.2, PLIST_DB whines about a missed bump from moving MAINTAINER out of
3.3/Makefile and picking it up from Makefile.inc instead, I don't really
see why, but bump REVISION anyway to help bulk builds.
2013-05-09 18:28:26 +00:00
sthen
fe51455eab PLIST_DB whines about a missed bump from moving MAINTAINER out of
3.2/Makefile and picking it up from Makefile.inc instead, I don't really
see why, but bump REVISION anyway to help bulk builds.
2013-05-08 21:36:31 +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
605cea37db hook python 3.3. 3.2 is still the default until some issues are sorted
with 3.3.
needed by and ok ajacoutot@
2013-05-03 08:52:13 +00:00
fgsch
88d0fdad29 allow to override the default python 3 version.
needed by and ok ajacoutot@
2013-05-03 08:51:05 +00:00
sthen
114602ef6e revert last MODPY_PY_PREFIX change in SUBST_VARS, it prevents update-plist from
replacing share/doc/py-something with share/doc/${MODPY_PY_PREFIX}-something.
requested by fgsch@
2013-04-30 17:20:58 +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
e4d0154245 Import python 3.3.1. Not hooked to the tree yet. 2013-04-28 01:29:57 +00:00
fgsch
9da5564087 Handle upcoming 3.3 directory 2013-04-28 01:00:33 +00:00
fgsch
6138e0b6fa Update to 3.2.4.
Bring patches from 2.7, remove unneeded ones, change plist to not conflict
with upcoming 3.3.1 version and update changes specific to OpenBSD.
2013-04-28 00:55:26 +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
7f313b784c - change post-patch to use configure.ac
- set default autoconf version to 2.69
- explicitly set tk version to 8.5. prompted by sthen.
2013-04-28 00:49:11 +00:00
fgsch
a6b9736e09 This will be the only python version using configure.in soon so copy
the post-patch target that uses it here.
2013-04-28 00:40:47 +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
sthen
378e074c6d use ^ before MODPY_PREFIX in SUBST_VARS to reduce bogus subst's (this is
only used by "make plist" and doesn't chnage packages). ok fgsch rpointel aja
2013-04-04 12:36:43 +00:00
fgsch
d63ebc46ea expose _MODPY_BIN_ADJ (remove underscore) 2013-04-01 16:49:53 +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
7b10e7c633 PERMIT_* 2013-03-11 12:27:53 +00:00
espie
0662a4e9d6 PERMIT_* / REGRESS->TEST sweep 2013-03-11 11:20:26 +00:00
sthen
f5a323c546 Don't use ${FLAVOR:L}, we only support lower-case flavours now.
OK ajacoutot@ espie@
2013-02-09 14:49:50 +00:00
fgsch
5401d8078b - expose _MODPY_MAJOR_VERSION (remove underscore)
- use :R to extract the major
- remove unneeded check

rpointel@ ok. while here add some spaces for consistency with the rest of
the file.
2012-12-21 18:19:38 +00:00
rpointel
1305786da7 remade the MODPY_DEFAULT_VERSION_2 and MODPY_DEFAULT_VERSION_3 external variables,
used in few ports...
spotted by jasper@ and Alexandr Shadchin.
2012-10-14 17:26:12 +00:00
rpointel
32dc0089f4 begin to clean python.port.mk by making these variables internal:
_MODPY_DEFAULT_VERSION_2
_MODPY_DEFAULT_VERSION_3
_MODPY_PRE_BUILD_STEPS
_MODPY_BIN_ADJ
ok sthen@ reads good espie@.
2012-10-12 19:57:46 +00:00
espie
6857535880 consistent style
okay rpointel@
2012-08-28 19:10:45 +00:00
sthen
701ea4d98f sync wantlib 2012-08-23 19:19:16 +00:00
rpointel
1411c3f1b5 Update Python 3.2.2 to 3.2.3.
Changelog: http://www.python.org/getit/releases/3.2.3/
ok landry@.
2012-06-27 18:58:25 +00:00