60 Commits

Author SHA1 Message Date
Joshua Root 5233b68a46 python{26,3[2-6]}: use supported_archs to exclude arm64 2024-02-21 04:42:38 +11:00
Joshua Root 45445f0a91 python*: fix build with latest libedit 2023-09-16 00:43:57 +10:00
Joshua Root 5184caa201 misc: update platforms 2022-10-22 23:44:19 +11:00
Joshua Root 9c29281592 python*: preserve mtime of pyconfig.h
See: https://trac.macports.org/ticket/63782
2022-03-13 21:20:19 +11:00
Joshua Root 7c6233b8cc python*: update gettext dep 2021-12-26 18:08:36 +11:00
Joshua Root 5d0542bdd2 python3{2..7}: known_fail on arm 2021-01-10 03:56:53 +11:00
Joshua Root 140c09dc2b python*: patch configure to recognise darwin 20 2020-06-29 23:42:33 +10:00
Joshua Root 5260bc17b4 python{26,32,33,34}: mark EOL
Also adopt unmaintained versions
2019-09-17 15:49:45 +10:00
Chih-Hsuan Yen 3dc204761a python3{2,3}: move to openssl10
Preparation for https://github.com/macports/macports-ports/pull/3822

For python32, test_hashlib pass while test_ssl fails with an error
similar to [1].
For python33, both test_hashlib and test_ssl pass.

[1] https://bugs.python.org/issue23965
2019-03-16 01:12:53 +08:00
Riccardo Mottola b8e715ba07 python27, python3[1-5]: Fix uuid command on some systems
Closes: https://trac.macports.org/ticket/57034

Signed-off-by: Ryan Schmidt <ryandesign@macports.org>
2018-09-12 21:25:47 +08:00
Eitan Adler 3f41992d40 all: use https for python domains 2017-12-31 13:45:02 -07:00
Rainer Müller b5b644ee4a python2*, python3*: fix flags in LINKFORSHARED
Other ports are unable to link against libpython as the value does not
properly reference Python.framework.

See: https://lists.macosforge.org/pipermail/macports-dev/2016-September/033712.html
See: https://trac.macports.org/ticket/39223
2017-09-21 02:08:49 +02:00
Zero King 99ea8e019f python*: fix livecheck 2017-02-08 23:48:52 +01:00
Lawrence Velázquez 34b3070336 Remove all $Id$ lines
for pf in */*/Portfile
do
    ed -s "$pf" <<-'EOF'
	1,3g/^[[:space:]]*#[[:space:]]*\$Id.*\$[[:space:]]*$/d
	1g/^[[:space:]]*$/d
	w
	q
	EOF
done
2016-12-28 18:14:04 +01:00
Lawrence Velázquez fafa2fd37a python*: Enable loadable SQLite extensions
This is disabled by default because Apple's system SQLite does not
support loadable extensions. But ours does.

Closes https://trac.macports.org/ticket/49317.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@153800 d073be05-634f-4543-b044-5fe20cf6d1d6
2016-10-11 19:38:22 +00:00
Mihai Moldovan b9c4ad6994 python32: move new patch-Include-pyport.h.diff file to the correct place.
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@150877 d073be05-634f-4543-b044-5fe20cf6d1d6
2016-08-01 06:53:20 +00:00
Mihai Moldovan 8f8013757d python32: backport patch from https://trac.macports.org/ticket/44288. Part of https://trac.macports.org/ticket/51939.
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@150875 d073be05-634f-4543-b044-5fe20cf6d1d6
2016-08-01 06:44:14 +00:00
Mihai Moldovan 8c56e7151f python32: refresh patches, rename a few with "wrong" names.
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@150874 d073be05-634f-4543-b044-5fe20cf6d1d6
2016-08-01 06:44:08 +00:00
Blair Zajac 4ee637ad40 python{24,25,26,27,31,32,33,34,35: bump revision to recompile after openssl deleted _SSLv2_method symbol.
I observed this with Python 2.7 and 3.5, so assuming it affects all
Python versions:

$ /opt/local/bin/python
Python 3.5.1 (default, Dec 13 2015, 13:03:13) 
[GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Setting tab completion.
>>> import ssl
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/ssl.py", line 98, in <module>
    import _ssl             # if we can't import it, let the error propagate
ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/lib-dynload/_ssl.cpython-35m-darwin.so, 2): Symbol not found: _SSLv2_method
  Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/lib-dynload/_ssl.cpython-35m-darwin.so
  Expected in: /opt/local/lib/libssl.1.0.0.dylib
 in /opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/lib-dynload/_ssl.cpython-35m-darwin.so

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@146201 d073be05-634f-4543-b044-5fe20cf6d1d6
2016-03-01 22:57:07 +00:00
Joshua Root d45e8270ed ncurses: update to 6.0, rev bump dependents due to new ABI
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@139469 d073be05-634f-4543-b044-5fe20cf6d1d6
2015-08-18 01:10:17 +00:00
Jeremy Huddleston Sequoia d72ac495dd misc: Change port:openssl dependency to path:lib/libssl.dylib:openssl
This should allow usage of libressl as a replacement for openssl in relevant
ports.  Not all ports have been tested, but libressl aims for API
compatibility with OpenSSL, so it is expected to work.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@139229 d073be05-634f-4543-b044-5fe20cf6d1d6
2015-08-08 03:10:35 +00:00
Lawrence Velázquez 4609b6d964 python{27,3*}: Ignore local site-packages (https://trac.macports.org/ticket/34763)
Beginning with 2.7, framework builds of CPython automatically add the
local site-packages directory (e.g., /Library/Python/2.7) to sys.path
(http://bugs.python.org/issue4865). Python 3.1 also adds user-local
site-packages (~/Library/Python/3.1). These behaviors conflict with
MacPorts' general policy of isolationism towards the host system.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@126840 d073be05-634f-4543-b044-5fe20cf6d1d6
2014-10-16 04:13:20 +00:00
Lawrence Velázquez b2e7e2a24d python32, py32-gdbm, py32-tkinter: Update to 3.2.6
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@126636 d073be05-634f-4543-b044-5fe20cf6d1d6
2014-10-13 02:59:22 +00:00
Lawrence Velázquez d6b7217c7a python32: Apply upstream Yosemite fixes (timeout, https://trac.macports.org/ticket/44994)
Patches adapted from http://bugs.python.org/issue21811.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@125556 d073be05-634f-4543-b044-5fe20cf6d1d6
2014-09-21 02:20:44 +00:00
Ryan Schmidt 3ada155dff use eq and ne instead of == and != when comparing ${os.arch}, ${configure.build_arch}, ${build_arch}, and some port-specific variables for referring to architectures
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@114328 d073be05-634f-4543-b044-5fe20cf6d1d6
2013-12-05 10:21:52 +00:00