From owner-dev-commits-ports-all@freebsd.org Wed Jul 14 16:16:36 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C584664E9F9; Wed, 14 Jul 2021 16:16:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GQ2gm3Nw0z4gC2; Wed, 14 Jul 2021 16:16:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 134D419046; Wed, 14 Jul 2021 16:16:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 16EGGZf7008387; Wed, 14 Jul 2021 16:16:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 16EGGZRI008386; Wed, 14 Jul 2021 16:16:35 GMT (envelope-from git) Date: Wed, 14 Jul 2021 16:16:35 GMT Message-Id: <202107141616.16EGGZRI008386@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 517fda3c534d - main - www/py-django-hashid-field: Add py-django-hashid-field 3.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 517fda3c534d7000795ec423c54c7acea362cf6f Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2021 16:16:36 -0000 The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=517fda3c534d7000795ec423c54c7acea362cf6f commit 517fda3c534d7000795ec423c54c7acea362cf6f Author: Po-Chuan Hsieh AuthorDate: 2021-07-14 15:48:41 +0000 Commit: Po-Chuan Hsieh 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 + +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 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