1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 11:45:18 +03:00
aports/testing/py3-dpath/APKBUILD
2023-01-10 04:34:26 +01:00

34 lines
1 KiB
Text

# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
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
"