diff --git a/devel/Makefile b/devel/Makefile index f5e194483a8f..c716321c44b1 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4348,6 +4348,7 @@ SUBDIR += py-distlib SUBDIR += py-distorm SUBDIR += py-distributed + SUBDIR += py-dj31-django-rq SUBDIR += py-django-rq SUBDIR += py-docker-py SUBDIR += py-dockerpty diff --git a/devel/py-dj31-django-rq/Makefile b/devel/py-dj31-django-rq/Makefile new file mode 100644 index 000000000000..f1cb90de88df --- /dev/null +++ b/devel/py-dj31-django-rq/Makefile @@ -0,0 +1,37 @@ +# Created by: René Ladan +# $FreeBSD$ + +PORTNAME= django-rq +PORTVERSION= 2.3.2 +CATEGORIES= devel python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj31- +MASTER_SITES= CHEESESHOP + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Provides Django integration for RQ (Redis Queue) + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django31>=2.0:www/py-django31@${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: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}django-rq + +# 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 diff --git a/devel/py-dj31-django-rq/distinfo b/devel/py-dj31-django-rq/distinfo new file mode 100644 index 000000000000..c842b4c3d792 --- /dev/null +++ b/devel/py-dj31-django-rq/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1592419321 +SHA256 (django-rq-2.3.2.tar.gz) = ee9aefba814ae00b6d6a566ed0cd2a0a090e0e42d90bb9c4f1c70d3cacb47a52 +SIZE (django-rq-2.3.2.tar.gz) = 41038 diff --git a/devel/py-dj31-django-rq/pkg-descr b/devel/py-dj31-django-rq/pkg-descr new file mode 100644 index 000000000000..5273572bf046 --- /dev/null +++ b/devel/py-dj31-django-rq/pkg-descr @@ -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 diff --git a/devel/py-django-rq/Makefile b/devel/py-django-rq/Makefile index 45d4e30ea3ac..1f8b66a91877 100644 --- a/devel/py-django-rq/Makefile +++ b/devel/py-django-rq/Makefile @@ -27,7 +27,7 @@ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes -CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj22-django-rq +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj31-django-rq # https://github.com/rq/django-rq/blob/master/Makefile do-test: diff --git a/www/Makefile b/www/Makefile index 146ed599333c..5856f9443925 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1443,6 +1443,20 @@ SUBDIR += py-cssmin SUBDIR += py-cssselect SUBDIR += py-cssutils + SUBDIR += py-dj31-django-auth-ldap + SUBDIR += py-dj31-django-cacheops + SUBDIR += py-dj31-django-cors-headers + SUBDIR += py-dj31-django-debug-toolbar + SUBDIR += py-dj31-django-filter + SUBDIR += py-dj31-django-js-asset + SUBDIR += py-dj31-django-mptt + SUBDIR += py-dj31-django-prometheus + SUBDIR += py-dj31-django-redis + SUBDIR += py-dj31-django-tables2 + SUBDIR += py-dj31-django-taggit + SUBDIR += py-dj31-django-timezone-field + SUBDIR += py-dj31-djangorestframework + SUBDIR += py-dj31-drf-yasg SUBDIR += py-django SUBDIR += py-django-allauth SUBDIR += py-django-annoying diff --git a/www/py-dj31-django-auth-ldap/Makefile b/www/py-dj31-django-auth-ldap/Makefile new file mode 100644 index 000000000000..d4cc23bb1c60 --- /dev/null +++ b/www/py-dj31-django-auth-ldap/Makefile @@ -0,0 +1,36 @@ +# Created by: Alexander Kriventsov +# $FreeBSD$ + +PORTNAME= django-auth-ldap +PORTVERSION= 2.2.0 +CATEGORIES= www security python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj31- + +MAINTAINER= kai@FreeBSD.org +COMMENT= LDAP integration for django.contrib.auth + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django31>=1.11:www/py-django31@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ldap>=3.1:net/py-ldap@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes +PORTDOCS= * +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-auth-ldap + +OPTIONS_DEFINE= DOCS +DOCS_BUILD_DEPENDS= ${PY_SPHINX} +DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E" + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/build/sphinx/html && \ + ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ + "! -name .buildinfo -and ! -name objects.inv") + +.include diff --git a/www/py-dj31-django-auth-ldap/distinfo b/www/py-dj31-django-auth-ldap/distinfo new file mode 100644 index 000000000000..4fa1cf4920fe --- /dev/null +++ b/www/py-dj31-django-auth-ldap/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1604229069 +SHA256 (django-auth-ldap-2.2.0.tar.gz) = 11af1773b08613339d2c3a0cec1308a4d563518f17b1719c3759994d0b4d04bf +SIZE (django-auth-ldap-2.2.0.tar.gz) = 53148 diff --git a/www/py-dj31-django-auth-ldap/pkg-descr b/www/py-dj31-django-auth-ldap/pkg-descr new file mode 100644 index 000000000000..74682fda4265 --- /dev/null +++ b/www/py-dj31-django-auth-ldap/pkg-descr @@ -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 diff --git a/www/py-dj31-django-cacheops/Makefile b/www/py-dj31-django-cacheops/Makefile new file mode 100644 index 000000000000..07ab9ee3ff94 --- /dev/null +++ b/www/py-dj31-django-cacheops/Makefile @@ -0,0 +1,27 @@ +# $FreeBSD$ + +PORTNAME= django-cacheops +PORTVERSION= 5.1 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj31- + +MAINTAINER= kai@FreeBSD.org +COMMENT= Slick ORM cache with automatic granular event-driven invalidation + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django31>=2.1:www/py-django31@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}redis>=3.0.0:databases/py-redis@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}funcy>=1.8<2.0:devel/py-funcy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=1.4.0:devel/py-six@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist distutils + +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-cacheops + +NO_ARCH= yes + +.include diff --git a/www/py-dj31-django-cacheops/distinfo b/www/py-dj31-django-cacheops/distinfo new file mode 100644 index 000000000000..3480b588dde7 --- /dev/null +++ b/www/py-dj31-django-cacheops/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1604141854 +SHA256 (django-cacheops-5.1.tar.gz) = d5851cd7bf3087384a1fcecfa8dddb8f55030eedfd6fdf127225b75bca0f99dd +SIZE (django-cacheops-5.1.tar.gz) = 67776 diff --git a/www/py-dj31-django-cacheops/pkg-descr b/www/py-dj31-django-cacheops/pkg-descr new file mode 100644 index 000000000000..9df3c28b800e --- /dev/null +++ b/www/py-dj31-django-cacheops/pkg-descr @@ -0,0 +1,15 @@ +A slick app that supports automatic or manual queryset caching and automatic +granular event-driven invalidation. + +It uses redis as backend for ORM cache and redis or filesystem for simple +time-invalidated one. + +And there is more to it: + +* Decorators to cache any user function or view as a queryset or by time +* Extensions for django and jinja2 templates +* Transparent transaction support +* Dog-pile prevention mechanism +* A couple of hacks to make django faster + +WWW: https://github.com/Suor/django-cacheops diff --git a/www/py-dj31-django-cors-headers/Makefile b/www/py-dj31-django-cors-headers/Makefile new file mode 100644 index 000000000000..df991739d4ad --- /dev/null +++ b/www/py-dj31-django-cors-headers/Makefile @@ -0,0 +1,23 @@ +# $FreeBSD$ + +PORTNAME= django-cors-headers +PORTVERSION= 3.4.0 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj31- + +MAINTAINER= kai@FreeBSD.org +COMMENT= Handles server headers required for Cross-Origin Resource Sharing + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django31>=2.0:www/py-django31@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist distutils + +NO_ARCH= yes +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-cors-headers + +.include diff --git a/www/py-dj31-django-cors-headers/distinfo b/www/py-dj31-django-cors-headers/distinfo new file mode 100644 index 000000000000..1e387e8e7077 --- /dev/null +++ b/www/py-dj31-django-cors-headers/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1604142236 +SHA256 (django-cors-headers-3.4.0.tar.gz) = f5218f2f0bb1210563ff87687afbf10786e080d8494a248e705507ebd92d7153 +SIZE (django-cors-headers-3.4.0.tar.gz) = 78307 diff --git a/www/py-dj31-django-cors-headers/pkg-descr b/www/py-dj31-django-cors-headers/pkg-descr new file mode 100644 index 000000000000..7248fec2ba2d --- /dev/null +++ b/www/py-dj31-django-cors-headers/pkg-descr @@ -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 diff --git a/www/py-dj31-django-debug-toolbar/Makefile b/www/py-dj31-django-debug-toolbar/Makefile new file mode 100644 index 000000000000..9c23169535d2 --- /dev/null +++ b/www/py-dj31-django-debug-toolbar/Makefile @@ -0,0 +1,26 @@ +# Created by: Johannes Meixner +# $FreeBSD$ + +PORTNAME= django-debug-toolbar +PORTVERSION= 3.1 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj31- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Configurable set of panels to display debug information + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django31>=2.2:www/py-django31@${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}django-debug-toolbar + +.include diff --git a/www/py-dj31-django-debug-toolbar/distinfo b/www/py-dj31-django-debug-toolbar/distinfo new file mode 100644 index 000000000000..1a52d31a8b63 --- /dev/null +++ b/www/py-dj31-django-debug-toolbar/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1600794972 +SHA256 (django-debug-toolbar-3.1.tar.gz) = 20d94839b81d8d97194a911fc248d78e9df9ed953016e575dc6bd4c717b99e6e +SIZE (django-debug-toolbar-3.1.tar.gz) = 115898 diff --git a/www/py-dj31-django-debug-toolbar/pkg-descr b/www/py-dj31-django-debug-toolbar/pkg-descr new file mode 100644 index 000000000000..9a28df80297f --- /dev/null +++ b/www/py-dj31-django-debug-toolbar/pkg-descr @@ -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 diff --git a/www/py-dj31-django-filter/Makefile b/www/py-dj31-django-filter/Makefile new file mode 100644 index 000000000000..7d4b101adf90 --- /dev/null +++ b/www/py-dj31-django-filter/Makefile @@ -0,0 +1,23 @@ +# $FreeBSD$ + +PORTNAME= django-filter +DISTVERSION= 2.3.0 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj31- + +MAINTAINER= kai@FreeBSD.org +COMMENT= Dynamic filtering for querysets with Django + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django31>=2.2:www/py-django31@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= distutils autoplist + +NO_ARCH= yes +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-filter + +.include diff --git a/www/py-dj31-django-filter/distinfo b/www/py-dj31-django-filter/distinfo new file mode 100644 index 000000000000..73135fda094c --- /dev/null +++ b/www/py-dj31-django-filter/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1604142369 +SHA256 (django-filter-2.3.0.tar.gz) = 11e63dd759835d9ba7a763926ffb2662cf8a6dcb4c7971a95064de34dbc7e5af +SIZE (django-filter-2.3.0.tar.gz) = 146448 diff --git a/www/py-dj31-django-filter/pkg-descr b/www/py-dj31-django-filter/pkg-descr new file mode 100644 index 000000000000..6920bfba0ce0 --- /dev/null +++ b/www/py-dj31-django-filter/pkg-descr @@ -0,0 +1,3 @@ +A generic system for filtering Django QuerySets based on user selections. + +WWW: https://github.com/carltongibson/django-filter diff --git a/www/py-dj31-django-js-asset/Makefile b/www/py-dj31-django-js-asset/Makefile new file mode 100644 index 000000000000..0d1a0fb546d6 --- /dev/null +++ b/www/py-dj31-django-js-asset/Makefile @@ -0,0 +1,24 @@ +# $FreeBSD$ + +PORTNAME= django-js-asset +DISTVERSION= 1.2.2 +PORTREVISION= 1 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj31- + +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}django31>0:www/py-django31@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= distutils autoplist + +NO_ARCH= yes +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-js-asset + +.include diff --git a/www/py-dj31-django-js-asset/distinfo b/www/py-dj31-django-js-asset/distinfo new file mode 100644 index 000000000000..95516ac977d9 --- /dev/null +++ b/www/py-dj31-django-js-asset/distinfo @@ -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 diff --git a/www/py-dj31-django-js-asset/pkg-descr b/www/py-dj31-django-js-asset/pkg-descr new file mode 100644 index 000000000000..1b3c52191784 --- /dev/null +++ b/www/py-dj31-django-js-asset/pkg-descr @@ -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 diff --git a/www/py-dj31-django-mptt/Makefile b/www/py-dj31-django-mptt/Makefile new file mode 100644 index 000000000000..e75313e12d7a --- /dev/null +++ b/www/py-dj31-django-mptt/Makefile @@ -0,0 +1,26 @@ +# Created by: Carlo Strub +# $FreeBSD$ + +PORTNAME= django-mptt +PORTVERSION= 0.11.0 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj31- + +MAINTAINER= kai@FreeBSD.org +COMMENT= Utilities for implementing Modified Preorder Tree Traversal in Django + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django31>=1.11:www/py-django31@${PY_FLAVOR}\ + ${PYTHON_PKGNAMEPREFIX}dj31-django-js-asset>0:www/py-dj31-django-js-asset@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist distutils + +NO_ARCH= yes +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-happenings \ + ${PYTHON_PKGNAMEPREFIX}django-mptt + +.include diff --git a/www/py-dj31-django-mptt/distinfo b/www/py-dj31-django-mptt/distinfo new file mode 100644 index 000000000000..a4d0b6d159f9 --- /dev/null +++ b/www/py-dj31-django-mptt/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1586258697 +SHA256 (django-mptt-0.11.0.tar.gz) = dfdb3af75ad27cdd4458b0544ec8574174f2b90f99bc2cafab6a15b4bc1895a8 +SIZE (django-mptt-0.11.0.tar.gz) = 98300 diff --git a/www/py-dj31-django-mptt/pkg-descr b/www/py-dj31-django-mptt/pkg-descr new file mode 100644 index 000000000000..965e7289f5b7 --- /dev/null +++ b/www/py-dj31-django-mptt/pkg-descr @@ -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 diff --git a/www/py-dj31-django-prometheus/Makefile b/www/py-dj31-django-prometheus/Makefile new file mode 100644 index 000000000000..b2470007ed8d --- /dev/null +++ b/www/py-dj31-django-prometheus/Makefile @@ -0,0 +1,36 @@ +# $FreeBSD$ + +PORTNAME= django-prometheus +PORTVERSION= 2.0.0 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj31- + +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}django31>=1.11:www/py-django31@${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}django-prometheus + +NO_ARCH= yes + +OPTIONS_GROUP= DATABASE CACHE +OPTIONS_GROUP_DATABASE= MYSQL PGSQL +OPTIONS_GROUP_CACHE= MEMCACHED REDIS + +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}dj31-django-redis>=4.8:www/py-dj31-django-redis@${PY_FLAVOR} + +.include diff --git a/www/py-dj31-django-prometheus/distinfo b/www/py-dj31-django-prometheus/distinfo new file mode 100644 index 000000000000..58e38392bd99 --- /dev/null +++ b/www/py-dj31-django-prometheus/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1604180791 +SHA256 (django-prometheus-2.0.0.tar.gz) = 8f25e86a3c310f40cf32cfa1b56a2b6df9cb2521e4cb794844958697d98fb3d1 +SIZE (django-prometheus-2.0.0.tar.gz) = 20028 diff --git a/www/py-dj31-django-prometheus/pkg-descr b/www/py-dj31-django-prometheus/pkg-descr new file mode 100644 index 000000000000..5bb2be69d186 --- /dev/null +++ b/www/py-dj31-django-prometheus/pkg-descr @@ -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 diff --git a/www/py-dj31-django-redis/Makefile b/www/py-dj31-django-redis/Makefile new file mode 100644 index 000000000000..f9224cc673c8 --- /dev/null +++ b/www/py-dj31-django-redis/Makefile @@ -0,0 +1,31 @@ +# $FreeBSD$ + +PORTNAME= django-redis +PORTVERSION= 4.12.1 +CATEGORIES= www databases +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj31- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Full featured Redis cache/session backend for Django + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django31>=2.2:www/py-django31@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}redis>=3.0.0: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 + +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-redis + +NO_ARCH= yes + +do-test: + @cd ${WRKSRC}/tests && ${PYTHON_CMD} runtests.py + +.include diff --git a/www/py-dj31-django-redis/distinfo b/www/py-dj31-django-redis/distinfo new file mode 100644 index 000000000000..1aba0374b592 --- /dev/null +++ b/www/py-dj31-django-redis/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1593061804 +SHA256 (django-redis-4.12.1.tar.gz) = 306589c7021e6468b2656edc89f62b8ba67e8d5a1c8877e2688042263daa7a63 +SIZE (django-redis-4.12.1.tar.gz) = 23350 diff --git a/www/py-dj31-django-redis/pkg-descr b/www/py-dj31-django-redis/pkg-descr new file mode 100644 index 000000000000..dafc130bd225 --- /dev/null +++ b/www/py-dj31-django-redis/pkg-descr @@ -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/niwinz/django-redis diff --git a/www/py-dj31-django-tables2/Makefile b/www/py-dj31-django-tables2/Makefile new file mode 100644 index 000000000000..aed8cadeb488 --- /dev/null +++ b/www/py-dj31-django-tables2/Makefile @@ -0,0 +1,30 @@ +# Created by: Kozlov Sergey +# $FreeBSD$ + +PORTNAME= django-tables2 +DISTVERSION= 2.3.1 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj31- + +MAINTAINER= kai@FreeBSD.org +COMMENT= Table/data-grid framework for Django + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django31>=0:www/py-django31@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= distutils autoplist + +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-tables2 + +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 diff --git a/www/py-dj31-django-tables2/distinfo b/www/py-dj31-django-tables2/distinfo new file mode 100644 index 000000000000..93b499113366 --- /dev/null +++ b/www/py-dj31-django-tables2/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1604181298 +SHA256 (django-tables2-2.3.1.tar.gz) = 28da782f81f046c7d921246f43e7ba2df430cafe5a0e00a0f9dadef25a0e487d +SIZE (django-tables2-2.3.1.tar.gz) = 72954 diff --git a/www/py-dj31-django-tables2/pkg-descr b/www/py-dj31-django-tables2/pkg-descr new file mode 100644 index 000000000000..e4a9e8e434f9 --- /dev/null +++ b/www/py-dj31-django-tables2/pkg-descr @@ -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 diff --git a/www/py-dj31-django-taggit/Makefile b/www/py-dj31-django-taggit/Makefile new file mode 100644 index 000000000000..75d3a948e68c --- /dev/null +++ b/www/py-dj31-django-taggit/Makefile @@ -0,0 +1,23 @@ +# $FreeBSD$ + +PORTNAME= django-taggit +PORTVERSION= 1.3.0 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj31- + +MAINTAINER= kai@FreeBSD.org +COMMENT= Reusable Django application for simple tagging + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django31>=1.11:www/py-django31@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist distutils + +NO_ARCH= yes +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-taggit + +.include diff --git a/www/py-dj31-django-taggit/distinfo b/www/py-dj31-django-taggit/distinfo new file mode 100644 index 000000000000..20b280ff5e8f --- /dev/null +++ b/www/py-dj31-django-taggit/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1604143312 +SHA256 (django-taggit-1.3.0.tar.gz) = 4a833bf71f4c2deddd9745924eee53be1c075d7f0020a06f12e29fa3d752732d +SIZE (django-taggit-1.3.0.tar.gz) = 46986 diff --git a/www/py-dj31-django-taggit/pkg-descr b/www/py-dj31-django-taggit/pkg-descr new file mode 100644 index 000000000000..1c0759657dfc --- /dev/null +++ b/www/py-dj31-django-taggit/pkg-descr @@ -0,0 +1,3 @@ +django-taggit a simpler approach to tagging with Django. + +WWW: https://github.com/jazzband/django-taggit diff --git a/www/py-dj31-django-timezone-field/Makefile b/www/py-dj31-django-timezone-field/Makefile new file mode 100644 index 000000000000..12ad3bdd685b --- /dev/null +++ b/www/py-dj31-django-timezone-field/Makefile @@ -0,0 +1,24 @@ +# $FreeBSD$ + +PORTNAME= django-timezone-field +DISTVERSION= 4.0 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj31- + +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}django31>=1.11:www/py-django31@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= distutils autoplist + +NO_ARCH= yes +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-timezone-field + +.include diff --git a/www/py-dj31-django-timezone-field/distinfo b/www/py-dj31-django-timezone-field/distinfo new file mode 100644 index 000000000000..b1929d40130a --- /dev/null +++ b/www/py-dj31-django-timezone-field/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1585946621 +SHA256 (django-timezone-field-4.0.tar.gz) = 7e3620fe2211c2d372fad54db8f86ff884098d018d56fda4dca5e64929e05ffc +SIZE (django-timezone-field-4.0.tar.gz) = 6866 diff --git a/www/py-dj31-django-timezone-field/pkg-descr b/www/py-dj31-django-timezone-field/pkg-descr new file mode 100644 index 000000000000..83be226cc201 --- /dev/null +++ b/www/py-dj31-django-timezone-field/pkg-descr @@ -0,0 +1,3 @@ +Provides database and form fields for pytz timezone objects for Django. + +WWW: https://github.com/mfogel/django-timezone-field diff --git a/www/py-dj31-djangorestframework/Makefile b/www/py-dj31-djangorestframework/Makefile new file mode 100644 index 000000000000..27c9c9211929 --- /dev/null +++ b/www/py-dj31-djangorestframework/Makefile @@ -0,0 +1,25 @@ +# $FreeBSD$ + +PORTNAME= djangorestframework +PORTVERSION= 3.12.1 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj31- + +MAINTAINER= kai@FreeBSD.org +COMMENT= Django REST framework + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django31>=2.2:www/py-django31@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytz>=0:devel/py-pytz@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= distutils autoplist + +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}djangorestframework3* \ + ${PYTHON_PKGNAMEPREFIX}djangorestframework +NO_ARCH= yes + +.include diff --git a/www/py-dj31-djangorestframework/distinfo b/www/py-dj31-djangorestframework/distinfo new file mode 100644 index 000000000000..9c10271a70be --- /dev/null +++ b/www/py-dj31-djangorestframework/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1601765113 +SHA256 (djangorestframework-3.12.1.tar.gz) = d54452aedebb4b650254ca092f9f4f5df947cb1de6ab245d817b08b4f4156249 +SIZE (djangorestframework-3.12.1.tar.gz) = 810693 diff --git a/www/py-dj31-djangorestframework/pkg-descr b/www/py-dj31-djangorestframework/pkg-descr new file mode 100644 index 000000000000..451b347690ad --- /dev/null +++ b/www/py-dj31-djangorestframework/pkg-descr @@ -0,0 +1,6 @@ +Django REST framework is a powerful and flexible toolkit that makes +it easy to build Web APIs. + +Note: This is the 3.9.x branch which supports Django 1.11 and later + +WWW: https://www.django-rest-framework.org/ diff --git a/www/py-dj31-drf-yasg/Makefile b/www/py-dj31-drf-yasg/Makefile new file mode 100644 index 000000000000..de6a19d89c5c --- /dev/null +++ b/www/py-dj31-drf-yasg/Makefile @@ -0,0 +1,39 @@ +# $FreeBSD$ + +PORTNAME= drf-yasg +DISTVERSION= 1.20.0 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj31- + +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}django31>=2.2.16:www/py-django31@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}dj31-djangorestframework>=3.10.3:www/py-dj31-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_PGKNAMEPREFIX}drf-yasg + +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 diff --git a/www/py-dj31-drf-yasg/distinfo b/www/py-dj31-drf-yasg/distinfo new file mode 100644 index 000000000000..20815e62ee72 --- /dev/null +++ b/www/py-dj31-drf-yasg/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1604143828 +SHA256 (drf-yasg-1.20.0.tar.gz) = d50f197c7f02545d0b736df88c6d5cf874f8fea2507ad85ad7de6ae5bf2d9e5a +SIZE (drf-yasg-1.20.0.tar.gz) = 1800321 diff --git a/www/py-dj31-drf-yasg/pkg-descr b/www/py-dj31-drf-yasg/pkg-descr new file mode 100644 index 000000000000..e9ddcdf2d62c --- /dev/null +++ b/www/py-dj31-drf-yasg/pkg-descr @@ -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 diff --git a/www/py-django-auth-ldap/Makefile b/www/py-django-auth-ldap/Makefile index 1494a2243a6c..611a483c508d 100644 --- a/www/py-django-auth-ldap/Makefile +++ b/www/py-django-auth-ldap/Makefile @@ -21,8 +21,7 @@ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes PORTDOCS= * -CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj21-django-auth-ldap \ - ${PYTHON_PKGNAMEPREFIX}dj22-django-auth-ldap +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj31-django-auth-ldap OPTIONS_DEFINE= DOCS DOCS_BUILD_DEPENDS= ${PY_SPHINX} diff --git a/www/py-django-cacheops/Makefile b/www/py-django-cacheops/Makefile index 8a3260a155a9..735e01796c9b 100644 --- a/www/py-django-cacheops/Makefile +++ b/www/py-django-cacheops/Makefile @@ -20,7 +20,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>=2.1:www/py-django22@${PY_FLAVOR} \ USES= python:3.5+ USE_PYTHON= autoplist distutils -CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj22-django-cacheops +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj31-django-cacheops NO_ARCH= yes diff --git a/www/py-django-cors-headers/Makefile b/www/py-django-cors-headers/Makefile index 12f41572a6ff..f545563a67b8 100644 --- a/www/py-django-cors-headers/Makefile +++ b/www/py-django-cors-headers/Makefile @@ -18,6 +18,6 @@ USES= python:3.5+ USE_PYTHON= autoplist distutils NO_ARCH= yes -CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj22-django-cors-headers +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj31-django-cors-headers .include diff --git a/www/py-django-debug-toolbar/Makefile b/www/py-django-debug-toolbar/Makefile index d64bb109ffef..7014f4f22527 100644 --- a/www/py-django-debug-toolbar/Makefile +++ b/www/py-django-debug-toolbar/Makefile @@ -21,6 +21,6 @@ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes -CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj22-django-debug-toolbar +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj31-django-debug-toolbar .include diff --git a/www/py-django-filter/Makefile b/www/py-django-filter/Makefile index c4f142fe943f..c56ff5beda9a 100644 --- a/www/py-django-filter/Makefile +++ b/www/py-django-filter/Makefile @@ -18,7 +18,6 @@ USES= python:3.5+ USE_PYTHON= distutils autoplist NO_ARCH= yes -CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj21-django-filter \ - ${PYTHON_PKGNAMEPREFIX}dj22-django-filter +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj31-django-filter .include diff --git a/www/py-django-js-asset/Makefile b/www/py-django-js-asset/Makefile index aa715faf9b9a..de7b2371cef8 100644 --- a/www/py-django-js-asset/Makefile +++ b/www/py-django-js-asset/Makefile @@ -19,6 +19,6 @@ USES= python:3.5+ USE_PYTHON= distutils autoplist NO_ARCH= yes -CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj22-django-js-asset +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj31-django-js-asset .include diff --git a/www/py-django-mptt/Makefile b/www/py-django-mptt/Makefile index 9710873d8e39..24d9ada6ca76 100644 --- a/www/py-django-mptt/Makefile +++ b/www/py-django-mptt/Makefile @@ -21,6 +21,6 @@ USE_PYTHON= autoplist distutils NO_ARCH= yes CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-happenings \ - ${PYTHON_PKGNAMEPREFIX}dj22-django-mptt + ${PYTHON_PKGNAMEPREFIX}dj31-django-mptt .include diff --git a/www/py-django-prometheus/Makefile b/www/py-django-prometheus/Makefile index 519a9fab30cb..89e4040881c9 100644 --- a/www/py-django-prometheus/Makefile +++ b/www/py-django-prometheus/Makefile @@ -18,7 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>=1.11:www/py-django22@${PY_FLAVOR} USES= python:3.5+ USE_PYTHON= autoplist distutils -CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj22-django-prometheus +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj31-django-prometheus NO_ARCH= yes diff --git a/www/py-django-redis/Makefile b/www/py-django-redis/Makefile index da261d14f2d9..cf62cf89896f 100644 --- a/www/py-django-redis/Makefile +++ b/www/py-django-redis/Makefile @@ -21,6 +21,8 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hiredis>=0:databases/py-hiredis@${PY_FLAVOR USES= python:3.5+ USE_PYTHON= autoplist concurrent distutils +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj31-django-redis + NO_ARCH= yes do-test: diff --git a/www/py-django-tables2/Makefile b/www/py-django-tables2/Makefile index a741744a4643..7245993f1277 100644 --- a/www/py-django-tables2/Makefile +++ b/www/py-django-tables2/Makefile @@ -18,6 +18,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>=0:www/py-django22@${PY_FLAVOR} USES= python:3.5+ USE_PYTHON= distutils autoplist +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj31-django-tables2 + NO_ARCH= yes OPTIONS_DEFINE= TABLIB diff --git a/www/py-django-taggit/Makefile b/www/py-django-taggit/Makefile index b8d7c63f2395..22f9224aabc3 100644 --- a/www/py-django-taggit/Makefile +++ b/www/py-django-taggit/Makefile @@ -18,6 +18,6 @@ USES= python:3.5+ USE_PYTHON= autoplist distutils NO_ARCH= yes -CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj22-django-taggit +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj31-django-taggit .include diff --git a/www/py-django-timezone-field/Makefile b/www/py-django-timezone-field/Makefile index 4eee7fa60690..82c86e94c89c 100644 --- a/www/py-django-timezone-field/Makefile +++ b/www/py-django-timezone-field/Makefile @@ -19,6 +19,6 @@ USES= python:3.5+ USE_PYTHON= distutils autoplist NO_ARCH= yes -CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj22-django-timezone-field +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj31-django-timezone-field .include diff --git a/www/py-djangorestframework/Makefile b/www/py-djangorestframework/Makefile index f1d536de140c..bfa19611921d 100644 --- a/www/py-djangorestframework/Makefile +++ b/www/py-djangorestframework/Makefile @@ -20,7 +20,7 @@ USES= python:3.5+ USE_PYTHON= distutils autoplist CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}djangorestframework3* \ - ${PYTHON_PKGNAMEPREFIX}dj22-djangorestframework + ${PYTHON_PKGNAMEPREFIX}dj31-djangorestframework NO_ARCH= yes .include diff --git a/www/py-drf-yasg/Makefile b/www/py-drf-yasg/Makefile index bb842ab1b455..938f5307487e 100644 --- a/www/py-drf-yasg/Makefile +++ b/www/py-drf-yasg/Makefile @@ -26,6 +26,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>=2.2.16:www/py-django22@${PY_FLAVOR USES= python:3.5+ USE_PYTHON= distutils autoplist +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}py-dj31-drf-yasg + NO_ARCH= yes OPTIONS_DEFINE= VALIDATION