summaryrefslogtreecommitdiff
path: root/main/py3-appdirs/APKBUILD
blob: fb5ee9faa9e38a78cba7978dbb882f1f7f472780 (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
# Contributor: TBK <alpine@jjtc.eu>
# Maintainer: Keith Maxwell <keith.maxwell@gmail.com>
pkgname=py3-appdirs
_pkgname=appdirs
pkgver=1.4.4
pkgrel=5
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/a/appdirs/appdirs-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

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

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

sha512sums="
8b0cdd9fd471d45b186aa47607691cf378dabd3edc7b7026a57bd6d6f57698e86f440818a5e23ba4288b35d6bb8cb6eb0106eae8aab09d8863ee15025d300883  appdirs-1.4.4.tar.gz
"