Files
ports/textproc/py-rdflib/Makefile
Kubilay Kocak 423fc2268d 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)
MFH:		2019Q2
2019-05-13 13:02:09 +00:00

32 lines
853 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= rdflib
PORTVERSION= 4.2.2
PORTREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
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>=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 concurrent autoplist
NO_ARCH= yes
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>