aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-appdirs/APKBUILD
blob: 75edb5c36f89926e1f9b3f17d53f8b6abd1d2652 (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
28
29
# Contributor: TBK <alpine@jjtc.eu>
# Maintainer:
pkgname=py3-appdirs
_pkgname=${pkgname#py3-}
pkgver=1.4.3
pkgrel=1
pkgdesc="A small Python module for determining appropriate platform-specific dirs."
url="https://pypi.org/project/appdirs/"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
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() {
	python3 setup.py test
}


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

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