Index: head/www/py-selenium/Makefile =================================================================== --- head/www/py-selenium/Makefile (revision 430250) +++ head/www/py-selenium/Makefile (revision 430251) @@ -1,23 +1,30 @@ # Created by: Douglas Thrift # $FreeBSD$ PORTNAME= selenium PORTVERSION= 3.0.2 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= douglas@douglasthrift.net COMMENT= Python bindings for Selenium LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE USES= python USE_PYTHON= distutils autoplist OPTIONS_DEFINE= FIREFOX FIREFOX_DESC= Install Firefox FIREFOX_USES= gecko:firefox + +# Don't install binary Firefox extension +post-extract: + @${RM} ${WRKSRC}/py/selenium/webdriver/firefox/amd64/x_ignore_nofocus.so + @${RM} ${WRKSRC}/py/selenium/webdriver/firefox/x86/x_ignore_nofocus.so .include Index: head/www/py-selenium/files/patch-setup.py =================================================================== --- head/www/py-selenium/files/patch-setup.py (nonexistent) +++ head/www/py-selenium/files/patch-setup.py (revision 430251) @@ -0,0 +1,13 @@ +--- setup.py.orig 2016-12-29 00:15:54 UTC ++++ setup.py +@@ -71,9 +71,7 @@ setup_args = { + 'selenium.webdriver.firefox': ['*.xpi', 'webdriver_prefs.json'], + 'selenium.webdriver.remote': ['getAttribute.js', 'isDisplayed.js'], + }, +- 'data_files': [('selenium/webdriver/firefox/x86', ['py/selenium/webdriver/firefox/x86/x_ignore_nofocus.so']), +- ('selenium/webdriver/firefox/amd64', ['py/selenium/webdriver/firefox/amd64/x_ignore_nofocus.so']), +- ('selenium/webdriver/remote', ['py/selenium/webdriver/remote/getAttribute.js']), ++ 'data_files': [('selenium/webdriver/remote', ['py/selenium/webdriver/remote/getAttribute.js']), + ('selenium/webdriver/remote', ['py/selenium/webdriver/remote/isDisplayed.js'])], + 'include_package_data': True, + 'zip_safe': False Property changes on: head/www/py-selenium/files/patch-setup.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property