mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-19 01:05:15 +03:00
29 lines
850 B
Text
29 lines
850 B
Text
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer: Leo <thinkabit.ukim@gmail.com>
|
|
pkgname=py3-path.py
|
|
pkgver=12.0.1
|
|
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/$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"
|