Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Apr 2018 06:18:49 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r468324 - in head/science/py-scikit-sparse: . files
Message-ID:  <201804260618.w3Q6Inud059350@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Thu Apr 26 06:18:48 2018
New Revision: 468324
URL: https://svnweb.freebsd.org/changeset/ports/468324

Log:
  science/py-scikit-sparse: Update 0.2 -> 0.4.3
  
  Port changes:
  * Fix scipy dependency
  * Order USE_PYTHON
  * Modify CFLAGS
  * Add stripping
  * Remove patch because it has been applied upstream

Deleted:
  head/science/py-scikit-sparse/files/
Modified:
  head/science/py-scikit-sparse/Makefile
  head/science/py-scikit-sparse/distinfo

Modified: head/science/py-scikit-sparse/Makefile
==============================================================================
--- head/science/py-scikit-sparse/Makefile	Thu Apr 26 05:21:01 2018	(r468323)
+++ head/science/py-scikit-sparse/Makefile	Thu Apr 26 06:18:48 2018	(r468324)
@@ -2,12 +2,10 @@
 # $FreeBSD$
 
 PORTNAME=	scikit-sparse
-PORTVERSION=	0.2
-PORTREVISION=	5
+DISTVERSION=	0.4.3
 CATEGORIES=	science python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-DISTNAME=	scikits.sparse-${PORTVERSION}
 
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Sparse matrix package
@@ -15,14 +13,17 @@ COMMENT=	Sparse matrix package
 LICENSE=	BSD2CLAUSE
 
 RUN_DEPENDS=	${PYNUMPY} \
-		${PYTHON_SITELIBDIR}/scipy/version.py:science/py-scipy@${FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${FLAVOR}
 BUILD_DEPENDS=	${RUN_DEPENDS}
 LIB_DEPENDS=	libumfpack.so:math/suitesparse
 
 USES=		fortran python
-USE_PYTHON=	autoplist distutils cython
+USE_PYTHON=	distutils cython autoplist
 
-CFLAGS+=	-I${LOCALBASE}/include
+CFLAGS+=	-I${LOCALBASE}/include/suitesparse
 LDFLAGS+=	-shared
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/sksparse/cholmod.so
 
 .include <bsd.port.mk>

Modified: head/science/py-scikit-sparse/distinfo
==============================================================================
--- head/science/py-scikit-sparse/distinfo	Thu Apr 26 05:21:01 2018	(r468323)
+++ head/science/py-scikit-sparse/distinfo	Thu Apr 26 06:18:48 2018	(r468324)
@@ -1,2 +1,3 @@
-SHA256 (scikits.sparse-0.2.tar.gz) = 509d93d1020362607ebd677995df6480c160cbd9f021c296152f1fd59c8c1afc
-SIZE (scikits.sparse-0.2.tar.gz) = 204097
+TIMESTAMP = 1524194312
+SHA256 (scikit-sparse-0.4.3.tar.gz) = 4963d99b4b002378d86751d7e5020ba13a206b45f33368176485d8a194b32bdd
+SIZE (scikit-sparse-0.4.3.tar.gz) = 251879



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