diff options
author | miwi <miwi@FreeBSD.org> | 2013-02-15 10:47:46 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2013-02-15 10:47:46 +0800 |
commit | 78467774de5018bc2b18cf923ab36e513bd129db (patch) | |
tree | 1ee83f5be3078074b9b8939b135fc2b066b5eca0 | |
parent | 6b500e29b54e6f73389acc8b747d57aa6f580cbb (diff) | |
download | freebsd-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>
-rw-r--r-- | audio/Makefile | 1 | ||||
-rw-r--r-- | audio/py-pyacoustid/Makefile | 31 | ||||
-rw-r--r-- | audio/py-pyacoustid/distinfo | 2 | ||||
-rw-r--r-- | audio/py-pyacoustid/pkg-descr | 3 |
4 files changed, 37 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile index 37781ba1625a..c105a4daffd1 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -610,6 +610,7 @@ SUBDIR += pure-audio SUBDIR += py-ao SUBDIR += py-apetag + SUBDIR += py-pyacoustid SUBDIR += py-pyaudio SUBDIR += py-cddb SUBDIR += py-eyed3 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 |