Skip to content

Commit

Permalink
MFH: r501563 textproc/py-rdflib: Make concurrent safe
Browse files Browse the repository at this point in the history
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))
  • Loading branch information
koobs committed May 24, 2019
1 parent 40f2e79 commit b9d3a35
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions textproc/py-rdflib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

PORTNAME= rdflib
PORTVERSION= 4.2.2
PORTREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -11,13 +12,20 @@ MAINTAINER= python@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>

0 comments on commit b9d3a35

Please sign in to comment.