mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-28 12:02:04 +01:00
30 lines
813 B
Plaintext
30 lines
813 B
Plaintext
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer: Leo <thinkabit.ukim@gmail.com>
|
|
pkgname=py3-path
|
|
pkgver=13.1.0
|
|
pkgrel=0
|
|
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="db27420ad117f36bf42e54284e931f92b18a6db71fab3a66cba65bb2c78c02747db637e5ea7f69d9fc2864c0dfc0aa4dede0c7183b49699ffc4416d6662f9185 py3-path-13.1.0.tar.gz"
|