pkgsrc/audio/py-mpd2/Makefile
wiz 5cb5a3ab5a 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
2022-01-08 12:10:38 +00:00

23 lines
690 B
Makefile

# $NetBSD: Makefile,v 1.4 2022/01/08 12:10:38 wiz Exp $
DISTNAME= python-mpd2-3.0.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//}
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-mpd2/}
MAINTAINER= pkgsrc-users@NetBSD.org
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
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"