# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-dpath _pkgname=dpath pkgver=2.1.4 pkgrel=0 pkgdesc="Filesystem-like pathing and searching for dictionaries" url="https://github.com/dpath-maintainers/dpath-python" arch="noarch" license="MIT" replaces="py-dpath" # for backwards compatibility provides="py-dpath=$pkgver-r$pkgrel" # for backwards compatibility depends="python3" makedepends="py3-setuptools" checkdepends="py3-hypothesis py3-mock py3-nose2 py3-pytest" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { python3 setup.py build } check() { PYTHONPATH="$builddir"/build/lib pytest-3 } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" a0f0ff8e41182868ce91cc47df1908b037c1a9b135a3fa219d16c671b89e6609f283fd4c9d044f2dab1488a8e9f02112746896fab1de849a843d437beddcf369 dpath-2.1.4.tar.gz "