pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/py-asdf



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Aug  6 08:01:52 UTC 2024

Modified Files:
        pkgsrc/math/py-asdf: Makefile distinfo

Log Message:
py-asdf: updated to 3.4.0

3.4.0 (2024-08-04)

- Fix issue where roundtripping a masked array with no masked values removes the mask

- Use a custom exception ``AsdfSerializationError`` to indicate when an object in the
  tree fails to be serialized by asdf (and by yaml). This exception currently inherits
  from ``yaml.representer.RepresenterError`` to provide backwards compatibility. However
  this inheritance may be dropped in a future asdf version. Please migrate to the new
  ``AsdfSerializationError``.

- Drop ``importlib_metadata`` as a dependency on Python 3.12 and newer

- Bumped minimal requirement on ``attrs`` from ``20.1.0`` to ``22.2.0``


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/math/py-asdf/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/math/py-asdf/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/py-asdf/Makefile
diff -u pkgsrc/math/py-asdf/Makefile:1.19 pkgsrc/math/py-asdf/Makefile:1.20
--- pkgsrc/math/py-asdf/Makefile:1.19   Sat Aug  3 06:00:52 2024
+++ pkgsrc/math/py-asdf/Makefile        Tue Aug  6 08:01:52 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.19 2024/08/03 06:00:52 adam Exp $
+# $NetBSD: Makefile,v 1.20 2024/08/06 08:01:52 adam Exp $
 
-DISTNAME=      asdf-3.3.0
+DISTNAME=      asdf-3.4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    math python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/asdf/}
@@ -15,8 +15,7 @@ TOOL_DEPENDS+=        ${PYPKGPREFIX}-setuptools
 TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 DEPENDS+=      ${PYPKGPREFIX}-asdf-standard>=1.1.0:../../math/py-asdf-standard
 DEPENDS+=      ${PYPKGPREFIX}-asdf-transform-schemas>=0.3:../../math/py-asdf-transform-schemas
-DEPENDS+=      ${PYPKGPREFIX}-attrs>=20.1.0:../../devel/py-attrs
-DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata>=4.11.4:../../devel/py-importlib-metadata
+DEPENDS+=      ${PYPKGPREFIX}-attrs>=22.2.0:../../devel/py-attrs
 DEPENDS+=      ${PYPKGPREFIX}-jmespath>=0.6.2:../../textproc/py-jmespath
 DEPENDS+=      ${PYPKGPREFIX}-numpy>=1.22:../../math/py-numpy
 DEPENDS+=      ${PYPKGPREFIX}-packaging>=19:../../devel/py-packaging
@@ -31,6 +30,11 @@ USE_LANGUAGES=       # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27 38
 
+.include "../../lang/python/pyversion.mk"
+.if ${PYTHON_VERSION} < 311
+DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata>=4.11.4:../../devel/py-importlib-metadata
+.endif
+
 REPLACE_PYTHON+=       asdf/_jsonschema/json/bin/jsonschema_suite
 REPLACE_PYTHON+=       asdf/extern/RangeHTTPServer.py
 

Index: pkgsrc/math/py-asdf/distinfo
diff -u pkgsrc/math/py-asdf/distinfo:1.12 pkgsrc/math/py-asdf/distinfo:1.13
--- pkgsrc/math/py-asdf/distinfo:1.12   Sat Aug  3 06:00:52 2024
+++ pkgsrc/math/py-asdf/distinfo        Tue Aug  6 08:01:52 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.12 2024/08/03 06:00:52 adam Exp $
+$NetBSD: distinfo,v 1.13 2024/08/06 08:01:52 adam Exp $
 
-BLAKE2s (asdf-3.3.0.tar.gz) = 4f8699dbbef77a6268e840ef77c7cf82823231f595151eeb3dead221a81837e9
-SHA512 (asdf-3.3.0.tar.gz) = b9a63c89366e21ace2ef034afe4b6a477c23b7a6c4cb55d5374204520ef1b01f0869ec7687674d320fcbe040c13f92a7379d0ecb34fb8de1ffc5c9bc55516383
-Size (asdf-3.3.0.tar.gz) = 801412 bytes
+BLAKE2s (asdf-3.4.0.tar.gz) = ec13e402a5b98c7f58663743bd4f632e3542241d8f1f4382cb9705c58e7f31eb
+SHA512 (asdf-3.4.0.tar.gz) = 237c1bad3e715eb617ac0822645a290f619e8de067ebf4800e5bf7df21c91c09496704a63a0d59fc6c9d4cb6df7052a5b4d25ec9632a6edcabc7e91546f3e637
+Size (asdf-3.4.0.tar.gz) = 802241 bytes



Home | Main Index | Thread Index | Old Index