summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriele Musco2019-08-03 11:29:29 +0200
committerGabriele Musco2019-08-03 11:29:29 +0200
commit709a865c5f23f38f4624f4d240cd004b2acee12e (patch)
tree2246d8e01eafdfd81cc19234704aad4b4dee85b4
downloadaur-709a865c5f23f38f4624f4d240cd004b2acee12e.tar.gz
initial release
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD27
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..62f81e4aa6a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = python-listparser
+ pkgdesc = Parse OPML, FOAF, and iGoogle subscription lists
+ pkgver = 0.18
+ pkgrel = 1
+ url = https://github.com/kurtmckee/listparser/
+ arch = any
+ license = LGPL-3.0
+ makedepends = python-setuptools
+ depends = libxml2
+ depends = python
+ depends = python-requests
+ depends = python-six
+ conflicts = python-listparser-git
+ source = listparser-0.18::git+https://github.com/kurtmckee/listparser#tag=v0.18
+ sha256sums = SKIP
+
+pkgname = python-listparser
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d69451adf98
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Gabriele Musco <emaildigabry@gmail.com>
+# Upstream URL: https://github.com/kurtmckee/listparser
+# Modified from Eric BĂ©langer <eric@archlinux.org> PKGBUILD of python-feedparser
+
+pkgname=python-listparser
+pkgver=0.18
+pkgrel=1
+pkgdesc="Parse OPML, FOAF, and iGoogle subscription lists"
+arch=('any')
+url="https://github.com/kurtmckee/listparser/"
+license=('LGPL-3.0')
+makedepends=('python-setuptools')
+depends=('libxml2' 'python' 'python-requests' 'python-six')
+conflicts=('python-listparser-git')
+source=("listparser-${pkgver}::git+https://github.com/kurtmckee/listparser#tag=v${pkgver}")
+sha256sums=('SKIP')
+
+prepare() {
+ cd listparser-${pkgver}
+ #2to3 -w listparser.py
+}
+
+package() {
+ cd "${srcdir}/listparser-${pkgver}"
+ python setup.py install --root="${pkgdir}"
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/license"
+}