summaryrefslogtreecommitdiff
path: root/python3-feedparser/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'python3-feedparser/PKGBUILD')
-rw-r--r--python3-feedparser/PKGBUILD28
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: