pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-propcache



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Oct 10 06:35:58 UTC 2024

Added Files:
        pkgsrc/devel/py-propcache: DESCR Makefile PLIST distinfo

Log Message:
devel/py-propcache: import py-propcache-0.2.0

The module provides a fast implementation of cached properties for
Python 3.8+.

The API is designed to be nearly identical to the built-in
``functools.cached_property`` class, except for the additional
``under_cached_property`` class which uses ``self._cache`` instead
of ``self.__dict__`` to store the cached values and prevents
``__set__`` from being called.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-propcache/DESCR \
    pkgsrc/devel/py-propcache/Makefile pkgsrc/devel/py-propcache/PLIST \
    pkgsrc/devel/py-propcache/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/py-propcache/DESCR
diff -u /dev/null pkgsrc/devel/py-propcache/DESCR:1.1
--- /dev/null   Thu Oct 10 06:35:58 2024
+++ pkgsrc/devel/py-propcache/DESCR     Thu Oct 10 06:35:58 2024
@@ -0,0 +1,8 @@
+The module provides a fast implementation of cached properties for
+Python 3.8+.
+
+The API is designed to be nearly identical to the built-in
+``functools.cached_property`` class, except for the additional
+``under_cached_property`` class which uses ``self._cache`` instead
+of ``self.__dict__`` to store the cached values and prevents
+``__set__`` from being called.
Index: pkgsrc/devel/py-propcache/Makefile
diff -u /dev/null pkgsrc/devel/py-propcache/Makefile:1.1
--- /dev/null   Thu Oct 10 06:35:58 2024
+++ pkgsrc/devel/py-propcache/Makefile  Thu Oct 10 06:35:58 2024
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2024/10/10 06:35:58 wiz Exp $
+
+DISTNAME=      propcache-0.2.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/propcache/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/aio-libs/propcache
+COMMENT=       Accelerated property cache
+LICENSE=       apache-2.0
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-cython-[0-9]*:../../devel/py-cython
+DEPENDS+=      ${PYPKGPREFIX}-expandvars-[0-9]*:../../misc/py-expandvars
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-covdefaults-[0-9]*:../../devel/py-covdefaults
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist-[0-9]*:../../devel/py-test-xdist
+
+USE_LANGUAGES= c
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-propcache/PLIST
diff -u /dev/null pkgsrc/devel/py-propcache/PLIST:1.1
--- /dev/null   Thu Oct 10 06:35:58 2024
+++ pkgsrc/devel/py-propcache/PLIST     Thu Oct 10 06:35:58 2024
@@ -0,0 +1,22 @@
+@comment $NetBSD: PLIST,v 1.1 2024/10/10 06:35:58 wiz Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/NOTICE
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/propcache/__init__.py
+${PYSITELIB}/propcache/__init__.pyc
+${PYSITELIB}/propcache/__init__.pyo
+${PYSITELIB}/propcache/_helpers.py
+${PYSITELIB}/propcache/_helpers.pyc
+${PYSITELIB}/propcache/_helpers.pyo
+${PYSITELIB}/propcache/_helpers_c.pyx
+${PYSITELIB}/propcache/_helpers_c.so
+${PYSITELIB}/propcache/_helpers_py.py
+${PYSITELIB}/propcache/_helpers_py.pyc
+${PYSITELIB}/propcache/_helpers_py.pyo
+${PYSITELIB}/propcache/api.py
+${PYSITELIB}/propcache/api.pyc
+${PYSITELIB}/propcache/api.pyo
+${PYSITELIB}/propcache/py.typed
Index: pkgsrc/devel/py-propcache/distinfo
diff -u /dev/null pkgsrc/devel/py-propcache/distinfo:1.1
--- /dev/null   Thu Oct 10 06:35:58 2024
+++ pkgsrc/devel/py-propcache/distinfo  Thu Oct 10 06:35:58 2024
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2024/10/10 06:35:58 wiz Exp $
+
+BLAKE2s (propcache-0.2.0.tar.gz) = c3b09bce7d0a691d6fecef191cd8b5b9ab28592a0a79bbe754201768588df0b4
+SHA512 (propcache-0.2.0.tar.gz) = f99838627652ab13919d7f516530a91565a737fc411d728cad1492ce0ed44f25b0cefbdb6fa49b2ef516e7fee120e7c49686b6853691c5cd02f5f7db9a15d998
+Size (propcache-0.2.0.tar.gz) = 40951 bytes



Home | Main Index | Thread Index | Old Index