summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfelics2019-08-29 17:37:51 +0200
committerfelics2019-08-29 17:37:51 +0200
commit621d61a423c3605f813fc0c4efc552d5a2ec5b6f (patch)
tree4e4a0435f61067fc84919ec87053aecbecb301eb
parent363b54f1cd1fa2b27b03d0d0c0f9953036c892c3 (diff)
downloadaur-python2-selenium.tar.gz
Adopted.
-rw-r--r--.AURINFO17
-rw-r--r--.SRCINFO17
-rw-r--r--Changelog42
-rw-r--r--PKGBUILD31
4 files changed, 20 insertions, 87 deletions
diff --git a/.AURINFO b/.AURINFO
deleted file mode 100644
index 28bb2e201e6c..000000000000
--- a/.AURINFO
+++ /dev/null
@@ -1,17 +0,0 @@
-pkgbase = python2-selenium
- pkgdesc = Python binding for Selenium Remote Control [Python 2]
- pkgver = 2.47.1
- pkgrel = 1
- url = http://pypi.python.org/pypi/selenium
- changelog = Changelog
- arch = i686
- arch = x86_64
- license = Apache
- makedepends = python2-setuptools
- depends = python2
- optdepends = lib32-glibc: Firefox x86 webdriver support for x86_64
- source = http://pypi.python.org/packages/source/s/selenium/selenium-2.47.1.tar.gz
- md5sums = 7a2e267e8ef5c221bfd6387c2ad5f3bc
-
-pkgname = python2-selenium
-
diff --git a/.SRCINFO b/.SRCINFO
index 28bb2e201e6c..edca1be6c4c1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,16 @@
pkgbase = python2-selenium
- pkgdesc = Python binding for Selenium Remote Control [Python 2]
- pkgver = 2.47.1
- pkgrel = 1
- url = http://pypi.python.org/pypi/selenium
- changelog = Changelog
- arch = i686
+ pkgdesc = Python2 binding for Selenium Remote Control
+ pkgver = 3.141.0
+ pkgrel = 2
+ url = https://pypi.python.org/pypi/selenium
arch = x86_64
license = Apache
makedepends = python2-setuptools
depends = python2
- optdepends = lib32-glibc: Firefox x86 webdriver support for x86_64
- source = http://pypi.python.org/packages/source/s/selenium/selenium-2.47.1.tar.gz
- md5sums = 7a2e267e8ef5c221bfd6387c2ad5f3bc
+ depends = python2-urllib3
+ optdepends = geckodriver: Firefox driver support
+ source = https://pypi.io/packages/source/s/selenium/selenium-3.141.0.tar.gz
+ sha512sums = 3d2afbe9e96f88e9c055a89786b5090af387d3feba4598577b70fd3e0b20c2c09c4b25af920c654f52ec7e34f23181e6d278ac05f1a1f960d2d371ce7a6b82d8
pkgname = python2-selenium
diff --git a/Changelog b/Changelog
deleted file mode 100644
index 570d2e3a68f1..000000000000
--- a/Changelog
+++ /dev/null
@@ -1,42 +0,0 @@
-2015-8-14 Weirch Sodora <sodora@gmail.com> (2.47.1-1)
-- Version bump to 2.47.1
-2013-11-4 Aaron DeVore <aaron.devore@gmail.com> (2.37.2-1)
-- Version bump to 2.37.2
-2013-9-24 Aaron DeVore <aaron.devore@gmail.com> (2.35.0-1)
-- Version bump to 2.35.0
-- optdepends python2-distribute -> python2-setuptools
-2013-4-12 Aaron DeVore <aaron.devore@gmail.com> (2.32.0-1)
-- Version bump to 2.32.0
-- Remove conflicts/provides python-selenium (now a Python 3 package)
-- Add [Python 2] to description
-2013-3-2 Aaron DeVore <aaron.devore@gmail.com> (2.31.0-1)
-- Version bump to 2.31.0
-- Switch to using license=('Apache') instead of the COPYING file
- due to COPYING no longer being included in Selenium
-2012-12-15 Aaron DeVore <aaron.devore@gmail.com> (2.28.0-1)
-- Version bump to 2.28.0
-2012-07-25 Aaron DeVore <aaron.devore@gmail.com> (2.25.0-1)
-- Version bump to 2.25.0
-- Add python2-distribute to makedepends
-2012-07-01 Aaron DeVore <aaron.devore@gmail.com> (2.24.0-1)
-- Replace python2-selenium with the python-selenium code
-- Version bump to 2.24.0
-- Change arch back to (i686 x86_64) (better safe than sorry)
-- Create conflicts/provides for python-selenium for the future switch
- to Python 3
-2012-06-17 Aaron DeVore <aaron.devore@gmail.com> (2.23.0-1)
-- Version bump to 2.23.0 (forgot Changelog entries)
-- Remove rdflib dependency
-- Add optional dependency for Firefox x86 on x86_64
-- Make sure all paths are quoted
-2012-02-06 Aaron DeVore <aaron.devore@gmail.com> (2.18.1-1)
-- Version bump to 2.18.1
-- Change rdflib dependency to python2-rdflib
-2011-10-23 Aaron DeVore <aaron.devore@gmail.com> (2.9.0-1)
-- Version bump to 2.9.0
-- Add missed rdflib dependency
-2011-8-20 Aaron DeVore <aaron.devore@gmail.com> (2.4.0-1)
-- Adopt
-- Remove some "|| return 1" lines
-- Change arch to ('any')
-- Version bump (from 2.0b2-1)
diff --git a/PKGBUILD b/PKGBUILD
index 0d680acb769f..c83d8131d757 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,30 +1,23 @@
-# Maintainer: Aaron DeVore <aaron.devore@gmail.com>
+# Maintainer: Dreieck
+# Contributor: Jelle van der Waa <jelle@vdwaa.nl>
+# Contributor: Aaron DeVore <aaron.devore@gmail.com>
pkgname=python2-selenium
-pkgver=2.47.1
-pkgrel=1
-pkgdesc="Python binding for Selenium Remote Control [Python 2]"
-arch=(i686 x86_64)
-url="http://pypi.python.org/pypi/selenium"
+pkgver=3.141.0
+pkgrel=2
+pkgdesc="Python2 binding for Selenium Remote Control"
+arch=('x86_64')
+url="https://pypi.python.org/pypi/selenium"
license=('Apache')
-changelog='Changelog'
-depends=('python2')
+depends=('python2' 'python2-urllib3')
makedepends=('python2-setuptools')
-optdepends=('lib32-glibc: Firefox x86 webdriver support for x86_64')
-source=("http://pypi.python.org/packages/source/s/selenium/selenium-${pkgver}.tar.gz")
-md5sums=('7a2e267e8ef5c221bfd6387c2ad5f3bc')
-
-build() {
- cd "$srcdir/selenium-$pkgver"
- python2 setup.py build
-}
+optdepends=('geckodriver: Firefox driver support')
+source=("https://pypi.io/packages/source/s/selenium/selenium-$pkgver.tar.gz")
+sha512sums=('3d2afbe9e96f88e9c055a89786b5090af387d3feba4598577b70fd3e0b20c2c09c4b25af920c654f52ec7e34f23181e6d278ac05f1a1f960d2d371ce7a6b82d8')
package() {
cd "$srcdir/selenium-$pkgver"
python2 setup.py install --root="$pkgdir/" --optimize=1
- find "$pkgdir" -name "*.py" -exec \
- sed -i '1s/python[[:space:]]*$/python2/' {} \;
}
# check() takes too many dependencies to run
-