diff options
Diffstat (limited to 'testing/yum-metadata-parser')
-rw-r--r-- | testing/yum-metadata-parser/APKBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/yum-metadata-parser/APKBUILD b/testing/yum-metadata-parser/APKBUILD new file mode 100644 index 0000000000..c448fbb13c --- /dev/null +++ b/testing/yum-metadata-parser/APKBUILD @@ -0,0 +1,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" |