pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-gitdb



Module Name:    pkgsrc
Committed By:   markd
Date:           Mon Mar 22 11:03:27 UTC 2021

Modified Files:
        pkgsrc/devel/py-gitdb: Makefile

Log Message:
py-gitdb: allow use of py-smmap>=4


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-gitdb/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-gitdb/Makefile
diff -u pkgsrc/devel/py-gitdb/Makefile:1.2 pkgsrc/devel/py-gitdb/Makefile:1.3
--- pkgsrc/devel/py-gitdb/Makefile:1.2  Fri Sep 25 08:28:26 2020
+++ pkgsrc/devel/py-gitdb/Makefile      Mon Mar 22 11:03:27 2021
@@ -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



Home | Main Index | Thread Index | Old Index