aboutsummaryrefslogtreecommitdiffstats
path: root/audio/py-pyacoustid
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2013-02-15 10:47:46 +0800
committermiwi <miwi@FreeBSD.org>2013-02-15 10:47:46 +0800
commit78467774de5018bc2b18cf923ab36e513bd129db (patch)
tree1ee83f5be3078074b9b8939b135fc2b066b5eca0 /audio/py-pyacoustid
parent6b500e29b54e6f73389acc8b747d57aa6f580cbb (diff)
downloadfreebsd-ports-gnome-78467774de5018bc2b18cf923ab36e513bd129db.tar.gz
freebsd-ports-gnome-78467774de5018bc2b18cf923ab36e513bd129db.tar.zst
freebsd-ports-gnome-78467774de5018bc2b18cf923ab36e513bd129db.zip
Bindings for Chromaprint acoustic fingerprinting and the Acoustid API
WWW: https://github.com/sampsyo/pyacoustid PR: ports/176110 Submitted by: Mark Felder <feld@feld.me>
Diffstat (limited to 'audio/py-pyacoustid')
-rw-r--r--audio/py-pyacoustid/Makefile31
-rw-r--r--audio/py-pyacoustid/distinfo2
-rw-r--r--audio/py-pyacoustid/pkg-descr3
3 files changed, 36 insertions, 0 deletions
diff --git a/audio/py-pyacoustid/Makefile b/audio/py-pyacoustid/Makefile
new file mode 100644
index 000000000000..f0883d4059d4
--- /dev/null
+++ b/audio/py-pyacoustid/Makefile
@@ -0,0 +1,31 @@
+# Created by: Mark Felder <feld@feld.me>
+# $FreeBSD$
+
+PORTNAME= pyacoustid
+PORTVERSION= 0.7
+CATEGORIES= audio python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= feld@feld.me
+COMMENT= Bindings for Chromaprint acoustic fingerprinting and the Acoustid API
+
+LICENSE= MIT
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:${PORTSDIR}/devel/py-setuptools
+LIB_DEPENDS= chromaprint:${PORTSDIR}/audio/chromaprint
+
+USE_PYTHON= yes
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/acoustid.py \
+ %%PYTHON_SITELIBDIR%%/chromaprint.py
+
+.include <bsd.port.pre.mk>
+
+do-build:
+ @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \
+ ${PYSETUP} build)
+
+do-install:
+ cd ${WRKSRC}/build/lib && ${COPYTREE_SHARE} \* ${PYTHONPREFIX_SITELIBDIR}/
+
+.include <bsd.port.post.mk>
diff --git a/audio/py-pyacoustid/distinfo b/audio/py-pyacoustid/distinfo
new file mode 100644
index 000000000000..864aba9eb9d2
--- /dev/null
+++ b/audio/py-pyacoustid/distinfo
@@ -0,0 +1,2 @@
+SHA256 (pyacoustid-0.7.tar.gz) = ad1d15773a776d7880350062131f055e260f4c39135cfcc1cfbfdbcbfc08f2ef
+SIZE (pyacoustid-0.7.tar.gz) = 10173
diff --git a/audio/py-pyacoustid/pkg-descr b/audio/py-pyacoustid/pkg-descr
new file mode 100644
index 000000000000..276c90eea055
--- /dev/null
+++ b/audio/py-pyacoustid/pkg-descr
@@ -0,0 +1,3 @@
+Bindings for Chromaprint acoustic fingerprinting and the Acoustid API
+
+WWW: https://github.com/sampsyo/pyacoustid