Sat Jan 8 12:10:38 2022 UTC ()
py-mpd2: update to 3.0.4.

Changes in v3.0.4
-----------------

* exposes failure responses in CommandError exceptions

Changes in v3.0.3
-----------------

* asyncio: tolerate early disconnects

Changes in v3.0.2
-----------------

* asyncio: fix disconnect happen before connect
* asyncio: better protection against request cancellation
* asyncio: idle iterator raises error when connection closed

Changes in v3.0.1
-----------------

* 3.0.0 accidentially introduced typing annotation that were not meant to be published yet.

Changes in v3.0.0
-----------------

* Breaking changes: albumart now returns dictionary :code:`{"size": "...",
"binary": b"..."}` instead of just a string
* add readpicture command
* add partition, newpartition and delpartition commands
* add moveoutput command
* removed deprecated `send_` and `fetch_` commands. Use the asyncio or twisted API instead for asynchronous mpd commands.

Changes in v2.0.0
-----------------

* Minimum python version was increased to python3.6, python2.7 support was dropped
* asyncio: fix parsing delimiters
* add support for albumart command

Changes in v1.1.0
-----------------

* Fix list command to work with grouping. Always returns list of dictionaries now.
  Make sure to adopt your code since this is an API change.
* fix compatibility with python3.9
* fix connecting to unix socket in asyncio version
* close asyncio transports on disconnect
* create TCP socket with TCP_NODELAY for better responsiveness


(wiz)
diff -r1.3 -r1.4 pkgsrc/audio/py-mpd2/Makefile
diff -r1.3 -r1.4 pkgsrc/audio/py-mpd2/distinfo

cvs diff -r1.3 -r1.4 pkgsrc/audio/py-mpd2/Makefile (expand / switch to unified diff)

--- pkgsrc/audio/py-mpd2/Makefile 2022/01/04 20:52:34 1.3
+++ pkgsrc/audio/py-mpd2/Makefile 2022/01/08 12:10:38 1.4
@@ -1,20 +1,23 @@ @@ -1,20 +1,23 @@
1# $NetBSD: Makefile,v 1.3 2022/01/04 20:52:34 wiz Exp $ 1# $NetBSD: Makefile,v 1.4 2022/01/08 12:10:38 wiz Exp $
2 2
3DISTNAME= python-mpd2-1.0.0 3DISTNAME= python-mpd2-3.0.4
4PKGNAME= ${PYPKGPREFIX}-mpd2-1.0.0 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//}
5PKGREVISION= 1 
6CATEGORIES= audio 5CATEGORIES= audio
7MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-mpd2/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-mpd2/}
8EXTRACT_SUFX= .tar.bz2 
9 7
10MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= https://musicpd.org/libs/python-mpd2/ 9HOMEPAGE= https://musicpd.org/libs/python-mpd2/
12COMMENT= Python mpd client library 10COMMENT= Python mpd client library
13LICENSE= gnu-lgpl-v3 11LICENSE= gnu-lgpl-v3
14 12
 13# tox.ini not in pypi distfile
 14#TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
 15#TEST_DEPENDS+= ${PYPKGPREFIX}-tox-[0-9]*:../../devel/py-tox
 16#TEST_DEPENDS+= ${PYPKGPREFIX}-twisted-[0-9]*:../../net/py-twisted
 17
15USE_LANGUAGES= # none 18USE_LANGUAGES= # none
16 19
17PYTHON_VERSIONS_INCOMPATIBLE= 27 20PYTHON_VERSIONS_INCOMPATIBLE= 27
18 21
19.include "../../lang/python/egg.mk" 22.include "../../lang/python/egg.mk"
20.include "../../mk/bsd.pkg.mk" 23.include "../../mk/bsd.pkg.mk"

cvs diff -r1.3 -r1.4 pkgsrc/audio/py-mpd2/distinfo (expand / switch to unified diff)

--- pkgsrc/audio/py-mpd2/distinfo 2021/10/26 09:59:25 1.3
+++ pkgsrc/audio/py-mpd2/distinfo 2022/01/08 12:10:38 1.4
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.3 2021/10/26 09:59:25 nia Exp $ 1$NetBSD: distinfo,v 1.4 2022/01/08 12:10:38 wiz Exp $
2 2
3BLAKE2s (python-mpd2-1.0.0.tar.bz2) = 67ee862f088eb5d22cb3da7ab13b15dc6ecccf42dbdbf6a1bca1928a67fe9d58 3BLAKE2s (python-mpd2-3.0.4.tar.gz) = 2ba94cc6cc4d891e9faedbf4ae4aa7ce2d61d53f940f022949cc11736227dd9f
4SHA512 (python-mpd2-1.0.0.tar.bz2) = 96feadd8ab80513587dbe8f1934be19fc44d3d244e4a7d47e92c9ebdfc793be4e2fe85a51282584ff5ad081c76178fd6cb0eded8d0d1282379cd51b95aa7f441 4SHA512 (python-mpd2-3.0.4.tar.gz) = 4b55b6cd5f501f08d489d87d48dc424205fa655b5898016daf45945c575933d2caa1b37c6d79cff751163d67d4b3c9e6a6051f13aa32b802a9d17cf1cf6b3952
5Size (python-mpd2-1.0.0.tar.bz2) = 42827 bytes 5Size (python-mpd2-3.0.4.tar.gz) = 57445 bytes