View | Details | Raw Unified | Return to bug 215624 | Differences between
and this patch

Collapse All | Expand All

(-)www/py-selenium/Makefile (+7 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	selenium
4
PORTNAME=	selenium
5
PORTVERSION=	3.0.2
5
PORTVERSION=	3.0.2
6
PORTREVISION=	1
6
CATEGORIES=	www python
7
CATEGORIES=	www python
7
MASTER_SITES=	CHEESESHOP
8
MASTER_SITES=	CHEESESHOP
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
9
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 11-16 Link Here
11
COMMENT=	Python bindings for Selenium
12
COMMENT=	Python bindings for Selenium
12
13
13
LICENSE=	APACHE20
14
LICENSE=	APACHE20
15
LICENSE_FILE=	${WRKSRC}/LICENSE
14
16
15
USES=		python
17
USES=		python
16
USE_PYTHON=	distutils autoplist
18
USE_PYTHON=	distutils autoplist
Lines 20-23 Link Here
20
22
21
FIREFOX_USES=	gecko:firefox
23
FIREFOX_USES=	gecko:firefox
22
24
25
# Don't install binary Firefox extension
26
post-extract:
27
	@${RM} ${WRKSRC}/py/selenium/webdriver/firefox/amd64/x_ignore_nofocus.so
28
	@${RM} ${WRKSRC}/py/selenium/webdriver/firefox/x86/x_ignore_nofocus.so
29
23
.include <bsd.port.mk>
30
.include <bsd.port.mk>
(-)www/py-selenium/files/patch-setup.py (+13 lines)
Line 0 Link Here
1
--- setup.py.orig	2016-12-29 00:15:54 UTC
2
+++ setup.py
3
@@ -71,9 +71,7 @@ setup_args = {
4
         'selenium.webdriver.firefox': ['*.xpi', 'webdriver_prefs.json'],
5
         'selenium.webdriver.remote': ['getAttribute.js', 'isDisplayed.js'],
6
     },
7
-    'data_files': [('selenium/webdriver/firefox/x86', ['py/selenium/webdriver/firefox/x86/x_ignore_nofocus.so']),
8
-                   ('selenium/webdriver/firefox/amd64', ['py/selenium/webdriver/firefox/amd64/x_ignore_nofocus.so']),
9
-                   ('selenium/webdriver/remote', ['py/selenium/webdriver/remote/getAttribute.js']),
10
+    'data_files': [('selenium/webdriver/remote', ['py/selenium/webdriver/remote/getAttribute.js']),
11
                    ('selenium/webdriver/remote', ['py/selenium/webdriver/remote/isDisplayed.js'])],
12
     'include_package_data': True,
13
     'zip_safe': False

Return to bug 215624