aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-01-30 12:20:56 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-01-30 12:58:45 +0000
commitdd64157e735ec4b66ce5be77c37552ba92326c58 (patch)
treed1188cd20c2a6209eee7543345d2e6511b2c2d70
parentc72cac2c45de100b56ef07f2d3eac64c909045aa (diff)
downloadports-dd64157e735ec4b66ce5be77c37552ba92326c58.tar.gz
ports-dd64157e735ec4b66ce5be77c37552ba92326c58.zip
devel/py-dulwich020: Add py-dulwich020 0.20.50
This is the Dulwich project. It aims to provide an interface to git repos (both local and remote) that doesn't call out to git directly but instead uses pure Python.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-dulwich020/Makefile30
-rw-r--r--devel/py-dulwich020/distinfo3
-rw-r--r--devel/py-dulwich020/pkg-descr4
4 files changed, 38 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 240b22def4f0..34c1d095e7bb 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4518,6 +4518,7 @@
SUBDIR += py-dpcontracts
SUBDIR += py-dtfabric
SUBDIR += py-dulwich
+ SUBDIR += py-dulwich020
SUBDIR += py-dunamai
SUBDIR += py-durus
SUBDIR += py-dynrules
diff --git a/devel/py-dulwich020/Makefile b/devel/py-dulwich020/Makefile
new file mode 100644
index 000000000000..fd9c7518b3af
--- /dev/null
+++ b/devel/py-dulwich020/Makefile
@@ -0,0 +1,30 @@
+PORTNAME= dulwich
+PORTVERSION= 0.20.50
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+PKGNAMESUFFIX= 020
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Python Git Library
+WWW= https://www.dulwich.io/ \
+ https://github.com/jelmer/dulwich
+
+LICENSE= APACHE20 GPLv2+
+LICENSE_COMB= dual
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}urllib3>=1.25,1:net/py-urllib3@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fastimport>=0:devel/py-fastimport@${PY_FLAVOR}
+
+USES= cpe python:3.6+
+USE_PYTHON= autoplist concurrent distutils
+
+CPE_VENDOR= dulwich_project
+
+PORTSCOUT= limit:^0\.20\.
+
+post-install:
+ ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
+
+.include <bsd.port.mk>
diff --git a/devel/py-dulwich020/distinfo b/devel/py-dulwich020/distinfo
new file mode 100644
index 000000000000..7f25c6fbdc1f
--- /dev/null
+++ b/devel/py-dulwich020/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1674588046
+SHA256 (dulwich-0.20.50.tar.gz) = 50a941796b2c675be39be728d540c16b5b7ce77eb9e1b3f855650ece6832d2be
+SIZE (dulwich-0.20.50.tar.gz) = 430389
diff --git a/devel/py-dulwich020/pkg-descr b/devel/py-dulwich020/pkg-descr
new file mode 100644
index 000000000000..02b40d95f084
--- /dev/null
+++ b/devel/py-dulwich020/pkg-descr
@@ -0,0 +1,4 @@
+This is the Dulwich project.
+
+It aims to provide an interface to git repos (both local and remote) that
+doesn't call out to git directly but instead uses pure Python.