diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2005-09-13 17:18:30 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2005-09-13 17:18:30 +0000 |
commit | 740e9fe87d41351e174b05010010b0d670fa63a6 (patch) | |
tree | 5e3b454dbbe86cb229f890fedb1aafc1c5af886d /audio/py-libtunepimp | |
parent | 47d67c0ac7e9741fed57364f2074cab95bf1d30a (diff) | |
download | ports-740e9fe87d41351e174b05010010b0d670fa63a6.tar.gz ports-740e9fe87d41351e174b05010010b0d670fa63a6.zip |
Notes
Diffstat (limited to 'audio/py-libtunepimp')
-rw-r--r-- | audio/py-libtunepimp/Makefile | 25 | ||||
-rw-r--r-- | audio/py-libtunepimp/distinfo | 2 | ||||
-rw-r--r-- | audio/py-libtunepimp/files/patch-python::tunepimp::tunepimp.py | 17 | ||||
-rw-r--r-- | audio/py-libtunepimp/pkg-descr | 11 | ||||
-rw-r--r-- | audio/py-libtunepimp/pkg-plist | 13 |
5 files changed, 68 insertions, 0 deletions
diff --git a/audio/py-libtunepimp/Makefile b/audio/py-libtunepimp/Makefile new file mode 100644 index 000000000000..16f656358042 --- /dev/null +++ b/audio/py-libtunepimp/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: tunepimp python bindings +# Date created: Sat Aug 20 15:26:15 UTC 2005 +# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> +# +# $FreeBSD$ + +PORTNAME= libtunepimp +DISTVERSION= 0.4.0-pre5 +CATEGORIES= audio python +MASTER_SITES= ftp://ftp.musicbrainz.org/pub/musicbrainz/picard/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= lauri@kde.org +COMMENT= tunepimp python bindings + +BUILD_DEPENDS= ${LOCALBASE}/lib/libtunepimp.so:${PORTSDIR}/audio/libtunepimp +RUN_DEPENDS= ${BUILD_DEPENDS} + +USE_PYTHON= yes +USE_PYDISTUTILS=yes + +BUILD_WRKSRC= ${WRKSRC}/python +INSTALL_WRKSRC= ${WRKSRC}/python + +.include <bsd.port.mk> diff --git a/audio/py-libtunepimp/distinfo b/audio/py-libtunepimp/distinfo new file mode 100644 index 000000000000..d6c03c70dd56 --- /dev/null +++ b/audio/py-libtunepimp/distinfo @@ -0,0 +1,2 @@ +MD5 (libtunepimp-0.4.0-pre5.tar.gz) = 22e3fa2614cc0262ee3f932a0781f6b6 +SIZE (libtunepimp-0.4.0-pre5.tar.gz) = 926332 diff --git a/audio/py-libtunepimp/files/patch-python::tunepimp::tunepimp.py b/audio/py-libtunepimp/files/patch-python::tunepimp::tunepimp.py new file mode 100644 index 000000000000..cab293d3a489 --- /dev/null +++ b/audio/py-libtunepimp/files/patch-python::tunepimp::tunepimp.py @@ -0,0 +1,17 @@ +--- python/tunepimp/tunepimp.py.orig Sat Aug 20 13:53:49 2005 ++++ python/tunepimp/tunepimp.py Sat Aug 20 13:54:58 2005 +@@ -137,7 +137,13 @@ + if sys.platform == "linux2": + lib = "libtunepimp.so.3" + else: +- raise TunePimpError, "Unknown platform: " + sys.platform ++ if sys.platform == "freebsd5": ++ lib = "libtunepimp.so.3" ++ else: ++ if sys.platform == "freebsd6": ++ lib = "libtunepimp.so.3" ++ else: ++ raise TunePimpError, "Unknown platform: " + sys.platform + + pathList = [ ] + ldLibPath = os.environ.get('LD_LIBRARY_PATH') diff --git a/audio/py-libtunepimp/pkg-descr b/audio/py-libtunepimp/pkg-descr new file mode 100644 index 000000000000..2fd58ef72edc --- /dev/null +++ b/audio/py-libtunepimp/pkg-descr @@ -0,0 +1,11 @@ +Tunepimp is a client library for MusicBrainz + +MusicBrainz is the second generation incarnation of the CD Index. +This server is designed to enable Audio CD and MP3/Vorbis players +to download metadata about the music they are playing. All of the +data collected on the Musicbrainz server is made available to the +public under the OpenContent license. + +WWW: http://www.musicbrainz.org/ + +-- lioux@FreeBSD.org diff --git a/audio/py-libtunepimp/pkg-plist b/audio/py-libtunepimp/pkg-plist new file mode 100644 index 000000000000..a513ccc7965c --- /dev/null +++ b/audio/py-libtunepimp/pkg-plist @@ -0,0 +1,13 @@ +%%PYTHON_SITELIBDIR%%/tunepimp/__init__.py +%%PYTHON_SITELIBDIR%%/tunepimp/__init__.pyc +%%PYTHON_SITELIBDIR%%/tunepimp/__init__.pyo +%%PYTHON_SITELIBDIR%%/tunepimp/metadata.py +%%PYTHON_SITELIBDIR%%/tunepimp/metadata.pyc +%%PYTHON_SITELIBDIR%%/tunepimp/metadata.pyo +%%PYTHON_SITELIBDIR%%/tunepimp/track.py +%%PYTHON_SITELIBDIR%%/tunepimp/track.pyc +%%PYTHON_SITELIBDIR%%/tunepimp/track.pyo +%%PYTHON_SITELIBDIR%%/tunepimp/tunepimp.py +%%PYTHON_SITELIBDIR%%/tunepimp/tunepimp.pyc +%%PYTHON_SITELIBDIR%%/tunepimp/tunepimp.pyo +@dirrm %%PYTHON_SITELIBDIR%%/tunepimp |