aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-path.py
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-09-08 19:38:09 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-09-08 19:38:09 -0300
commit45263ec243288ab05f5e4ab224da034cfd94f0a5 (patch)
tree5ec915e52fb0bfcdbb5576001b79f28e4f391e02 /testing/py3-path.py
parent6b78f97fdd4f7de30d26d1c5fb8a8b8375571f0b (diff)
downloadaports-45263ec243288ab05f5e4ab224da034cfd94f0a5.tar.bz2
aports-45263ec243288ab05f5e4ab224da034cfd94f0a5.tar.xz
testing/py3-path.py: new aport
https://github.com/jaraco/path.py Module wrapper for os.path
Diffstat (limited to 'testing/py3-path.py')
-rw-r--r--testing/py3-path.py/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/py3-path.py/APKBUILD b/testing/py3-path.py/APKBUILD
new file mode 100644
index 0000000000..b15c0a32ba
--- /dev/null
+++ b/testing/py3-path.py/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Leo <thinkabit.ukim@gmail.com>
+# Maintainer: Leo <thinkabit.ukim@gmail.com>
+pkgname=py3-path.py
+pkgver=12.0.1
+pkgrel=0
+pkgdesc="Module wrapper for os.path"
+options="!check" # Requires unpackaged 'pytest-checkdocs'
+url="https://github.com/jaraco/path.py"
+arch="noarch"
+license="MIT"
+depends="python3 py3-importlib-metadata"
+makedepends="py3-setuptools py3-setuptools_scm"
+source="$pkgname-$pkgver.tar.gz::https://github.com/jaraco/path.py/archive/$pkgver.tar.gz"
+builddir="$srcdir/path.py-$pkgver"
+
+build() {
+ git init # WORKAROUND
+ python3 setup.py build
+}
+
+check() {
+ python3 setup.py test
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="5906b31db753374a75e8b1a8515ed3d6ab7b394906ce8d07aea13be77d5e6db164d79c4b1dc517c8c6692b4eef57505a5c739ba54e282dcbda01f37d21e04044 py3-path.py-12.0.1.tar.gz"