git: 5d4a672b9138 - main - New port: devel/py-phx-class-registry: Factory+Registry pattern for Python classes
Neel Chauhan
nc at FreeBSD.org
Wed Apr 28 17:36:30 UTC 2021
The branch main has been updated by nc:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5d4a672b91382e55873a45acbf1ec2c6268e3edd
commit 5d4a672b91382e55873a45acbf1ec2c6268e3edd
Author: Neel Chauhan <nc at FreeBSD.org>
AuthorDate: 2021-04-28 17:36:28 +0000
Commit: Neel Chauhan <nc at FreeBSD.org>
CommitDate: 2021-04-28 17:36:28 +0000
New port: devel/py-phx-class-registry: Factory+Registry pattern for Python classes
PR: 255383
Submitted by: Henry <PopularMoment at protonmail.com>
---
devel/Makefile | 1 +
devel/py-phx-class-registry/Makefile | 25 +++++++++++++++++++++++++
devel/py-phx-class-registry/distinfo | 3 +++
devel/py-phx-class-registry/pkg-descr | 3 +++
4 files changed, 32 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 745543c85844..913f13edff8a 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4808,6 +4808,7 @@
SUBDIR += py-phonenumbers
SUBDIR += py-phply
SUBDIR += py-phpserialize
+ SUBDIR += py-phx-class-registry
SUBDIR += py-pid
SUBDIR += py-pika
SUBDIR += py-pika-pool
diff --git a/devel/py-phx-class-registry/Makefile b/devel/py-phx-class-registry/Makefile
new file mode 100644
index 000000000000..ae938ab97a61
--- /dev/null
+++ b/devel/py-phx-class-registry/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= phx-class-registry
+DISTVERSION= 3.0.5
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= PopularMoment at protonmail.com
+COMMENT= Factory+Registry pattern for Python classes
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.13:devel/py-six@${PY_FLAVOR}
+
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= distutils autoplist concurrent
+
+NO_ARCH= yes
+
+do-test:
+ @cd ${WRKSRC}/ && ${PYTHON_CMD} setup.py test
+
+.include <bsd.port.mk>
diff --git a/devel/py-phx-class-registry/distinfo b/devel/py-phx-class-registry/distinfo
new file mode 100644
index 000000000000..cc6c82d88e1a
--- /dev/null
+++ b/devel/py-phx-class-registry/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1619313963
+SHA256 (phx-class-registry-3.0.5.tar.gz) = f11462ac410a8cda38c2b6a83b51a2390c7d9528baef591cb5b551b11aba2a92
+SIZE (phx-class-registry-3.0.5.tar.gz) = 15758
diff --git a/devel/py-phx-class-registry/pkg-descr b/devel/py-phx-class-registry/pkg-descr
new file mode 100644
index 000000000000..7c32d4679671
--- /dev/null
+++ b/devel/py-phx-class-registry/pkg-descr
@@ -0,0 +1,3 @@
+Factory+Registry pattern for Python classes.
+
+WWW: https://github.com/todofixthis/class-registry/
More information about the dev-commits-ports-all
mailing list