mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/py3-path.py: new aport
https://github.com/jaraco/path.py Module wrapper for os.path
This commit is contained in:
parent
6b78f97fdd
commit
45263ec243
29
testing/py3-path.py/APKBUILD
Normal file
29
testing/py3-path.py/APKBUILD
Normal file
@ -0,0 +1,29 @@
|
||||
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
||||
# Maintainer: Leo <thinkabit.ukim@gmail.com>
|
||||
pkgname=py3-path.py
|
||||
pkgver=12.0.1
|
||||
pkgrel=0
|
||||
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"
|
||||
Loading…
x
Reference in New Issue
Block a user