pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel py-backports.cached-property: added version 1.0.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/3b6095203bff
branches: trunk
changeset: 769120:3b6095203bff
user: adam <adam%pkgsrc.org@localhost>
date: Mon Nov 08 12:27:36 2021 +0000
description:
py-backports.cached-property: added version 1.0.1
Python 3.8 adds great descriptor to functools: cached_property. Technically all
required APIs was available since python 3.6, but it is what it is.
This package is a backport of this functionality for python 3.6 and 3.7.
diffstat:
devel/Makefile | 3 ++-
devel/py-backports.cached-property/DESCR | 4 ++++
devel/py-backports.cached-property/Makefile | 24 ++++++++++++++++++++++++
devel/py-backports.cached-property/PLIST | 12 ++++++++++++
devel/py-backports.cached-property/distinfo | 5 +++++
5 files changed, 47 insertions(+), 1 deletions(-)
diffs (78 lines):
diff -r 93583f30a38e -r 3b6095203bff devel/Makefile
--- a/devel/Makefile Mon Nov 08 12:00:18 2021 +0000
+++ b/devel/Makefile Mon Nov 08 12:27:36 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3504 2021/11/04 17:12:38 bsiegert Exp $
+# $NetBSD: Makefile,v 1.3505 2021/11/08 12:27:36 adam Exp $
#
COMMENT= Development utilities
@@ -2181,6 +2181,7 @@
SUBDIR+= py-babel
SUBDIR+= py-backcall
SUBDIR+= py-backports
+SUBDIR+= py-backports.cached-property
SUBDIR+= py-backports.functools_lru_cache
SUBDIR+= py-backports.os
SUBDIR+= py-backports.shutil_get_terminal_size
diff -r 93583f30a38e -r 3b6095203bff devel/py-backports.cached-property/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-backports.cached-property/DESCR Mon Nov 08 12:27:36 2021 +0000
@@ -0,0 +1,4 @@
+Python 3.8 adds great descriptor to functools: cached_property. Technically all
+required APIs was available since python 3.6, but it is what it is.
+
+This package is a backport of this functionality for python 3.6 and 3.7.
diff -r 93583f30a38e -r 3b6095203bff devel/py-backports.cached-property/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-backports.cached-property/Makefile Mon Nov 08 12:27:36 2021 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2021/11/08 12:27:36 adam Exp $
+
+DISTNAME= backports.cached-property-1.0.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=b/backports.cached-property/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/penguinolog/backports.cached_property
+COMMENT= Backport functools cached_property
+LICENSE= mit
+
+BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+BUILD_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+DEPENDS+= ${PYPKGPREFIX}-backports>=1.0nb2:../../devel/py-backports
+
+PYTHON_VERSIONS_ACCEPTED= 37 36 # included in Python 3.8+
+
+post-install:
+ ${RM} -f -r ${DESTDIR}${PREFIX}/${PYSITELIB}/backports/__init__.*
+ ${RM} -f -r ${DESTDIR}${PREFIX}/${PYSITELIB}/backports/__pycache__/__init__.*
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 93583f30a38e -r 3b6095203bff devel/py-backports.cached-property/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-backports.cached-property/PLIST Mon Nov 08 12:27:36 2021 +0000
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1 2021/11/08 12:27:36 adam 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}/backports/cached_property/__init__.py
+${PYSITELIB}/backports/cached_property/__init__.pyc
+${PYSITELIB}/backports/cached_property/__init__.pyi
+${PYSITELIB}/backports/cached_property/__init__.pyo
+${PYSITELIB}/backports/cached_property/py.typed
diff -r 93583f30a38e -r 3b6095203bff devel/py-backports.cached-property/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-backports.cached-property/distinfo Mon Nov 08 12:27:36 2021 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2021/11/08 12:27:36 adam Exp $
+
+BLAKE2s (backports.cached-property-1.0.1.tar.gz) = fec0d19b13cd161ef53433ac44f4f101053ef0473b317b347b8e56708f3f31ba
+SHA512 (backports.cached-property-1.0.1.tar.gz) = 2751bed957408a3d27f4b8419dc910f88d4045493886e9561b4e2b8e425b0532da1e142c848b98e4cfc93c99b559fef465fb0b648f5636eb725da5e49d2d9a59
+Size (backports.cached-property-1.0.1.tar.gz) = 7430 bytes
Home |
Main Index |
Thread Index |
Old Index