git: 69b29490d7c9 - main - devel/py-txi2p-tahoe: Add py-txi2p-tahoe 0.3.5

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 09 Jun 2022 23:19:25 UTC
The branch main has been updated by sunpoet:

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

commit 69b29490d7c970e67a033847d5385109e0330fc6
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-09 23:09:37 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-09 23:15:59 +0000

    devel/py-txi2p-tahoe: Add py-txi2p-tahoe 0.3.5
    
    This is a fork of txi2p, to help Tahoe-LAFS project to get unstuck in Python 3
    porting efforts.
    
    txi2p is a set of I2P bindings for Twisted.
    
    txi2p supports both the SAM and BOB APIs for I2P. The default API is SAM.
    
    WWW: https://github.com/str4d/txi2p
---
 devel/Makefile                 |  1 +
 devel/py-txi2p-tahoe/Makefile  | 24 ++++++++++++++++++++++++
 devel/py-txi2p-tahoe/distinfo  |  3 +++
 devel/py-txi2p-tahoe/pkg-descr |  8 ++++++++
 4 files changed, 36 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index b3d00daed7ad..d1bc6c427e69 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5398,6 +5398,7 @@
     SUBDIR += py-twine
     SUBDIR += py-twisted
     SUBDIR += py-txaio
+    SUBDIR += py-txi2p-tahoe
     SUBDIR += py-typechecks
     SUBDIR += py-typed-ast
     SUBDIR += py-typeguard
diff --git a/devel/py-txi2p-tahoe/Makefile b/devel/py-txi2p-tahoe/Makefile
new file mode 100644
index 000000000000..1941c3e8a389
--- /dev/null
+++ b/devel/py-txi2p-tahoe/Makefile
@@ -0,0 +1,24 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	txi2p-tahoe
+PORTVERSION=	0.3.5
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	I2P bindings for Twisted
+
+LICENSE=	ISCL
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}vcversioner>=1:devel/py-vcversioner@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}parsley>=1.2:devel/py-parsley@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}twisted>=15.4:devel/py-twisted@${PY_FLAVOR}
+
+USES=		python:3.7+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-txi2p-tahoe/distinfo b/devel/py-txi2p-tahoe/distinfo
new file mode 100644
index 000000000000..f9ba9229f7fa
--- /dev/null
+++ b/devel/py-txi2p-tahoe/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1654774042
+SHA256 (txi2p-tahoe-0.3.5.tar.gz) = c110a320aff1a8371966bd72cdc98e6cf071a02f5abffd0dea346bf807a57def
+SIZE (txi2p-tahoe-0.3.5.tar.gz) = 37422
diff --git a/devel/py-txi2p-tahoe/pkg-descr b/devel/py-txi2p-tahoe/pkg-descr
new file mode 100644
index 000000000000..12860e6b6638
--- /dev/null
+++ b/devel/py-txi2p-tahoe/pkg-descr
@@ -0,0 +1,8 @@
+This is a fork of txi2p, to help Tahoe-LAFS project to get unstuck in Python 3
+porting efforts.
+
+txi2p is a set of I2P bindings for Twisted.
+
+txi2p supports both the SAM and BOB APIs for I2P. The default API is SAM.
+
+WWW: https://github.com/str4d/txi2p