summaryrefslogtreecommitdiffstats
path: root/testing/yum-metadata-parser/APKBUILD
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <bpiotrowski@alpinelinux.org>2013-12-26 19:31:05 +0100
committerBartłomiej Piotrowski <bpiotrowski@alpinelinux.org>2013-12-26 19:32:06 +0100
commit2e2db7a621a523872182752333a142335e72741d (patch)
treecccff20abf3850c3d6d6f28be94ec2f0de212713 /testing/yum-metadata-parser/APKBUILD
parentd4e27eb60a521b62e7d8eb79ecfa543eda88c092 (diff)
downloadaports-2e2db7a621a523872182752333a142335e72741d.tar.bz2
aports-2e2db7a621a523872182752333a142335e72741d.tar.xz
testing/yum-metadata-parser: new aport
Diffstat (limited to 'testing/yum-metadata-parser/APKBUILD')
-rw-r--r--testing/yum-metadata-parser/APKBUILD26
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 000000000..c448fbb13
--- /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"