mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-02 23:31:34 +01:00
36 lines
876 B
Plaintext
36 lines
876 B
Plaintext
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=py3-path
|
|
pkgver=16.7.1
|
|
pkgrel=0
|
|
pkgdesc="Module wrapper for os.path"
|
|
url="https://github.com/jaraco/path"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3"
|
|
makedepends="py3-gpep517 py3-setuptools py3-setuptools_scm py3-wheel"
|
|
checkdepends="py3-pytest"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://github.com/jaraco/path/archive/v$pkgver/path-v$pkgver.tar.gz"
|
|
builddir="$srcdir/path-$pkgver"
|
|
|
|
build() {
|
|
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
pytest
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/path*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
f39fef10fe1f30cc11534855bc4775e8bf5b43930770f4dbf3c6815db8ad3121671ba97b892479a5a5c8f4b960df215881585ffc52f9ee78573cdf2af7be046a path-v16.7.1.tar.gz
|
|
"
|