svn commit: r424897 - in head/math/py-numarray: . files

Dmitry Marakasov amdmi3 at FreeBSD.org
Sat Oct 29 09:04:19 UTC 2016


Author: amdmi3
Date: Sat Oct 29 09:04:18 2016
New Revision: 424897
URL: https://svnweb.freebsd.org/changeset/ports/424897

Log:
  - Switch to options helpers
  - Regenerate patches

Modified:
  head/math/py-numarray/Makefile
  head/math/py-numarray/files/patch-setup.py

Modified: head/math/py-numarray/Makefile
==============================================================================
--- head/math/py-numarray/Makefile	Sat Oct 29 09:01:16 2016	(r424896)
+++ head/math/py-numarray/Makefile	Sat Oct 29 09:04:18 2016	(r424897)
@@ -27,10 +27,15 @@ post-configure:
 		${PYTHON_CMD} Include/numarray/genapis.py
 
 post-install:
-	${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/numarray -name "*.so" -exec \
+	@${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/numarray -name "*.so" -exec \
 		${STRIP_CMD} {} \;
-	@${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR}
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	@${TAR} -C ${WRKSRC}/Doc -cf- .|${TAR} -C ${STAGEDIR}${DOCSDIR} -xf-
+
+port-install-EXAMPLES-on:
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	@${TAR} -C ${WRKSRC}/Examples -cf- .|${TAR} -C ${STAGEDIR}${EXAMPLESDIR} -xf-
 	@${RM} -r ${STAGEDIR}${EXAMPLESDIR}/ufunc/build
 

Modified: head/math/py-numarray/files/patch-setup.py
==============================================================================
--- head/math/py-numarray/files/patch-setup.py	Sat Oct 29 09:01:16 2016	(r424896)
+++ head/math/py-numarray/files/patch-setup.py	Sat Oct 29 09:04:18 2016	(r424897)
@@ -1,6 +1,6 @@
---- setup.py.orig	2013-12-12 18:04:59.679796972 -0200
-+++ setup.py	2013-12-12 18:05:04.376796310 -0200
-@@ -227,6 +227,4 @@
+--- setup.py.orig	2005-11-17 23:12:49 UTC
++++ setup.py
+@@ -227,6 +227,4 @@ def main():
  # Do the installation.
  #
  if __name__ == "__main__":


More information about the svn-ports-all mailing list