pkgsrc/devel/py-cachecontrol/Makefile
leot e004cb9a2d py-cachecontrol: Install "versioned" doesitcache
Possible multiple version of py-cachecontrol can now peacefully coexist.

Discussed with <schmonz>.

PKGREVISION++
2020-10-07 20:08:58 +00:00

23 lines
709 B
Makefile

# $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/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/ionrock/cachecontrol
COMMENT= Port of httplib2's caching to requests
LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-requests>=0:../../devel/py-requests
DEPENDS+= ${PYPKGPREFIX}-msgpack>=0.5.2:../../devel/py-msgpack
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"