- Add LICENSE_FILE
- Add missing py-urllib3 dependency - For FIREFOX option, add dependency on geckodriver as well, as it's required for selenium to control firefox - Add CHROMIUM option, which adds dependency on chrome PR: 234935 Submitted by: amdmi3 Approved by: douglas@douglasthrift.net (maintainer)
This commit is contained in:
parent
467b2560fc
commit
5b7d48cef8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=490314
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= selenium
|
||||
PORTVERSION= 3.141.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
@ -11,16 +12,22 @@ MAINTAINER= douglas@douglasthrift.net
|
||||
COMMENT= Python bindings for Selenium
|
||||
|
||||
LICENSE= APACHE20
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}urllib3>=0:net/py-urllib3@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
OPTIONS_DEFINE= FIREFOX
|
||||
FIREFOX_DESC= Install Firefox
|
||||
OPTIONS_DEFINE= FIREFOX CHROMIUM
|
||||
FIREFOX_DESC= Install Firefox and geckodriver
|
||||
CHROMIUM_DESC= Install Chromium
|
||||
|
||||
FIREFOX_USES= gecko:firefox
|
||||
FIREFOX_RUN_DEPENDS= geckodriver:www/geckodriver
|
||||
CHROMIUM_RUN_DEPENDS= chromedriver:www/chromium
|
||||
|
||||
# Don't install binary Firefox extension
|
||||
post-extract:
|
||||
|
Loading…
Reference in New Issue
Block a user