30 lines
851 B
Plaintext

# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-path.py
pkgver=12.0.2
pkgrel=1
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/v$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="8eb0f3046e8c642356dca9c51e3670475680d641d4d4252cfada48a2b179dbe22d05fa6c15782cd7913e30cb8d522cc681c47cf50e13fe8095f18f047bbf68ac py3-path.py-12.0.2.tar.gz"