pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Nov  8 12:27:36 UTC 2021

Modified Files:
        pkgsrc/devel: Makefile
Added Files:
        pkgsrc/devel/py-backports.cached-property: DESCR Makefile PLIST
            distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.3504 -r1.3505 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-backports.cached-property/DESCR \
    pkgsrc/devel/py-backports.cached-property/Makefile \
    pkgsrc/devel/py-backports.cached-property/PLIST \
    pkgsrc/devel/py-backports.cached-property/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/Makefile
diff -u pkgsrc/devel/Makefile:1.3504 pkgsrc/devel/Makefile:1.3505
--- pkgsrc/devel/Makefile:1.3504        Thu Nov  4 17:12:38 2021
+++ pkgsrc/devel/Makefile       Mon Nov  8 12:27:36 2021
@@ -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-autopep8
 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

Added files:

Index: pkgsrc/devel/py-backports.cached-property/DESCR
diff -u /dev/null pkgsrc/devel/py-backports.cached-property/DESCR:1.1
--- /dev/null   Mon Nov  8 12:27:36 2021
+++ pkgsrc/devel/py-backports.cached-property/DESCR     Mon Nov  8 12:27:36 2021
@@ -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.
Index: pkgsrc/devel/py-backports.cached-property/Makefile
diff -u /dev/null pkgsrc/devel/py-backports.cached-property/Makefile:1.1
--- /dev/null   Mon Nov  8 12:27:36 2021
+++ pkgsrc/devel/py-backports.cached-property/Makefile  Mon Nov  8 12:27:36 2021
@@ -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"
Index: pkgsrc/devel/py-backports.cached-property/PLIST
diff -u /dev/null pkgsrc/devel/py-backports.cached-property/PLIST:1.1
--- /dev/null   Mon Nov  8 12:27:36 2021
+++ pkgsrc/devel/py-backports.cached-property/PLIST     Mon Nov  8 12:27:36 2021
@@ -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
Index: pkgsrc/devel/py-backports.cached-property/distinfo
diff -u /dev/null pkgsrc/devel/py-backports.cached-property/distinfo:1.1
--- /dev/null   Mon Nov  8 12:27:36 2021
+++ pkgsrc/devel/py-backports.cached-property/distinfo  Mon Nov  8 12:27:36 2021
@@ -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