From owner-svn-ports-head@freebsd.org Sun Feb 25 05:33:29 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 767BAF07643; Sun, 25 Feb 2018 05:33:29 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 23E9F6BD20; Sun, 25 Feb 2018 05:33:29 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1ED3C796; Sun, 25 Feb 2018 05:33:29 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1P5XT4r065667; Sun, 25 Feb 2018 05:33:29 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1P5XTZn065666; Sun, 25 Feb 2018 05:33:29 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201802250533.w1P5XTZn065666@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 25 Feb 2018 05:33:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r462922 - head/math/py-bottleneck X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/math/py-bottleneck X-SVN-Commit-Revision: 462922 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2018 05:33:29 -0000 Author: sunpoet Date: Sun Feb 25 05:33:28 2018 New Revision: 462922 URL: https://svnweb.freebsd.org/changeset/ports/462922 Log: Fix LICENSE_FILE - Simplify concurrent installation: - Use USE_PYTHON=concurrent - Remove DOCSDIR - Convert to test framework - Install only selected documentation to DOCSDIR - Do not silence installation message - Bump PORTREVISION for package change - Take maintainership Modified: head/math/py-bottleneck/Makefile Modified: head/math/py-bottleneck/Makefile ============================================================================== --- head/math/py-bottleneck/Makefile Sun Feb 25 05:33:24 2018 (r462921) +++ head/math/py-bottleneck/Makefile Sun Feb 25 05:33:28 2018 (r462922) @@ -3,37 +3,39 @@ PORTNAME= bottleneck PORTVERSION= 1.2.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= Bottleneck-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= Collection of fast NumPy array functions written in Cython LICENSE= BSD2CLAUSE -LICENSE_FILE= ${WRKSRC}/LICENSE +LICENSE_FILE= ${WRKSRC}/bottleneck/LICENSE BUILD_DEPENDS= ${PYNUMPY} RUN_DEPENDS= ${PYNUMPY} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${FLAVOR} USES= python -USE_PYTHON= distutils cython autoplist concurrent +USE_PYTHON= autoplist concurrent cython distutils +DOCS= README.rst RELEASE.rst \ + doc/source/conf.py doc/source/index.rst doc/source/intro.rst doc/source/reference.rst +PORTDOCS= ${DOCS:T} + OPTIONS_DEFINE= DOCS -DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} -PORTDOCS= * -regression-test: build - @cd ${WRKSRC} && nosetests - post-install: - @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/bottleneck/*.so + ${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} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} + +do-test: + cd ${WRKSRC} && nosetests .include