mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-30 13:51:31 +01:00
43 lines
1.2 KiB
Plaintext
43 lines
1.2 KiB
Plaintext
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py-dpath
|
|
_pkgname=dpath
|
|
pkgver=1.2
|
|
_pkgsver=70
|
|
pkgrel=0._pkgver
|
|
pkgdesc="Filesystem-like pathing and searching for dictionaries"
|
|
url="https://www.github.com/akesterson/dpath-python"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python"
|
|
depends_dev=""
|
|
makedepends="python-dev py-setuptools"
|
|
install=""
|
|
subpackages=""
|
|
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver-$_pkgsver.tar.gz"
|
|
|
|
_builddir="$srcdir"/$_pkgname-$pkgver-$_pkgsver
|
|
prepare() {
|
|
local i
|
|
cd "$_builddir"
|
|
for i in $source; do
|
|
case $i in
|
|
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
|
esac
|
|
done
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
python setup.py build || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
|
|
}
|
|
|
|
md5sums="adbcd66956eb40366ff00af2c7802d7e dpath-1.2-70.tar.gz"
|
|
sha256sums="4fe5fd67f1d89b29a58bbd90ec02cac7b54472dbba5d6b0d22c4a96f105747d0 dpath-1.2-70.tar.gz"
|
|
sha512sums="d16619b5d9568553d1ffc72fd33498198426e4755dffdbb4e6882c3f4de21fa43f58373e422d7135faee0b99cc1762b51cc15cd0dc9cf859a810d72502449df7 dpath-1.2-70.tar.gz"
|