summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlennie Vignarajah2015-06-14 16:06:56 +0200
committerGlennie Vignarajah2015-06-14 16:06:56 +0200
commit4969bfb2bacef492275d465ba0039152e4ee1b40 (patch)
tree76b9be2e58adaae508a5c1ba86fc0e0dd855d796
downloadaur-4969bfb2bacef492275d465ba0039152e4ee1b40.tar.gz
Import to aur4
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD33
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..cc4e706c974
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = python-robobrowser
+ pkgdesc = RoboBrowser is a simple, Pythonic library for browsing the web without a standalone web browser.
+ pkgver = 0.5.2
+ pkgrel = 1
+ url = https://github.com/jmcarp/robobrowser
+ arch = any
+ license = MIT
+ checkdepends = python-nose
+ makedepends = python-setuptools
+ depends = python
+ depends = python-requests
+ depends = python-beautifulsoup4
+ depends = python-pip
+ depends = python-werkzeug
+ depends = python-six
+ source = http://pypi.python.org/packages/source/r/robobrowser/robobrowser-0.5.2.tar.gz
+ md5sums = 7d8b49461b77e5f3e77c1dabdf175cfe
+
+pkgname = python-robobrowser
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..079a1f9b57c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Glennie Vignarajah <glennie@glennie.fr>
+
+pkgname=python-robobrowser
+pkgver=0.5.2
+pkgrel=1
+pkgdesc="RoboBrowser is a simple, Pythonic library for browsing the web without a standalone web browser."
+arch=('any')
+url="https://github.com/jmcarp/robobrowser"
+license=('MIT')
+depends=('python' 'python-requests' 'python-beautifulsoup4' 'python-pip' 'python-werkzeug' 'python-six')
+makedepends=('python-setuptools')
+checkdepends=('python-nose')
+source=("http://pypi.python.org/packages/source/r/robobrowser/robobrowser-$pkgver.tar.gz")
+md5sums=('7d8b49461b77e5f3e77c1dabdf175cfe')
+
+
+prepare() {
+ cd "$srcdir/robobrowser-$pkgver"
+ python setup.py build --quiet
+}
+
+check() {
+ cd "$srcdir/robobrowser-$pkgver"
+ #python setup.py test -q
+}
+
+package() {
+ cd "$srcdir/robobrowser-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 README.rst "$pkgdir/usr/share/doc/$pkgname/README.rst"
+}
+
+# vim:set ts=2 sw=2 et: