summaryrefslogtreecommitdiff
path: root/devel/py-dulwich/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-dulwich/Makefile')
-rw-r--r--devel/py-dulwich/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/devel/py-dulwich/Makefile b/devel/py-dulwich/Makefile
index 775040b5544c..9ba295e01484 100644
--- a/devel/py-dulwich/Makefile
+++ b/devel/py-dulwich/Makefile
@@ -1,6 +1,6 @@
PORTNAME= dulwich
-PORTVERSION= 0.22.8
-PORTREVISION= 4
+PORTVERSION= 0.24.1
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -24,7 +24,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fastimport>=0:devel/py-fastimport@${PY_FLAV
${PYTHON_PKGNAMEPREFIX}geventhttpclient>=0:devel/py-geventhttpclient@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools>=17.1:devel/py-setuptools@${PY_FLAVOR}
-USES= cargo cpe python:3.9+ shebangfix
+USES= cargo cpe python shebangfix
USE_PYTHON= autoplist concurrent pep517 unittest
CARGO_BUILD= no
@@ -41,6 +41,12 @@ PARAMIKO_DESC= SSH2 support
FASTIMPORT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fastimport>=0:devel/py-fastimport@${PY_FLAVOR}
PARAMIKO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}paramiko>=0:security/py-paramiko@${PY_FLAVOR}
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 31100
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.0:devel/py-typing-extensions@${PY_FLAVOR}
+.endif
+
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
@@ -52,4 +58,4 @@ post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/examples/*.py ${STAGEDIR}${EXAMPLESDIR}/
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>