summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2021-03-22 11:03:27 +0000
committermarkd <markd@pkgsrc.org>2021-03-22 11:03:27 +0000
commit50d5589ec384c082f9aa98278c84ce27c066db7c (patch)
tree600766d4b6d8a6b290befd5cdf32bdc3b35c11c9 /devel
parent038f9556c1401e5fb5198a68e47316e280947149 (diff)
downloadpkgsrc-50d5589ec384c082f9aa98278c84ce27c066db7c.tar.gz
py-gitdb: allow use of py-smmap>=4
Diffstat (limited to 'devel')
-rw-r--r--devel/py-gitdb/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/py-gitdb/Makefile b/devel/py-gitdb/Makefile
index 5a83df33fff..79175255952 100644
--- a/devel/py-gitdb/Makefile
+++ b/devel/py-gitdb/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2020/09/25 08:28:26 adam Exp $
+# $NetBSD: Makefile,v 1.3 2021/03/22 11:03:27 markd Exp $
DISTNAME= gitdb-4.0.5
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=g/gitdb/}
@@ -12,6 +13,12 @@ LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-smmap-[0-9]*:../../devel/py-smmap
+# No reason to restrict this to smmap<4 (no significant changes in API).
+SUBST_CLASSES+= deps
+SUBST_FILES.deps= ${DESTDIR}${PREFIX}/${PYSITELIB}/${EGG_INFODIR}/requires.txt
+SUBST_SED.deps= -e 's:smmap<4,:smmap:'
+SUBST_STAGE.deps= post-install
+
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27