0b7fddb181
Version 0.2.0 Support for Python 2 has been dropped. Only Python 3.6 and above are supported. Fix FileSystemCache.set incorrectly considering value overrides on existing keys as new cache entries. SimpleCache and FileSystemCache first remove expired entries, followed by older entries, when cleaning up. Fix problem where file count was not being updated in FileSystemCache.get and FileSystemCache.has after removals. When attempting to access non-existent entries with Memcached, these will now be initialized with a given value delta.
25 lines
790 B
Makefile
25 lines
790 B
Makefile
# $NetBSD: Makefile,v 1.3 2021/08/05 13:23:15 adam Exp $
|
|
|
|
DISTNAME= cachelib-0.2.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=c/cachelib/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/pallets/cachelib
|
|
COMMENT= Collection of cache libraries in the same API interface
|
|
LICENSE= modified-bsd
|
|
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-redis>=3.5.3:../../databases/py-redis
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test>=6.2.4:../../devel/py-test
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-xprocess>=0.17.1:../../devel/py-test-xprocess
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-uwsgi>=2.0.19.1:../../www/py-uwsgi
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
PYSETUPTESTTARGET= pytest
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|