mirror of
https://git.freebsd.org/ports.git
synced 2025-05-17 01:23:12 -04:00
* Switch the port from the repo-copied py-dj42-django* ports to the
original ones as they're using Django 4.2 now since 680c68fd4d
.
* An exception here is devel/py-dj42-graphene-django, which is renamed
to devel/py-graphene-django300 because NetBox has known problems with
newer versions of devel/py-graphene-django. Add an entry to MOVED for
it as well.
* Adjust www/py-{dj42-}-graphiql-debug-toolbar accordingly due to the
rename of devel/py-dj42-graphene-django as described above and to
avoid installation conflicts.
* Bump PORTREVISION where necessary due changed dependencies.
PR: 276319
37 lines
1.2 KiB
Makefile
37 lines
1.2 KiB
Makefile
PORTNAME= graphene-django
|
|
PORTVERSION= 3.0.0
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
PKGNAMESUFFIX= 300
|
|
|
|
MAINTAINER= kai@FreeBSD.org
|
|
COMMENT= Graphene Django integration
|
|
WWW= https://github.com/graphql-python/graphene-django
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=3.2:www/py-django42@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}graphene>=3.0<4:devel/py-graphene@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}graphql-core>=3.1.0<4:devel/py-graphql-core@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}graphql-relay>=3.1.1<4:devel/py-graphql-relay@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}promise>=2.1:devel/py-promise@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}text-unidecode>=0:converters/py-text-unidecode@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
|
|
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
|
|
|
NO_ARCH= yes
|
|
|
|
PORTSCOUT= ignore:1
|
|
|
|
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>
|