Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jul 2021 16:16:35 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 517fda3c534d - main - www/py-django-hashid-field: Add py-django-hashid-field 3.2.1
Message-ID:  <202107141616.16EGGZRI008386@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=517fda3c534d7000795ec423c54c7acea362cf6f

commit 517fda3c534d7000795ec423c54c7acea362cf6f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-07-14 15:48:41 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-07-14 16:09:38 +0000

    www/py-django-hashid-field: Add py-django-hashid-field 3.2.1
    
    A custom Model Field that uses the Hashids library to obfuscate an IntegerField
    or AutoField. It can be used in new models or dropped in place of an existing
    IntegerField, explicit AutoField, or an automatically generated AutoField.
    
    WWW: https://github.com/nshafer/django-hashid-field
---
 www/Makefile                         |  1 +
 www/py-django-hashid-field/Makefile  | 22 ++++++++++++++++++++++
 www/py-django-hashid-field/distinfo  |  3 +++
 www/py-django-hashid-field/pkg-descr |  5 +++++
 4 files changed, 31 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index fb6312130f98..e48afc459aa7 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1494,6 +1494,7 @@
     SUBDIR += py-django-gravatar2
     SUBDIR += py-django-guardian
     SUBDIR += py-django-happenings-update
+    SUBDIR += py-django-hashid-field
     SUBDIR += py-django-haystack
     SUBDIR += py-django-hierarkey
     SUBDIR += py-django-hijack
diff --git a/www/py-django-hashid-field/Makefile b/www/py-django-hashid-field/Makefile
new file mode 100644
index 000000000000..6cdbaa3ea80e
--- /dev/null
+++ b/www/py-django-hashid-field/Makefile
@@ -0,0 +1,22 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	django-hashid-field
+PORTVERSION=	3.2.1
+CATEGORIES=	www python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Hashids obfuscated Django Model Field
+
+LICENSE=	MIT
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django22>=1.11:www/py-django22@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}hashids>=1.2.0:textproc/py-hashids@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/www/py-django-hashid-field/distinfo b/www/py-django-hashid-field/distinfo
new file mode 100644
index 000000000000..afcd1d5ecff6
--- /dev/null
+++ b/www/py-django-hashid-field/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1625585440
+SHA256 (django-hashid-field-3.2.1.tar.gz) = b602d6db33576bafd7bfed7609372bba13cb492bffc0a6560f402a334bd6146e
+SIZE (django-hashid-field-3.2.1.tar.gz) = 23976
diff --git a/www/py-django-hashid-field/pkg-descr b/www/py-django-hashid-field/pkg-descr
new file mode 100644
index 000000000000..a877b4e90291
--- /dev/null
+++ b/www/py-django-hashid-field/pkg-descr
@@ -0,0 +1,5 @@
+A custom Model Field that uses the Hashids library to obfuscate an IntegerField
+or AutoField. It can be used in new models or dropped in place of an existing
+IntegerField, explicit AutoField, or an automatically generated AutoField.
+
+WWW: https://github.com/nshafer/django-hashid-field



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107141616.16EGGZRI008386>