svn commit: r464428 - in head/math: . py-gsl py-pygsl

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Tue Mar 13 20:32:18 UTC 2018


Author: sunpoet
Date: Tue Mar 13 20:32:15 2018
New Revision: 464428
URL: https://svnweb.freebsd.org/changeset/ports/464428

Log:
  Move math/py-gsl to math/py-pygsl
  
  - Remove DIST_SUBDIR
  - Allow concurrent installation (USE_PYTHON=concurrent)
  - Do not silence installation messages
  - Take maintainership

Added:
  head/math/py-pygsl/
     - copied from r464427, head/math/py-gsl/
Deleted:
  head/math/py-gsl/
Modified:
  head/math/Makefile
  head/math/py-pygsl/Makefile
  head/math/py-pygsl/distinfo

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Tue Mar 13 20:32:09 2018	(r464427)
+++ head/math/Makefile	Tue Mar 13 20:32:15 2018	(r464428)
@@ -640,7 +640,6 @@
     SUBDIR += py-gmpy2
     SUBDIR += py-gnuplot
     SUBDIR += py-graphillion
-    SUBDIR += py-gsl
     SUBDIR += py-igraph
     SUBDIR += py-intspan
     SUBDIR += py-keras
@@ -663,6 +662,7 @@
     SUBDIR += py-pyasp
     SUBDIR += py-pybloom
     SUBDIR += py-pycosat
+    SUBDIR += py-pygsl
     SUBDIR += py-pyhull
     SUBDIR += py-pymc
     SUBDIR += py-pysparse

Modified: head/math/py-pygsl/Makefile
==============================================================================
--- head/math/py-gsl/Makefile	Tue Mar 13 20:32:09 2018	(r464427)
+++ head/math/py-pygsl/Makefile	Tue Mar 13 20:32:15 2018	(r464428)
@@ -1,31 +1,27 @@
 # Created by: Hye-Shik Chang <perky at fallin.lv>
 # $FreeBSD$
 
-PORTNAME=	gsl
+PORTNAME=	pygsl
 PORTVERSION=	2.3.0
 PORTREVISION=	1
 CATEGORIES=	math python
-MASTER_SITES=	SF/py${PORTNAME}/py${PORTNAME}/py${PORTNAME}-${PORTVERSION}
+MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-DISTNAME=	pygsl-${PORTVERSION}
-DIST_SUBDIR=	python
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	sunpoet at FreeBSD.org
 COMMENT=	Python interface to GNU Scientific Library
 
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	${PYNUMPY}
-RUN_DEPENDS=	${PYNUMPY}
 LIB_DEPENDS=	libgsl.so:math/gsl
+RUN_DEPENDS=	${PYNUMPY}
 
 USES=		python
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist concurrent distutils
 
 post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pygsl/*.so \
-		${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pygsl/statistics/*.so \
-		${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pygsl/testing/*.so
+	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
 
 .include <bsd.port.mk>

Modified: head/math/py-pygsl/distinfo
==============================================================================
--- head/math/py-gsl/distinfo	Tue Mar 13 20:32:09 2018	(r464427)
+++ head/math/py-pygsl/distinfo	Tue Mar 13 20:32:15 2018	(r464428)
@@ -1,3 +1,3 @@
 TIMESTAMP = 1514315689
-SHA256 (python/pygsl-2.3.0.tar.gz) = 26f79645bccef52a4f9f24c4307d9be954992ac008581750d4413e405404406a
-SIZE (python/pygsl-2.3.0.tar.gz) = 1096186
+SHA256 (pygsl-2.3.0.tar.gz) = 26f79645bccef52a4f9f24c4307d9be954992ac008581750d4413e405404406a
+SIZE (pygsl-2.3.0.tar.gz) = 1096186


More information about the svn-ports-all mailing list