summaryrefslogtreecommitdiff
path: root/testing/py3-mando/APKBUILD
blob: d0ed1b5b8b6bffd18abf71e287de277ce4887531 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Contributor: Rejah Rehim <rejah@beaglesecurity.com>
# Maintainer: Rejah Rehim <rejah@beaglesecurity.com>
pkgname=py3-mando
_pkgname=mando
pkgver=0.7.1
pkgrel=0
pkgdesc="Python CLI apps with little to no effort at all!"
options="!check" # no test suite
url="https://mando.readthedocs.org/"
arch="noarch"
license="MIT"
depends="python3 py3-six"
makedepends="py3-setuptools"
subpackages="$pkgname-doc"
source="https://files.pythonhosted.org/packages/source/m/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
	install -Dm644 README.rst -t "$pkgdir"/usr/share/doc/"$pkgname"
	install -Dm644 LICENSE  -t "$pkgdir"/usr/share/licenses/"$pkgname"

	rm -rf "$pkgdir"/usr/lib/python3*/site-packages/mando/tests
}

sha512sums="
469ff797d70a2426042ac0a289bbdb04d53ad8f18c6ea58bf361d4aa13611beb77f845fe73f67b459717e1c886fde627f5f039488826b1ca75ca71665fc55772  mando-0.7.1.tar.gz
"