py-cachecontrol: updated to 0.14.0

v0.14.0

doc: improve the docs
chore: update install command for FileCache
serialize: simplify loading logic
pyproject: constrain msgpack < 2.0.0
Miscellaneous repo cleanup
update readme
FileCache.directory: explictly allow pathlib.Path
Add support for Python 3.12 and drop EOL 3.6
Fix document code case errors
Don't use the cache if the request has a Range header
This commit is contained in:
adam 2024-02-02 08:15:08 +00:00
parent 6855e1e408
commit 497b6c3b34
2 changed files with 7 additions and 11 deletions

View File

@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.15 2023/11/07 22:37:58 wiz Exp $
# $NetBSD: Makefile,v 1.16 2024/02/02 08:15:08 adam Exp $
DISTNAME= cachecontrol-0.13.1
DISTNAME= cachecontrol-0.14.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=C/CacheControl/}
@ -14,9 +13,9 @@ LICENSE= apache-2.0
TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core>=3.2:../../devel/py-flit_core
DEPENDS+= ${PYPKGPREFIX}-msgpack>=0.5.2:../../devel/py-msgpack
DEPENDS+= ${PYPKGPREFIX}-requests>=2.16.0:../../devel/py-requests
# optional
DEPENDS+= ${PYPKGPREFIX}-filelock>=3.8.0:../../devel/py-filelock
TEST_DEPENDS+= ${PYPKGPREFIX}-cherrypy>=0:../../www/py-cherrypy
TEST_DEPENDS+= ${PYPKGPREFIX}-test>=0:../../devel/py-test
USE_LANGUAGES= # none
@ -26,8 +25,5 @@ post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} doesitcache doesitcache-${PYVERSSUFFIX} || ${TRUE}
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"

View File

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.9 2023/06/08 10:09:52 adam Exp $
$NetBSD: distinfo,v 1.10 2024/02/02 08:15:08 adam Exp $
BLAKE2s (cachecontrol-0.13.1.tar.gz) = 3372c7c0639f89d0cd287fa51c2be184cc0cbabd3385597c4c808ae26d63da65
SHA512 (cachecontrol-0.13.1.tar.gz) = 9814e074f6b7adabc0d9601193128f247110303930178f3d5dfa6d992f679ed9144398a9b995320ea13e7abe95ea52aa910e5e3ec773b2245db9fc3fe08c9d76
Size (cachecontrol-0.13.1.tar.gz) = 29069 bytes
BLAKE2s (cachecontrol-0.14.0.tar.gz) = cdf6a6eeabf844a14757639570297ec897e43f8a1c827f7936575d4382fe0872
SHA512 (cachecontrol-0.14.0.tar.gz) = 4bb43475d43a2b83f9196cf02af7a881ab37da3b481777f1ae6b24df0f7dab54629fcdf9e07b00e1226a7707f5c92b0473481ef7cbbcaa4275665a41487c903f
Size (cachecontrol-0.14.0.tar.gz) = 28899 bytes