Skip to content

Commit 8d19223

Browse files
committed
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))
1 parent 18c8549 commit 8d19223

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

Diff for: textproc/py-rdflib/Makefile

+12-4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
PORTNAME= rdflib
55
PORTVERSION= 4.2.2
6+
PORTREVISION= 1
67
CATEGORIES= textproc python
78
MASTER_SITES= CHEESESHOP
89
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,13 +12,20 @@ MAINTAINER= python@FreeBSD.org
1112
COMMENT= Python library for RDF manipulation
1213

1314
LICENSE= BSD3CLAUSE
15+
LICENSE_FILE= ${WRKSRC}/LICENSE
1416

1517
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}isodate>=0:devel/py-isodate@${PY_FLAVOR} \
16-
${PYTHON_PKGNAMEPREFIX}pyparsing>=2.0.1:devel/py-pyparsing@${PY_FLAVOR} \
17-
${PYTHON_PKGNAMEPREFIX}sparqlwrapper>=1.5.2:textproc/py-sparqlwrapper@${PY_FLAVOR} \
18-
${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR}
18+
${PYTHON_PKGNAMEPREFIX}pyparsing>=0:devel/py-pyparsing@${PY_FLAVOR} \
19+
${PYTHON_PKGNAMEPREFIX}sparqlwrapper>=0:textproc/py-sparqlwrapper@${PY_FLAVOR} \
20+
${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR}
21+
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}networkx<=2.2:math/py-networkx@${PY_FLAVOR}
1922

2023
USES= python
21-
USE_PYTHON= distutils autoplist
24+
USE_PYTHON= distutils concurrent autoplist
25+
26+
NO_ARCH= yes
27+
28+
do-test:
29+
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
2230

2331
.include <bsd.port.mk>

0 commit comments

Comments
 (0)