blob: 2c605e3f21a18126ead624bf0b03fea273605401 (
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
|
# Maintainer: Keith Maxwell <keith.maxwell@gmail.com>
# Contributor: Keith Maxwell <keith.maxwell@gmail.com>
pkgname=py3-ruamel.std.pathlib
_pyname=ruamel.std.pathlib
pkgver=0.6.4
pkgrel=1
pkgdesc="improvements over the standard pathlib module and pathlib2 package"
url=https://bitbucket.org/ruamel/std.pathlib
arch=noarch
license=MIT
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="$_pyname-$pkgver.tar.gz::https://bitbucket.org/ruamel/std.pathlib/get/$pkgver.tar.gz
python3.7.patch"
builddir="$srcdir/ruamel-std.pathlib-12032dc99624"
build() {
python3 setup.py build
}
check() {
PYTHONPATH=build/lib python3 -m pytest
}
package() {
python3 -m pip install . --prefix=/usr --root="$pkgdir"
}
sha512sums="591aec63c14c269d6b0838ae4867d58bd0642cf84cff841eda53a4d60f076ba68fdcb54d7e2932b248ee61feb773bf28b6309947886d350af34ed9f580c9d939 ruamel.std.pathlib-0.6.4.tar.gz
51b2c1cebec4cefca455ba3f744f1dc40d2b2243b7df1d8911a5fd4f214c295f949b8556953a00c3a5c542f8bedccd2260466fd5c19f033572cd0f91504b80fd python3.7.patch"
|