pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-testtools



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Dec 11 17:16:19 UTC 2023

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

Log Message:
py-testtools: updated to 2.7.1

2.7.1

Improvements

* Remove various unused imports.
* Fix build backend. This should prevent version from being set to 0.0.0
  when building wheels.

2.7.0

Improvements

* Fix compatibility with Python 3.12.
* Add typing in various modules (still lacking full coverage).
* Drop the 'test' command for distutils. This has been
  deprecated since 2.6.0.
* Drop support for Python 3.6.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/devel/py-testtools/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/py-testtools/PLIST
cvs rdiff -u -r1.17 -r1.18 pkgsrc/devel/py-testtools/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-testtools/Makefile
diff -u pkgsrc/devel/py-testtools/Makefile:1.24 pkgsrc/devel/py-testtools/Makefile:1.25
--- pkgsrc/devel/py-testtools/Makefile:1.24     Tue Nov  7 22:38:01 2023
+++ pkgsrc/devel/py-testtools/Makefile  Mon Dec 11 17:16:19 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.24 2023/11/07 22:38:01 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2023/12/11 17:16:19 adam Exp $
 
-DISTNAME=      testtools-2.6.0
+DISTNAME=      testtools-2.7.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=t/testtools/}
@@ -10,19 +10,17 @@ HOMEPAGE=   https://github.com/testing-cab
 COMMENT=       Extensions to the Python standard library unit testing framework
 LICENSE=       mit AND python-software-foundation
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=61:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-vcs-[0-9]*:../../devel/py-hatch-vcs
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
 DEPENDS+=      ${PYPKGPREFIX}-fixtures>=2.0:../../devel/py-fixtures
-DEPENDS+=      ${PYPKGPREFIX}-pbr>=0.11:../../devel/py-pbr
-
-USE_LANGUAGES= # none
-
-PYTHON_VERSIONS_INCOMPATIBLE=  27 38
-
 # circular test dependency
 # https://github.com/testing-cabal/testscenarios/issues/4
 #TEST_DEPENDS+=        ${PYPKGPREFIX}-testscenarios-[0-9]*:../../devel/py-testscenarios
 
-do-test:
-       cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} PYTHONPATH=${PWD} ${PYTHONBIN} -m testtools.run testtools.tests.test_suite
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27 38
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-testtools/PLIST
diff -u pkgsrc/devel/py-testtools/PLIST:1.9 pkgsrc/devel/py-testtools/PLIST:1.10
--- pkgsrc/devel/py-testtools/PLIST:1.9 Thu Jan 27 11:24:18 2022
+++ pkgsrc/devel/py-testtools/PLIST     Mon Dec 11 17:16:19 2023
@@ -1,14 +1,15 @@
-@comment $NetBSD: PLIST,v 1.9 2022/01/27 11:24:18 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.10 2023/12/11 17:16:19 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/AUTHORS
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
 ${PYSITELIB}/testtools/__init__.py
 ${PYSITELIB}/testtools/__init__.pyc
 ${PYSITELIB}/testtools/__init__.pyo
+${PYSITELIB}/testtools/_version.py
+${PYSITELIB}/testtools/_version.pyc
+${PYSITELIB}/testtools/_version.pyo
 ${PYSITELIB}/testtools/assertions.py
 ${PYSITELIB}/testtools/assertions.pyc
 ${PYSITELIB}/testtools/assertions.pyo
@@ -21,12 +22,6 @@ ${PYSITELIB}/testtools/content.pyo
 ${PYSITELIB}/testtools/content_type.py
 ${PYSITELIB}/testtools/content_type.pyc
 ${PYSITELIB}/testtools/content_type.pyo
-${PYSITELIB}/testtools/deferredruntest.py
-${PYSITELIB}/testtools/deferredruntest.pyc
-${PYSITELIB}/testtools/deferredruntest.pyo
-${PYSITELIB}/testtools/distutilscmd.py
-${PYSITELIB}/testtools/distutilscmd.pyc
-${PYSITELIB}/testtools/distutilscmd.pyo
 ${PYSITELIB}/testtools/helpers.py
 ${PYSITELIB}/testtools/helpers.pyc
 ${PYSITELIB}/testtools/helpers.pyo
@@ -144,9 +139,6 @@ ${PYSITELIB}/testtools/tests/test_conten
 ${PYSITELIB}/testtools/tests/test_content_type.py
 ${PYSITELIB}/testtools/tests/test_content_type.pyc
 ${PYSITELIB}/testtools/tests/test_content_type.pyo
-${PYSITELIB}/testtools/tests/test_distutilscmd.py
-${PYSITELIB}/testtools/tests/test_distutilscmd.pyc
-${PYSITELIB}/testtools/tests/test_distutilscmd.pyo
 ${PYSITELIB}/testtools/tests/test_fixturesupport.py
 ${PYSITELIB}/testtools/tests/test_fixturesupport.pyc
 ${PYSITELIB}/testtools/tests/test_fixturesupport.pyo

Index: pkgsrc/devel/py-testtools/distinfo
diff -u pkgsrc/devel/py-testtools/distinfo:1.17 pkgsrc/devel/py-testtools/distinfo:1.18
--- pkgsrc/devel/py-testtools/distinfo:1.17     Sat Jul  8 07:30:34 2023
+++ pkgsrc/devel/py-testtools/distinfo  Mon Dec 11 17:16:19 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.17 2023/07/08 07:30:34 adam Exp $
+$NetBSD: distinfo,v 1.18 2023/12/11 17:16:19 adam Exp $
 
-BLAKE2s (testtools-2.6.0.tar.gz) = add7b4fcd96be06eaa0a62d7611392f9dd9434ab3f1436f046f190e898563a54
-SHA512 (testtools-2.6.0.tar.gz) = 309893693b2ae63ff75395bf543bd42caa9aee3b1208ce5921d893b3635012f6aa8ed5e797b4d130d83e1b530778e87b91e57b901e8351f86d44f3289d54d04b
-Size (testtools-2.6.0.tar.gz) = 237864 bytes
+BLAKE2s (testtools-2.7.1.tar.gz) = 2d4d4bb5e2b91d2a9bea08e96880fa73c7e2a77b7107884add061e9e5abb4432
+SHA512 (testtools-2.7.1.tar.gz) = 78af1c2af6f93671074dafedeaaf3ddbcc806e78c3153a3b90f88874c967e34a18cb85e5649b08fabb4ba4ae649eeb401e79c77c3b9233d9eee2a3c2267a4596
+Size (testtools-2.7.1.tar.gz) = 200953 bytes



Home | Main Index | Thread Index | Old Index