blob: e52378b7cc3faacde156245bea23749de5d760cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: Aaron DeVore <aaron.devore@gmail.com>
pkgname=python2-selenium
pkgver=2.44.0
pkgrel=1
pkgdesc="Python binding for Selenium Remote Control [Python 2]"
arch=(i686 x86_64)
url="http://pypi.python.org/pypi/selenium"
license=('Apache')
changelog='Changelog'
depends=('python2')
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=('8802d73fb989d007ba1b43f070361cd1')
build() {
cd "$srcdir/selenium-$pkgver"
python2 setup.py build
}
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
|