mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 03:35:38 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
32 lines
917 B
Text
32 lines
917 B
Text
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
|
|
# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org>
|
|
pkgname=py3-pathlib2
|
|
pkgver=2.3.7
|
|
pkgrel=1
|
|
pkgdesc="Fork of pathlib aiming to support the full stdlib Python API"
|
|
url="https://github.com/jazzband/pathlib2"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3 py3-six"
|
|
makedepends="py3-setuptools"
|
|
source="pathlib2-$pkgver.tar.gz::https://github.com/jazzband/pathlib2/archive/$pkgver.tar.gz"
|
|
builddir="$srcdir/pathlib2-$pkgver"
|
|
|
|
replaces="py-pathlib2" # Backwards compatibility
|
|
provides="py-pathlib2=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
45e0006651795199f39b8e9c16eb6c551b66c483592f9aef8e6dcd1ed45766713777c8dccdbfdb0ae2c3984a138276ae2c8ca5985dc3d25a14b669fc6a88584b pathlib2-2.3.7.tar.gz
|
|
"
|