summaryrefslogtreecommitdiffstats
path: root/audio/py-libtunepimp
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2005-09-13 17:18:30 +0000
committerlioux <lioux@FreeBSD.org>2005-09-13 17:18:30 +0000
commit7463cc377e754de6653583ea24bcfce4374c12a0 (patch)
treebefa4b29ba389c5480b4174d3eec1cc93a682136 /audio/py-libtunepimp
parent9523d4e260d5b916ada4fad9b818a27b512409a3 (diff)
downloadFreeBSD-ports-7463cc377e754de6653583ea24bcfce4374c12a0.zip
FreeBSD-ports-7463cc377e754de6653583ea24bcfce4374c12a0.tar.gz
o New port py-libtunepimp version 0.4.0-pre5: libtunepimp python
binding o Assign maintainership to Lauri Watts <lauri@kde.org> who is willing
Diffstat (limited to 'audio/py-libtunepimp')
-rw-r--r--audio/py-libtunepimp/Makefile25
-rw-r--r--audio/py-libtunepimp/distinfo2
-rw-r--r--audio/py-libtunepimp/files/patch-python::tunepimp::tunepimp.py17
-rw-r--r--audio/py-libtunepimp/pkg-descr11
-rw-r--r--audio/py-libtunepimp/pkg-plist13
5 files changed, 68 insertions, 0 deletions
diff --git a/audio/py-libtunepimp/Makefile b/audio/py-libtunepimp/Makefile
new file mode 100644
index 0000000..16f6563
--- /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 0000000..d6c03c7
--- /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 0000000..cab293d
--- /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 0000000..2fd58ef
--- /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 0000000..a513ccc
--- /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
OpenPOWER on IntegriCloud