aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-iniparse/APKBUILD
blob: 3239f52f25f683406e18c3110697a604173af1a9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 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="python2-dev py-setuptools sqlite-dev"
source="https://files.pythonhosted.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"