diff options
author | Galen Abell <galen@galenabell.com> | 2020-02-10 22:05:31 -0500 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-02-14 13:11:32 -0300 |
commit | 0b978540047d0efd0dd62001bee5d4991af644fa (patch) | |
tree | 4fd3b61732f4d6e3e37878ef86014153e7342f77 /testing/py3-mpd2 | |
parent | 9d0d4e38ec7b4a2cc6679be03c9dfd2ada0c5967 (diff) | |
download | aports-0b978540047d0efd0dd62001bee5d4991af644fa.tar.bz2 aports-0b978540047d0efd0dd62001bee5d4991af644fa.tar.xz |
testing/py3-mpd2: new aport
https://github.com/Mic92/python-mpd2
Python client interface for MPD
testing/
Diffstat (limited to 'testing/py3-mpd2')
-rw-r--r-- | testing/py3-mpd2/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/py3-mpd2/APKBUILD b/testing/py3-mpd2/APKBUILD new file mode 100644 index 0000000000..bb7a127aca --- /dev/null +++ b/testing/py3-mpd2/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Galen Abell <galen@galenabell.com> +# Maintainer: Galen Abell <galen@galenabell.com> +pkgname=py3-mpd2 +_pyname=python-mpd2 +pkgver=1.1.0 +pkgrel=0 +pkgdesc="python client interface for MPD" +url="https://github.com/Mic92/python-mpd2" +arch="noarch" +license="LGPL-3.0-only" +depends="python3" +makedepends="py3-setuptools" +checkdepends="py3-mock py3-twisted" +source="$_pyname-$pkgver.tar.gz::https://github.com/Mic92/python-mpd2/archive/v$pkgver.tar.gz" +builddir="$srcdir/$_pyname-$pkgver" + +build() { + python3 setup.py build +} + +check() { + python3 -m unittest mpd.tests +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} +sha512sums="65b17ae34b2c731b7d45801211e49eacfc18239d5575075be0c11ace350da19b82dd151fefc42077454a988d3deb1b489471f739ddea2d915cb3c241669dbe32 python-mpd2-1.1.0.tar.gz" |