summaryrefslogtreecommitdiffstats
path: root/testing/yum-metadata-parser/APKBUILD
blob: c448fbb13c77e105d0945bde2af04499ebe3bca8 (plain)
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
# Maintainer:
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>

pkgname=yum-metadata-parser
pkgver=1.1.4
pkgrel=0
pkgdesc='Metadata parser to quickly parse xml metadata into sqlite databases'
url='http://pkgs.fedoraproject.org/repo/pkgs/yum-metadata-parser/'
arch=all
license=GPL
makedepends='python-dev py-setuptools libxml2-dev glib-dev sqlite-dev'
source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.gz"

build() {
	cd "$srcdir"/$pkgname-$pkgver
	python setup.py build || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="05289971e5cfde532631f2a99f6c58c7  yum-metadata-parser-1.1.4.tar.gz"
sha256sums="f1560a284541feb720c3ae35b6b31f80c2be5cb9ca86b3a1ee9459846f821ada  yum-metadata-parser-1.1.4.tar.gz"
sha512sums="51c1c3652171713a6decc165a4f8c4ddb5641f2ad3ee9b84fba3514d5c9afbb0c7ebc7dbb26156194b58c29227ef7b8d40ad760082da1c568254bcbee129d68c  yum-metadata-parser-1.1.4.tar.gz"