aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-path
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-11-29 23:01:06 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-11-29 23:02:56 +0100
commit4c8232d0c089f3fe959bcffd2fe49db52b86163b (patch)
tree4216210235e305c1e5e37fbddc3c1ba227a04984 /testing/py3-path
parente21c9e2f89789c17676babc74b77e5b3806c8fe5 (diff)
downloadaports-4c8232d0c089f3fe959bcffd2fe49db52b86163b.tar.bz2
aports-4c8232d0c089f3fe959bcffd2fe49db52b86163b.tar.xz
testing/py3-path: rename from py3-path.py
Diffstat (limited to 'testing/py3-path')
-rw-r--r--testing/py3-path/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/py3-path/APKBUILD b/testing/py3-path/APKBUILD
new file mode 100644
index 0000000000..00da6923d3
--- /dev/null
+++ b/testing/py3-path/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Leo <thinkabit.ukim@gmail.com>
+# Maintainer: Leo <thinkabit.ukim@gmail.com>
+pkgname=py3-path
+pkgver=13.0.0
+pkgrel=1
+pkgdesc="Module wrapper for os.path"
+options="!check" # Requires unpackaged 'pytest-checkdocs'
+url="https://github.com/jaraco/path"
+arch="noarch"
+license="MIT"
+depends="python3"
+makedepends="py3-setuptools py3-setuptools_scm"
+source="$pkgname-$pkgver.tar.gz::https://github.com/jaraco/path/archive/v$pkgver.tar.gz"
+builddir="$srcdir/path-$pkgver"
+
+build() {
+ git init # WORKAROUND
+ python3 setup.py build
+}
+
+check() {
+ python3 setup.py test
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="e87649ba779360533af7152165009984bd6a9100c3143baf35b4b195c341b3f64cffd9f9476b5461177ab5f87aceaf4824eca9e7199699b65bc3d1fae3d3d298 py3-path.py-13.0.0.tar.gz"