# Maintainer: Keith Maxwell # Contributor: Keith Maxwell 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 py3-pip" checkdepends="py3-pytest" source="https://files.pythonhosted.org/packages/81/90/3d1c9b51b99626f91c7afb17eeed6a46a213701b232dc61d3b40edc8635c/ruamel.std.pathlib-${pkgver}.tar.gz python3.7.patch" builddir="$srcdir/ruamel.std.pathlib-$pkgver" options="!check" build() { python3 setup.py build } check() { PYTHONPATH=build/lib python3 -m pytest } package() { python3 -m pip install . --prefix=/usr --root="$pkgdir" } sha512sums="450c3018a85a8fdfc4769e9cb88025a314f4db2980b2cf8290e12944785b570f4c719b3db419e6b1de5186dd72fdbb4a3b2d0a599181da162c1ec5c2fc7138b3 ruamel.std.pathlib-0.6.4.tar.gz 51b2c1cebec4cefca455ba3f744f1dc40d2b2243b7df1d8911a5fd4f214c295f949b8556953a00c3a5c542f8bedccd2260466fd5c19f033572cd0f91504b80fd python3.7.patch"