mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
1ff30715f7
Reported by: portscout
39 lines
1.0 KiB
Makefile
39 lines
1.0 KiB
Makefile
# Created by: René Ladan <rene@freebsd.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= django-rq
|
|
PORTVERSION= 1.2.0
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= devel python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= rene@FreeBSD.org
|
|
COMMENT= Provides Django integration for RQ (Redis Queue)
|
|
|
|
LICENSE= MIT
|
|
|
|
TEST_DEPENDS= redis-server:databases/redis \
|
|
${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}docutils>=0:textproc/py-docutils@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR}
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>0:www/py-django111@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}rq>=0.12.0:devel/py-rq@${PY_FLAVOR}
|
|
|
|
NO_ARCH= yes
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= rq
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} 's/coverage/coverage-${PYTHON_VERSION:S/python//}/' \
|
|
${WRKSRC}/Makefile
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ${TEST_ENV} ${MAKE} ${TEST_ARGS}
|
|
|
|
.include <bsd.port.mk>
|