1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-05 11:35:01 +00:00

Add missing RUN_DEPENDS

- Add REST_FRAMEWORK option
- Bump PORTREVISION for dependency change
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-06-26 11:56:14 +00:00
parent c350b75cc4
commit 56d908ba8c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=540499
2 changed files with 16 additions and 5 deletions

View File

@ -2,7 +2,8 @@
# $FreeBSD$
PORTNAME= graphene-django
PORTVERSION= 2.10.1
PORTVERSION= 2.11.0
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -14,11 +15,21 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}djangorestframework>=3.6.3:www/py-djangorestframework@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>=1.11:www/py-django22@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}graphene>=2.1.7<3:devel/py-graphene@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}graphql-core2>=2.1.0<3:devel/py-graphql-core2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}promise>=2.1:devel/py-promise@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR}
USES= python:3.5+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
OPTIONS_DEFINE= REST_FRAMEWORK
OPTIONS_DEFAULT=REST_FRAMEWORK
REST_FRAMEWORK_DESC= REST framework support
REST_FRAMEWORK_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}djangorestframework>=3.6.3:www/py-djangorestframework@${PY_FLAVOR}
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1589908772
SHA256 (graphene-django-2.10.1.tar.gz) = 4b38812983d360560ce7e783756937b3793c9d1545e8b3881fd1af21c091a726
SIZE (graphene-django-2.10.1.tar.gz) = 57904
TIMESTAMP = 1593161499
SHA256 (graphene-django-2.11.0.tar.gz) = 6354016ceab1ca25b45bb3689ca8d53c8b004904e10aed0a5cc4db29c92cb690
SIZE (graphene-django-2.11.0.tar.gz) = 59348