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: updated to 3.0.5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/18621ae9150c
branches:  trunk
changeset: 388882:18621ae9150c
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Nov 27 10:15:19 2022 +0000

description:
py-mpd2: updated to 3.0.5

Changes in v3.0.5
-----------------
* python 3.10 compatibility
* fixes for using idle in async
* use python's internal mock library instead of external mock
* expose connection status in async (connected property)

diffstat:

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

diffs (48 lines):

diff -r f11fcda7e446 -r 18621ae9150c audio/py-mpd2/Makefile
--- a/audio/py-mpd2/Makefile    Sun Nov 27 09:55:37 2022 +0000
+++ b/audio/py-mpd2/Makefile    Sun Nov 27 10:15:19 2022 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2022/01/08 12:10:38 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2022/11/27 10:15:19 adam Exp $
 
-DISTNAME=      python-mpd2-3.0.4
+DISTNAME=      python-mpd2-3.0.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/python-//}
-CATEGORIES=    audio
+CATEGORIES=    audio python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/python-mpd2/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -10,14 +10,16 @@
 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
+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
 
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m unittest mpd.tests
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r f11fcda7e446 -r 18621ae9150c audio/py-mpd2/distinfo
--- a/audio/py-mpd2/distinfo    Sun Nov 27 09:55:37 2022 +0000
+++ b/audio/py-mpd2/distinfo    Sun Nov 27 10:15:19 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2022/01/08 12:10:38 wiz Exp $
+$NetBSD: distinfo,v 1.5 2022/11/27 10:15:19 adam Exp $
 
-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
+BLAKE2s (python-mpd2-3.0.5.tar.gz) = f7411ff75c0a5529d45d3cbcc5789743a487182cfa576b1429e9fadbf5f57a64
+SHA512 (python-mpd2-3.0.5.tar.gz) = f5715fbca5d607f89ba34ca4d34628f3d22d8df107ee5384c824f734c7da5429e87cfaef5a0eed56d6b47bc13b051cf0bade0de8fc2b1db7793b52ab35fbe1f3
+Size (python-mpd2-3.0.5.tar.gz) = 57963 bytes



Home | Main Index | Thread Index | Old Index