mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-29 20:42:24 +01:00
30 lines
782 B
Plaintext
30 lines
782 B
Plaintext
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer:
|
|
pkgname=py3-path
|
|
pkgver=15.0.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="3d499cf9a02381bd4f1aa4c515b91163881b928a2cdd19c6644239061c104bed22244f39a3a19d8376c296488bd6155d61308d33ddbc8a5a98e1d0d66d2515b5 py3-path-15.0.0.tar.gz"
|