aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-pokebase/APKBUILD
blob: 06afd66a6b3e45597f8e34f803a480166c54f626 (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-pokebase
pkgver=1.3.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="
	py3-certifi
	py3-chardet
	py3-idna
	py3-requests
	py3-urllib3
	python3
	"
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="2aa64effd3418054a86b0f265ff1517d175b67b9401ba5cd9155c76c1d5760feb10230b9598158482d0fa3497224b645eb9514d4cf3306fe1b09edba9d827130  pokebase-1.3.0.tar.gz"