aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2014-02-15 03:43:20 +0800
committersunpoet <sunpoet@FreeBSD.org>2014-02-15 03:43:20 +0800
commitb3acbd09e161148854bd7aef36f6d5a1ed232a82 (patch)
tree27b9a2b9e5431f80c120f54009ea47bd180f21f3 /math
parentd2c100448f700b8045733fdeb120ae805aad4056 (diff)
downloadfreebsd-ports-gnome-b3acbd09e161148854bd7aef36f6d5a1ed232a82.tar.gz
freebsd-ports-gnome-b3acbd09e161148854bd7aef36f6d5a1ed232a82.tar.zst
freebsd-ports-gnome-b3acbd09e161148854bd7aef36f6d5a1ed232a82.zip
- Add LICENSE
- Use PYDISTUTILS_AUTOPLIST - Remove post-patch:
Diffstat (limited to 'math')
-rw-r--r--math/py-numexpr/Makefile8
-rw-r--r--math/py-numexpr/pkg-plist30
2 files changed, 4 insertions, 34 deletions
diff --git a/math/py-numexpr/Makefile b/math/py-numexpr/Makefile
index 00ac0307b499..a8339c043bd1 100644
--- a/math/py-numexpr/Makefile
+++ b/math/py-numexpr/Makefile
@@ -11,13 +11,13 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Fast numerical array expression evaluator for Python and NumPy
+LICENSE= MIT
+
BUILD_DEPENDS= ${PYNUMPY}
RUN_DEPENDS:= ${BUILD_DEPENDS}
-USE_PYTHON= yes
+PYDISTUTILS_AUTOPLIST= yes
USE_PYDISTUTILS=yes
-
-post-patch:
- @${REINPLACE_CMD} -e 's|\(import\) \(setuptools\)|\1 do_not_use_\2|' ${WRKSRC}/${PYSETUP}
+USE_PYTHON= yes
.include <bsd.port.mk>
diff --git a/math/py-numexpr/pkg-plist b/math/py-numexpr/pkg-plist
deleted file mode 100644
index ba6dbbf6857d..000000000000
--- a/math/py-numexpr/pkg-plist
+++ /dev/null
@@ -1,30 +0,0 @@
-%%PYTHON_SITELIBDIR%%/numexpr/__config__.py
-%%PYTHON_SITELIBDIR%%/numexpr/__config__.pyc
-%%PYTHON_SITELIBDIR%%/numexpr/__config__.pyo
-%%PYTHON_SITELIBDIR%%/numexpr/__init__.py
-%%PYTHON_SITELIBDIR%%/numexpr/__init__.pyc
-%%PYTHON_SITELIBDIR%%/numexpr/__init__.pyo
-%%PYTHON_SITELIBDIR%%/numexpr/cpuinfo.py
-%%PYTHON_SITELIBDIR%%/numexpr/cpuinfo.pyc
-%%PYTHON_SITELIBDIR%%/numexpr/cpuinfo.pyo
-%%PYTHON_SITELIBDIR%%/numexpr/expressions.py
-%%PYTHON_SITELIBDIR%%/numexpr/expressions.pyc
-%%PYTHON_SITELIBDIR%%/numexpr/expressions.pyo
-%%PYTHON_SITELIBDIR%%/numexpr/interpreter.so
-%%PYTHON_SITELIBDIR%%/numexpr/necompiler.py
-%%PYTHON_SITELIBDIR%%/numexpr/necompiler.pyc
-%%PYTHON_SITELIBDIR%%/numexpr/necompiler.pyo
-%%PYTHON_SITELIBDIR%%/numexpr/tests/__init__.py
-%%PYTHON_SITELIBDIR%%/numexpr/tests/__init__.pyc
-%%PYTHON_SITELIBDIR%%/numexpr/tests/__init__.pyo
-%%PYTHON_SITELIBDIR%%/numexpr/tests/test_numexpr.py
-%%PYTHON_SITELIBDIR%%/numexpr/tests/test_numexpr.pyc
-%%PYTHON_SITELIBDIR%%/numexpr/tests/test_numexpr.pyo
-%%PYTHON_SITELIBDIR%%/numexpr/utils.py
-%%PYTHON_SITELIBDIR%%/numexpr/utils.pyc
-%%PYTHON_SITELIBDIR%%/numexpr/utils.pyo
-%%PYTHON_SITELIBDIR%%/numexpr/version.py
-%%PYTHON_SITELIBDIR%%/numexpr/version.pyc
-%%PYTHON_SITELIBDIR%%/numexpr/version.pyo
-@dirrm %%PYTHON_SITELIBDIR%%/numexpr/tests
-@dirrm %%PYTHON_SITELIBDIR%%/numexpr