[103842] trunk/dports/python/py-readline
larryv at macports.org
larryv at macports.org
Fri Mar 8 13:29:50 PST 2013
Revision: 103842
https://trac.macports.org/changeset/103842
Author: larryv at macports.org
Date: 2013-03-08 13:29:50 -0800 (Fri, 08 Mar 2013)
Log Message:
-----------
py*-readline: Update to 6.2.4.1, other minor changes (#38332).
Modified Paths:
--------------
trunk/dports/python/py-readline/Portfile
trunk/dports/python/py-readline/files/build.sh.patch
trunk/dports/python/py-readline/files/setup.py.patch
Modified: trunk/dports/python/py-readline/Portfile
===================================================================
--- trunk/dports/python/py-readline/Portfile 2013-03-08 21:28:20 UTC (rev 103841)
+++ trunk/dports/python/py-readline/Portfile 2013-03-08 21:29:50 UTC (rev 103842)
@@ -4,7 +4,7 @@
PortGroup python 1.0
name py-readline
-version 6.2.2
+version 6.2.4.1
platforms darwin
license GPL-3+ PSF
maintainers nomaintainer
@@ -14,8 +14,8 @@
homepage http://www.python.org/
master_sites http://pypi.python.org/packages/source/r/readline/
distname readline-${version}
-checksums md5 ad9d4a5a3af37d31daf36ea917b08c77 \
- sha256 b9d30e8928530791944ab40c76aebcd4c8a7d6bc8cda05f3b521446fa3782b6d
+checksums md5 578237939c81fdbc2c8334d168b17907 \
+ sha256 e00f86e03dfe52e7d1502cec5c64070b32621c85509c0081a4cfa6a0294bd107
python.versions 24 25 26 27 31 32 33
Modified: trunk/dports/python/py-readline/files/build.sh.patch
===================================================================
--- trunk/dports/python/py-readline/files/build.sh.patch 2013-03-08 21:28:20 UTC (rev 103841)
+++ trunk/dports/python/py-readline/files/build.sh.patch 2013-03-08 21:29:50 UTC (rev 103842)
@@ -1,5 +1,5 @@
---- rl/build.sh.orig 2012-02-29 10:57:06.000000000 -0500
-+++ rl/build.sh 2012-02-29 10:57:42.000000000 -0500
+--- rl/build.sh.orig 2012-10-16 09:04:28.000000000 -0600
++++ rl/build.sh 2013-03-08 12:23:57.000000000 -0700
@@ -1,39 +1,6 @@
#! /bin/bash
set -e
@@ -7,7 +7,7 @@
-# If we are on Mac OS X, do a universal build
-if [ `uname` == "Darwin" ]; then
- # On older versions of Mac OS X, look for the latest SDK
-- if [ -d /Developer ]; then
+- if [ -d /Developer/SDKs ]; then
- LATEST_SDK=''
- for sdk_dir in /Developer/SDKs/*; do
- LATEST_SDK=$sdk_dir
Modified: trunk/dports/python/py-readline/files/setup.py.patch
===================================================================
--- trunk/dports/python/py-readline/files/setup.py.patch 2013-03-08 21:28:20 UTC (rev 103841)
+++ trunk/dports/python/py-readline/files/setup.py.patch 2013-03-08 21:29:50 UTC (rev 103842)
@@ -1,6 +1,6 @@
---- setup.py.orig 2012-02-29 10:59:12.000000000 -0500
-+++ setup.py 2012-02-29 11:00:23.000000000 -0500
-@@ -30,21 +30,6 @@
+--- setup.py.orig 2012-10-22 09:38:36.000000000 -0600
++++ setup.py 2013-03-08 12:53:57.000000000 -0700
+@@ -30,28 +30,6 @@
'Topic :: Software Development :: Libraries :: Python Modules',
]
@@ -10,19 +10,26 @@
-platform = distutils.util.get_platform()
-if platform.startswith('macosx'):
- osx_version = platform.split('-')[1]
+- SDK = ''
- if osx_version == '10.5':
-- UNIVERSAL = '-isysroot /Developer/SDKs/MacOSX10.5.sdk -arch i386 -arch ppc -arch x86_64 -arch ppc64'
+- SDK = '/Developer/SDKs/MacOSX10.5.sdk'
+- UNIVERSAL = '-arch i386 -arch ppc -arch x86_64 -arch ppc64'
- elif osx_version == '10.6':
- # Starting with 10.6 (Snow Leopard), only Intel architecture is supported
-- UNIVERSAL = '-isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64'
+- SDK = '/Developer/SDKs/MacOSX10.6.sdk'
+- UNIVERSAL = '-arch i386 -arch x86_64'
- elif osx_version > '10.6':
- # Starting with 10.7 (Lion) and Xcode 4.3, the developer sysroot is inside the Xcode.app - ignore it
- UNIVERSAL = '-arch i386 -arch x86_64'
-
+- if os.path.exists(SDK):
+- # only add sysroot if it exists:
+- UNIVERSAL = "-isysroot %s %s" % (SDK, UNIVERSAL)
+-
# Since we have the latest readline (post 4.2), enable all readline functionality
# These macros can be found in pyconfig.h.in in the main directory of the Python tarball
DEFINE_MACROS = [
-@@ -91,6 +76,7 @@
+@@ -98,6 +76,7 @@
maintainer_email="ludwig.schwardt at gmail.com; github at srid.name",
url="http://github.com/ludwigschwardt/python-readline",
license="GNU GPL",
@@ -30,7 +37,7 @@
platforms=['MacOS X', 'Posix'],
include_package_data=True,
ext_modules=[
-@@ -98,8 +84,7 @@
+@@ -105,8 +84,7 @@
sources=["Modules/%s.x/readline.c" % (sys.version_info[0],)],
include_dirs=['.'],
define_macros=DEFINE_MACROS,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130308/df7843a6/attachment-0001.html>
More information about the macports-changes
mailing list