[127116] trunk/dports/python/py-pyregion

petr at macports.org petr at macports.org
Tue Oct 21 07:21:27 PDT 2014


Revision: 127116
          https://trac.macports.org/changeset/127116
Author:   petr at macports.org
Date:     2014-10-21 07:21:27 -0700 (Tue, 21 Oct 2014)
Log Message:
-----------
py-pyregion: fix Py3 build

Modified Paths:
--------------
    trunk/dports/python/py-pyregion/Portfile

Added Paths:
-----------
    trunk/dports/python/py-pyregion/files/
    trunk/dports/python/py-pyregion/files/patch-setup.py.diff

Modified: trunk/dports/python/py-pyregion/Portfile
===================================================================
--- trunk/dports/python/py-pyregion/Portfile	2014-10-21 14:16:28 UTC (rev 127115)
+++ trunk/dports/python/py-pyregion/Portfile	2014-10-21 14:21:27 UTC (rev 127116)
@@ -9,14 +9,13 @@
 
 name                py-${_name}
 version             1.1.2
+categories-append   science
+platforms           darwin
 maintainers         robitaille openmaintainer
 
-categories-append   science
 description         pyregion is a Python module to parse ds9 region files
 long_description    pyregion is a Python module to parse ds9 region files
 
-platforms           darwin
-
 homepage            http://leejjoon.github.com/${_name}/
 master_sites        https://pypi.python.org/packages/source/${_n}/${_name}/
 distname            ${_name}-${version}
@@ -34,6 +33,10 @@
                         port:py${python.version}-parsing \
                         port:py${python.version}-astropy
 
+    # REMOVE when approriate! This is solved upstream, but not yet released.
+    # See: https://github.com/leejjoon/pyregion/pull/37
+    patchfiles      patch-setup.py.diff
+
     livecheck.type  none
 } else {
     livecheck.type  regex

Added: trunk/dports/python/py-pyregion/files/patch-setup.py.diff
===================================================================
--- trunk/dports/python/py-pyregion/files/patch-setup.py.diff	                        (rev 0)
+++ trunk/dports/python/py-pyregion/files/patch-setup.py.diff	2014-10-21 14:21:27 UTC (rev 127116)
@@ -0,0 +1,9 @@
+--- setup.orig.py	2013-12-23 05:34:51.000000000 +0100
++++ setup.py	2014-10-21 16:13:05.000000000 +0200
+@@ -1,6 +1,3 @@
+-from distribute_setup import use_setuptools
+-use_setuptools()
+-
+ from setuptools import setup, Extension
+ 
+ # check if cython or pyrex is available.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141021/ee695dec/attachment.html>


More information about the macports-changes mailing list