diff options
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/py-dj22-swapper/Makefile | 24 | ||||
-rw-r--r-- | www/py-dj22-swapper/distinfo | 3 | ||||
-rw-r--r-- | www/py-dj22-swapper/pkg-descr | 6 |
4 files changed, 34 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index fcdecfd81409..fa87cfa31131 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1507,6 +1507,7 @@ SUBDIR += py-dj22-django-treebeard SUBDIR += py-dj22-djangorestframework SUBDIR += py-dj22-drf-yasg + SUBDIR += py-dj22-swapper SUBDIR += py-django SUBDIR += py-django-allauth SUBDIR += py-django-annotations diff --git a/www/py-dj22-swapper/Makefile b/www/py-dj22-swapper/Makefile new file mode 100644 index 000000000000..0a7aaa7380fc --- /dev/null +++ b/www/py-dj22-swapper/Makefile @@ -0,0 +1,24 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= swapper +PORTVERSION= 1.1.1 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj22- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Unofficial Django swappable models API + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>=1.6:www/py-django22@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/www/py-dj22-swapper/distinfo b/www/py-dj22-swapper/distinfo new file mode 100644 index 000000000000..1d8a17cb27f6 --- /dev/null +++ b/www/py-dj22-swapper/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1564418040 +SHA256 (swapper-1.1.1.tar.gz) = bc0928ad9badbd7a445588468e4c956ddf9d0dabc2ca27ea2cc73f646cb892b0 +SIZE (swapper-1.1.1.tar.gz) = 10291 diff --git a/www/py-dj22-swapper/pkg-descr b/www/py-dj22-swapper/pkg-descr new file mode 100644 index 000000000000..dddfd9074360 --- /dev/null +++ b/www/py-dj22-swapper/pkg-descr @@ -0,0 +1,6 @@ +Swapper is an unofficial API for the undocumented but very powerful Django +feature: swappable models. Swapper facilitates implementing arbitrary swappable +models in your own reusable apps. + +WWW: https://pypi.org/project/swapper/ +WWW: https://github.com/wq/django-swappable-models |