pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-expiringdict devel/py-expiringdict: import py...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d5bf526fcfa9
branches:  trunk
changeset: 383906:d5bf526fcfa9
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Aug 24 10:17:19 2022 +0000

description:
devel/py-expiringdict: import py-expiringdict-1.2.2

expiringdict is a Python caching library. The core of the library
is ExpiringDict class which is an ordered dictionary with auto-expiring
values for caching purposes. Expiration happens on any access,
object is locked during cleanup from expired values. ExpiringDict
can not store more than `max_len` elements - the oldest will be
deleted.

diffstat:

 devel/py-expiringdict/DESCR    |   6 ++++++
 devel/py-expiringdict/Makefile |  24 ++++++++++++++++++++++++
 devel/py-expiringdict/PLIST    |  10 ++++++++++
 devel/py-expiringdict/distinfo |   5 +++++
 4 files changed, 45 insertions(+), 0 deletions(-)

diffs (61 lines):

diff -r 1b9162e1921a -r d5bf526fcfa9 devel/py-expiringdict/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-expiringdict/DESCR       Wed Aug 24 10:17:19 2022 +0000
@@ -0,0 +1,6 @@
+expiringdict is a Python caching library. The core of the library
+is ExpiringDict class which is an ordered dictionary with auto-expiring
+values for caching purposes. Expiration happens on any access,
+object is locked during cleanup from expired values. ExpiringDict
+can not store more than `max_len` elements - the oldest will be
+deleted.
diff -r 1b9162e1921a -r d5bf526fcfa9 devel/py-expiringdict/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-expiringdict/Makefile    Wed Aug 24 10:17:19 2022 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2022/08/24 10:17:19 wiz Exp $
+
+DISTNAME=      expiringdict-1.2.2
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=e/expiringdict/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://www.mailgun.com/
+COMMENT=       Dictionary with auto-expiring values for caching purposes
+LICENSE=       apache-2.0
+
+TEST_DEPENDS+= ${PYPKGPREFIX}-dill>=0:../../textproc/py-dill
+TEST_DEPENDS+= ${PYPKGPREFIX}-coverage>=0:../../devel/py-coverage
+TEST_DEPENDS+= ${PYPKGPREFIX}-coveralls>=3:../../wip/py-coveralls
+TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=0:../../devel/py-mock
+TEST_DEPENDS+= ${PYPKGPREFIX}-nose>=0:../../devel/py-nose
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 1b9162e1921a -r d5bf526fcfa9 devel/py-expiringdict/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-expiringdict/PLIST       Wed Aug 24 10:17:19 2022 +0000
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2022/08/24 10:17:19 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${EGG_INFODIR}/zip-safe
+${PYSITELIB}/expiringdict/__init__.py
+${PYSITELIB}/expiringdict/__init__.pyc
+${PYSITELIB}/expiringdict/__init__.pyo
diff -r 1b9162e1921a -r d5bf526fcfa9 devel/py-expiringdict/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-expiringdict/distinfo    Wed Aug 24 10:17:19 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/08/24 10:17:19 wiz Exp $
+
+BLAKE2s (expiringdict-1.2.2.tar.gz) = 019d4f85672487a3c6f3451a5a421f77baca6518aa804b003a81b022b0025efe
+SHA512 (expiringdict-1.2.2.tar.gz) = 7c56642d1bb403520b6fe47b0ba3f05de464deab64e4783cc281c87fb9751e80a371d5b54485e51ff056eca5aa83b62f13b47d3e30fd6d8b23dd60b67759ac45
+Size (expiringdict-1.2.2.tar.gz) = 8137 bytes



Home | Main Index | Thread Index | Old Index