From 8ef98f8a70750af3c42031c5356109388dfb3edd Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Sat, 9 May 2020 22:40:52 +0200 Subject: testing/py3-pokebase: new aport --- testing/py3-pokebase/APKBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 testing/py3-pokebase/APKBUILD diff --git a/testing/py3-pokebase/APKBUILD b/testing/py3-pokebase/APKBUILD new file mode 100644 index 00000000000..5305edbbd19 --- /dev/null +++ b/testing/py3-pokebase/APKBUILD @@ -0,0 +1,24 @@ +# Contributor: Bart Ribberse +# Maintainer: Bart Ribberse +pkgname=py3-pokebase +pkgver=1.2.0 +pkgrel=0 +pkgdesc="A Python wrapper for the friendly PokeAPI database" +url="https://github.com/GregHilmes/pokebase" +arch="noarch" +license="BSD-3-Clause" +depends="python3 py3-requests py3-certifi py3-chardet py3-idna py3-urllib3" +makedepends="py3-setuptools" +source="https://pypi.python.org/packages/source/p/pokebase/pokebase-$pkgver.tar.gz" +options="!check" # No tests in pypi package +builddir="$srcdir/pokebase-$pkgver" + +build() { + python3 setup.py build +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="b6f3e89cb5b95cf6703755526e69ce27e294ef1b7095267e2fd419d0fecd0e7168239319f83d301b2e30f811346275d0cdb7c0a40cf368c90ff31fa503f95ab8 pokebase-1.2.0.tar.gz" -- cgit v1.2.3