Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Feb 2018 08:09:09 +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: r462569 - head/math/py-bottleneck
Message-ID:  <201802220809.w1M899Ok039627@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Thu Feb 22 08:09:08 2018
New Revision: 462569
URL: https://svnweb.freebsd.org/changeset/ports/462569

Log:
  math/py-bottleneck: Added USE_PYTHON=concurrent; stripped shared libs; added LICENSE_FILE
  
  Also split out post-install-DOCS-on.
  
  Approved by:	tcberner (mentor, implicit)

Modified:
  head/math/py-bottleneck/Makefile

Modified: head/math/py-bottleneck/Makefile
==============================================================================
--- head/math/py-bottleneck/Makefile	Thu Feb 22 07:59:28 2018	(r462568)
+++ head/math/py-bottleneck/Makefile	Thu Feb 22 08:09:08 2018	(r462569)
@@ -3,6 +3,7 @@
 
 PORTNAME=	bottleneck
 PORTVERSION=	1.2.1
+PORTREVISION=	1
 CATEGORIES=	math python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,13 +13,14 @@ MAINTAINER=	johannes@perceivon.net
 COMMENT=	Collection of fast NumPy array functions written in Cython
 
 LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYNUMPY}
 RUN_DEPENDS=	${PYNUMPY}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${FLAVOR}
 
 USES=		python
-USE_PYTHON=	distutils autoplist cython
+USE_PYTHON=	distutils cython autoplist concurrent
 
 OPTIONS_DEFINE=	DOCS
 DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
@@ -28,8 +30,10 @@ regression-test: build
 	@cd ${WRKSRC} && nosetests
 
 post-install:
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README.rst ${WRKSRC}/RELEASE.rst ${STAGEDIR}${DOCSDIR}
+	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/bottleneck/*.so
+
+post-install-DOCS-on:
 	cd ${WRKSRC}/doc/source/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.rst ${WRKSRC}/RELEASE.rst ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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