aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-appdirs/APKBUILD
blob: bfde737a756fc903cac0fc535d1b87e731ea01da (plain) (blame)
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
# Contributor: TBK <alpine@jjtc.eu>
# Maintainer:
pkgname=py3-appdirs
_pkgname=${pkgname#py3-}
pkgver=1.4.3
pkgrel=2
pkgdesc="A small Python module for determining appropriate platform-specific dirs."
url="https://pypi.org/project/appdirs/"
arch="noarch"
license="MIT"
depends="python3"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

check() {
	PYTHONPATH="$PWD" python3 test/test_api.py
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="964db6c9f830c9b23d78f0230c5f574f214f08faf3fd24f10ccc941d23e38de66186461d754f7effb94aa0553c25df4843c9ff5dcd375c992c322550b3d98cce  appdirs-1.4.3.tar.gz"