pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-cattrs



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Jun  6 08:09:47 UTC 2023

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

Log Message:
py-cattrs: update to 23.1.2.

23.1.2 (2023-06-02)

    Improve typing_extensions version bound. (#372)

23.1.1 (2023-05-30)

    Add typing_extensions as a direct dependency on 3.10. (#369 #370)

23.1.0 (2023-05-30)

    Introduce the tagged_union strategy. (#318 #317)
    Introduce the cattrs.transform_error helper function for formatting validation exceptions. (258 342)
    Add support for typing.TypedDict and typing_extensions.TypedDict. (#296 #364)
    Add support for typing.Final. (#340 #349)
    Introduce override.struct_hook and override.unstruct_hook. Learn more here. (#326)
    Fix generating structuring functions for types with angle brackets (<>) and pipe symbols (|) in the name. (#319 #327)
    pathlib.Path is now supported by default. (#81)
    Add cbor2 serialization library to the cattr.preconf package.
    Add optional dependencies for cattrs.preconf third-party libraries. (#337)
    All preconf converters now allow overriding the default unstruct_collection_overrides in make_converter. (#350 #353)
    Subclasses structuring and unstructuring is now supported via a custom include_subclasses strategy. (#312)
    Add support for typing_extensions.Annotated when the python version is less than 3.9. (#366)
    Add unstructuring and structuring support for the standard library deque. (#355)


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-cattrs/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-cattrs/PLIST \
    pkgsrc/devel/py-cattrs/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-cattrs/Makefile
diff -u pkgsrc/devel/py-cattrs/Makefile:1.2 pkgsrc/devel/py-cattrs/Makefile:1.3
--- pkgsrc/devel/py-cattrs/Makefile:1.2 Fri May  5 12:49:57 2023
+++ pkgsrc/devel/py-cattrs/Makefile     Tue Jun  6 08:09:47 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2023/05/05 12:49:57 jperkin Exp $
+# $NetBSD: Makefile,v 1.3 2023/06/06 08:09:47 wiz Exp $
 
-DISTNAME=      cattrs-22.2.0
+DISTNAME=      cattrs-23.1.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cattrs/}
@@ -10,6 +10,7 @@ HOMEPAGE=     https://github.com/python-attr
 COMMENT=       Composable complex class support for attrs and dataclasses
 LICENSE=       mit
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-poetry-core>=0:../../devel/py-poetry-core
 DEPENDS+=      ${PYPKGPREFIX}-attrs>=20:../../devel/py-attrs
 # no tests included in pypi distfile
 #TEST_DEPENDS+=        ${PYPKGPREFIX}-test>=0:../../devel/py-test
@@ -21,15 +22,10 @@ PYTHON_VERSIONS_INCOMPATIBLE=       27
 
 .include "../../lang/python/pyversion.mk"
 
-.if ${PYTHON_VERSION} < 308
-DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=0:../../devel/py-typing-extensions
-.endif
 .if ${PYTHON_VERSION} < 311
 DEPENDS+=      ${PYPKGPREFIX}-exceptiongroup>=0:../../devel/py-exceptiongroup
+DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=4.1.0:../../devel/py-typing-extensions
 .endif
 
-#do-test:
-#      cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
-
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-cattrs/PLIST
diff -u pkgsrc/devel/py-cattrs/PLIST:1.1 pkgsrc/devel/py-cattrs/PLIST:1.2
--- pkgsrc/devel/py-cattrs/PLIST:1.1    Fri May  5 09:34:11 2023
+++ pkgsrc/devel/py-cattrs/PLIST        Tue Jun  6 08:09:47 2023
@@ -1,98 +1,90 @@
-@comment $NetBSD: PLIST,v 1.1 2023/05/05 09:34:11 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2023/06/06 08:09:47 wiz Exp $
 ${PYSITELIB}/cattr/__init__.py
 ${PYSITELIB}/cattr/__init__.pyc
-${PYSITELIB}/cattr/__init__.pyo
 ${PYSITELIB}/cattr/converters.py
 ${PYSITELIB}/cattr/converters.pyc
-${PYSITELIB}/cattr/converters.pyo
 ${PYSITELIB}/cattr/disambiguators.py
 ${PYSITELIB}/cattr/disambiguators.pyc
-${PYSITELIB}/cattr/disambiguators.pyo
 ${PYSITELIB}/cattr/dispatch.py
 ${PYSITELIB}/cattr/dispatch.pyc
-${PYSITELIB}/cattr/dispatch.pyo
 ${PYSITELIB}/cattr/errors.py
 ${PYSITELIB}/cattr/errors.pyc
-${PYSITELIB}/cattr/errors.pyo
 ${PYSITELIB}/cattr/gen.py
 ${PYSITELIB}/cattr/gen.pyc
-${PYSITELIB}/cattr/gen.pyo
 ${PYSITELIB}/cattr/preconf/__init__.py
 ${PYSITELIB}/cattr/preconf/__init__.pyc
-${PYSITELIB}/cattr/preconf/__init__.pyo
 ${PYSITELIB}/cattr/preconf/bson.py
 ${PYSITELIB}/cattr/preconf/bson.pyc
-${PYSITELIB}/cattr/preconf/bson.pyo
 ${PYSITELIB}/cattr/preconf/json.py
 ${PYSITELIB}/cattr/preconf/json.pyc
-${PYSITELIB}/cattr/preconf/json.pyo
 ${PYSITELIB}/cattr/preconf/msgpack.py
 ${PYSITELIB}/cattr/preconf/msgpack.pyc
-${PYSITELIB}/cattr/preconf/msgpack.pyo
 ${PYSITELIB}/cattr/preconf/orjson.py
 ${PYSITELIB}/cattr/preconf/orjson.pyc
-${PYSITELIB}/cattr/preconf/orjson.pyo
 ${PYSITELIB}/cattr/preconf/pyyaml.py
 ${PYSITELIB}/cattr/preconf/pyyaml.pyc
-${PYSITELIB}/cattr/preconf/pyyaml.pyo
 ${PYSITELIB}/cattr/preconf/tomlkit.py
 ${PYSITELIB}/cattr/preconf/tomlkit.pyc
-${PYSITELIB}/cattr/preconf/tomlkit.pyo
 ${PYSITELIB}/cattr/preconf/ujson.py
 ${PYSITELIB}/cattr/preconf/ujson.pyc
-${PYSITELIB}/cattr/preconf/ujson.pyo
 ${PYSITELIB}/cattr/py.typed
-${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
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
 ${PYSITELIB}/cattrs/__init__.py
 ${PYSITELIB}/cattrs/__init__.pyc
-${PYSITELIB}/cattrs/__init__.pyo
 ${PYSITELIB}/cattrs/_compat.py
 ${PYSITELIB}/cattrs/_compat.pyc
-${PYSITELIB}/cattrs/_compat.pyo
 ${PYSITELIB}/cattrs/_generics.py
 ${PYSITELIB}/cattrs/_generics.pyc
-${PYSITELIB}/cattrs/_generics.pyo
 ${PYSITELIB}/cattrs/converters.py
 ${PYSITELIB}/cattrs/converters.pyc
-${PYSITELIB}/cattrs/converters.pyo
 ${PYSITELIB}/cattrs/disambiguators.py
 ${PYSITELIB}/cattrs/disambiguators.pyc
-${PYSITELIB}/cattrs/disambiguators.pyo
 ${PYSITELIB}/cattrs/dispatch.py
 ${PYSITELIB}/cattrs/dispatch.pyc
-${PYSITELIB}/cattrs/dispatch.pyo
 ${PYSITELIB}/cattrs/errors.py
 ${PYSITELIB}/cattrs/errors.pyc
-${PYSITELIB}/cattrs/errors.pyo
-${PYSITELIB}/cattrs/gen.py
-${PYSITELIB}/cattrs/gen.pyc
-${PYSITELIB}/cattrs/gen.pyo
+${PYSITELIB}/cattrs/gen/__init__.py
+${PYSITELIB}/cattrs/gen/__init__.pyc
+${PYSITELIB}/cattrs/gen/_consts.py
+${PYSITELIB}/cattrs/gen/_consts.pyc
+${PYSITELIB}/cattrs/gen/_generics.py
+${PYSITELIB}/cattrs/gen/_generics.pyc
+${PYSITELIB}/cattrs/gen/_lc.py
+${PYSITELIB}/cattrs/gen/_lc.pyc
+${PYSITELIB}/cattrs/gen/_shared.py
+${PYSITELIB}/cattrs/gen/_shared.pyc
+${PYSITELIB}/cattrs/gen/typeddicts.py
+${PYSITELIB}/cattrs/gen/typeddicts.pyc
 ${PYSITELIB}/cattrs/preconf/__init__.py
 ${PYSITELIB}/cattrs/preconf/__init__.pyc
-${PYSITELIB}/cattrs/preconf/__init__.pyo
 ${PYSITELIB}/cattrs/preconf/bson.py
 ${PYSITELIB}/cattrs/preconf/bson.pyc
-${PYSITELIB}/cattrs/preconf/bson.pyo
+${PYSITELIB}/cattrs/preconf/cbor2.py
+${PYSITELIB}/cattrs/preconf/cbor2.pyc
 ${PYSITELIB}/cattrs/preconf/json.py
 ${PYSITELIB}/cattrs/preconf/json.pyc
-${PYSITELIB}/cattrs/preconf/json.pyo
 ${PYSITELIB}/cattrs/preconf/msgpack.py
 ${PYSITELIB}/cattrs/preconf/msgpack.pyc
-${PYSITELIB}/cattrs/preconf/msgpack.pyo
 ${PYSITELIB}/cattrs/preconf/orjson.py
 ${PYSITELIB}/cattrs/preconf/orjson.pyc
-${PYSITELIB}/cattrs/preconf/orjson.pyo
 ${PYSITELIB}/cattrs/preconf/pyyaml.py
 ${PYSITELIB}/cattrs/preconf/pyyaml.pyc
-${PYSITELIB}/cattrs/preconf/pyyaml.pyo
 ${PYSITELIB}/cattrs/preconf/tomlkit.py
 ${PYSITELIB}/cattrs/preconf/tomlkit.pyc
-${PYSITELIB}/cattrs/preconf/tomlkit.pyo
 ${PYSITELIB}/cattrs/preconf/ujson.py
 ${PYSITELIB}/cattrs/preconf/ujson.pyc
-${PYSITELIB}/cattrs/preconf/ujson.pyo
 ${PYSITELIB}/cattrs/py.typed
+${PYSITELIB}/cattrs/strategies/__init__.py
+${PYSITELIB}/cattrs/strategies/__init__.pyc
+${PYSITELIB}/cattrs/strategies/_subclasses.py
+${PYSITELIB}/cattrs/strategies/_subclasses.pyc
+${PYSITELIB}/cattrs/strategies/_unions.py
+${PYSITELIB}/cattrs/strategies/_unions.pyc
+${PYSITELIB}/cattrs/v.py
+${PYSITELIB}/cattrs/v.pyc
Index: pkgsrc/devel/py-cattrs/distinfo
diff -u pkgsrc/devel/py-cattrs/distinfo:1.1 pkgsrc/devel/py-cattrs/distinfo:1.2
--- pkgsrc/devel/py-cattrs/distinfo:1.1 Fri May  5 09:34:11 2023
+++ pkgsrc/devel/py-cattrs/distinfo     Tue Jun  6 08:09:47 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2023/05/05 09:34:11 wiz Exp $
+$NetBSD: distinfo,v 1.2 2023/06/06 08:09:47 wiz Exp $
 
-BLAKE2s (cattrs-22.2.0.tar.gz) = bd0b4b76f9d41ab73731239c9158c995db3a9c8295e42de65d95f85345c9c767
-SHA512 (cattrs-22.2.0.tar.gz) = 688b227e568ca928b195e0c450a8d159e52dcd82315504f69d44606943340111269ec14fa7f78a1d30535b2821a9d3b4bbabea0a85e8cb0db9e956d3e07dac06
-Size (cattrs-22.2.0.tar.gz) = 30050 bytes
+BLAKE2s (cattrs-23.1.2.tar.gz) = 59b892a09ab7725d4e2339cda64a74f547c60e74fccf60657bc24745f0a2ad91
+SHA512 (cattrs-23.1.2.tar.gz) = bd55b75911ae44b554ea5e9d1d218c968c4906d9679adc40986c3e9b2b57af51e4b711e39e6e09997db1a2d41c22c6144ec259405c158273cbb9aa2f262c95c5
+Size (cattrs-23.1.2.tar.gz) = 39998 bytes



Home | Main Index | Thread Index | Old Index