pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel py-deprecated: added version 1.2.13



details:   https://anonhg.NetBSD.org/pkgsrc/rev/83834f51c26f
branches:  trunk
changeset: 371475:83834f51c26f
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Jan 10 17:39:52 2022 +0000

description:
py-deprecated: added version 1.2.13

Python @deprecated decorator to deprecate old python classes, functions or
methods.

diffstat:

 devel/Makefile               |   3 ++-
 devel/py-deprecated/DESCR    |   2 ++
 devel/py-deprecated/Makefile |  24 ++++++++++++++++++++++++
 devel/py-deprecated/PLIST    |  16 ++++++++++++++++
 devel/py-deprecated/distinfo |   5 +++++
 5 files changed, 49 insertions(+), 1 deletions(-)

diffs (80 lines):

diff -r a00833a2178d -r 83834f51c26f devel/Makefile
--- a/devel/Makefile    Mon Jan 10 17:28:44 2022 +0000
+++ b/devel/Makefile    Mon Jan 10 17:39:52 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3543 2022/01/10 07:42:00 wiz Exp $
+# $NetBSD: Makefile,v 1.3544 2022/01/10 17:39:52 adam Exp $
 #
 
 COMMENT=       Development utilities
@@ -2271,6 +2271,7 @@
 SUBDIR+=       py-ddt
 SUBDIR+=       py-decorator
 SUBDIR+=       py-deepstate
+SUBDIR+=       py-deprecated
 SUBDIR+=       py-deprecation
 SUBDIR+=       py-dialog
 SUBDIR+=       py-dict2xml
diff -r a00833a2178d -r 83834f51c26f devel/py-deprecated/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-deprecated/DESCR Mon Jan 10 17:39:52 2022 +0000
@@ -0,0 +1,2 @@
+Python @deprecated decorator to deprecate old python classes, functions or
+methods.
diff -r a00833a2178d -r 83834f51c26f devel/py-deprecated/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-deprecated/Makefile      Mon Jan 10 17:39:52 2022 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2022/01/10 17:39:52 adam Exp $
+
+DISTNAME=      Deprecated-1.2.13
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=d/deprecated/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/tantale/deprecated
+COMMENT=       Python decorator to deprecate old python classes, functions or methods
+LICENSE=       mit
+
+DEPENDS+=      ${PYPKGPREFIX}-wrapt>=1.10:../../devel/py-wrapt
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONED_DEPENDENCIES= test:test
+
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
+
+.include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r a00833a2178d -r 83834f51c26f devel/py-deprecated/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-deprecated/PLIST Mon Jan 10 17:39:52 2022 +0000
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1 2022/01/10 17:39:52 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/deprecated/__init__.py
+${PYSITELIB}/deprecated/__init__.pyc
+${PYSITELIB}/deprecated/__init__.pyo
+${PYSITELIB}/deprecated/classic.py
+${PYSITELIB}/deprecated/classic.pyc
+${PYSITELIB}/deprecated/classic.pyo
+${PYSITELIB}/deprecated/sphinx.py
+${PYSITELIB}/deprecated/sphinx.pyc
+${PYSITELIB}/deprecated/sphinx.pyo
diff -r a00833a2178d -r 83834f51c26f devel/py-deprecated/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-deprecated/distinfo      Mon Jan 10 17:39:52 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/01/10 17:39:52 adam Exp $
+
+BLAKE2s (Deprecated-1.2.13.tar.gz) = 530fc01551672975da8c121b5ef3382a82d4fe860043d9e6731a971f95cd0772
+SHA512 (Deprecated-1.2.13.tar.gz) = 2b713f942465e46e9f7d70b18bb4f1ce15d8e388f06c6fd7e009921b4fa68c9d71e296f6cb1ac195ef7e73707c1bb6a01d923c12f11d7b73356eb022982abf4d
+Size (Deprecated-1.2.13.tar.gz) = 2974598 bytes



Home | Main Index | Thread Index | Old Index