[arch-commits] Commit in python-selenium/trunk (PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Sat Feb 16 20:59:52 UTC 2019


    Date: Saturday, February 16, 2019 @ 20:59:51
  Author: jelle
Revision: 433835

kill python2 version

Modified:
  python-selenium/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-02-16 20:59:10 UTC (rev 433834)
+++ PKGBUILD	2019-02-16 20:59:51 UTC (rev 433835)
@@ -1,8 +1,7 @@
 # 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')
+pkgname=python-selenium
 pkgver=3.141.0
 pkgrel=1
 pkgdesc="Python binding for Selenium Remote Control"
@@ -9,21 +8,15 @@
 arch=('x86_64')
 url="https://pypi.python.org/pypi/selenium"
 license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools')
+depends=('python' 'python-urllib3')
+makedepends=('python-setuptools')
 optdepends=('geckodriver: Firefox driver support')
 source=("https://pypi.io/packages/source/s/selenium/selenium-$pkgver.tar.gz")
-md5sums=('274693e383ff507df7ee190359828c84')
+sha512sums=('3d2afbe9e96f88e9c055a89786b5090af387d3feba4598577b70fd3e0b20c2c09c4b25af920c654f52ec7e34f23181e6d278ac05f1a1f960d2d371ce7a6b82d8')
 
-package_python-selenium() {
-  depends=('python' 'python-urllib3')
+package() {
   cd "$srcdir/selenium-$pkgver"
   python setup.py install --root="$pkgdir/" --optimize=1
 }
 
-package_python2-selenium() {
-  depends=('python2' 'python2-urllib3')
-  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