1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

Change MASTER_SITES from GitHub to CHEESESHOP

- Add LICENSE_FILE
- Sort *_DEPENDS
- Update do-test:
- Pet portlint
- Reformat pkg-descr
- Update WWW
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2019-03-16 23:22:54 +00:00
parent f069eb24fe
commit d222a7ee7b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=495992
3 changed files with 21 additions and 24 deletions

View File

@ -2,36 +2,33 @@
# $FreeBSD$
PORTNAME= django-rq
PORTVERSION= 1.3
DISTVERSIONPREFIX= v
PORTVERSION= 1.3.0
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MASTER_SITES= CHEESESHOP
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Provides Django integration for RQ (Redis Queue)
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= python
USE_PYTHON= autoplist distutils
USE_GITHUB= yes
GH_ACCOUNT= rq
TEST_DEPENDS= redis-server:databases/redis \
${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=0:www/py-django111@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}rq>=0.12.0:devel/py-rq@${PY_FLAVOR}
TEST_DEPENDS= ${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}
${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} \
redis-server:databases/redis
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
post-patch:
${REINPLACE_CMD} 's/coverage/coverage-${PYTHON_VERSION:S/python//}/' \
${WRKSRC}/Makefile
# https://github.com/rq/django-rq/blob/master/Makefile
do-test:
cd ${WRKSRC} && ${TEST_ENV} ${MAKE} ${TEST_ARGS}
cd ${WRKSRC} && coverage-${PYTHON_VER} run ${LOCALBASE}/bin/django-admin.py test django_rq --settings=django_rq.tests.settings --pythonpath=.
cd ${WRKSRC} && ${PYTHON_CMD} setup.py check --metadata --restructuredtext --strict
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1545227782
SHA256 (rq-django-rq-v1.3_GH0.tar.gz) = 79e51fa06be01d0dcc9309e56fcee30c94bae4c774c03dbffb71c0fbb7a8e8ce
SIZE (rq-django-rq-v1.3_GH0.tar.gz) = 115098
TIMESTAMP = 1552771628
SHA256 (django-rq-1.3.0.tar.gz) = 48a41c464194096af34be7dfba2b1a71a1cec1f466734e51813b9d138fc20676
SIZE (django-rq-1.3.0.tar.gz) = 36989

View File

@ -1,5 +1,5 @@
Django integration with RQ, a Redis based Python queuing library.
Django-RQ is a simple app that allows you to configure your queues in
django's settings.py and easily use them in your project.
Django integration with RQ, a Redis based Python queuing library. Django-RQ is a
simple app that allows you to configure your queues in django's settings.py and
easily use them in your project.
WWW: https://github.com/rq/django-rq/
WWW: https://github.com/rq/django-rq