freebsd-ports/devel/py-django-rq-dashboard/Makefile
Mathieu Arnold 4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00

29 lines
633 B
Makefile

# $FreeBSD$
PORTNAME= django-rq-dashboard
PORTVERSION= 0.3.3
PORTREVISION= 1
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= swills@FreeBSD.org
COMMENT= Monitor your RQ queues, jobs and workers from the Django admin
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENCE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django-rq>0:devel/py-django-rq@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist distutils
USE_GITHUB= yes
GH_ACCOUNT= brutasse
NO_ARCH= yes
post-patch:
# Fix for Python v3.x builds
@${REINPLACE_CMD} -e "s|open('README.rst').read()|'${COMMENT}'|" \
${WRKSRC}/setup.py
.include <bsd.port.mk>