testing/py3-path.py: new aport

https://github.com/jaraco/path.py
Module wrapper for os.path
This commit is contained in:
Leo 2019-09-08 19:38:09 -03:00
parent 6b78f97fdd
commit 45263ec243

View File

@ -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"