aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-appdirs
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.eu>2019-05-07 00:51:23 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-06-20 10:02:46 -0300
commit92b55871b837ca83f38989e3a612f128ed1cebbc (patch)
treec6f0f59b0add75e09a15e20f46033d3e28f91334 /testing/py3-appdirs
parent92451f9d321cda5b94fb65ef3d128e0f72059d87 (diff)
downloadaports-92b55871b837ca83f38989e3a612f128ed1cebbc.tar.bz2
aports-92b55871b837ca83f38989e3a612f128ed1cebbc.tar.xz
testing/py3-appdirs: new aport
Diffstat (limited to 'testing/py3-appdirs')
-rw-r--r--testing/py3-appdirs/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/py3-appdirs/APKBUILD b/testing/py3-appdirs/APKBUILD
new file mode 100644
index 0000000000..2ed01a2d57
--- /dev/null
+++ b/testing/py3-appdirs/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: TBK <alpine@jjtc.eu>
+# Maintainer:
+pkgname=py3-appdirs
+_pkgname=${pkgname#py3-}
+pkgver=1.4.3
+pkgrel=0
+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"