mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
python-selenium: import latest PKGBUILD from AUR
This commit is contained in:
parent
168c08fb59
commit
cbfd8633fc
1 changed files with 5 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
|||
pkgname=python-selenium
|
||||
_pkgname="${pkgname#python-}"
|
||||
pkgver=4.28.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Python language bindings for Selenium WebDriver"
|
||||
arch=(x86_64)
|
||||
url="https://github.com/SeleniumHQ/selenium"
|
||||
|
@ -59,4 +59,8 @@ build() {
|
|||
package() {
|
||||
cd "${_archive}"
|
||||
python -m installer --destdir="${pkgdir}" dist/*.whl
|
||||
|
||||
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
|
||||
cp selenium/webdriver/remote/*.js "${pkgdir}/${site_packages}/selenium/webdriver/remote"
|
||||
cp selenium/webdriver/common/*.js "${pkgdir}/${site_packages}/selenium/webdriver/common"
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue