pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-xmltodict



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Oct 11 10:54:34 UTC 2024

Modified Files:
        pkgsrc/textproc/py-xmltodict: Makefile PLIST distinfo
        pkgsrc/textproc/py-xmltodict/patches: patch-README.md

Log Message:
py-xmltodict: updated to 0.14.1

v0.14.1

Drop support for Python older than 3.6
Additional ruff/Pyflakes/codespell fixes.

v0.14.0

Drop old Python 2 support leftover code and apply several RUFF code health fixes.
Add Python 3.11, 3.12 and 3.13 support and tests.
Tests in gh-action.
Remove defusedexpat import.
Replace deprecated BadZipfile with BadZipFile.
Support indent using integer format, enable python -m unittest tests/*.py.
Ensure significant whitespace is not trimmed
added conda installation command
fix attributes not appearing in streaming mode
Fix Travis CI status badge URL
Update push_release.sh to use twine.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/textproc/py-xmltodict/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/py-xmltodict/PLIST
cvs rdiff -u -r1.6 -r1.7 pkgsrc/textproc/py-xmltodict/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/py-xmltodict/patches/patch-README.md

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

Modified files:

Index: pkgsrc/textproc/py-xmltodict/Makefile
diff -u pkgsrc/textproc/py-xmltodict/Makefile:1.5 pkgsrc/textproc/py-xmltodict/Makefile:1.6
--- pkgsrc/textproc/py-xmltodict/Makefile:1.5   Mon Oct 23 06:37:55 2023
+++ pkgsrc/textproc/py-xmltodict/Makefile       Fri Oct 11 10:54:33 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2023/10/23 06:37:55 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2024/10/11 10:54:33 adam Exp $
 
-DISTNAME=      xmltodict-0.13.0
+DISTNAME=      xmltodict-0.14.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=x/xmltodict/}
 
@@ -11,16 +10,11 @@ HOMEPAGE=   https://github.com/martinblech
 COMMENT=       Simplified XML parser library
 LICENSE=       mit
 
-TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
-TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 
 USE_LANGUAGES= # none
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
-
-do-test:
-       cd ${WRKSRC} && ${PYTHONBIN} -m unittest discover -s tests -v
-
 .include "../../lang/python/batteries-included.mk"
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/textproc/py-xmltodict/PLIST
diff -u pkgsrc/textproc/py-xmltodict/PLIST:1.1 pkgsrc/textproc/py-xmltodict/PLIST:1.2
--- pkgsrc/textproc/py-xmltodict/PLIST:1.1      Fri Sep 29 13:55:07 2017
+++ pkgsrc/textproc/py-xmltodict/PLIST  Fri Oct 11 10:54:33 2024
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST,v 1.1 2017/09/29 13:55:07 joerg Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.2 2024/10/11 10:54:33 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/xmltodict.py
 ${PYSITELIB}/xmltodict.pyc
 ${PYSITELIB}/xmltodict.pyo

Index: pkgsrc/textproc/py-xmltodict/distinfo
diff -u pkgsrc/textproc/py-xmltodict/distinfo:1.6 pkgsrc/textproc/py-xmltodict/distinfo:1.7
--- pkgsrc/textproc/py-xmltodict/distinfo:1.6   Mon May  9 08:13:02 2022
+++ pkgsrc/textproc/py-xmltodict/distinfo       Fri Oct 11 10:54:33 2024
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2022/05/09 08:13:02 adam Exp $
+$NetBSD: distinfo,v 1.7 2024/10/11 10:54:33 adam Exp $
 
-BLAKE2s (xmltodict-0.13.0.tar.gz) = 2463ea98a1f05c7cd9543aeda3b6adf6c68282e27ef2e2049a7152e6d85431ac
-SHA512 (xmltodict-0.13.0.tar.gz) = fea256017e9806074f0b1dbece393a6e90cdb045842970015daeef2c035d210b3333196a57635192f889b1d2e570731707f7725e020c678db34f590f8c9ad400
-Size (xmltodict-0.13.0.tar.gz) = 33813 bytes
-SHA1 (patch-README.md) = bf8f116f5004661ab54e05744f37f169722950c7
+BLAKE2s (xmltodict-0.14.1.tar.gz) = 2db9fe0539f2a786b0dae65bd726327f623024f22249bdcd8c5773e0897687ef
+SHA512 (xmltodict-0.14.1.tar.gz) = 802c1861202433dd0f1cdbbf76cbd9d1418228e994909de4711d450258ca9c7764ce5adb174b8c97437b2d52d797dd8b8014ee83ce86023860a828d7881e9923
+Size (xmltodict-0.14.1.tar.gz) = 51919 bytes
+SHA1 (patch-README.md) = af28ff7112772932b9229b343ff162af4227b98e

Index: pkgsrc/textproc/py-xmltodict/patches/patch-README.md
diff -u pkgsrc/textproc/py-xmltodict/patches/patch-README.md:1.1 pkgsrc/textproc/py-xmltodict/patches/patch-README.md:1.2
--- pkgsrc/textproc/py-xmltodict/patches/patch-README.md:1.1    Sat Dec 21 23:47:39 2019
+++ pkgsrc/textproc/py-xmltodict/patches/patch-README.md        Fri Oct 11 10:54:34 2024
@@ -1,8 +1,8 @@
-$NetBSD: patch-README.md,v 1.1 2019/12/21 23:47:39 joerg Exp $
+$NetBSD: patch-README.md,v 1.2 2024/10/11 10:54:34 adam Exp $
 
-Drop non-ASCII input
+Drop non-ASCII characters.
 
---- README.md.orig     2019-12-21 21:31:20.863530649 +0000
+--- README.md.orig     2024-10-08 17:41:22.000000000 +0000
 +++ README.md
 @@ -86,7 +86,7 @@ True
  >>> xmltodict.parse(GzipFile('discogs_artists.xml.gz'),
@@ -13,8 +13,8 @@ Drop non-ASCII input
  King Crimson
  Chris Potter
  ...
-@@ -173,7 +173,7 @@ You just need to
- $ pip install xmltodict
+@@ -215,7 +215,7 @@ For installing `xmltodict` using Anacond
+ $ conda install -c conda-forge xmltodict
  ```
  
 -### RPM-based distro (Fedora, RHEL, …)
@@ -22,7 +22,7 @@ Drop non-ASCII input
  
  There is an [official Fedora package for xmltodict](https://apps.fedoraproject.org/packages/python-xmltodict).
  
-@@ -189,7 +189,7 @@ There is an [official Arch Linux package
+@@ -231,7 +231,7 @@ There is an [official Arch Linux package
  $ sudo pacman -S python-xmltodict
  ```
  



Home | Main Index | Thread Index | Old Index