aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authoralexbl <alexbl@FreeBSD.org>2008-05-25 15:17:27 +0800
committeralexbl <alexbl@FreeBSD.org>2008-05-25 15:17:27 +0800
commitc06baf46414f86bcb8a6cb9b6aed10cb56b78fb0 (patch)
treee0b7d129c10a618f2c63a2c16669c21640080c13 /audio
parente5ca4d50729020600b71ed28d2220a3f11631144 (diff)
downloadfreebsd-ports-gnome-c06baf46414f86bcb8a6cb9b6aed10cb56b78fb0.tar.gz
freebsd-ports-gnome-c06baf46414f86bcb8a6cb9b6aed10cb56b78fb0.tar.zst
freebsd-ports-gnome-c06baf46414f86bcb8a6cb9b6aed10cb56b78fb0.zip
- Update to 0.6.0
PR: 122146 Submitted by: Jason E. Hale <bsdkaffee@gmail.com>
Diffstat (limited to 'audio')
-rw-r--r--audio/py-musicbrainz2/Makefile16
-rw-r--r--audio/py-musicbrainz2/distinfo6
-rw-r--r--audio/py-musicbrainz2/pkg-plist40
3 files changed, 41 insertions, 21 deletions
diff --git a/audio/py-musicbrainz2/Makefile b/audio/py-musicbrainz2/Makefile
index 030bb8fdf25d..8116dc18a44f 100644
--- a/audio/py-musicbrainz2/Makefile
+++ b/audio/py-musicbrainz2/Makefile
@@ -5,10 +5,12 @@
# $FreeBSD$
PORTNAME= musicbrainz2
-PORTVERSION= 0.3.1
+PORTVERSION= 0.6.0
CATEGORIES= audio python
MASTER_SITES= ftp://ftp.musicbrainz.org/pub/musicbrainz/python-musicbrainz2/ \
- http://zim.musicbrainz.org/~matt/
+ http://uk.musicbrainz.org/pub/musicbrainz/python-musicbrainz2/ \
+ http://users.musicbrainz.org/~matt/ \
+ http://ftp.osuosl.org/pub/musicbrainz/python-musicbrainz2/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= python-musicbrainz2-${DISTVERSION}
@@ -17,10 +19,16 @@ COMMENT= Next Generation Python bindings for MusicBrainz
BUILD_DEPENDS= ${PYCTYPES}
RUN_DEPENDS= ${PYCTYPES}
-LIB_DEPENDS= musicbrainz.4:${PORTSDIR}/audio/libmusicbrainz
+LIB_DEPENDS= discid.2:${PORTSDIR}/audio/libdiscid
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= python-musicbrainz2
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+post-extract:
+ @${REINPLACE_CMD} -e 's|libdiscid.so.0|libdiscid.so.2|g' \
+ ${WRKSRC}/src/musicbrainz2/disc.py
+
+.include <bsd.port.post.mk>
diff --git a/audio/py-musicbrainz2/distinfo b/audio/py-musicbrainz2/distinfo
index 500039fc6492..e164754ce3c4 100644
--- a/audio/py-musicbrainz2/distinfo
+++ b/audio/py-musicbrainz2/distinfo
@@ -1,3 +1,3 @@
-MD5 (python-musicbrainz2-0.3.1.tar.gz) = 2ff59193f357c84e9e7b2f89356c0939
-SHA256 (python-musicbrainz2-0.3.1.tar.gz) = 02942c7fc753dbf47ad120a53fc188c6b59729dd69485fcf1cdc85b78957817e
-SIZE (python-musicbrainz2-0.3.1.tar.gz) = 54354
+MD5 (python-musicbrainz2-0.6.0.tar.gz) = 2ab23c3c15885d29ebd01bcc44ccc823
+SHA256 (python-musicbrainz2-0.6.0.tar.gz) = 2d0f590d33b61065d9cef66797bd95720d735e11afd7309100b44652a77788b2
+SIZE (python-musicbrainz2-0.6.0.tar.gz) = 67057
diff --git a/audio/py-musicbrainz2/pkg-plist b/audio/py-musicbrainz2/pkg-plist
index 9633e9b879cb..d2aed3488c24 100644
--- a/audio/py-musicbrainz2/pkg-plist
+++ b/audio/py-musicbrainz2/pkg-plist
@@ -1,24 +1,36 @@
+bin/mb-submit-disc
%%PYTHON_SITELIBDIR%%/musicbrainz2/__init__.py
-%%PYTHON_SITELIBDIR%%/musicbrainz2/disc.py
-%%PYTHON_SITELIBDIR%%/musicbrainz2/model.py
-%%PYTHON_SITELIBDIR%%/musicbrainz2/utils.py
-%%PYTHON_SITELIBDIR%%/musicbrainz2/webservice.py
-%%PYTHON_SITELIBDIR%%/musicbrainz2/wsxml.py
-%%PYTHON_SITELIBDIR%%/musicbrainz2/data/country_names.csv
-%%PYTHON_SITELIBDIR%%/musicbrainz2/data/language_names.csv
-%%PYTHON_SITELIBDIR%%/musicbrainz2/data/release_type_names.csv
-%%PYTHON_SITELIBDIR%%/musicbrainz2/data/script_names.csv
%%PYTHON_SITELIBDIR%%/musicbrainz2/__init__.pyc
-%%PYTHON_SITELIBDIR%%/musicbrainz2/disc.pyc
-%%PYTHON_SITELIBDIR%%/musicbrainz2/model.pyc
-%%PYTHON_SITELIBDIR%%/musicbrainz2/utils.pyc
-%%PYTHON_SITELIBDIR%%/musicbrainz2/webservice.pyc
-%%PYTHON_SITELIBDIR%%/musicbrainz2/wsxml.pyc
%%PYTHON_SITELIBDIR%%/musicbrainz2/__init__.pyo
+%%PYTHON_SITELIBDIR%%/musicbrainz2/data/__init__.py
+%%PYTHON_SITELIBDIR%%/musicbrainz2/data/__init__.pyc
+%%PYTHON_SITELIBDIR%%/musicbrainz2/data/__init__.pyo
+%%PYTHON_SITELIBDIR%%/musicbrainz2/data/countrynames.py
+%%PYTHON_SITELIBDIR%%/musicbrainz2/data/countrynames.pyc
+%%PYTHON_SITELIBDIR%%/musicbrainz2/data/countrynames.pyo
+%%PYTHON_SITELIBDIR%%/musicbrainz2/data/languagenames.py
+%%PYTHON_SITELIBDIR%%/musicbrainz2/data/languagenames.pyc
+%%PYTHON_SITELIBDIR%%/musicbrainz2/data/languagenames.pyo
+%%PYTHON_SITELIBDIR%%/musicbrainz2/data/releasetypenames.py
+%%PYTHON_SITELIBDIR%%/musicbrainz2/data/releasetypenames.pyc
+%%PYTHON_SITELIBDIR%%/musicbrainz2/data/releasetypenames.pyo
+%%PYTHON_SITELIBDIR%%/musicbrainz2/data/scriptnames.py
+%%PYTHON_SITELIBDIR%%/musicbrainz2/data/scriptnames.pyc
+%%PYTHON_SITELIBDIR%%/musicbrainz2/data/scriptnames.pyo
+%%PYTHON_SITELIBDIR%%/musicbrainz2/disc.py
+%%PYTHON_SITELIBDIR%%/musicbrainz2/disc.pyc
%%PYTHON_SITELIBDIR%%/musicbrainz2/disc.pyo
+%%PYTHON_SITELIBDIR%%/musicbrainz2/model.py
+%%PYTHON_SITELIBDIR%%/musicbrainz2/model.pyc
%%PYTHON_SITELIBDIR%%/musicbrainz2/model.pyo
+%%PYTHON_SITELIBDIR%%/musicbrainz2/utils.py
+%%PYTHON_SITELIBDIR%%/musicbrainz2/utils.pyc
%%PYTHON_SITELIBDIR%%/musicbrainz2/utils.pyo
+%%PYTHON_SITELIBDIR%%/musicbrainz2/webservice.py
+%%PYTHON_SITELIBDIR%%/musicbrainz2/webservice.pyc
%%PYTHON_SITELIBDIR%%/musicbrainz2/webservice.pyo
+%%PYTHON_SITELIBDIR%%/musicbrainz2/wsxml.py
+%%PYTHON_SITELIBDIR%%/musicbrainz2/wsxml.pyc
%%PYTHON_SITELIBDIR%%/musicbrainz2/wsxml.pyo
@dirrm %%PYTHON_SITELIBDIR%%/musicbrainz2/data
@dirrm %%PYTHON_SITELIBDIR%%/musicbrainz2