core/python-feedparser/PKGBUILD

31 lines
901 B
Bash
Raw Normal View History

2010-06-13 01:51:28 +08:00
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=python-feedparser
pkgver=4.1
2010-12-19 08:39:38 +08:00
pkgrel=2
2010-06-13 01:51:28 +08:00
pkgdesc="Parse RSS and Atom feeds in Python"
arch=('any')
url="http://feedparser.sf.net"
license=('custom')
2010-12-19 08:39:38 +08:00
depends=('python2' 'libxml2' )
2010-06-13 01:51:28 +08:00
source=(http://downloads.sourceforge.net/feedparser/feedparser-${pkgver}.zip
feedparser_utf8_decoding.patch)
md5sums=('7ab1140c1e29d4cd52ab20fa7b1f8640'
'1412caa1577260945df5ef0f5efabc62')
build() {
cd ${srcdir}
patch -Np0 -i feedparser_utf8_decoding.patch
2010-12-19 08:39:38 +08:00
python2 setup.py build
python2 setup.py install --root=${pkgdir}
2010-06-13 01:51:28 +08:00
install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/license
}