pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-testresources



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Apr 28 07:44:56 UTC 2025

Modified Files:
        pkgsrc/devel/py-testresources: Makefile PLIST distinfo

Log Message:
py-testresources: updated to 2.0.2

2.0.2

* add 3.12 and 3.13 to the supported python versions
* updated grammar
* provide a release tag 2.0.2
* Drop use of six
* Install pbr in CI
* Create python-package.yml
* Fix issues reported by ruff
* Refactor failIf to assertFalse for Python 3.12 Compatibility
* Use testtools to skip tests
* Use MutableSet collections.abc if available
* Add a TestResourceManager.id() API for letting test results report about a resource identity
* Fix minor spelling nit in README.md
* Update FSF address


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/py-testresources/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-testresources/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-testresources/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/py-testresources/Makefile
diff -u pkgsrc/devel/py-testresources/Makefile:1.11 pkgsrc/devel/py-testresources/Makefile:1.12
--- pkgsrc/devel/py-testresources/Makefile:1.11 Tue Mar  4 09:12:05 2025
+++ pkgsrc/devel/py-testresources/Makefile      Mon Apr 28 07:44:56 2025
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2025/03/04 09:12:05 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2025/04/28 07:44:56 adam Exp $
 
-DISTNAME=      testresources-2.0.1
+DISTNAME=      testresources-2.0.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=t/testresources/}
 
@@ -11,15 +10,13 @@ HOMEPAGE=   https://pypi.python.org/pypi/t
 COMMENT=       Pyunit extension for managing expensive test resources
 LICENSE=       apache-2.0 OR modified-bsd
 
-DEPENDS+=      ${PYPKGPREFIX}-pbr-[0-9]*:../../devel/py-pbr
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
+DEPENDS+=      ${PYPKGPREFIX}-pbr>=1.8:../../devel/py-pbr
+DEPENDS+=      ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
 DEPENDS+=      ${PYPKGPREFIX}-fixtures-[0-9]*:../../devel/py-fixtures
 DEPENDS+=      ${PYPKGPREFIX}-testtools-[0-9]*:../../devel/py-testtools
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
 PYTHON_VERSIONS_INCOMPATIBLE=  39 310 # py-sphinx via py-pbr
 
-do-test:
-       cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
-
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-testresources/PLIST
diff -u pkgsrc/devel/py-testresources/PLIST:1.1 pkgsrc/devel/py-testresources/PLIST:1.2
--- pkgsrc/devel/py-testresources/PLIST:1.1     Sun Mar  5 14:11:13 2017
+++ pkgsrc/devel/py-testresources/PLIST Mon Apr 28 07:44:56 2025
@@ -1,11 +1,11 @@
-@comment $NetBSD: PLIST,v 1.1 2017/03/05 14:11:13 wiz 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}/pbr.json
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.2 2025/04/28 07:44:56 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/AUTHORS
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/COPYING
+${PYSITELIB}/${WHEEL_INFODIR}/pbr.json
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/testresources/__init__.py
 ${PYSITELIB}/testresources/__init__.pyc
 ${PYSITELIB}/testresources/__init__.pyo

Index: pkgsrc/devel/py-testresources/distinfo
diff -u pkgsrc/devel/py-testresources/distinfo:1.3 pkgsrc/devel/py-testresources/distinfo:1.4
--- pkgsrc/devel/py-testresources/distinfo:1.3  Tue Oct 26 10:19:11 2021
+++ pkgsrc/devel/py-testresources/distinfo      Mon Apr 28 07:44:56 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 10:19:11 nia Exp $
+$NetBSD: distinfo,v 1.4 2025/04/28 07:44:56 adam Exp $
 
-BLAKE2s (testresources-2.0.1.tar.gz) = f9acad20d686e24b3a7f145108d91d38a3d4778a46152bebe447698e15e1e40b
-SHA512 (testresources-2.0.1.tar.gz) = 0b23432b019400fe378e957d14a91083eef7fe1130a494b567a5274d69e4e8e09ab75861e5453c3f217507e144cf179c908f84dd1a807992d4bee0b8d32cb0f4
-Size (testresources-2.0.1.tar.gz) = 41948 bytes
+BLAKE2s (testresources-2.0.2.tar.gz) = 77218a3c14d5b1b967e04bcaeab8761c83ea65a854f3e592b5ddefc33c1f296a
+SHA512 (testresources-2.0.2.tar.gz) = 3e7970830833f0a057488638e77af017ca337a736c27e1bd86c896e02174d8f52ad154a649ba3f5a32aac36e1e17b4cb63a6539fcdb19eedba2dba42a76adaf1
+Size (testresources-2.0.2.tar.gz) = 45057 bytes



Home | Main Index | Thread Index | Old Index