2012-08-30 19:40:52 +08:00
|
|
|
#
|
|
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# Maintainer: Adrian Chaves Fernandez (Gallaecio) <adriyetichaves@gmail.com>
|
|
|
|
|
|
|
|
_pkgname=feedparser
|
2012-09-09 01:14:21 +08:00
|
|
|
pkgname="python2-${_pkgname}"
|
2012-08-30 19:40:52 +08:00
|
|
|
pkgver=5.1.2
|
2012-09-09 01:14:21 +08:00
|
|
|
pkgrel=2
|
|
|
|
pkgdesc="feedparser is a Python library that parses feeds in all known formats, including Atom, RSS, and RDF."
|
2012-08-30 19:40:52 +08:00
|
|
|
arch=('any')
|
2012-09-09 01:14:21 +08:00
|
|
|
url="http://code.google.com/p/feedparser/"
|
2012-08-30 19:40:52 +08:00
|
|
|
license=(MIT)
|
|
|
|
depends=('python2' 'libxml2' )
|
2012-09-09 01:14:21 +08:00
|
|
|
makedepends=('python-distribute')
|
|
|
|
replaces=('python-feedparser')
|
|
|
|
provides=('python-feedparser')
|
|
|
|
source=("http://${_pkgname}.googlecode.com/files/${_pkgname}-${pkgver}.tar.bz2")
|
2012-08-30 19:40:52 +08:00
|
|
|
md5sums=('9f88692c7c1af1d47839eb2025984975')
|
|
|
|
|
2012-09-09 01:14:21 +08:00
|
|
|
build() {
|
|
|
|
cd "${srcdir}/${_pkgname}-${pkgver}"
|
2012-08-30 19:40:52 +08:00
|
|
|
python2 setup.py build
|
|
|
|
}
|
2012-09-09 01:14:21 +08:00
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/${_pkgname}-${pkgver}"
|
|
|
|
python2 setup.py install --root="${pkgdir}"
|
|
|
|
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
|
|
}
|
|
|
|
|
|
|
|
# vim:set ts=2 sw=2 et:
|