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:           Thu Jun  9 15:49:26 UTC 2022

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

Log Message:
py-traitlets: updated to 5.2.2

5.2.2
- Make ``traitlets.__all__`` explicit and validate in test.
- Fix ``KeyError`` in ``Application.get_default_logging_config``.

5.2.1
- logging: Don't attempt to close handlers unless they have been opened.
  Fixes ``ValueError: Unable to configure formatter 'console'`` traceback.

5.2.0
Traitlets 5.2 brings a couple of updates and changes to traitlets, and is
recommended for all users. What follows is a non-exhaustive list of changes:

- Application: add logging_config trait.
- Disambiguate the use of the term value in the example.
- Add mypy typing support.
- DOC: Add log example.
- Internal cleanup: linters, autoformatters, CI.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/py-traitlets/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-traitlets/PLIST
cvs rdiff -u -r1.7 -r1.8 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.13 pkgsrc/devel/py-traitlets/Makefile:1.14
--- pkgsrc/devel/py-traitlets/Makefile:1.13     Tue Jan  4 20:53:45 2022
+++ pkgsrc/devel/py-traitlets/Makefile  Thu Jun  9 15:49:25 2022
@@ -1,21 +1,22 @@
-# $NetBSD: Makefile,v 1.13 2022/01/04 20:53:45 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2022/06/09 15:49:25 adam Exp $
 
-DISTNAME=      traitlets-5.1.1
+DISTNAME=      traitlets-5.2.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=t/traitlets/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://ipython.org/
+HOMEPAGE=      https://github.com/ipython/traitlets
 COMMENT=       Traitlets Python config system
 LICENSE=       modified-bsd
 
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-hatchling>=0.25:../../devel/py-hatchling
+
 USE_LANGUAGES= # none
 
 # Traitlets 5.0+ supports Python 3.7 and above, following NEP 29.
 # For any earlier version of Python use traitlets 4.x
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-traitlets/PLIST
diff -u pkgsrc/devel/py-traitlets/PLIST:1.5 pkgsrc/devel/py-traitlets/PLIST:1.6
--- pkgsrc/devel/py-traitlets/PLIST:1.5 Sat Jan  1 16:22:51 2022
+++ pkgsrc/devel/py-traitlets/PLIST     Thu Jun  9 15:49:25 2022
@@ -1,99 +1,74 @@
-@comment $NetBSD: PLIST,v 1.5 2022/01/01 16:22:51 ryoon 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
+@comment $NetBSD: PLIST,v 1.6 2022/06/09 15:49:25 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}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/license_files/COPYING.md
 ${PYSITELIB}/traitlets/__init__.py
 ${PYSITELIB}/traitlets/__init__.pyc
-${PYSITELIB}/traitlets/__init__.pyo
 ${PYSITELIB}/traitlets/_version.py
 ${PYSITELIB}/traitlets/_version.pyc
-${PYSITELIB}/traitlets/_version.pyo
 ${PYSITELIB}/traitlets/config/__init__.py
 ${PYSITELIB}/traitlets/config/__init__.pyc
-${PYSITELIB}/traitlets/config/__init__.pyo
 ${PYSITELIB}/traitlets/config/application.py
 ${PYSITELIB}/traitlets/config/application.pyc
-${PYSITELIB}/traitlets/config/application.pyo
 ${PYSITELIB}/traitlets/config/configurable.py
 ${PYSITELIB}/traitlets/config/configurable.pyc
-${PYSITELIB}/traitlets/config/configurable.pyo
 ${PYSITELIB}/traitlets/config/loader.py
 ${PYSITELIB}/traitlets/config/loader.pyc
-${PYSITELIB}/traitlets/config/loader.pyo
 ${PYSITELIB}/traitlets/config/manager.py
 ${PYSITELIB}/traitlets/config/manager.pyc
-${PYSITELIB}/traitlets/config/manager.pyo
 ${PYSITELIB}/traitlets/config/sphinxdoc.py
 ${PYSITELIB}/traitlets/config/sphinxdoc.pyc
-${PYSITELIB}/traitlets/config/sphinxdoc.pyo
 ${PYSITELIB}/traitlets/config/tests/__init__.py
 ${PYSITELIB}/traitlets/config/tests/__init__.pyc
-${PYSITELIB}/traitlets/config/tests/__init__.pyo
 ${PYSITELIB}/traitlets/config/tests/test_application.py
 ${PYSITELIB}/traitlets/config/tests/test_application.pyc
-${PYSITELIB}/traitlets/config/tests/test_application.pyo
 ${PYSITELIB}/traitlets/config/tests/test_configurable.py
 ${PYSITELIB}/traitlets/config/tests/test_configurable.pyc
-${PYSITELIB}/traitlets/config/tests/test_configurable.pyo
 ${PYSITELIB}/traitlets/config/tests/test_loader.py
 ${PYSITELIB}/traitlets/config/tests/test_loader.pyc
-${PYSITELIB}/traitlets/config/tests/test_loader.pyo
 ${PYSITELIB}/traitlets/log.py
 ${PYSITELIB}/traitlets/log.pyc
-${PYSITELIB}/traitlets/log.pyo
+${PYSITELIB}/traitlets/py.typed
 ${PYSITELIB}/traitlets/tests/__init__.py
 ${PYSITELIB}/traitlets/tests/__init__.pyc
-${PYSITELIB}/traitlets/tests/__init__.pyo
 ${PYSITELIB}/traitlets/tests/_warnings.py
 ${PYSITELIB}/traitlets/tests/_warnings.pyc
