Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Oct 2016 09:04:18 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r424897 - in head/math/py-numarray: . files
Message-ID:  <201610290904.u9T94Iqc005698@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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__":



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610290904.u9T94Iqc005698>