mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Create some ports that are assigned to Django 2.1 instead Django 1.11.
Django 1.11 is currently the "default" version in the ports tree due its long term support until April 2020 thus ports that are assigned to that version will exist until then. The following packages are required to make the upgrade of net-mgmt/netbox to 2.5.x possible because upstream has decided to switch from Django 1.11 to Django 2.1: * www/py-dj21-django-cors-headers * www/py-dj21-django-debug-toolbar * www/py-dj21-django-filter * www/py-dj21-django-js-asset * www/py-dj21-django-mptt * www/py-dj21-django-tables2 * www/py-dj21-django-taggit * www/py-dj21-django-timezone-field * www/py-dj21-djangorestframework * www/py-dj21-drf-yasg Also limit the new ports to Python 3.5 and later to match the requirements for Django 2.1 and to reduce some overhead in the building infrastructure. Reviewed by: miwi, tcberner (mentors) Approved by: miwi Differential Revision: https://reviews.freebsd.org/D19059
This commit is contained in:
parent
ba0bdaf697
commit
68dbb932f9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=492690
47 changed files with 415 additions and 14 deletions
11
www/Makefile
11
www/Makefile
|
@ -1517,6 +1517,17 @@
|
|||
SUBDIR += py-cssselect
|
||||
SUBDIR += py-cssutils
|
||||
SUBDIR += py-ddgr
|
||||
SUBDIR += py-dj21-django-cors-headers
|
||||
SUBDIR += py-dj21-django-debug-toolbar
|
||||
SUBDIR += py-dj21-django-filter
|
||||
SUBDIR += py-dj21-django-js-asset
|
||||
SUBDIR += py-dj21-django-mptt
|
||||
SUBDIR += py-dj21-django-tables2
|
||||
SUBDIR += py-dj21-django-taggit
|
||||
SUBDIR += py-dj21-django-taggit-serializer
|
||||
SUBDIR += py-dj21-django-timezone-field
|
||||
SUBDIR += py-dj21-djangorestframework
|
||||
SUBDIR += py-dj21-drf-yasg
|
||||
SUBDIR += py-django
|
||||
SUBDIR += py-django-allauth
|
||||
SUBDIR += py-django-annotations
|
||||
|
|
21
www/py-dj21-django-cors-headers/Makefile
Normal file
21
www/py-dj21-django-cors-headers/Makefile
Normal file
|
@ -0,0 +1,21 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= django-cors-headers
|
||||
PORTVERSION= 2.4.0
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj21-
|
||||
|
||||
MAINTAINER= kai@FreeBSD.org
|
||||
COMMENT= Handles server headers required for Cross-Origin Resource Sharing
|
||||
|
||||
LICENSE= MIT
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django21>0:www/py-django21@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.5+
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-cors-headers
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-dj21-django-cors-headers/distinfo
Normal file
3
www/py-dj21-django-cors-headers/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1533991132
|
||||
SHA256 (django-cors-headers-2.4.0.tar.gz) = c4c2ee97139d18541a1be7d96fe337d1694623816d83f53cb7c00da9b94acae1
|
||||
SIZE (django-cors-headers-2.4.0.tar.gz) = 16691
|
4
www/py-dj21-django-cors-headers/pkg-descr
Normal file
4
www/py-dj21-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/ottoyiu/django-cors-headers
|
25
www/py-dj21-django-debug-toolbar/Makefile
Normal file
25
www/py-dj21-django-debug-toolbar/Makefile
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Created by: Johannes Meixner <johannes@perceivon.net>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= django-debug-toolbar
|
||||
PORTVERSION= 1.11
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj21-
|
||||
|
||||
MAINTAINER= kai@FreeBSD.org
|
||||
COMMENT= Configurable set of panels to display debug information
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django21>=1.11:www/py-django21@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}sqlparse>=0.2.0:databases/py-sqlparse@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.5+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-debug-toolbar
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-dj21-django-debug-toolbar/distinfo
Normal file
3
www/py-dj21-django-debug-toolbar/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1546724075
|
||||
SHA256 (django-debug-toolbar-1.11.tar.gz) = 89d75b60c65db363fb24688d977e5fbf0e73386c67acf562d278402a10fc3736
|
||||
SIZE (django-debug-toolbar-1.11.tar.gz) = 108708
|
6
www/py-dj21-django-debug-toolbar/pkg-descr
Normal file
6
www/py-dj21-django-debug-toolbar/pkg-descr
Normal file
|
@ -0,0 +1,6 @@
|
|||
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://pypi.org/project/django-debug-toolbar/
|
||||
WWW: https://github.com/jazzband/django-debug-toolbar
|
26
www/py-dj21-django-filter/Makefile
Normal file
26
www/py-dj21-django-filter/Makefile
Normal file
|
@ -0,0 +1,26 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= django-filter
|
||||
DISTVERSION= 1.1.0
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj21-
|
||||
|
||||
MAINTAINER= kai@FreeBSD.org
|
||||
COMMENT= Dynamic filtering for querysets with Django
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django21>0:www/py-django21@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}dj21-djangorestframework>0:www/py-dj21-djangorestframework@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}coreapi>0:devel/py-coreapi@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}coreschema>0:devel/py-coreschema@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.5+
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
NO_ARCH= yes
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-filter
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-dj21-django-filter/distinfo
Normal file
3
www/py-dj21-django-filter/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1522148113
|
||||
SHA256 (django-filter-1.1.0.tar.gz) = ec0ef1ba23ef95b1620f5d481334413700fb33f45cd76d56a63f4b0b1d76976a
|
||||
SIZE (django-filter-1.1.0.tar.gz) = 127831
|
3
www/py-dj21-django-filter/pkg-descr
Normal file
3
www/py-dj21-django-filter/pkg-descr
Normal file
|
@ -0,0 +1,3 @@
|
|||
A generic system for filtering Django QuerySets based on user selections.
|
||||
|
||||
WWW: https://github.com/carltongibson/django-filter
|
23
www/py-dj21-django-js-asset/Makefile
Normal file
23
www/py-dj21-django-js-asset/Makefile
Normal file
|
@ -0,0 +1,23 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= django-js-asset
|
||||
DISTVERSION= 1.1.0
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj21-
|
||||
|
||||
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}django21>0:www/py-django21@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.5+
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
NO_ARCH= yes
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-js-asset
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-dj21-django-js-asset/distinfo
Normal file
3
www/py-dj21-django-js-asset/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1526924224
|
||||
SHA256 (django-js-asset-1.1.0.tar.gz) = 30149158206f693a5d027fe590096fc84495486bd11cd77d395b4f2ec27fc1d0
|
||||
SIZE (django-js-asset-1.1.0.tar.gz) = 4456
|
4
www/py-dj21-django-js-asset/pkg-descr
Normal file
4
www/py-dj21-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
|
26
www/py-dj21-django-mptt/Makefile
Normal file
26
www/py-dj21-django-mptt/Makefile
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Created by: Carlo Strub
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= django-mptt
|
||||
PORTVERSION= 0.9.1
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj21-
|
||||
|
||||
MAINTAINER= kai@FreeBSD.org
|
||||
COMMENT= Utilities for implementing Modified Preorder Tree Traversal in Django
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django21>=1.11:www/py-django21@${PY_FLAVOR}\
|
||||
${PYTHON_PKGNAMEPREFIX}dj21-django-js-asset>0:www/py-dj21-django-js-asset@${PY_FLAVOR}
|
||||
|
||||
USES= gettext python:3.5+
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-happenings \
|
||||
${PYTHON_PKGNAMEPREFIX}django-mptt
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-dj21-django-mptt/distinfo
Normal file
3
www/py-dj21-django-mptt/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1533818904
|
||||
SHA256 (django-mptt-0.9.1.tar.gz) = 689a04cce0981671d6061a9928c33a16b47abb0d4cd43cf7dec31ae284fdae9d
|
||||
SIZE (django-mptt-0.9.1.tar.gz) = 95615
|
4
www/py-dj21-django-mptt/pkg-descr
Normal file
4
www/py-dj21-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
|
25
www/py-dj21-django-tables2/Makefile
Normal file
25
www/py-dj21-django-tables2/Makefile
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Created by: Kozlov Sergey <kozlov.sergey.404@gmail.com>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= django-tables2
|
||||
DISTVERSION= 1.21.2
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj21-
|
||||
|
||||
MAINTAINER= kai@FreeBSD.org
|
||||
COMMENT= Table/data-grid framework for Django
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django21>=0:www/py-django21@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}tablib>=0:textproc/py-tablib@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.5+
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
NO_ARCH= yes
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-tables2
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-dj21-django-tables2/distinfo
Normal file
3
www/py-dj21-django-tables2/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1522914211
|
||||
SHA256 (django-tables2-1.21.2.tar.gz) = c5c979201b7a2f7e88f2784dcd478e0c809d3a2053dea576cb71ce51676bbf7a
|
||||
SIZE (django-tables2-1.21.2.tar.gz) = 2680587
|
5
www/py-dj21-django-tables2/pkg-descr
Normal file
5
www/py-dj21-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
|
24
www/py-dj21-django-taggit-serializer/Makefile
Normal file
24
www/py-dj21-django-taggit-serializer/Makefile
Normal file
|
@ -0,0 +1,24 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= django-taggit-serializer
|
||||
DISTVERSION= 0.1.7
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj21-
|
||||
|
||||
MAINTAINER= kai@FreeBSD.org
|
||||
COMMENT= Django Taggit serializer for the Django REST Framework
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dj21-django-taggit>=0:www/py-dj21-django-taggit@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.5+
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
NO_ARCH= yes
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-taggit-serializer
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-dj21-django-taggit-serializer/distinfo
Normal file
3
www/py-dj21-django-taggit-serializer/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1533884090
|
||||
SHA256 (django-taggit-serializer-0.1.7.tar.gz) = f712eb2482079be452bcd1e82b18a820e26427c3ee1cef2b4fcd4d6b8b9f14d0
|
||||
SIZE (django-taggit-serializer-0.1.7.tar.gz) = 5589
|
6
www/py-dj21-django-taggit-serializer/pkg-descr
Normal file
6
www/py-dj21-django-taggit-serializer/pkg-descr
Normal file
|
@ -0,0 +1,6 @@
|
|||
This package makes it possible to serialize tags generated by the django-taggit
|
||||
package. Because the tags in the django-taggit package need to be added into a
|
||||
TaggableManager() one cannot use the usual Serializer that is retrieved from the
|
||||
Django REST Framework.
|
||||
|
||||
WWW: https://github.com/glemmaPaul/django-taggit-serializer
|
24
www/py-dj21-django-taggit/Makefile
Normal file
24
www/py-dj21-django-taggit/Makefile
Normal file
|
@ -0,0 +1,24 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= django-taggit
|
||||
PORTVERSION= 0.23.0
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj21-
|
||||
|
||||
MAINTAINER= kai@FreeBSD.org
|
||||
COMMENT= Reusable Django application for simple tagging
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}isort>0:devel/py-isort@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django21>=1.11:www/py-django21@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.5+
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-taggit
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-dj21-django-taggit/distinfo
Normal file
3
www/py-dj21-django-taggit/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1542119703
|
||||
SHA256 (django-taggit-0.23.0.tar.gz) = a21cbe7e0879f1364eef1c88a2eda89d593bf000ebf51c3f00423c6927075dce
|
||||
SIZE (django-taggit-0.23.0.tar.gz) = 44585
|
3
www/py-dj21-django-taggit/pkg-descr
Normal file
3
www/py-dj21-django-taggit/pkg-descr
Normal file
|
@ -0,0 +1,3 @@
|
|||
django-taggit a simpler approach to tagging with Django.
|
||||
|
||||
WWW: https://github.com/alex/django-taggit
|
24
www/py-dj21-django-timezone-field/Makefile
Normal file
24
www/py-dj21-django-timezone-field/Makefile
Normal file
|
@ -0,0 +1,24 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= django-timezone-field
|
||||
DISTVERSION= 3.0
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj21-
|
||||
|
||||
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}django21>=1.8:www/py-django21@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.5+
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
NO_ARCH= yes
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-timezone-field
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-dj21-django-timezone-field/distinfo
Normal file
3
www/py-dj21-django-timezone-field/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1542121057
|
||||
SHA256 (django-timezone-field-3.0.tar.gz) = 7d7a37cfeacec5b1e81cd2f0aa334d46ebaa369cd516028579ed343cbc676c38
|
||||
SIZE (django-timezone-field-3.0.tar.gz) = 6217
|
3
www/py-dj21-django-timezone-field/pkg-descr
Normal file
3
www/py-dj21-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
|
25
www/py-dj21-djangorestframework/Makefile
Normal file
25
www/py-dj21-djangorestframework/Makefile
Normal file
|
@ -0,0 +1,25 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= djangorestframework
|
||||
DISTVERSION= 3.9.0
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj21-
|
||||
|
||||
MAINTAINER= kai@FreeBSD.org
|
||||
COMMENT= Django REST framework
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django21>0:www/py-django21@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.5+
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}djangorestframework \
|
||||
${PYTHON_PKGNAMEPREFIX}djangorestframework??
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-dj21-djangorestframework/distinfo
Normal file
3
www/py-dj21-djangorestframework/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1542917166
|
||||
SHA256 (djangorestframework-3.9.0.tar.gz) = 607865b0bb1598b153793892101d881466bd5a991de12bd6229abb18b1c86136
|
||||
SIZE (djangorestframework-3.9.0.tar.gz) = 802477
|
6
www/py-dj21-djangorestframework/pkg-descr
Normal file
6
www/py-dj21-djangorestframework/pkg-descr
Normal file
|
@ -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: http://www.django-rest-framework.org/
|
35
www/py-dj21-drf-yasg/Makefile
Normal file
35
www/py-dj21-drf-yasg/Makefile
Normal file
|
@ -0,0 +1,35 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= drf-yasg
|
||||
DISTVERSION= 1.11.1
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj21-
|
||||
|
||||
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}django21>=1.11.7:www/py-django21@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}dj21-djangorestframework>=3.7.7:www/py-dj21-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}flex>=6.11.1:devel/py-flex@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}future>=0.16.0:devel/py-future@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}inflection>=0.3.1:devel/py-inflection@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}openapi-codec>=1.3.2:devel/py-openapi-codec@${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}swagger-spec-validator>=2.1.0:devel/py-swagger-spec-validator@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}uritemplate>=3.0.0:net/py-uritemplate@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.5+
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
NO_ARCH= yes
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}drf-yasg
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-dj21-drf-yasg/distinfo
Normal file
3
www/py-dj21-drf-yasg/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1546606600
|
||||
SHA256 (drf-yasg-1.11.1.tar.gz) = 9ee2072fb84ec60d951fa105e6926cf16e332973ba20ab2e3962fd9445cfd102
|
||||
SIZE (drf-yasg-1.11.1.tar.gz) = 1249643
|
20
www/py-dj21-drf-yasg/pkg-descr
Normal file
20
www/py-dj21-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
|
|
@ -16,4 +16,6 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>0:www/py-django111@${PY_FLAVOR}
|
|||
USES= python
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj21-django-cors-headers
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -19,6 +19,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=1.11:www/py-django111@${PY_FLAVOR
|
|||
USES= python
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
NO_ARCH= yes
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj21-django-debug-toolbar
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -19,6 +19,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django>0:www/py-django@${PY_FLAVOR} \
|
|||
|
||||
USES= python
|
||||
USE_PYTHON= distutils autoplist
|
||||
NO_ARCH= yes
|
||||
|
||||
NO_ARCH= yes
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj21-django-filter
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -16,6 +16,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>0:www/py-django111@${PY_FLAVOR}
|
|||
|
||||
USES= python
|
||||
USE_PYTHON= distutils autoplist
|
||||
NO_ARCH= yes
|
||||
|
||||
NO_ARCH= yes
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj21-django-js-asset
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -16,11 +16,11 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
|
|||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=1.11:www/py-django111@${PY_FLAVOR}\
|
||||
${PYTHON_PKGNAMEPREFIX}django-js-asset>0:www/py-django-js-asset@${PY_FLAVOR}
|
||||
|
||||
CONFLICTS_INSTALL=py*-django-happenings
|
||||
|
||||
USES= gettext python
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
NO_ARCH= yes
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-happenings \
|
||||
${PYTHON_PKGNAMEPREFIX}dj21-django-mptt
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -19,6 +19,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=0:www/py-django111@${PY_FLAVOR} \
|
|||
|
||||
USES= python
|
||||
USE_PYTHON= distutils autoplist
|
||||
NO_ARCH= yes
|
||||
|
||||
NO_ARCH= yes
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj21-django-tables2
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -18,6 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django-taggit>=0:www/py-django-taggit@${PY_F
|
|||
USES= python
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
NO_ARCH= yes
|
||||
NO_ARCH= yes
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj21-django-taggit-serializer
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
This package makes it possible to serialize tags generated by the django-taggit
|
||||
package. Because the tags in the django-taggit package need to be added into a
|
||||
TaggableManager() one cannot use the usual Serializer that is retrieved from the
|
||||
Django REST Framework.
|
||||
Django REST Framework.
|
||||
|
||||
WWW: https://github.com/glemmaPaul/django-taggit-serializer
|
||||
|
|
|
@ -18,6 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=1.11:www/py-django111@${PY_FLAVOR
|
|||
USES= python
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
NO_ARCH= yes
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj21-django-taggit
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -18,6 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=1.8:www/py-django111@${PY_FLAVOR}
|
|||
USES= python
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
NO_ARCH= yes
|
||||
NO_ARCH= yes
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj21-django-timezone-field
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -19,7 +19,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>0:www/py-django111@${PY_FLAVOR} \
|
|||
USES= python
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}djangorestframework36
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}djangorestframework?? \
|
||||
${PYTHON_PKGNAMEPREFIX}dj21-djangorestframework
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -16,6 +16,7 @@ LICENSE= BSD2CLAUSE
|
|||
USES= python
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}djangorestframework
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}djangorestframework \
|
||||
${PYTHON_PKGNAMEPREFIX}dj21-djangorestframework
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -29,6 +29,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=1.11.7:www/py-django111@${PY_FLAV
|
|||
USES= python
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
NO_ARCH= yes
|
||||
NO_ARCH= yes
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj21-drf-yasg
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue