blob: 0e2e57bb690b7994041a9e634f11f411c4527a73 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org>
pkgname=py3-pathlib2
pkgver=2.3.5
pkgrel=0
pkgdesc="Fork of pathlib aiming to support the full stdlib Python API"
url="https://github.com/mcmtroffaes/pathlib2"
arch="noarch"
license="MIT"
depends="python3 py3-six py3-scandir"
makedepends="py3-setuptools"
source="pathlib2-$pkgver.tar.gz::https://github.com/mcmtroffaes/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 --prefix=/usr --root="$pkgdir"
}
sha512sums="0404a86c1a374aafa3b352ab41855bd1384bfbb047116de8d44ee3e0efe331938596eb6c266216310b40b7a9db3cb9086a6c3190faa8169f89cc8772294c4ea0 pathlib2-2.3.5.tar.gz"
|