git: 79ea6c311a4e - main - devel/py-plux: Add py-plux 1.3.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 31 Aug 2022 11:42:25 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=79ea6c311a4e0284dd29737332107304559208c2

commit 79ea6c311a4e0284dd29737332107304559208c2
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-08-31 11:21:11 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-08-31 11:40:48 +0000

    devel/py-plux: Add py-plux 1.3.1
    
    plux is the dynamic code loading framework used in LocalStack.
    
    Plux builds a higher-level plugin mechanism around Python's entry point
    mechanism. It provides tools to load plugins from entry points at run time, and
    to discover entry points from plugins at build time (so you don't have to
    declare entry points statically in your setup.py).
    
    WWW: https://github.com/localstack/plux
---
 devel/Makefile                      |  1 +
 devel/py-plux/Makefile              | 19 +++++++++++++++++++
 devel/py-plux/distinfo              |  3 +++
 devel/py-plux/files/patch-setup.cfg | 12 ++++++++++++
 devel/py-plux/pkg-descr             |  8 ++++++++
 5 files changed, 43 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 255ce8b29a1a..8fae4bd6645f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4957,6 +4957,7 @@
     SUBDIR += py-pluggy
     SUBDIR += py-pluggy0
     SUBDIR += py-pluginbase
+    SUBDIR += py-plux
     SUBDIR += py-ply
     SUBDIR += py-pockets
     SUBDIR += py-podcastparser
diff --git a/devel/py-plux/Makefile b/devel/py-plux/Makefile
new file mode 100644
index 000000000000..b4b87070e49e
--- /dev/null
+++ b/devel/py-plux/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	plux
+PORTVERSION=	1.3.1
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Dynamic code loading framework for building pluggable Python distributions
+
+LICENSE=	APACHE20
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}stevedore>=3.4:devel/py-stevedore@${PY_FLAVOR}
+
+USES=		python:3.7+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-plux/distinfo b/devel/py-plux/distinfo
new file mode 100644
index 000000000000..e6171c8a24c6
--- /dev/null
+++ b/devel/py-plux/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1661599117
+SHA256 (plux-1.3.1.tar.gz) = 49f8d0f372c80f315f1d36e897bfcd914b867ba7aaf701ed5931a6d873ae28d3
+SIZE (plux-1.3.1.tar.gz) = 16352
diff --git a/devel/py-plux/files/patch-setup.cfg b/devel/py-plux/files/patch-setup.cfg
new file mode 100644
index 000000000000..e864f2aab340
--- /dev/null
+++ b/devel/py-plux/files/patch-setup.cfg
@@ -0,0 +1,12 @@
+--- setup.cfg.orig	2022-03-02 10:47:40 UTC
++++ setup.cfg
+@@ -24,9 +24,7 @@ classifiers = 
+ zip_safe = False
+ packages = find:
+ setup_requires = 
+-	pytest-runner
+ 	setuptools
+-	wheel
+ install_requires = 
+ 	stevedore>=3.4
+ test_requires = 
diff --git a/devel/py-plux/pkg-descr b/devel/py-plux/pkg-descr
new file mode 100644
index 000000000000..9d3c2d488f75
--- /dev/null
+++ b/devel/py-plux/pkg-descr
@@ -0,0 +1,8 @@
+plux is the dynamic code loading framework used in LocalStack.
+
+Plux builds a higher-level plugin mechanism around Python's entry point
+mechanism. It provides tools to load plugins from entry points at run time, and
+to discover entry points from plugins at build time (so you don't have to
+declare entry points statically in your setup.py).
+
+WWW: https://github.com/localstack/plux