summaryrefslogtreecommitdiff
path: root/pcr/weboob/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2014-11-29 18:23:44 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2014-11-29 18:23:44 -0500
commit10d2f13a5b9ea94910496dc8c061ddc6efeecb14 (patch)
treef3674b3b10d283b9838a663d17fad0bc46c69335 /pcr/weboob/PKGBUILD
parent07af351dfc8518fdc4894bf4ef4e5a383bffd8af (diff)
downloadabslibre-10d2f13a5b9ea94910496dc8c061ddc6efeecb14.tar.gz
abslibre-10d2f13a5b9ea94910496dc8c061ddc6efeecb14.tar.bz2
abslibre-10d2f13a5b9ea94910496dc8c061ddc6efeecb14.zip
add pcr/weboob
Diffstat (limited to 'pcr/weboob/PKGBUILD')
-rw-r--r--pcr/weboob/PKGBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/pcr/weboob/PKGBUILD b/pcr/weboob/PKGBUILD
new file mode 100644
index 000000000..a1748c397
--- /dev/null
+++ b/pcr/weboob/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+# Maintainer (AUR): speps <speps@aur.archlinux.dot.org>
+
+pkgname=weboob
+pkgver=1.0
+pkgrel=1
+pkgdesc="A collection of applications to interact websites without a web browser."
+arch=('any')
+url="http://weboob.org/"
+license=('AGPL3')
+
+# This list is based on setup.py
+# Supposedly python3 compatible, but tools/date.py throws a syntax error
+_python=python2
+depends=(
+ $_python-pyqt4
+
+ $_python-lxml
+ $_python-feedparser
+ $_python-requests
+ $_python-dateutil
+ $_python-yaml
+ $_python-prettytable
+
+ $_python-pillow
+)
+if [[ $_python == python2 ]]; then
+ depends+=(
+ python2-gdata # for Python < 3.0
+ python2-mechanize # for Python < 3.0
+ python2-futures # for Python < 3.2
+ )
+fi
+
+makedepends=($_python-setuptools)
+optdepends=('libyaml: for more performance'
+ "$_python-simplejson: for more performance")
+install="$pkgname.install"
+source=("https://symlink.me/attachments/download/289/$pkgname-$pkgver.tar.gz")
+md5sums=('38f832f1b8654441adafe8558faa7109')
+
+package() {
+ cd $pkgname-$pkgver
+ $_python setup.py install --optimize=1 --root="$pkgdir" \
+ --qt --xdg
+}