git: f704f6e0ff8c - main - www/py-proxy_tools: New port: Simple proxy implementation for Python

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Sat, 02 Nov 2024 17:28:00 UTC
The branch main has been updated by acm:

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

commit f704f6e0ff8c648028b1d9d1fd461c2e7dc45f6c
Author:     Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>
AuthorDate: 2024-11-02 17:26:38 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2024-11-02 17:27:41 +0000

    www/py-proxy_tools: New port: Simple proxy implementation for Python
    
    proxy_tools is a very simple and useful proxy (as in the GoF design
    pattern) implementation, that I found to be useful outside the web
    context -- hence the extraction.
    
    WWW: https://github.com/jtushman/proxy_tools
    PR:             282455
---
 www/Makefile                 |  1 +
 www/py-proxy_tools/Makefile  | 18 ++++++++++++++++++
 www/py-proxy_tools/distinfo  |  3 +++
 www/py-proxy_tools/pkg-descr |  3 +++
 4 files changed, 25 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 36f47b888fe3..9de05fb300f5 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1780,6 +1780,7 @@
     SUBDIR += py-priority
     SUBDIR += py-priority1
     SUBDIR += py-protego
+    SUBDIR += py-proxy_tools
     SUBDIR += py-puppetboard
     SUBDIR += py-py-restclient
     SUBDIR += py-pygsheets
diff --git a/www/py-proxy_tools/Makefile b/www/py-proxy_tools/Makefile
new file mode 100644
index 000000000000..c0c6a8e61c83
--- /dev/null
+++ b/www/py-proxy_tools/Makefile
@@ -0,0 +1,18 @@
+PORTNAME=	proxy_tools
+DISTVERSION=	0.1.0
+CATEGORIES=	www python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	DtxdF@disroot.org
+COMMENT=	Simple proxy implementation for Python
+WWW=		https://github.com/jtushman/proxy_tools
+
+LICENSE=	MIT
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/www/py-proxy_tools/distinfo b/www/py-proxy_tools/distinfo
new file mode 100644
index 000000000000..048695f589c2
--- /dev/null
+++ b/www/py-proxy_tools/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1730061330
+SHA256 (proxy_tools-0.1.0.tar.gz) = ccb3751f529c047e2d8a58440d86b205303cf0fe8146f784d1cbcd94f0a28010
+SIZE (proxy_tools-0.1.0.tar.gz) = 2978
diff --git a/www/py-proxy_tools/pkg-descr b/www/py-proxy_tools/pkg-descr
new file mode 100644
index 000000000000..2f6a0091259e
--- /dev/null
+++ b/www/py-proxy_tools/pkg-descr
@@ -0,0 +1,3 @@
+proxy_tools is a very simple and useful proxy (as in the GoF design
+pattern) implementation, that I found to be useful outside the web
+context -- hence the extraction.