diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/py-musicbrainzngs/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/py-musicbrainzngs/APKBUILD b/testing/py-musicbrainzngs/APKBUILD new file mode 100644 index 000000000..45cfdd1eb --- /dev/null +++ b/testing/py-musicbrainzngs/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=py-musicbrainzngs +pkgver=0.5 +pkgrel=0 +pkgdesc="Bindings for the MusicBrainz NGS service" +url="https://github.com/alastair/python-musicbrainzngs" +arch="noarch" +license="BSD" +depends="python" +depends_dev="" +makedepends="python-dev py-setuptools" +install="" +subpackages="" +source="https://pypi.python.org/packages/source/m/musicbrainzngs/musicbrainzngs-$pkgver.tar.gz" + +_builddir="$srcdir"/musicbrainzngs-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="9e17a181af72d04a291c9a960bc73d44 musicbrainzngs-0.5.tar.gz" +sha256sums="281388ab750d2996e9feca4580fd4215d616a698e02cd6719cb9b8562945c489 musicbrainzngs-0.5.tar.gz" +sha512sums="abd5b29bb8d3a19e70c36816c42b9339dda30334c273d388da4c5509a4b37f1630e74056ae47d913be5f54c4f91d90992cc29a0c78ef33ecc9fa9358e1b17d1e musicbrainzngs-0.5.tar.gz" |