1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

www/py-django-annotations: switch to django 1.11

PR:		228229
Submitted by:	Kai <freebsd_ports@k-worx.org>
Approved by:	rene (devel/py-django-rq maintainer)
This commit is contained in:
Steve Wills 2018-05-24 11:27:22 +00:00
parent d5f931db76
commit fcad951bea
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=470769
4 changed files with 24 additions and 12 deletions

View File

@ -2,20 +2,28 @@
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@${FLAVOR}
USES= python
USE_PYTHON= autoplist distutils
USE_GITHUB= yes
GH_ACCOUNT= brutasse
NO_ARCH= yes
USES= python:2.7
USE_PYTHON= autoplist distutils
post-patch:
# Fix for Python v3.x builds
@${REINPLACE_CMD} -e "s|open('README.rst').read()|'${COMMENT}'|" \
${WRKSRC}/setup.py
.include <bsd.port.mk>

View File

@ -4,6 +4,7 @@
PORTNAME= django-rq
PORTVERSION= 1.1.0
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -16,7 +17,7 @@ TEST_DEPENDS= redis-server:databases/redis \
${PYTHON_PKGNAMEPREFIX}docutils>=0:textproc/py-docutils@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django18>=1.8:www/py-django18@${FLAVOR} \
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>0:www/py-django111@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}rq>=0.5.5:devel/py-rq@${FLAVOR}
NO_ARCH= yes

View File

@ -2,20 +2,22 @@
PORTNAME= django-annotations
PORTVERSION= 0.0.0.2016041401
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= www python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= swills@FreeBSD.org
COMMENT= Django implementation of annotatorjs Storage
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django-cors-headers>=1.1.0:www/py-django-cors-headers@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}djangorestframework36>=3.3.2:www/py-djangorestframework36@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}django-rq>0:devel/py-django-rq@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}django-rq-dashboard>0:devel/py-django-rq-dashboard@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${FLAVOR}
LICENSE= APACHE20
USES= python:2.7
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django-cors-headers>=1.1.0:www/py-django-cors-headers@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}djangorestframework>=3.3.2:www/py-djangorestframework@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}django-rq>0:devel/py-django-rq@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}django-rq-dashboard>0:devel/py-django-rq-dashboard@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR}
USES= python
USE_GITHUB= yes
USE_PYTHON= autoplist concurrent distutils

View File

@ -2,6 +2,7 @@
PORTNAME= django-cors-headers
PORTVERSION= 2.2.0
PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -11,7 +12,7 @@ COMMENT= Handles server headers required for Cross-Origin Resource Sharing
LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django18>0:www/py-django18@${FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>0:www/py-django111@${PY_FLAVOR}
USES= python
USE_PYTHON= distutils autoplist