Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 2019 10:23:36 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r520497 - branches/2019Q4/devel/py-pyrsistent
Message-ID:  <201912201023.xBKANa2G007145@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Fri Dec 20 10:23:35 2019
New Revision: 520497
URL: https://svnweb.freebsd.org/changeset/ports/520497

Log:
  MFH: r520301 devel/py-pyrsistent: Level up ports compliance
  
    - Match COMMENT to setup.py:description (modulo portlint requirements)
    - Strip shared library
    - Add test target and match dependency version requirements
  
  Approved by:	koobs (python: maintainer)
  
  Approved by:	ports-secteam (blanket: ports compliance)

Modified:
  branches/2019Q4/devel/py-pyrsistent/Makefile
Directory Properties:
  branches/2019Q4/   (props changed)

Modified: branches/2019Q4/devel/py-pyrsistent/Makefile
==============================================================================
--- branches/2019Q4/devel/py-pyrsistent/Makefile	Fri Dec 20 10:21:47 2019	(r520496)
+++ branches/2019Q4/devel/py-pyrsistent/Makefile	Fri Dec 20 10:23:35 2019	(r520497)
@@ -2,21 +2,28 @@
 
 PORTNAME=	pyrsistent
 PORTVERSION=	0.14.11
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	python@FreeBSD.org
-COMMENT=	Persistent/Immutable/Functional data structures for Python
+COMMENT=	Persistent/Functional/Immutable data structures
 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENCE.mit
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVOR} \
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hypothesis<5:devel/py-hypothesis@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	autoplist concurrent distutils
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pvectorc.so
+
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts=
 
 .include <bsd.port.mk>



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