git: dd64157e735e - main - devel/py-dulwich020: Add py-dulwich020 0.20.50
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 30 Jan 2023 13:04:36 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=dd64157e735ec4b66ce5be77c37552ba92326c58
commit dd64157e735ec4b66ce5be77c37552ba92326c58
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-01-30 12:20:56 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-01-30 12:58:45 +0000
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.
---
devel/Makefile | 1 +
devel/py-dulwich020/Makefile | 30 ++++++++++++++++++++++++++++++
devel/py-dulwich020/distinfo | 3 +++
devel/py-dulwich020/pkg-descr | 4 ++++
4 files changed, 38 insertions(+)
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.