From 352f4418e4ece05fc075f48e4af6f0918bf11873 Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Sat, 28 Jan 2023 20:52:32 -0700 Subject: [PATCH] package/python-selenium: new package Signed-off-by: James Hilliard Signed-off-by: Yann E. MORIN --- DEVELOPERS | 1 + package/Config.in | 1 + package/python-selenium/Config.in | 11 +++++++++++ package/python-selenium/python-selenium.hash | 3 +++ package/python-selenium/python-selenium.mk | 13 +++++++++++++ 5 files changed, 29 insertions(+) create mode 100644 package/python-selenium/Config.in create mode 100644 package/python-selenium/python-selenium.hash create mode 100644 package/python-selenium/python-selenium.mk diff --git a/DEVELOPERS b/DEVELOPERS index 7e9e4df8f1..d0a51086cd 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1396,6 +1396,7 @@ F: package/python-pydyf/ F: package/python-pypa-build/ F: package/python-pyphen/ F: package/python-rtoml/ +F: package/python-selenium/ F: package/python-snappy/ F: package/python-sniffio/ F: package/python-sockjs/ diff --git a/package/Config.in b/package/Config.in index 46679095b3..fc468148df 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1260,6 +1260,7 @@ menu "External python modules" source "package/python-sdnotify/Config.in" source "package/python-secretstorage/Config.in" source "package/python-see/Config.in" + source "package/python-selenium/Config.in" source "package/python-semver/Config.in" source "package/python-sentry-sdk/Config.in" source "package/python-serial/Config.in" diff --git a/package/python-selenium/Config.in b/package/python-selenium/Config.in new file mode 100644 index 0000000000..30820f07f8 --- /dev/null +++ b/package/python-selenium/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_PYTHON_SELENIUM + bool "python-selenium" + select BR2_PACKAGE_PYTHON_CERTIFI # runtime + select BR2_PACKAGE_PYTHON_PYSOCKS # runtime + select BR2_PACKAGE_PYTHON_TRIO # runtime + select BR2_PACKAGE_PYTHON_TRIO_WEBSOCKET # runtime + select BR2_PACKAGE_PYTHON_URLLIB3 # runtime + help + Python language bindings for Selenium WebDriver. + + https://www.selenium.dev diff --git a/package/python-selenium/python-selenium.hash b/package/python-selenium/python-selenium.hash new file mode 100644 index 0000000000..d462abc62b --- /dev/null +++ b/package/python-selenium/python-selenium.hash @@ -0,0 +1,3 @@ +# md5, sha256 from https://pypi.org/pypi/selenium/json +md5 e9054eb95920bb2a1d594090f0773f61 selenium-4.8.0.tar.gz +sha256 fee36724d6cf0b18c73781bb8ec7be4a35ab1e2564e64e64e64da75e50e052af selenium-4.8.0.tar.gz diff --git a/package/python-selenium/python-selenium.mk b/package/python-selenium/python-selenium.mk new file mode 100644 index 0000000000..6dbea6fb7e --- /dev/null +++ b/package/python-selenium/python-selenium.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# python-selenium +# +################################################################################ + +PYTHON_SELENIUM_VERSION = 4.8.0 +PYTHON_SELENIUM_SOURCE = selenium-$(PYTHON_SELENIUM_VERSION).tar.gz +PYTHON_SELENIUM_SITE = https://files.pythonhosted.org/packages/2e/3d/492cf1a6823c48369328572c6bc63b7a957ba25c0009ee6bdb507cd9a6a4 +PYTHON_SELENIUM_SETUP_TYPE = setuptools +PYTHON_SELENIUM_LICENSE = Apache-2.0 + +$(eval $(python-package))