Modified: trunk/dports/python/py-astropy/Portfile (94772 => 94773)
--- trunk/dports/python/py-astropy/Portfile 2012-06-29 14:33:31 UTC (rev 94772)
+++ trunk/dports/python/py-astropy/Portfile 2012-06-29 15:18:17 UTC (rev 94773)
@@ -5,6 +5,7 @@
PortGroup python 1.0
name py-astropy
version 0.1
+revision 1
maintainers robitaille
categories-append science
@@ -43,4 +44,6 @@
${worksrcpath}/scripts/volint-ap
}
+ patchfiles patch-astropy-setup_helpers.py.diff
+
}
Added: trunk/dports/python/py-astropy/files/patch-astropy-setup_helpers.py.diff (0 => 94773)
--- trunk/dports/python/py-astropy/files/patch-astropy-setup_helpers.py.diff (rev 0)
+++ trunk/dports/python/py-astropy/files/patch-astropy-setup_helpers.py.diff 2012-06-29 15:18:17 UTC (rev 94773)
@@ -0,0 +1,19 @@
+--- astropy/setup_helpers.py.orig 2012-06-29 17:08:50.000000000 +0200
++++ astropy/setup_helpers.py 2012-06-29 17:07:18.000000000 +0200
+@@ -316,11 +316,11 @@
+
+ if hasattr(setuppkg, 'get_package_data'):
+ package_data.update(setuppkg.get_package_data())
+- if hasattr(setuppkg, 'get_legacy_alias'):
+- pkg, dir = setuppkg.get_legacy_alias()
+- if pkg is not None:
+- packagenames.append(pkg)
+- package_dirs[pkg] = dir
++ # if hasattr(setuppkg, 'get_legacy_alias'):
++ # pkg, dir = setuppkg.get_legacy_alias()
++ # if pkg is not None:
++ # packagenames.append(pkg)
++ # package_dirs[pkg] = dir
+
+ # Locate any .pyx files not already specified, and add their extensions in.
+ # The default include dirs include numpy to facilitate numerical work.