-${PYSITELIB}/traitlets/tests/_warnings.pyo
 ${PYSITELIB}/traitlets/tests/test_traitlets.py
 ${PYSITELIB}/traitlets/tests/test_traitlets.pyc
-${PYSITELIB}/traitlets/tests/test_traitlets.pyo
 ${PYSITELIB}/traitlets/tests/test_traitlets_enum.py
 ${PYSITELIB}/traitlets/tests/test_traitlets_enum.pyc
-${PYSITELIB}/traitlets/tests/test_traitlets_enum.pyo
 ${PYSITELIB}/traitlets/tests/utils.py
 ${PYSITELIB}/traitlets/tests/utils.pyc
-${PYSITELIB}/traitlets/tests/utils.pyo
 ${PYSITELIB}/traitlets/traitlets.py
 ${PYSITELIB}/traitlets/traitlets.pyc
-${PYSITELIB}/traitlets/traitlets.pyo
 ${PYSITELIB}/traitlets/utils/__init__.py
 ${PYSITELIB}/traitlets/utils/__init__.pyc
-${PYSITELIB}/traitlets/utils/__init__.pyo
 ${PYSITELIB}/traitlets/utils/bunch.py
 ${PYSITELIB}/traitlets/utils/bunch.pyc
-${PYSITELIB}/traitlets/utils/bunch.pyo
 ${PYSITELIB}/traitlets/utils/decorators.py
 ${PYSITELIB}/traitlets/utils/decorators.pyc
-${PYSITELIB}/traitlets/utils/decorators.pyo
 ${PYSITELIB}/traitlets/utils/descriptions.py
 ${PYSITELIB}/traitlets/utils/descriptions.pyc
-${PYSITELIB}/traitlets/utils/descriptions.pyo
 ${PYSITELIB}/traitlets/utils/getargspec.py
 ${PYSITELIB}/traitlets/utils/getargspec.pyc
-${PYSITELIB}/traitlets/utils/getargspec.pyo
 ${PYSITELIB}/traitlets/utils/importstring.py
 ${PYSITELIB}/traitlets/utils/importstring.pyc
-${PYSITELIB}/traitlets/utils/importstring.pyo
+${PYSITELIB}/traitlets/utils/nested_update.py
+${PYSITELIB}/traitlets/utils/nested_update.pyc
 ${PYSITELIB}/traitlets/utils/sentinel.py
 ${PYSITELIB}/traitlets/utils/sentinel.pyc
-${PYSITELIB}/traitlets/utils/sentinel.pyo
 ${PYSITELIB}/traitlets/utils/tests/__init__.py
 ${PYSITELIB}/traitlets/utils/tests/__init__.pyc
-${PYSITELIB}/traitlets/utils/tests/__init__.pyo
 ${PYSITELIB}/traitlets/utils/tests/test_bunch.py
 ${PYSITELIB}/traitlets/utils/tests/test_bunch.pyc
-${PYSITELIB}/traitlets/utils/tests/test_bunch.pyo
 ${PYSITELIB}/traitlets/utils/tests/test_decorators.py
 ${PYSITELIB}/traitlets/utils/tests/test_decorators.pyc
-${PYSITELIB}/traitlets/utils/tests/test_decorators.pyo
 ${PYSITELIB}/traitlets/utils/tests/test_importstring.py
 ${PYSITELIB}/traitlets/utils/tests/test_importstring.pyc
-${PYSITELIB}/traitlets/utils/tests/test_importstring.pyo
 ${PYSITELIB}/traitlets/utils/text.py
 ${PYSITELIB}/traitlets/utils/text.pyc
-${PYSITELIB}/traitlets/utils/text.pyo

Index: pkgsrc/devel/py-traitlets/distinfo
diff -u pkgsrc/devel/py-traitlets/distinfo:1.7 pkgsrc/devel/py-traitlets/distinfo:1.8
--- pkgsrc/devel/py-traitlets/distinfo:1.7      Mon Nov 15 17:33:51 2021
+++ pkgsrc/devel/py-traitlets/distinfo  Thu Jun  9 15:49:25 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.7 2021/11/15 17:33:51 wiz Exp $
+$NetBSD: distinfo,v 1.8 2022/06/09 15:49:25 adam Exp $
 
-BLAKE2s (traitlets-5.1.1.tar.gz) = 7f3a8e9f8422c49c428736f3fa422b7ba69f3334de439a5b1fc249dfc47b0eaa
-SHA512 (traitlets-5.1.1.tar.gz) = 6ef5fcde81e1403b4b28c80e636c75f49819e319863dfa654aa5bbb96d18cca82ef8e7878cc8cccdb988d75201c3912fc49c31b673d7182a1f7d3cc78c115112
-Size (traitlets-5.1.1.tar.gz) = 130629 bytes
+BLAKE2s (traitlets-5.2.2.tar.gz) = 1ef3d73b2a9cea825460e2d412f7c5294d6ff26ab248d22308c6f8dacdc43c1d
+SHA512 (traitlets-5.2.2.tar.gz) = 601475c6e769cdd882bafc404cc123206d42008d9bd4a5a47cf8d31be23eaacf3af4e3f385162e813b166358963f9ae9352b537704648fd207d12974df0fc040
+Size (traitlets-5.2.2.tar.gz) = 136801 bytes



Home | Main Index | Thread Index | Old Index