mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-05 16:01:42 +01:00
33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py3-dpath
|
|
_pkgname=dpath
|
|
pkgver=2.0.1
|
|
pkgrel=0
|
|
pkgdesc="Filesystem-like pathing and searching for dictionaries"
|
|
url="https://www.github.com/akesterson/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-nose 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 --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="4f4c2ccb91fe818127505e909c2021fec4ebf730d791ff12de720eddbb5c3f08f158e07f80332f7ab9450961a8eca92c51d9eba17fb3a3df2c34aee2dc655613 dpath-2.0.1.tar.gz"
|