pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-traitlets



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Sep 16 03:21:20 UTC 2023

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

Log Message:
py-traitlets: updated to 5.10.0

5.10.0

Enhancements made

Added type hints to HasTraits.observe() and friends.
feat: trait typing

Maintenance and upkeep improvements

Fix mypy deps and support Python 3.8-3.12
Update pytest requirement from <7.2,>=7.0 to >=7.0,<7.5
Bump actions/checkout from 3 to 4
Fix typing
Update docs config
Use local coverage
Adjust argcomplete typings
Better warnings
Update typings

Documentation improvements

rename MyClass to School
Even though returning a value from a validation method is ideal, by no means is proposal['value'] the only thing that can be returned
Document help parameter of TraitType.init().

Other merged PRs

Clean up license


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/devel/py-traitlets/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/py-traitlets/PLIST
cvs rdiff -u -r1.18 -r1.19 pkgsrc/devel/py-traitlets/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-traitlets/Makefile
diff -u pkgsrc/devel/py-traitlets/Makefile:1.25 pkgsrc/devel/py-traitlets/Makefile:1.26
--- pkgsrc/devel/py-traitlets/Makefile:1.25     Tue Jan 31 09:21:24 2023
+++ pkgsrc/devel/py-traitlets/Makefile  Sat Sep 16 03:21:20 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.25 2023/01/31 09:21:24 adam Exp $
+# $NetBSD: Makefile,v 1.26 2023/09/16 03:21:20 adam Exp $
 
-DISTNAME=      traitlets-5.9.0
+DISTNAME=      traitlets-5.10.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=t/traitlets/}
@@ -11,10 +11,16 @@ COMMENT=    Traitlets Python config system
 LICENSE=       modified-bsd
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=1.5:../../devel/py-hatchling
+TEST_DEPENDS+= ${PYPKGPREFIX}-argcomplete>=3.0.3:../../devel/py-argcomplete
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=7.0:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock-[0-9]*:../../devel/py-test-mock
 
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-traitlets/PLIST
diff -u pkgsrc/devel/py-traitlets/PLIST:1.8 pkgsrc/devel/py-traitlets/PLIST:1.9
--- pkgsrc/devel/py-traitlets/PLIST:1.8 Sun Jan  8 11:22:01 2023
+++ pkgsrc/devel/py-traitlets/PLIST     Sat Sep 16 03:21:20 2023
@@ -1,11 +1,11 @@
-@comment $NetBSD: PLIST,v 1.8 2023/01/08 11:22:01 adam Exp $
+@comment $NetBSD: PLIST,v 1.9 2023/09/16 03:21:20 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
 ${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
-${PYSITELIB}/${WHEEL_INFODIR}/licenses/COPYING.md
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
 ${PYSITELIB}/traitlets/__init__.py
 ${PYSITELIB}/traitlets/__init__.pyc
 ${PYSITELIB}/traitlets/_version.py
@@ -45,6 +45,8 @@ ${PYSITELIB}/traitlets/tests/test_traitl
 ${PYSITELIB}/traitlets/tests/test_traitlets.pyc
 ${PYSITELIB}/traitlets/tests/test_traitlets_enum.py
 ${PYSITELIB}/traitlets/tests/test_traitlets_enum.pyc
+${PYSITELIB}/traitlets/tests/test_typing.py
+${PYSITELIB}/traitlets/tests/test_typing.pyc
 ${PYSITELIB}/traitlets/tests/utils.py
 ${PYSITELIB}/traitlets/tests/utils.pyc
 ${PYSITELIB}/traitlets/traitlets.py
@@ -75,3 +77,5 @@ ${PYSITELIB}/traitlets/utils/tests/test_
 ${PYSITELIB}/traitlets/utils/tests/test_importstring.pyc
 ${PYSITELIB}/traitlets/utils/text.py
 ${PYSITELIB}/traitlets/utils/text.pyc
+${PYSITELIB}/traitlets/utils/warnings.py
+${PYSITELIB}/traitlets/utils/warnings.pyc

Index: pkgsrc/devel/py-traitlets/distinfo
diff -u pkgsrc/devel/py-traitlets/distinfo:1.18 pkgsrc/devel/py-traitlets/distinfo:1.19
--- pkgsrc/devel/py-traitlets/distinfo:1.18     Tue Jan 31 09:21:24 2023
+++ pkgsrc/devel/py-traitlets/distinfo  Sat Sep 16 03:21:20 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.18 2023/01/31 09:21:24 adam Exp $
+$NetBSD: distinfo,v 1.19 2023/09/16 03:21:20 adam Exp $
 
-BLAKE2s (traitlets-5.9.0.tar.gz) = f05b0b1b2f119d90fc05198094c63797f3ed48f5ab039ec94e14003d93dccbda
-SHA512 (traitlets-5.9.0.tar.gz) = 4999591d79fa537082307e148ce569beb2a0339ac9a7970ecc31c60dce6761d367e3ba959b4b57930f9fd2478616d031710e64a0afe13c6bc382477812fdc8ac
-Size (traitlets-5.9.0.tar.gz) = 150207 bytes
+BLAKE2s (traitlets-5.10.0.tar.gz) = 2f9ccdd93f879a46d10d52613e5eef00cfc110f6b78b8de154f81b5ca6f8bb5b
+SHA512 (traitlets-5.10.0.tar.gz) = 6ca908f3a3a12a2ca55398b4811ab2daee0ae064359e51937bce111eeeb5268cbd585c68a35fd8c1fefc3f135d14ebb3a468d7c5e0f036a86e656fe6b3d281db
+Size (traitlets-5.10.0.tar.gz) = 153836 bytes



Home | Main Index | Thread Index | Old Index