summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorjdarnold2015-08-25 11:32:18 -0400
committerjdarnold2015-08-25 11:32:18 -0400
commit3a820cf3f0eed87156a02122c5f81205950e83e0 (patch)
treec75d8cb8bc56ee207695dbbf4c2fd30bc9efb14a /PKGBUILD
downloadaur-3a820cf3f0eed87156a02122c5f81205950e83e0.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD19
1 files changed, 19 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a3c43c35622
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,19 @@
+# Maintainer: Jonathan Arnold <jdarnold@archlinux.us>
+# Contributor: Zhang Hai <dreaming.in.code.zh@gmail.com>
+
+pkgname=python-mechanicalsoup
+pkgver=0.3.1
+pkgrel=3
+pkgdesc="A Python library for automating interaction with websites"
+arch=('any')
+url="https://github.com/hickford/MechanicalSoup"
+license=('MIT')
+depends=('python-beautifulsoup4' 'python-requests' 'python-six')
+makedepends=('python-setuptools')
+source=("https://github.com/hickford/MechanicalSoup/archive/v${pkgver}.tar.gz")
+md5sums=('fe5855a6a8b8e07691e29e25e4f0ef0d')
+
+package() {
+ cd "${srcdir}/MechanicalSoup-${pkgver}"
+ python setup.py install --root="${pkgdir}/" --optimize=1
+}