pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-ruamel-yaml
Module Name: pkgsrc
Committed By: wiz
Date: Sun Nov 5 00:36:04 UTC 2023
Modified Files:
pkgsrc/devel/py-ruamel-yaml: Makefile PLIST distinfo
Log Message:
py-ruamel-yaml: update to 0.18.2.
[0.18.2, 2023-10-24]:
- calling the deprecated functions now raises an `AttributeError` with the, somewhat
more informative, orginal warning message. Instead of calling `sys.exit(1)`
[0.18.1, 2023-10-24]:
- calling the deprecated functions now always displays the warning message. (reported
by [Trend Lloyd](https://sourceforge.net/u/lathiat2/profile/))
[0.18.0, 2023-10-23]:
- the **functions** `scan`, `parse`, `compose`, `load`, `emit`, `serialize`, `dump`
and their variants (`_all`, `safe_`, `round_trip_`, etc) have been deprecated (the
same named **methods** on `YAML()` instances are, of course, still there.
- |-
`YAML(typ='unsafe')` now issues a `PendingDeprecationWarning`. This will become deprecated in the 0.18 series
(probably before the end of 2023).
You can use `YAML(typ='full')` to dump unregistered Python classes/functions.
For loading you'll have to register your classes/functions
if you want the old, unsafe, functionality. You can still load any tag, like `!!python/name:posix.system', **safely**
with the (default) round-trip parser.
- fix for `bytes-like object is required not 'str' while dumping binary streams`.
This was reported, analysed and a fix provided by [Vit Zikmund](https://sourceforge.net/u/tlwhitec/profile/)
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 pkgsrc/devel/py-ruamel-yaml/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/py-ruamel-yaml/PLIST
cvs rdiff -u -r1.35 -r1.36 pkgsrc/devel/py-ruamel-yaml/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-ruamel-yaml/Makefile
diff -u pkgsrc/devel/py-ruamel-yaml/Makefile:1.34 pkgsrc/devel/py-ruamel-yaml/Makefile:1.35
--- pkgsrc/devel/py-ruamel-yaml/Makefile:1.34 Sat Oct 21 14:33:20 2023
+++ pkgsrc/devel/py-ruamel-yaml/Makefile Sun Nov 5 00:36:04 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.34 2023/10/21 14:33:20 adam Exp $
+# $NetBSD: Makefile,v 1.35 2023/11/05 00:36:04 wiz Exp $
-DISTNAME= ruamel.yaml-0.17.40
+DISTNAME= ruamel.yaml-0.18.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/./-/1}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=r/ruamel.yaml/}
@@ -10,11 +10,13 @@ HOMEPAGE= https://yaml.readthedocs.io/
COMMENT= YAML parser/emitter
LICENSE= mit
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
DEPENDS+= ${PYPKGPREFIX}-ruamel-yaml-clib>=0.2.7:../../devel/py-ruamel-yaml-clib
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-ruamel-yaml/PLIST
diff -u pkgsrc/devel/py-ruamel-yaml/PLIST:1.12 pkgsrc/devel/py-ruamel-yaml/PLIST:1.13
--- pkgsrc/devel/py-ruamel-yaml/PLIST:1.12 Tue Jun 6 10:46:01 2023
+++ pkgsrc/devel/py-ruamel-yaml/PLIST Sun Nov 5 00:36:04 2023
@@ -1,10 +1,9 @@
-@comment $NetBSD: PLIST,v 1.12 2023/06/06 10:46:01 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}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.13 2023/11/05 00:36:04 wiz Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/ruamel/yaml/__init__.py
${PYSITELIB}/ruamel/yaml/__init__.pyc
${PYSITELIB}/ruamel/yaml/__init__.pyo
Index: pkgsrc/devel/py-ruamel-yaml/distinfo
diff -u pkgsrc/devel/py-ruamel-yaml/distinfo:1.35 pkgsrc/devel/py-ruamel-yaml/distinfo:1.36
--- pkgsrc/devel/py-ruamel-yaml/distinfo:1.35 Sat Oct 21 14:33:20 2023
+++ pkgsrc/devel/py-ruamel-yaml/distinfo Sun Nov 5 00:36:04 2023
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.35 2023/10/21 14:33:20 adam Exp $
+$NetBSD: distinfo,v 1.36 2023/11/05 00:36:04 wiz Exp $
-BLAKE2s (ruamel.yaml-0.17.40.tar.gz) = 90ae51506bc53df2efa2c12ec1c75dad29b4cfff1f3f54b0933c17052cac64d4
-SHA512 (ruamel.yaml-0.17.40.tar.gz) = 47ec3508e86d53f7b53dc999dfafc05bb656d3dd02bd289ee97267a6cae5e33e87da584a100e8de44a6d43096d05c13240def8ab9c7010e9efd69d64753004f9
-Size (ruamel.yaml-0.17.40.tar.gz) = 137672 bytes
+BLAKE2s (ruamel.yaml-0.18.2.tar.gz) = 7e27a3740d7315081e4ac0bdca67f43fdff1b20dcdaecae0350f86a11bc9539e
+SHA512 (ruamel.yaml-0.18.2.tar.gz) = 155a00ccdab454d4a1e887395559f68ad7a9b69a2ee44c578aa5d0080f88a4ab461843382bac9c6014a09abb0580de7126fcd22ea133c3957454ccbc4e9868b0
+Size (ruamel.yaml-0.18.2.tar.gz) = 138167 bytes
SHA1 (patch-setup.py) = 1883f23fedba174b8f31c7f19e88bd836c893dab
Home |
Main Index |
Thread Index |
Old Index