[neon/neon-packaging/selenium-webdriver-at-spi/Neon/release] debian/patches: refresh patch
Carlos De Maine
null at kde.org
Fri Feb 13 10:44:27 GMT 2026
Git commit a7c13e80f8cd82b706d67b816a409126d44330c6 by Carlos De Maine.
Committed on 13/02/2026 at 10:44.
Pushed by carlosdem into branch 'Neon/release'.
refresh patch
M +16 -31 debian/patches/virtenv.diff
https://invent.kde.org/neon/neon-packaging/selenium-webdriver-at-spi/-/commit/a7c13e80f8cd82b706d67b816a409126d44330c6
diff --git a/debian/patches/virtenv.diff b/debian/patches/virtenv.diff
index 8024864..8d99f8b 100644
--- a/debian/patches/virtenv.diff
+++ b/debian/patches/virtenv.diff
@@ -1,8 +1,8 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 94f640aca700b10360a6fec237e6bad5a88383a1..1d6fa9cb252c70abec7995175ddec67c53066c0c 100644
+index 15f7d42..454d36c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -60,6 +60,7 @@ install(PROGRAMS run.rb
+@@ -58,6 +58,7 @@ install(PROGRAMS run.rb
RENAME selenium-webdriver-at-spi-run
DESTINATION ${CMAKE_INSTALL_BINDIR})
install(FILES selenium-webdriver-at-spi.py app_roles.py requirements.txt DESTINATION ${CMAKE_INSTALL_DATADIR}/selenium-webdriver-at-spi)
@@ -10,7 +10,7 @@ index 94f640aca700b10360a6fec237e6bad5a88383a1..1d6fa9cb252c70abec7995175ddec67c
set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/SeleniumWebDriverATSPI")
-@@ -79,6 +80,7 @@ install(
+@@ -77,6 +78,7 @@ install(
cmake/FindPythonModule.cmake.in
cmake/FindRuby.cmake
cmake/ProgramFinder.cmake
@@ -19,37 +19,26 @@ index 94f640aca700b10360a6fec237e6bad5a88383a1..1d6fa9cb252c70abec7995175ddec67c
COMPONENT Devel
)
diff --git a/run.rb b/run.rb
-index ba1d29455fd4728fc6feceeff44c8a9766aa982b..b79c014d56dddd5e17ba24b2e02f2c43476fb21e 100755
+index 2198b3f..46e6446 100755
--- a/run.rb
+++ b/run.rb
-@@ -111,8 +111,14 @@ def kwin_reexec!
+@@ -113,8 +113,13 @@ def kwin_reexec!
# A bit awkward because of how argument parsing works on the kwin side: we must rely on shell word merging for
# the __FILE__ ARGV bit, separate ARGVs to kwin_wayland would be distinct subprocesses to start but we want
# one processes with a bunch of arguments.
-- exec('kwin_wayland', '--no-lockscreen', *extra_args,
-+
+ if ENV.include?('VIRTUAL_ENV')
-+ exec('kwin-selenium-tester', *extra_args,
-+ '--exit-with-session', "#{__FILE__} #{ARGV.shelljoin}", out: File::NULL)
++ exec('selenium-webdriver-at-spi-kwin', *extra_args,
++ '--exit-with-session', "#{__FILE__} #{ARGV.shelljoin}", out: "appium_artifact_#{File.basename(ARGV[0])}_kwin_stdout.log")
+ else
-+ exec('kwin_wayland', '--no-lockscreen', *extra_args,
- '--exit-with-session', "#{__FILE__} #{ARGV.shelljoin}", out: File::NULL)
+ exec('kwin_wayland', '--no-lockscreen', *extra_args,
+ '--exit-with-session', "#{__FILE__} #{ARGV.shelljoin}", out: "appium_artifact_#{File.basename(ARGV[0])}_kwin_stdout.log")
+ end
end
_pid, status = Process.waitpid2(kwin_pid)
status.success? ? exit : abort
-@@ -207,24 +213,31 @@ logger = Logger.new($stdout)
-
- logger.info 'Installing dependencies'
- datadir = File.absolute_path("#{__dir__}/../share/selenium-webdriver-at-spi/")
--requirements_installed_marker = "#{Dir.tmpdir}/selenium-requirements-installed"
--if !File.exist?(requirements_installed_marker) && File.exist?("#{datadir}/requirements.txt")
-- raise 'pip3 not found in PATH!' unless system('which', 'pip3')
-- unless system('pip3', 'install', '--disable-pip-version-check', '-r', 'requirements.txt', chdir: datadir, out: File::NULL)
-- unless system('pip3', 'install', '--disable-pip-version-check', '--break-system-packages', '-r', 'requirements.txt', chdir: datadir, out: File::NULL)
-- raise 'Failed to run pip3 install!'
-- end
-- end
+@@ -250,11 +255,28 @@ if !File.exist?(requirements_installed_marker) && File.exist?("#{datadir}/requir
+ end
+ end
- if ENV['KDECI_BUILD'] == 'TRUE'
- File.open(requirements_installed_marker, "w") do |file|
@@ -65,8 +54,8 @@ index ba1d29455fd4728fc6feceeff44c8a9766aa982b..b79c014d56dddd5e17ba24b2e02f2c43
+ requirements_installed_marker = "#{Dir.tmpdir}/selenium-requirements-installed"
+ if !File.exist?(requirements_installed_marker) && File.exist?("#{datadir}/requirements.txt")
+ raise 'pip3 not found in PATH!' unless system('which', 'pip3')
-+ unless system('pip3', 'install', '--user', '--disable-pip-version-check', '-r', 'requirements.txt', chdir: datadir, out: File::NULL)
-+ unless system('pip3', 'install', '--user', '--disable-pip-version-check', '--break-system-packages', '-r', 'requirements.txt', chdir: datadir, out: File::NULL)
++ unless system('pip3', 'install', '--user', '-r', 'requirements.txt', chdir: datadir)
++ unless system('pip3', 'install', '--user', '--break-system-packages', '-r', 'requirements.txt', chdir: datadir)
+ raise 'Failed to run pip3 install!'
+ end
+ end
@@ -80,14 +69,10 @@ index ba1d29455fd4728fc6feceeff44c8a9766aa982b..b79c014d56dddd5e17ba24b2e02f2c43
+ ENV['PATH'] = "#{Dir.home}/.local/bin:#{ENV.fetch('PATH')}"
end
--ENV['PATH'] = "#{Dir.home}/.local/bin:#{ENV.fetch('PATH')}"
--
- ret = false
-
- # create a throw-away XDG home, so the test starts with a clean slate
+ if ENV['KDECI_BUILD'] == 'TRUE' && !ENV['KDECI_PLATFORM_PATH'].include?('alpine')
diff --git a/setup.py b/setup.py
new file mode 100644
-index 0000000000000000000000000000000000000000..1136c8455ff6ae930586325e471db57149c49122
+index 0000000..1136c84
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,14 @@
More information about the Neon-commits
mailing list