diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2010-10-25 20:26:07 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2010-10-25 20:26:07 +0200 |
commit | 6403bece675d170ace9a1715106f27d3bf8e8412 (patch) | |
tree | eeba36e03aeea99a61fbde667620cfa1d1dfcf84 /python3-feedparser/PKGBUILD | |
parent | 8be4ecef3d7f083ec34c2bb6344d9bafb06cc61c (diff) |
Added python3-feedparser.
Diffstat (limited to 'python3-feedparser/PKGBUILD')
-rw-r--r-- | python3-feedparser/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/python3-feedparser/PKGBUILD b/python3-feedparser/PKGBUILD new file mode 100644 index 0000000..9b82e2e --- /dev/null +++ b/python3-feedparser/PKGBUILD @@ -0,0 +1,28 @@ +# Based on the offical PKGBUILD for python-feedparser. +# Contributor: Jon Bergli Heier <snakebite@jvnv.net> + +pkgname=python3-feedparser +pkgver=4.2pre315 +_pkgver=4.1 +pkgrel=1 +pkgdesc="Universal Feed Parser for Python 3" +arch=('any') +url="http://bitbucket.org/puzzlet/feedparser-py3/" +license=('custom') +depends=('python' 'libxml2' ) +source=(http://downloads.sourceforge.net/feedparser/feedparser-${_pkgver}.zip python3.patch) +md5sums=('7ab1140c1e29d4cd52ab20fa7b1f8640' + '29fe3762cd3e2a97427001844ef2e772') + +build() { + cd ${srcdir} + patch -p0 -i python3.patch +} + +package() { + cd ${srcdir} + python setup.py install --root=${pkgdir} + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/license +} + +# vim:set ts=2 sw=2 et: |