pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-gitdb py-gitdb: allow use of py-smmap>=4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/09e451c8c86b
branches:  trunk
changeset: 449224:09e451c8c86b
user:      markd <markd%pkgsrc.org@localhost>
date:      Mon Mar 22 11:03:27 2021 +0000

description:
py-gitdb: allow use of py-smmap>=4

diffstat:

 devel/py-gitdb/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 04172ee6c312 -r 09e451c8c86b devel/py-gitdb/Makefile
--- a/devel/py-gitdb/Makefile   Mon Mar 22 10:51:14 2021 +0000
+++ b/devel/py-gitdb/Makefile   Mon Mar 22 11:03:27 2021 +0000
@@ -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 @@
 
 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



Home | Main Index | Thread Index | Old Index