svn commit: r502448 - branches/2019Q2/textproc/py-rdflib

Kubilay Kocak koobs at FreeBSD.org
Fri May 24 10:18:48 UTC 2019


Author: koobs
Date: Fri May 24 10:18:46 2019
New Revision: 502448
URL: https://svnweb.freebsd.org/changeset/ports/502448

Log:
  MFH: r501563 textproc/py-rdflib: Make concurrent safe
  
  This package installs scripts into LOCALBASE/bin, so must be concurrent
  safe so packages for multiple Python versions don't conflict [1] on
  installation.
  
  [1] https://lists.freebsd.org/pipermail/freebsd-ports/2019-May/116293.html
  
  Reported by:	Luis Espinoza Jr. <ljejr hotmail com> (via freebsd-ports) [1]
  Approved by:	koobs (python, maintainer)
  
  Approved by:	ports-secteam (blanket: port bug(s))

Modified:
  branches/2019Q2/textproc/py-rdflib/Makefile
Directory Properties:
  branches/2019Q2/   (props changed)

Modified: branches/2019Q2/textproc/py-rdflib/Makefile
==============================================================================
--- branches/2019Q2/textproc/py-rdflib/Makefile	Fri May 24 10:16:54 2019	(r502447)
+++ branches/2019Q2/textproc/py-rdflib/Makefile	Fri May 24 10:18:46 2019	(r502448)
@@ -3,6 +3,7 @@
 
 PORTNAME=	rdflib
 PORTVERSION=	4.2.2
+PORTREVISION=	1
 CATEGORIES=	textproc python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,13 +12,20 @@ MAINTAINER=	python at FreeBSD.org
 COMMENT=	Python library for RDF manipulation
 
 LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}isodate>=0:devel/py-isodate@${PY_FLAVOR} \
-	${PYTHON_PKGNAMEPREFIX}pyparsing>=2.0.1:devel/py-pyparsing@${PY_FLAVOR} \
-	${PYTHON_PKGNAMEPREFIX}sparqlwrapper>=1.5.2:textproc/py-sparqlwrapper@${PY_FLAVOR} \
-	${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}pyparsing>=0:devel/py-pyparsing@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}sparqlwrapper>=0:textproc/py-sparqlwrapper@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}networkx<=2.2:math/py-networkx@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	distutils concurrent autoplist
+
+NO_ARCH=	yes
+
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
 
 .include <bsd.port.mk>


More information about the svn-ports-branches mailing list