summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/py-musicbrainz-ngs/Makefile13
-rw-r--r--audio/py-musicbrainz-ngs/distinfo9
-rw-r--r--audio/py-musicbrainz-ngs/patches/patch-aa15
3 files changed, 28 insertions, 9 deletions
diff --git a/audio/py-musicbrainz-ngs/Makefile b/audio/py-musicbrainz-ngs/Makefile
index 8ca45e5a293..9f1a9633aa5 100644
--- a/audio/py-musicbrainz-ngs/Makefile
+++ b/audio/py-musicbrainz-ngs/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2013/03/14 13:42:06 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2013/06/12 20:25:18 drochner Exp $
-DISTNAME= v0.3
-PKGNAME= ${PYPKGPREFIX}-musicbrainz-ngs-0.3
+DISTNAME= v0.4
+PKGNAME= ${PYPKGPREFIX}-musicbrainz-ngs-0.4
CATEGORIES= audio net
MASTER_SITES= https://github.com/alastair/python-musicbrainz-ngs/archive/
@@ -12,11 +12,14 @@ LICENSE= 2-clause-bsd
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
-WRKSRC= ${WRKDIR}/python-musicbrainz-ngs-0.3
+WRKSRC= ${WRKDIR}/python-musicbrainz-ngs-0.4
DIST_SUBDIR= py-musicbrainz-ngs
PYTHON_VERSIONS_INCLUDE_3X= yes
-EGG_NAME= musicbrainzngs-0.3
+EGG_NAME= musicbrainzngs-0.4
+
+do-test:
+ cd ${WRKSRC} && ${PYTHONBIN} setup.py test
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/py-musicbrainz-ngs/distinfo b/audio/py-musicbrainz-ngs/distinfo
index e64759d96f1..23817c1df38 100644
--- a/audio/py-musicbrainz-ngs/distinfo
+++ b/audio/py-musicbrainz-ngs/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1 2013/03/14 13:42:06 wiz Exp $
+$NetBSD: distinfo,v 1.2 2013/06/12 20:25:18 drochner Exp $
-SHA1 (py-musicbrainz-ngs/v0.3.tar.gz) = 09c6221e94f081add1af8acbf9f9e97197266f96
-RMD160 (py-musicbrainz-ngs/v0.3.tar.gz) = e5b221ef5de7833881923cc215aee0b2bd963cc4
-Size (py-musicbrainz-ngs/v0.3.tar.gz) = 49246 bytes
+SHA1 (py-musicbrainz-ngs/v0.4.tar.gz) = 061e53f494126099617baf1035df518cfaea64d5
+RMD160 (py-musicbrainz-ngs/v0.4.tar.gz) = abc88336a10dab1d1ba2ad45cd31b31c768c1585
+Size (py-musicbrainz-ngs/v0.4.tar.gz) = 54288 bytes
+SHA1 (patch-aa) = 061af7a08fde3e132c494b25d4a6cab159ea7e08
diff --git a/audio/py-musicbrainz-ngs/patches/patch-aa b/audio/py-musicbrainz-ngs/patches/patch-aa
new file mode 100644
index 00000000000..0254005a2da
--- /dev/null
+++ b/audio/py-musicbrainz-ngs/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1 2013/06/12 20:25:18 drochner Exp $
+
+avoid pollution
+
+--- setup.py.orig 2013-05-15 19:13:31.000000000 +0000
++++ setup.py
+@@ -52,7 +52,7 @@ setup(
+ author_email="alastair@porter.net.nz",
+ url="https://github.com/alastair/python-musicbrainz-ngs",
+ packages=['musicbrainzngs'],
+- package_data={'musicbrainzngs': ['CHANGES',
++ xpackage_data={'musicbrainzngs': ['CHANGES',
+ '../docs/*',
+ '../examples/*',
+ '../test/data/*.xml',