mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-08 02:02:08 +01:00
30 lines
930 B
Plaintext
30 lines
930 B
Plaintext
# Maintainer:
|
|
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
|
|
|
|
pkgname=py-iniparse
|
|
_pkgname=iniparse
|
|
pkgver=0.4
|
|
pkgrel=0
|
|
pkgdesc='INI parser library for Python'
|
|
url='http://code.google.com/p/iniparse/'
|
|
arch='noarch'
|
|
license='MIT'
|
|
makedepends="python-dev py-setuptools sqlite-dev"
|
|
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
|
|
_builddir="$srcdir"/$_pkgname-$pkgver
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
python setup.py build || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
|
|
}
|
|
|
|
md5sums="5e573e9e9733d97623881ce9bbe5eca6 iniparse-0.4.tar.gz"
|
|
sha256sums="abc1ee12d2cfb2506109072d6c21e40b6c75a3fe90a9c924327d80bc0d99c054 iniparse-0.4.tar.gz"
|
|
sha512sums="d59eae7c1ce474c89eddb0b0cbff5973444571728aa0c6ce5b3632984353415f7eec4de63cf007c276df0d1bb914b2ea5dd0acc00f3a261285c8e2e9883fbe9a iniparse-0.4.tar.gz"
|