aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorkoobs <koobs@FreeBSD.org>2014-02-03 19:35:53 +0800
committerkoobs <koobs@FreeBSD.org>2014-02-03 19:35:53 +0800
commit37c63a14ab0df88fb2fd0a6748d950d755ce9c3d (patch)
treeff7948554cfd4dfb841c5e4ef32a93e0d856d993 /science
parent13ed8e3ac302ffabaa594a4922d9d7b0d3d9a232 (diff)
downloadfreebsd-ports-gnome-37c63a14ab0df88fb2fd0a6748d950d755ce9c3d.tar.gz
freebsd-ports-gnome-37c63a14ab0df88fb2fd0a6748d950d755ce9c3d.tar.zst
freebsd-ports-gnome-37c63a14ab0df88fb2fd0a6748d950d755ce9c3d.zip
science/py-pupynere: Modernise: Enable STAGE, AUTOPLIST and more
- Stagify - Use PYDISTUTILS_AUTOPLIST, remove pkg-plist - Kill easy_install with fire! - Remove patch to setup.py PR: ports/186366 Submitted by: Johannes Jost Meixner <xmj@chaot.net>
Diffstat (limited to 'science')
-rw-r--r--science/py-pupynere/Makefile9
-rw-r--r--science/py-pupynere/files/patch-setup.py11
-rw-r--r--science/py-pupynere/pkg-plist11
3 files changed, 4 insertions, 27 deletions
diff --git a/science/py-pupynere/Makefile b/science/py-pupynere/Makefile
index 4a279b1d5216..5d78b9485a91 100644
--- a/science/py-pupynere/Makefile
+++ b/science/py-pupynere/Makefile
@@ -3,7 +3,7 @@
PORTNAME= pupynere
PORTVERSION= 1.0.15
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= science python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,11 +14,10 @@ COMMENT= Python module for reading and writing NetCDF files
LICENSE= MIT
BUILD_DEPENDS= ${PYNUMPY}
-RUN_DEPENDS= ${PYNUMPY}
+RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_PYTHON= 2
-USE_PYDISTUTILS= easy_install
-PYDISTUTILS_NOEGGINFO= yes
+USE_PYDISTUTILS= yes
+PYDISTUTILS_AUTOPLIST= yes
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/science/py-pupynere/files/patch-setup.py b/science/py-pupynere/files/patch-setup.py
deleted file mode 100644
index fb4fad76a2ed..000000000000
--- a/science/py-pupynere/files/patch-setup.py
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./setup.py.orig 2013-06-20 10:29:51.598889219 +0300
-+++ ./setup.py 2013-06-20 10:30:03.628888237 +0300
-@@ -93,7 +93,7 @@
- license='MIT',
- py_modules=['pupynere'],
- include_package_data=True,
-- zip_safe=True,
-+ zip_safe=False,
- test_suite = 'nose.collector',
- install_requires=[
- 'numpy',
diff --git a/science/py-pupynere/pkg-plist b/science/py-pupynere/pkg-plist
deleted file mode 100644
index 44958d9627d9..000000000000
--- a/science/py-pupynere/pkg-plist
+++ /dev/null
@@ -1,11 +0,0 @@
-%%PYTHON_SITELIBDIR%%/pupynere-1.0.15-py2.7.egg/EGG-INFO/PKG-INFO
-%%PYTHON_SITELIBDIR%%/pupynere-1.0.15-py2.7.egg/EGG-INFO/SOURCES.txt
-%%PYTHON_SITELIBDIR%%/pupynere-1.0.15-py2.7.egg/EGG-INFO/dependency_links.txt
-%%PYTHON_SITELIBDIR%%/pupynere-1.0.15-py2.7.egg/EGG-INFO/not-zip-safe
-%%PYTHON_SITELIBDIR%%/pupynere-1.0.15-py2.7.egg/EGG-INFO/requires.txt
-%%PYTHON_SITELIBDIR%%/pupynere-1.0.15-py2.7.egg/EGG-INFO/top_level.txt
-%%PYTHON_SITELIBDIR%%/pupynere-1.0.15-py2.7.egg/pupynere.py
-%%PYTHON_SITELIBDIR%%/pupynere-1.0.15-py2.7.egg/pupynere.pyc
-%%PYTHON_SITELIBDIR%%/pupynere-1.0.15-py2.7.egg/pupynere.pyo
-@dirrmtry %%PYTHON_SITELIBDIR%%/pupynere-1.0.15-py2.7.egg/EGG-INFO
-@dirrmtry %%PYTHON_SITELIBDIR%%/pupynere-1.0.15-py2.7.egg