pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-cachecontrol



Module Name:    pkgsrc
Committed By:   leot
Date:           Wed Oct  7 20:08:59 UTC 2020

Modified Files:
        pkgsrc/devel/py-cachecontrol: Makefile PLIST
Added Files:
        pkgsrc/devel/py-cachecontrol: ALTERNATIVES

Log Message:
py-cachecontrol: Install "versioned" doesitcache

Possible multiple version of py-cachecontrol can now peacefully coexist.

Discussed with <schmonz>.

PKGREVISION++


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-cachecontrol/ALTERNATIVES
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-cachecontrol/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-cachecontrol/PLIST

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-cachecontrol/Makefile
diff -u pkgsrc/devel/py-cachecontrol/Makefile:1.2 pkgsrc/devel/py-cachecontrol/Makefile:1.3
--- pkgsrc/devel/py-cachecontrol/Makefile:1.2   Wed Oct  7 20:04:08 2020
+++ pkgsrc/devel/py-cachecontrol/Makefile       Wed Oct  7 20:08:58 2020
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2020/10/07 20:04:08 leot Exp $
+# $NetBSD: Makefile,v 1.3 2020/10/07 20:08:58 leot Exp $
 
 DISTNAME=      CacheControl-0.12.6
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
+PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=C/CacheControl/}
 
@@ -15,5 +16,8 @@ DEPENDS+=     ${PYPKGPREFIX}-msgpack>=0.5.2:
 
 USE_LANGUAGES= # none
 
+post-install:
+       ${MV} ${DESTDIR}${PREFIX}/bin/doesitcache ${DESTDIR}${PREFIX}/bin/doesitcache${PYVERSSUFFIX} || ${TRUE}
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-cachecontrol/PLIST
diff -u pkgsrc/devel/py-cachecontrol/PLIST:1.1 pkgsrc/devel/py-cachecontrol/PLIST:1.2
--- pkgsrc/devel/py-cachecontrol/PLIST:1.1      Wed Oct  7 19:44:52 2020
+++ pkgsrc/devel/py-cachecontrol/PLIST  Wed Oct  7 20:08:58 2020
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2020/10/07 19:44:52 schmonz Exp $
-bin/doesitcache
+@comment $NetBSD: PLIST,v 1.2 2020/10/07 20:08:58 leot Exp $
+bin/doesitcache${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt

Added files:

Index: pkgsrc/devel/py-cachecontrol/ALTERNATIVES
diff -u /dev/null pkgsrc/devel/py-cachecontrol/ALTERNATIVES:1.1
--- /dev/null   Wed Oct  7 20:08:59 2020
+++ pkgsrc/devel/py-cachecontrol/ALTERNATIVES   Wed Oct  7 20:08:58 2020
@@ -0,0 +1 @@
+bin/doesitcache @PREFIX@/bin/doesitcache@PYVERSSUFFIX@



Home | Main Index | Thread Index | Old Index