PortSystem 1.0
PortGroup python 1.0

name			py-yum-metadata-parser
version			1.1.4
revision		2
python.versions		27
license			GPL-2
maintainers		nomaintainer
description		Yum metadata parser
long_description	C-based metadata parser to quickly parse xml metadata into sqlite databases

homepage		http://yum.baseurl.org/
master_sites		${homepage}download/yum-metadata-parser/
distname		yum-metadata-parser-${version}
checksums		md5 05289971e5cfde532631f2a99f6c58c7 \
			sha1 044e69a04ea5ac39d79020d9e1f1a35c9dc64d9b \
			rmd160 2a92f6818bf0c54e99654e242eb7c98416f8e740

if {${name} ne ${subport}} {
depends_lib-append	path:lib/pkgconfig/glib-2.0.pc:glib2 port:libxml2 port:sqlite3
depends_build-append	port:pkgconfig
}

livecheck.type  regex
livecheck.url   ${homepage}download/yum-metadata-parser/
livecheck.regex yum-metadata-parser-(\[0-9\.-\]+).tar.gz
