Date: Sun, 1 Jan 2017 13:01:53 +0000 (UTC) From: "Carlos J. Puga Medina" <cpm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r430251 - in head/www/py-selenium: . files Message-ID: <201701011301.v01D1rY7092262@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cpm Date: Sun Jan 1 13:01:53 2017 New Revision: 430251 URL: https://svnweb.freebsd.org/changeset/ports/430251 Log: www/py-selenium: minor fixes - Add LICENSE_FILE - Remove binary Firefox extensions - Bump PORTREVISION PR: 215624 Submitted by: cpm Reviewed by: amdmi3, junovitch (mentors) Approved by: douglas@douglasthrift.net (maintainer), amdmi3 (mentor) Added: head/www/py-selenium/files/ head/www/py-selenium/files/patch-setup.py (contents, props changed) Modified: head/www/py-selenium/Makefile Modified: head/www/py-selenium/Makefile ============================================================================== --- head/www/py-selenium/Makefile Sun Jan 1 12:56:57 2017 (r430250) +++ head/www/py-selenium/Makefile Sun Jan 1 13:01:53 2017 (r430251) @@ -3,6 +3,7 @@ PORTNAME= selenium PORTVERSION= 3.0.2 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,6 +12,7 @@ MAINTAINER= douglas@douglasthrift.net COMMENT= Python bindings for Selenium LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE USES= python USE_PYTHON= distutils autoplist @@ -20,4 +22,9 @@ 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 <bsd.port.mk> Added: head/www/py-selenium/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-selenium/files/patch-setup.py Sun Jan 1 13:01:53 2017 (r430251) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701011301.v01D1rY7092262>