pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/py-mpd2 py-mpd2: update to 3.0.4.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9ec02881446b
branches:  trunk
changeset: 371280:9ec02881446b
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Jan 08 12:10:38 2022 +0000

description:
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

diffstat:

 audio/py-mpd2/Makefile |  13 ++++++++-----
 audio/py-mpd2/distinfo |   8 ++++----
 2 files changed, 12 insertions(+), 9 deletions(-)

diffs (42 lines):

diff -r c362689a4e1a -r 9ec02881446b audio/py-mpd2/Makefile
--- a/audio/py-mpd2/Makefile    Sat Jan 08 12:02:21 2022 +0000
+++ b/audio/py-mpd2/Makefile    Sat Jan 08 12:10:38 2022 +0000
@@ -1,17 +1,20 @@
-# $NetBSD: Makefile,v 1.3 2022/01/04 20:52:34 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2022/01/08 12:10:38 wiz Exp $
 
-DISTNAME=      python-mpd2-1.0.0
-PKGNAME=       ${PYPKGPREFIX}-mpd2-1.0.0
-PKGREVISION=   1
+DISTNAME=      python-mpd2-3.0.4
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/python-//}
 CATEGORIES=    audio
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/python-mpd2/}
-EXTRACT_SUFX=  .tar.bz2
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://musicpd.org/libs/python-mpd2/
 COMMENT=       Python mpd client library
 LICENSE=       gnu-lgpl-v3
 
+# tox.ini not in pypi distfile
+#TEST_DEPENDS+=        ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
+#TEST_DEPENDS+=        ${PYPKGPREFIX}-tox-[0-9]*:../../devel/py-tox
+#TEST_DEPENDS+=        ${PYPKGPREFIX}-twisted-[0-9]*:../../net/py-twisted
+
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
diff -r c362689a4e1a -r 9ec02881446b audio/py-mpd2/distinfo
--- a/audio/py-mpd2/distinfo    Sat Jan 08 12:02:21 2022 +0000
+++ b/audio/py-mpd2/distinfo    Sat Jan 08 12:10:38 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 09:59:25 nia Exp $
+$NetBSD: distinfo,v 1.4 2022/01/08 12:10:38 wiz Exp $
 
-BLAKE2s (python-mpd2-1.0.0.tar.bz2) = 67ee862f088eb5d22cb3da7ab13b15dc6ecccf42dbdbf6a1bca1928a67fe9d58
-SHA512 (python-mpd2-1.0.0.tar.bz2) = 96feadd8ab80513587dbe8f1934be19fc44d3d244e4a7d47e92c9ebdfc793be4e2fe85a51282584ff5ad081c76178fd6cb0eded8d0d1282379cd51b95aa7f441
-Size (python-mpd2-1.0.0.tar.bz2) = 42827 bytes
+BLAKE2s (python-mpd2-3.0.4.tar.gz) = 2ba94cc6cc4d891e9faedbf4ae4aa7ce2d61d53f940f022949cc11736227dd9f
+SHA512 (python-mpd2-3.0.4.tar.gz) = 4b55b6cd5f501f08d489d87d48dc424205fa655b5898016daf45945c575933d2caa1b37c6d79cff751163d67d4b3c9e6a6051f13aa32b802a9d17cf1cf6b3952
+Size (python-mpd2-3.0.4.tar.gz) = 57445 bytes



Home | Main Index | Thread Index | Old Index