[arch-commits] Commit in python-selenium/repos/community-x86_64 (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Fri Mar 16 19:29:12 UTC 2018
Date: Friday, March 16, 2018 @ 19:29:09
Author: jelle
Revision: 308906
archrelease: copy trunk to community-x86_64
Added:
python-selenium/repos/community-x86_64/PKGBUILD
(from rev 308905, python-selenium/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-selenium/repos/community-x86_64/PKGBUILD (from rev 308905, python-selenium/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-03-16 19:29:09 UTC (rev 308906)
@@ -0,0 +1,29 @@
+# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
+# Contributor: Aaron DeVore <aaron.devore at gmail.com>
+
+pkgbase=python-selenium
+pkgname=('python-selenium' 'python2-selenium')
+pkgver=3.10.0
+pkgrel=1
+pkgdesc="Python binding for Selenium Remote Control"
+arch=('x86_64')
+url="http://pypi.python.org/pypi/selenium"
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools')
+optdepends=('geckodriver: Firefox driver support')
+source=("https://pypi.io/packages/source/s/selenium/selenium-$pkgver.tar.gz")
+md5sums=('d93cde324ac34c2030c01b54c9fb93ff')
+
+package_python-selenium() {
+ depends=('python')
+ cd "$srcdir/selenium-$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_python2-selenium() {
+ depends=('python2')
+ cd "$srcdir/selenium-$pkgver"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# check() takes too many dependencies to run
More information about the arch-commits
mailing list