mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
net-mgmt/netbox: Create Django 4.0 consumers
* Django 3.2 is currently the "default" version in the ports tree due its long term support until April 2024. Thus ports that are assigned to that version will exist until then. The following ports are required to make the upgrade of net-mgmt/netbox to the 3.2 release possible because it requires Django 4.0. All of the ports listed below were created on the basis of their respective original ports: - devel/py-dj40-django-rq - devel/py-dj40-graphene-django - www/py-dj40-django-auth-ldap - www/py-dj40-django-cors-headers - www/py-dj40-django-debug-toolbar - www/py-dj40-django-filter - www/py-dj40-django-graphiql-debug-toolbar - www/py-dj40-django-js-asset - www/py-dj40-django-mptt - www/py-dj40-django-prometheus - www/py-dj40-django-redis - www/py-dj40-django-tables2 - www/py-dj40-django-taggit - www/py-dj40-django-timezone-field - www/py-dj40-djangorestframework - www/py-dj40-drf-yasg * Simplify the related CONFLICTS_INSTALL entries as well. This also reduces editing of the Makefiles if another ports need to be "repo-copied" (e.g. for Django 4.1) based on the original ports in the future. [1] Reviewed by: se [1], sunpoet Differential Revision: https://reviews.freebsd.org/D35444
This commit is contained in:
parent
9a9801cb0a
commit
89acacbfee
@ -4501,6 +4501,8 @@
|
||||
SUBDIR += py-distributed
|
||||
SUBDIR += py-dj32-django-rq
|
||||
SUBDIR += py-dj32-graphene-django
|
||||
SUBDIR += py-dj40-django-rq
|
||||
SUBDIR += py-dj40-graphene-django
|
||||
SUBDIR += py-django-rq
|
||||
SUBDIR += py-docker-py
|
||||
SUBDIR += py-dockerpty
|
||||
|
34
devel/py-dj40-django-rq/Makefile
Normal file
34
devel/py-dj40-django-rq/Makefile
Normal file
@ -0,0 +1,34 @@
|
||||
PORTNAME= django-rq
|
||||
PORTVERSION= 2.5.1
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj40-
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Provides Django integration for RQ (Redis Queue)
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django40>=2.0:www/py-django40@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}redis>=3:databases/py-redis@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}rq>=1.2:devel/py-rq@${PY_FLAVOR}
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}docutils>=0,1:textproc/py-docutils@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} \
|
||||
redis-server:databases/redis
|
||||
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
||||
|
||||
# https://github.com/rq/django-rq/blob/master/Makefile
|
||||
do-test:
|
||||
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>
|
3
devel/py-dj40-django-rq/distinfo
Normal file
3
devel/py-dj40-django-rq/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1638556556
|
||||
SHA256 (django-rq-2.5.1.tar.gz) = f08486602664d73a6e335872c868d79663e380247e6307496d01b8fa770fefd8
|
||||
SIZE (django-rq-2.5.1.tar.gz) = 43704
|
5
devel/py-dj40-django-rq/pkg-descr
Normal file
5
devel/py-dj40-django-rq/pkg-descr
Normal file
@ -0,0 +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.
|
||||
|
||||
WWW: https://github.com/rq/django-rq
|
33
devel/py-dj40-graphene-django/Makefile
Normal file
33
devel/py-dj40-graphene-django/Makefile
Normal file
@ -0,0 +1,33 @@
|
||||
PORTNAME= graphene-django
|
||||
PORTVERSION= 2.15.0
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj40-
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Graphene Django integration
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django40>=1.11:www/py-django40@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}graphene2>=2.1.7<3:devel/py-graphene2@${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} \
|
||||
${PYTHON_PKGNAMEPREFIX}text-unidecode>=0:converters/py-text-unidecode@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
OPTIONS_DEFINE= REST_FRAMEWORK
|
||||
OPTIONS_DEFAULT=REST_FRAMEWORK
|
||||
REST_FRAMEWORK_DESC= REST framework support
|
||||
|
||||
REST_FRAMEWORK_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dj40-djangorestframework>=3.6.3:www/py-dj40-djangorestframework@${PY_FLAVOR}
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/py-dj40-graphene-django/distinfo
Normal file
3
devel/py-dj40-graphene-django/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1649270586
|
||||
SHA256 (graphene-django-2.15.0.tar.gz) = b78c9b05bc899016b9cc5bf13faa1f37fe1faa8c5407552c6ddd1a28f46fc31a
|
||||
SIZE (graphene-django-2.15.0.tar.gz) = 67097
|
10
devel/py-dj40-graphene-django/files/patch-setup.py
Normal file
10
devel/py-dj40-graphene-django/files/patch-setup.py
Normal file
@ -0,0 +1,10 @@
|
||||
--- setup.py.orig 2020-12-31 06:55:53 UTC
|
||||
+++ setup.py
|
||||
@@ -68,7 +68,6 @@ setup(
|
||||
"promise>=2.1",
|
||||
"text-unidecode",
|
||||
],
|
||||
- setup_requires=["pytest-runner"],
|
||||
tests_require=tests_require,
|
||||
rest_framework_require=rest_framework_require,
|
||||
extras_require={
|
3
devel/py-dj40-graphene-django/pkg-descr
Normal file
3
devel/py-dj40-graphene-django/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
A Django integration for Graphene.
|
||||
|
||||
WWW: https://github.com/graphql-python/graphene-django
|
@ -27,8 +27,7 @@ USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj31-django-rq \
|
||||
${PYTHON_PKGNAMEPREFIX}dj32-django-rq
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
||||
|
||||
# https://github.com/rq/django-rq/blob/master/Makefile
|
||||
do-test:
|
||||
|
@ -23,6 +23,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django32>=1.11:www/py-django32@${PY_FLAVOR}
|
||||
USES= python:3.5+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
OPTIONS_DEFINE= REST_FRAMEWORK
|
||||
|
14
www/Makefile
14
www/Makefile
@ -1478,6 +1478,20 @@
|
||||
SUBDIR += py-dj32-django-treebeard
|
||||
SUBDIR += py-dj32-djangorestframework
|
||||
SUBDIR += py-dj32-drf-yasg
|
||||
SUBDIR += py-dj40-django-auth-ldap
|
||||
SUBDIR += py-dj40-django-cors-headers
|
||||
SUBDIR += py-dj40-django-debug-toolbar
|
||||
SUBDIR += py-dj40-django-filter
|
||||
SUBDIR += py-dj40-django-graphiql-debug-toolbar
|
||||
SUBDIR += py-dj40-django-js-asset
|
||||
SUBDIR += py-dj40-django-mptt
|
||||
SUBDIR += py-dj40-django-prometheus
|
||||
SUBDIR += py-dj40-django-redis
|
||||
SUBDIR += py-dj40-django-tables2
|
||||
SUBDIR += py-dj40-django-taggit
|
||||
SUBDIR += py-dj40-django-timezone-field
|
||||
SUBDIR += py-dj40-djangorestframework
|
||||
SUBDIR += py-dj40-drf-yasg
|
||||
SUBDIR += py-django
|
||||
SUBDIR += py-django-admin-rangefilter
|
||||
SUBDIR += py-django-advanced-filters
|
||||
|
38
www/py-dj40-django-auth-ldap/Makefile
Normal file
38
www/py-dj40-django-auth-ldap/Makefile
Normal file
@ -0,0 +1,38 @@
|
||||
PORTNAME= django-auth-ldap
|
||||
PORTVERSION= 4.1.0
|
||||
CATEGORIES= www security python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj40-
|
||||
|
||||
MAINTAINER= kai@FreeBSD.org
|
||||
COMMENT= LDAP integration for django.contrib.auth
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4:devel/py-setuptools_scm@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django40>=2.2:www/py-django40@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}ldap>=3.1:net/py-ldap@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
||||
|
||||
NO_ARCH= yes
|
||||
PORTDOCS= *
|
||||
OPTIONS_DEFINE= DOCS
|
||||
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR}
|
||||
DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E"
|
||||
|
||||
# Workaround to make the port still buildable with "distutils"
|
||||
post-extract:
|
||||
@${CP} ${FILESDIR}/setup.py ${WRKSRC}/
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC}/build/sphinx/html && \
|
||||
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \
|
||||
"! -name .buildinfo -and ! -name objects.inv")
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-dj40-django-auth-ldap/distinfo
Normal file
3
www/py-dj40-django-auth-ldap/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1654945388
|
||||
SHA256 (django-auth-ldap-4.1.0.tar.gz) = 77f749d3b17807ce8eb56a9c9c8e5746ff316567f81d5ba613495d9c7495a949
|
||||
SIZE (django-auth-ldap-4.1.0.tar.gz) = 53254
|
20
www/py-dj40-django-auth-ldap/files/patch-docs_conf.py
Normal file
20
www/py-dj40-django-auth-ldap/files/patch-docs_conf.py
Normal file
@ -0,0 +1,20 @@
|
||||
Avoid the download of various intersphinx inventories during build. Only two
|
||||
intersphinx mappings are used and the documentation can be built/used without
|
||||
them.
|
||||
|
||||
--- docs/conf.py.orig 2022-06-12 10:26:47 UTC
|
||||
+++ docs/conf.py
|
||||
@@ -188,13 +188,3 @@ texinfo_documents = [
|
||||
# -- Extension configuration -------------------------------------------------
|
||||
|
||||
# -- Options for intersphinx extension ---------------------------------------
|
||||
-
|
||||
-intersphinx_mapping = {
|
||||
- "python": ("https://docs.python.org/3/", None),
|
||||
- "django": (
|
||||
- "https://docs.djangoproject.com/en/stable/",
|
||||
- "https://docs.djangoproject.com/en/stable/_objects/",
|
||||
- ),
|
||||
- "pythonldap": ("https://www.python-ldap.org/en/latest/", None),
|
||||
- "tox": ("https://tox.wiki/en/latest/", None),
|
||||
-}
|
5
www/py-dj40-django-auth-ldap/files/setup.py
Normal file
5
www/py-dj40-django-auth-ldap/files/setup.py
Normal file
@ -0,0 +1,5 @@
|
||||
# Taken from the previous release (= 3.0.0)
|
||||
|
||||
from setuptools import setup
|
||||
|
||||
setup()
|
6
www/py-dj40-django-auth-ldap/pkg-descr
Normal file
6
www/py-dj40-django-auth-ldap/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
This is a Django authentication backend that authenticates against an LDAP
|
||||
service. Configuration can be as simple as a single distinguished name template,
|
||||
but there are many rich configuration options for working with users, groups,
|
||||
and permissions.
|
||||
|
||||
WWW: https://github.com/django-auth-ldap/django-auth-ldap
|
21
www/py-dj40-django-cors-headers/Makefile
Normal file
21
www/py-dj40-django-cors-headers/Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
PORTNAME= django-cors-headers
|
||||
PORTVERSION= 3.12.0
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj40-
|
||||
|
||||
MAINTAINER= kai@FreeBSD.org
|
||||
COMMENT= Handles server headers required for Cross-Origin Resource Sharing
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django40>=3.2:www/py-django40@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.7+
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-dj40-django-cors-headers/distinfo
Normal file
3
www/py-dj40-django-cors-headers/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1652519963
|
||||
SHA256 (django-cors-headers-3.12.0.tar.gz) = 5f07e2ff8a95c887698e748588a4a0b2ad0ad1b5a292e2d33132f1253e2a97cb
|
||||
SIZE (django-cors-headers-3.12.0.tar.gz) = 21054
|
4
www/py-dj40-django-cors-headers/pkg-descr
Normal file
4
www/py-dj40-django-cors-headers/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
A Django App that adds CORS (Cross-Origin Resource Sharing) headers to
|
||||
responses.
|
||||
|
||||
WWW: https://github.com/adamchainz/django-cors-headers
|
23
www/py-dj40-django-debug-toolbar/Makefile
Normal file
23
www/py-dj40-django-debug-toolbar/Makefile
Normal file
@ -0,0 +1,23 @@
|
||||
PORTNAME= django-debug-toolbar
|
||||
PORTVERSION= 3.2.4
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj40-
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Configurable set of panels to display debug information
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django40>=2.2:www/py-django40@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}sqlparse>=0.2.0:databases/py-sqlparse@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-dj40-django-debug-toolbar/distinfo
Normal file
3
www/py-dj40-django-debug-toolbar/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1641046016
|
||||
SHA256 (django-debug-toolbar-3.2.4.tar.gz) = 644bbd5c428d3283aa9115722471769cac1bec189edf3a0c855fd8ff870375a9
|
||||
SIZE (django-debug-toolbar-3.2.4.tar.gz) = 128774
|
5
www/py-dj40-django-debug-toolbar/pkg-descr
Normal file
5
www/py-dj40-django-debug-toolbar/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
The Django Debug Toolbar is a configurable set of panels that display various
|
||||
debug information about the current request/response and when clicked, display
|
||||
more details about the panel's content.
|
||||
|
||||
WWW: https://github.com/jazzband/django-debug-toolbar
|
22
www/py-dj40-django-filter/Makefile
Normal file
22
www/py-dj40-django-filter/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
PORTNAME= django-filter
|
||||
DISTVERSION= 21.1
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj40-
|
||||
|
||||
MAINTAINER= kai@FreeBSD.org
|
||||
COMMENT= Dynamic filtering for querysets with Django
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django40>=2.2:www/py-django40@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-dj40-django-filter/distinfo
Normal file
3
www/py-dj40-django-filter/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1632927725
|
||||
SHA256 (django-filter-21.1.tar.gz) = 632a251fa8f1aadb4b8cceff932bb52fe2f826dd7dfe7f3eac40e5c463d6836e
|
||||
SIZE (django-filter-21.1.tar.gz) = 154188
|
4
www/py-dj40-django-filter/pkg-descr
Normal file
4
www/py-dj40-django-filter/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
Django-filter is a reusable Django application allowing users to declaratively
|
||||
add dynamic QuerySet filtering from URL parameters.
|
||||
|
||||
WWW: https://github.com/carltongibson/django-filter
|
24
www/py-dj40-django-graphiql-debug-toolbar/Makefile
Normal file
24
www/py-dj40-django-graphiql-debug-toolbar/Makefile
Normal file
@ -0,0 +1,24 @@
|
||||
PORTNAME= django-graphiql-debug-toolbar
|
||||
DISTVERSION= 0.2.0
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj40-
|
||||
|
||||
MAINTAINER= kai@FreeBSD.org
|
||||
COMMENT= Django Debug Toolbar for GraphiQL IDE
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django40>=2.2:www/py-django40@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}dj40-graphene-django>=2.0.0:devel/py-dj40-graphene-django@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}dj40-django-debug-toolbar>=3.1:www/py-dj40-django-debug-toolbar@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-dj40-django-graphiql-debug-toolbar/distinfo
Normal file
3
www/py-dj40-django-graphiql-debug-toolbar/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1630337959
|
||||
SHA256 (django-graphiql-debug-toolbar-0.2.0.tar.gz) = aec7a9e096594123d9fc359a583da794a0020b5391d941dda584ce1e667e0afd
|
||||
SIZE (django-graphiql-debug-toolbar-0.2.0.tar.gz) = 5000
|
4
www/py-dj40-django-graphiql-debug-toolbar/pkg-descr
Normal file
4
www/py-dj40-django-graphiql-debug-toolbar/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
This package is an extension for Django Debug Toolbar which enables support
|
||||
for debugging GraphiQL queries in Django Projects.
|
||||
|
||||
WWW: https://github.com/flavors/django-graphiql-debug-toolbar
|
22
www/py-dj40-django-js-asset/Makefile
Normal file
22
www/py-dj40-django-js-asset/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
PORTNAME= django-js-asset
|
||||
DISTVERSION= 1.2.2
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj40-
|
||||
|
||||
MAINTAINER= kai@FreeBSD.org
|
||||
COMMENT= Insert script tags with additional attributes for django.forms.Media
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django40>0:www/py-django40@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-dj40-django-js-asset/distinfo
Normal file
3
www/py-dj40-django-js-asset/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1586294408
|
||||
SHA256 (django-js-asset-1.2.2.tar.gz) = c163ae80d2e0b22d8fb598047cd0dcef31f81830e127cfecae278ad574167260
|
||||
SIZE (django-js-asset-1.2.2.tar.gz) = 4436
|
4
www/py-dj40-django-js-asset/pkg-descr
Normal file
4
www/py-dj40-django-js-asset/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
Insert script tags with additional attributes (such as "id" and "data" for
|
||||
CSP-compatible data injection) for the django.forms.Media package.
|
||||
|
||||
WWW: https://github.com/matthiask/django-js-asset
|
23
www/py-dj40-django-mptt/Makefile
Normal file
23
www/py-dj40-django-mptt/Makefile
Normal file
@ -0,0 +1,23 @@
|
||||
PORTNAME= django-mptt
|
||||
PORTVERSION= 0.13.4
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj40-
|
||||
|
||||
MAINTAINER= kai@FreeBSD.org
|
||||
COMMENT= Utilities for implementing Modified Preorder Tree Traversal in Django
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django40>=2.2:www/py-django40@${PY_FLAVOR}\
|
||||
${PYTHON_PKGNAMEPREFIX}dj40-django-js-asset>0:www/py-dj40-django-js-asset@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-dj40-django-mptt/distinfo
Normal file
3
www/py-dj40-django-mptt/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1632928296
|
||||
SHA256 (django-mptt-0.13.4.tar.gz) = 80c9fb34df7796a4e5af0cb6b8ade3697555b1aa438bd07a01f32b3ab5202b63
|
||||
SIZE (django-mptt-0.13.4.tar.gz) = 102901
|
4
www/py-dj40-django-mptt/pkg-descr
Normal file
4
www/py-dj40-django-mptt/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
Utilities for implementing Modified Preorder Tree Traversal with your Django
|
||||
Models and working with trees of Model instances.
|
||||
|
||||
WWW: https://github.com/django-mptt/django-mptt
|
34
www/py-dj40-django-prometheus/Makefile
Normal file
34
www/py-dj40-django-prometheus/Makefile
Normal file
@ -0,0 +1,34 @@
|
||||
PORTNAME= django-prometheus
|
||||
PORTVERSION= 2.2.0
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj40-
|
||||
|
||||
MAINTAINER= kai@FreeBSD.org
|
||||
COMMENT= Export Django monitoring metrics for Prometheus.io
|
||||
|
||||
LICENSE= APACHE20
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django40>=2.2:www/py-django40@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}prometheus-client>=0.7:net-mgmt/py-prometheus-client@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
OPTIONS_GROUP= DATABASE CACHE
|
||||
OPTIONS_GROUP_CACHE= MEMCACHED REDIS
|
||||
OPTIONS_GROUP_DATABASE= MYSQL PGSQL
|
||||
|
||||
MEMCACHED_DESC= Memcached distributed memory caching support
|
||||
|
||||
MEMCACHED_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-memcached>=0:databases/py-python-memcached@${PY_FLAVOR}
|
||||
MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mysqlclient>=0:databases/py-mysqlclient@${PY_FLAVOR}
|
||||
PGSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>=0:databases/py-psycopg2@${PY_FLAVOR}
|
||||
REDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dj40-django-redis>=4.8:www/py-dj40-django-redis@${PY_FLAVOR}
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-dj40-django-prometheus/distinfo
Normal file
3
www/py-dj40-django-prometheus/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1641495767
|
||||
SHA256 (django-prometheus-2.2.0.tar.gz) = 240378a1307c408bd5fc85614a3a57f1ce633d4a222c9e291e2bbf325173b801
|
||||
SIZE (django-prometheus-2.2.0.tar.gz) = 24995
|
16
www/py-dj40-django-prometheus/pkg-descr
Normal file
16
www/py-dj40-django-prometheus/pkg-descr
Normal file
@ -0,0 +1,16 @@
|
||||
This library exports Django monitoring metrics for Prometheus.io.
|
||||
|
||||
It provides support to monitor the following databases types:
|
||||
|
||||
* SQLite (via Django)
|
||||
* PostgreSQL
|
||||
* MySQL
|
||||
|
||||
In addition, caches can also be monitored:
|
||||
|
||||
* memcached
|
||||
* Redis
|
||||
|
||||
It's even possible to export metrics of Django models and migrations.
|
||||
|
||||
WWW: https://github.com/korfuri/django-prometheus
|
29
www/py-dj40-django-redis/Makefile
Normal file
29
www/py-dj40-django-redis/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
PORTNAME= django-redis
|
||||
PORTVERSION= 5.2.0
|
||||
CATEGORIES= www databases python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj40-
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Full featured Redis cache/session backend for Django
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django40>=2.2:www/py-django40@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}redis>=3<4:databases/py-redis@${PY_FLAVOR}
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hiredis>=0:databases/py-hiredis@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}msgpack>=0:devel/py-msgpack@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
||||
|
||||
do-test:
|
||||
@cd ${WRKSRC}/tests && ${PYTHON_CMD} runtests.py
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-dj40-django-redis/distinfo
Normal file
3
www/py-dj40-django-redis/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1641046018
|
||||
SHA256 (django-redis-5.2.0.tar.gz) = 8a99e5582c79f894168f5865c52bd921213253b7fd64d16733ae4591564465de
|
||||
SIZE (django-redis-5.2.0.tar.gz) = 44132
|
17
www/py-dj40-django-redis/pkg-descr
Normal file
17
www/py-dj40-django-redis/pkg-descr
Normal file
@ -0,0 +1,17 @@
|
||||
Django-redis is a BSD Licensed, full featured Redis cache/session
|
||||
backend for Django.
|
||||
|
||||
Why use django-redis?
|
||||
|
||||
* Modular client system (pluggable clients).
|
||||
* Master-Slave support in the default client.
|
||||
* Used in production in several projects as cache and session storage.
|
||||
* Supports infinite timeouts.
|
||||
* Python 3 support in same code base.
|
||||
* Facilities for raw access to Redis client/connection pool.
|
||||
* Highly configurable (can emulate memcached exception behavior, for
|
||||
example).
|
||||
* Unix sockets supported by default.
|
||||
* Pluggable parsers.
|
||||
|
||||
WWW: https://github.com/jazzband/django-redis
|
27
www/py-dj40-django-tables2/Makefile
Normal file
27
www/py-dj40-django-tables2/Makefile
Normal file
@ -0,0 +1,27 @@
|
||||
PORTNAME= django-tables2
|
||||
DISTVERSION= 2.4.1
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj40-
|
||||
|
||||
MAINTAINER= kai@FreeBSD.org
|
||||
COMMENT= Table/data-grid framework for Django
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django40>=1.11:www/py-django40@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.7+
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
OPTIONS_DEFINE= TABLIB
|
||||
|
||||
TABLIB_DESC= Enable support for exporting table datasets
|
||||
TABLIB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tablib>=0:textproc/py-tablib@${PY_FLAVOR}
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-dj40-django-tables2/distinfo
Normal file
3
www/py-dj40-django-tables2/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1633552255
|
||||
SHA256 (django-tables2-2.4.1.tar.gz) = 6c72dd208358539e789e4c0efd7d151e43283a4aa4093a35f44c43489e7ddeaa
|
||||
SIZE (django-tables2-2.4.1.tar.gz) = 78516
|
5
www/py-dj40-django-tables2/pkg-descr
Normal file
5
www/py-dj40-django-tables2/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
django-tables2 simplifies the task of turning sets of data into HTML tables.
|
||||
It has native support for pagination and sorting, does for HTML tables what
|
||||
django.forms does for HTML forms.
|
||||
|
||||
WWW: https://github.com/jieter/django-tables2
|
26
www/py-dj40-django-taggit/Makefile
Normal file
26
www/py-dj40-django-taggit/Makefile
Normal file
@ -0,0 +1,26 @@
|
||||
PORTNAME= django-taggit
|
||||
PORTVERSION= 2.1.0
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj40-
|
||||
|
||||
MAINTAINER= kai@FreeBSD.org
|
||||
COMMENT= Reusable Django application for simple tagging
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django40>=2.2:www/py-django40@${PY_FLAVOR}
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dj40-djangorestframework>0:www/py-dj40-djangorestframework@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
do-test:
|
||||
@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m django test --settings=tests.settings -v3
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-dj40-django-taggit/distinfo
Normal file
3
www/py-dj40-django-taggit/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1644942645
|
||||
SHA256 (django-taggit-2.1.0.tar.gz) = a9f41e4ad58efe4b28d86f274728ee87eb98eeae90c9eb4b4efad39e5068184e
|
||||
SIZE (django-taggit-2.1.0.tar.gz) = 55659
|
3
www/py-dj40-django-taggit/pkg-descr
Normal file
3
www/py-dj40-django-taggit/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
django-taggit a simpler approach to tagging with Django.
|
||||
|
||||
WWW: https://github.com/jazzband/django-taggit
|
29
www/py-dj40-django-timezone-field/Makefile
Normal file
29
www/py-dj40-django-timezone-field/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
PORTNAME= django-timezone-field
|
||||
DISTVERSION= 5.0
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj40-
|
||||
|
||||
MAINTAINER= kai@FreeBSD.org
|
||||
COMMENT= Provides database and form fields for pytz timezone objects for Django
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django40>=2.2:www/py-django40@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PYTHON_REL} < 30900
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}backports.zoneinfo>=0.2.1<0.3.0:devel/py-backports.zoneinfo@${PY_FLAVOR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
www/py-dj40-django-timezone-field/distinfo
Normal file
3
www/py-dj40-django-timezone-field/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1645108464
|
||||
SHA256 (django-timezone-field-5.0.tar.gz) = 15746ed367a5a32eda76cfa2886eeec1de8cda79f519b7c5e12f87ed7cdbd663
|
||||
SIZE (django-timezone-field-5.0.tar.gz) = 11838
|
3
www/py-dj40-django-timezone-field/pkg-descr
Normal file
3
www/py-dj40-django-timezone-field/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
Provides database and form fields for pytz timezone objects for Django.
|
||||
|
||||
WWW: https://github.com/mfogel/django-timezone-field
|
22
www/py-dj40-djangorestframework/Makefile
Normal file
22
www/py-dj40-djangorestframework/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
PORTNAME= djangorestframework
|
||||
PORTVERSION= 3.13.1
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj40-
|
||||
|
||||
MAINTAINER= kai@FreeBSD.org
|
||||
COMMENT= Django REST framework
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django40>=2.2:www/py-django40@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pytz>=0:devel/py-pytz@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-dj40-djangorestframework/distinfo
Normal file
3
www/py-dj40-djangorestframework/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1651911373
|
||||
SHA256 (djangorestframework-3.13.1.tar.gz) = 0c33407ce23acc68eca2a6e46424b008c9c02eceb8cf18581921d0092bc1f2ee
|
||||
SIZE (djangorestframework-3.13.1.tar.gz) = 954950
|
4
www/py-dj40-djangorestframework/pkg-descr
Normal file
4
www/py-dj40-djangorestframework/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
Django REST framework is a powerful and flexible toolkit that makes
|
||||
it easy to build Web APIs.
|
||||
|
||||
WWW: https://www.django-rest-framework.org/
|
37
www/py-dj40-drf-yasg/Makefile
Normal file
37
www/py-dj40-drf-yasg/Makefile
Normal file
@ -0,0 +1,37 @@
|
||||
PORTNAME= drf-yasg
|
||||
DISTVERSION= 1.20.0
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj40-
|
||||
|
||||
MAINTAINER= kai@FreeBSD.org
|
||||
COMMENT= Yet Another Swagger Generator
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.rst
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.0.6:devel/py-setuptools_scm@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django40>=2.2.16:www/py-django40@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}dj40-djangorestframework>=3.10.3:www/py-dj40-djangorestframework@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}coreapi>=2.3.3:devel/py-coreapi@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}coreschema>=0.0.4:devel/py-coreschema@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}inflection>=0.3.1:devel/py-inflection@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0.15.34:devel/py-ruamel.yaml@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}uritemplate>=3.0.0:net/py-uritemplate@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
OPTIONS_DEFINE= VALIDATION
|
||||
OPTIONS_DEFAULT= VALIDATION
|
||||
|
||||
VALIDATION_DESC= Enable built-in OpenAPI validation mechanisms
|
||||
VALIDATION_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}swagger-spec-validator>=2.1.0:devel/py-swagger-spec-validator@${PY_FLAVOR}
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-dj40-drf-yasg/distinfo
Normal file
3
www/py-dj40-drf-yasg/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1604143828
|
||||
SHA256 (drf-yasg-1.20.0.tar.gz) = d50f197c7f02545d0b736df88c6d5cf874f8fea2507ad85ad7de6ae5bf2d9e5a
|
||||
SIZE (drf-yasg-1.20.0.tar.gz) = 1800321
|
20
www/py-dj40-drf-yasg/pkg-descr
Normal file
20
www/py-dj40-drf-yasg/pkg-descr
Normal file
@ -0,0 +1,20 @@
|
||||
Generate real Swagger/OpenAPI 2.0 specifications from a Django Rest
|
||||
Framework API.
|
||||
|
||||
Features:
|
||||
|
||||
- full support for nested serializers and schemas
|
||||
- response schemas and descriptions
|
||||
- model definitions compatible with codegen tools
|
||||
- customization hooks at all points in the spec generation process
|
||||
- JSON and YAML format for spec
|
||||
- bundles latest version of swagger-ui and redoc for viewing the generated
|
||||
documentation
|
||||
- schema view is cacheable out of the box
|
||||
- generated Swagger schema can be automatically validated by
|
||||
swagger-spec-validator or flex
|
||||
- supports Django REST Framework API versioning with URLPathVersioning
|
||||
and NamespaceVersioning (other DRF or custom versioning schemes are
|
||||
not currently supported)
|
||||
|
||||
WWW: https://github.com/axnsan12/drf-yasg
|
@ -22,8 +22,7 @@ USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
PORTDOCS= *
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj31-django-auth-ldap \
|
||||
${PYTHON_PKGNAMEPREFIX}dj32-django-auth-ldap
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR}
|
||||
|
@ -17,7 +17,6 @@ USES= python:3.7+
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj31-django-cors-headers \
|
||||
${PYTHON_PKGNAMEPREFIX}dj32-django-cors-headers
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -20,7 +20,6 @@ USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj31-django-debug-toolbar \
|
||||
${PYTHON_PKGNAMEPREFIX}dj32-django-debug-toolbar
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -17,7 +17,6 @@ USES= python:3.6+
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
NO_ARCH= yes
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj31-django-filter \
|
||||
${PYTHON_PKGNAMEPREFIX}dj32-django-filter
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -18,6 +18,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django32>=2.2:www/py-django32@${PY_FLAVOR} \
|
||||
USES= python
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -18,7 +18,6 @@ USES= python:3.6+
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
NO_ARCH= yes
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj31-django-js-asset \
|
||||
${PYTHON_PKGNAMEPREFIX}dj32-django-js-asset
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -20,8 +20,6 @@ USES= python:3.6+
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-happenings \
|
||||
${PYTHON_PKGNAMEPREFIX}dj31-django-mptt \
|
||||
${PYTHON_PKGNAMEPREFIX}dj32-django-mptt
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -17,8 +17,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django32>=2.2:www/py-django32@${PY_FLAVOR} \
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj31-django-prometheus \
|
||||
${PYTHON_PKGNAMEPREFIX}dj32-django-prometheus
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
|
@ -20,8 +20,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hiredis>=0:databases/py-hiredis@${PY_FLAVOR
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj31-django-redis \
|
||||
${PYTHON_PKGNAMEPREFIX}dj32-django-redis
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
|
@ -18,8 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django32>=1.11:www/py-django32@${PY_FLAVOR}
|
||||
USES= python:3.7+
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj31-django-tables2 \
|
||||
${PYTHON_PKGNAMEPREFIX}dj32-django-tables2
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
|
@ -18,8 +18,7 @@ USES= python:3.6+
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj31-django-taggit \
|
||||
${PYTHON_PKGNAMEPREFIX}dj32-django-taggit
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
||||
|
||||
do-test:
|
||||
@cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m django test --settings=tests.settings -v3
|
||||
|
@ -18,7 +18,7 @@ USES= python:3.7+
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
NO_ARCH= yes
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj32-django-timezone-field
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
@ -17,7 +17,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django32>=2.2:www/py-django32@${PY_FLAVOR} \
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj32-djangorestframework
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
|
@ -25,8 +25,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django32>=2.2.16:www/py-django32@${PY_FLAVOR
|
||||
USES= python:3.5+
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}py-dj31-drf-yasg \
|
||||
${PYTHON_PKGNAMEPREFIX}py-dj32-drf-yasg
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user