pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-dogpile-cache



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Jan 12 11:55:50 UTC 2024

Modified Files:
        pkgsrc/devel/py-dogpile-cache: Makefile PLIST distinfo

Log Message:
py-dogpile-cache: updated to 1.3.0

1.3.0

feature

Added new method CacheRegion.get_value_metadata() which can be used to get a value from the cache along with its metadata, including timestamp of when the value was cached. The CachedValue object is 
returned which features new accessors to retrieve cached time and current age. Pull request courtesy Grégoire Deveaux.

misc

Minimum Python version is now Python 3.8; prior versions Python 3.7 and 3.6 are EOL.
Project setup is now based on pep-621 pyproject.toml configuration.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/devel/py-dogpile-cache/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-dogpile-cache/PLIST
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/py-dogpile-cache/distinfo

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-dogpile-cache/Makefile
diff -u pkgsrc/devel/py-dogpile-cache/Makefile:1.14 pkgsrc/devel/py-dogpile-cache/Makefile:1.15
--- pkgsrc/devel/py-dogpile-cache/Makefile:1.14 Tue Nov  7 22:37:59 2023
+++ pkgsrc/devel/py-dogpile-cache/Makefile      Fri Jan 12 11:55:50 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.14 2023/11/07 22:37:59 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2024/01/12 11:55:50 adam Exp $
 
-DISTNAME=      dogpile.cache-1.2.2
+DISTNAME=      dogpile.cache-1.3.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/./-/}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=d/dogpile.cache/}
@@ -10,17 +10,16 @@ HOMEPAGE=   https://bitbucket.org/zzzeek/d
 COMMENT=       Caching front-end based on the Dogpile lock
 LICENSE=       modified-bsd
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=61.2:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 DEPENDS+=      ${PYPKGPREFIX}-decorator>=4.0.0:../../devel/py-decorator
 DEPENDS+=      ${PYPKGPREFIX}-stevedore>=3.0.0:../../devel/py-stevedore
 TEST_DEPENDS+= ${PYPKGPREFIX}-mako-[0-9]*:../../devel/py-mako
 TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
-#TEST_DEPENDS+=        ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 
 USE_LANGUAGES= # none
 
-#PYSETUPTESTTARGET=    pytest
-
 PYTHON_VERSIONS_INCOMPATIBLE=  27 38
 
 .include "../../lang/python/pyversion.mk"
@@ -28,8 +27,5 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27 38
 DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=4.0.1:../../devel/py-typing-extensions
 .endif
 
-do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
-
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-dogpile-cache/PLIST
diff -u pkgsrc/devel/py-dogpile-cache/PLIST:1.4 pkgsrc/devel/py-dogpile-cache/PLIST:1.5
--- pkgsrc/devel/py-dogpile-cache/PLIST:1.4     Mon Jul 10 12:59:00 2023
+++ pkgsrc/devel/py-dogpile-cache/PLIST Fri Jan 12 11:55:50 2024
@@ -1,11 +1,10 @@
-@comment $NetBSD: PLIST,v 1.4 2023/07/10 12:59:00 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.5 2024/01/12 11:55:50 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/dogpile/__init__.py
 ${PYSITELIB}/dogpile/__init__.pyc
 ${PYSITELIB}/dogpile/__init__.pyo
@@ -58,6 +57,15 @@ ${PYSITELIB}/dogpile/lock.py
 ${PYSITELIB}/dogpile/lock.pyc
 ${PYSITELIB}/dogpile/lock.pyo
 ${PYSITELIB}/dogpile/py.typed
+${PYSITELIB}/dogpile/testing/__init__.py
+${PYSITELIB}/dogpile/testing/__init__.pyc
+${PYSITELIB}/dogpile/testing/__init__.pyo
+${PYSITELIB}/dogpile/testing/assertions.py
+${PYSITELIB}/dogpile/testing/assertions.pyc
+${PYSITELIB}/dogpile/testing/assertions.pyo
+${PYSITELIB}/dogpile/testing/fixtures.py
+${PYSITELIB}/dogpile/testing/fixtures.pyc
+${PYSITELIB}/dogpile/testing/fixtures.pyo
 ${PYSITELIB}/dogpile/util/__init__.py
 ${PYSITELIB}/dogpile/util/__init__.pyc
 ${PYSITELIB}/dogpile/util/__init__.pyo

Index: pkgsrc/devel/py-dogpile-cache/distinfo
diff -u pkgsrc/devel/py-dogpile-cache/distinfo:1.13 pkgsrc/devel/py-dogpile-cache/distinfo:1.14
--- pkgsrc/devel/py-dogpile-cache/distinfo:1.13 Mon Jul 10 12:59:00 2023
+++ pkgsrc/devel/py-dogpile-cache/distinfo      Fri Jan 12 11:55:50 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.13 2023/07/10 12:59:00 adam Exp $
+$NetBSD: distinfo,v 1.14 2024/01/12 11:55:50 adam Exp $
 
-BLAKE2s (dogpile.cache-1.2.2.tar.gz) = 5dccf364f84dc935bff2dc983014dc3a4c61c674cf8486e6d6a45084fb861da5
-SHA512 (dogpile.cache-1.2.2.tar.gz) = 23b078b79e4b1f87c8d397d35b772f0b5fee66a0e452de06e7644ecb1ef577ae1629307a0e32fa62f49d536f95fb62fe70ededeb43647fa0c2e0baf896261931
-Size (dogpile.cache-1.2.2.tar.gz) = 263102 bytes
+BLAKE2s (dogpile.cache-1.3.0.tar.gz) = 22372edf55e3afc42f5f8f703c907c4e91210492268e26886671a96ef8f69e69
+SHA512 (dogpile.cache-1.3.0.tar.gz) = fb00e114b2107d4ee27d699c62581554758f9ff2121ccade8f5c5aee5240adc0c6a1ae734f5d64b06f25493bfe19c40cffe1393d361be484433baaec74791b5a
+Size (dogpile.cache-1.3.0.tar.gz) = 265984 bytes



Home | Main Index | Thread Index | Old Index