[packages/chrome-gnome-shell] - adjust for current setuptools, release 7

qboosh qboosh at pld-linux.org
Sun Mar 23 16:39:11 CET 2025


commit 1950b0fff9d5c047725cd7ee6a38981be41a80a6
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Mar 23 16:06:23 2025 +0100

    - adjust for current setuptools, release 7

 chrome-gnome-shell-setuptools.patch | 9 +++++++++
 chrome-gnome-shell.spec             | 5 ++++-
 2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/chrome-gnome-shell.spec b/chrome-gnome-shell.spec
index db2cecd..2852cd7 100644
--- a/chrome-gnome-shell.spec
+++ b/chrome-gnome-shell.spec
@@ -2,11 +2,12 @@ Summary:	GNOME Shell integration for Chrome
 Summary(pl.UTF-8):	Integracja GNOME Shell dla Chrome'a
 Name:		chrome-gnome-shell
 Version:	10.1
-Release:	6
+Release:	7
 License:	GPL v3+
 Group:		X11/Applications
 Source0:	https://download.gnome.org/sources/chrome-gnome-shell/10.1/%{name}-%{version}.tar.xz
 # Source0-md5:	11dd4c539fefff7153b4f0af8e6e4a71
+Patch0:		%{name}-setuptools.patch
 URL:		https://wiki.gnome.org/Projects/GnomeShellIntegrationForChrome
 BuildRequires:	cmake >= 2.8
 # base64, sha256sum
@@ -15,6 +16,7 @@ BuildRequires:	gettext-tools
 BuildRequires:	jq
 BuildRequires:	p7zip
 BuildRequires:	python3 >= 1:3.2
+BuildRequires:	python3-setuptools
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
 Requires:	gnome-shell >= 3.22
@@ -39,6 +41,7 @@ oraz jej repozytorium rozszerzeń (https://extensions.gnome.org/).
 
 %prep
 %setup -q
+%patch -P0 -p1
 
 %build
 install -d build
diff --git a/chrome-gnome-shell-setuptools.patch b/chrome-gnome-shell-setuptools.patch
new file mode 100644
index 0000000..d3fc6e3
--- /dev/null
+++ b/chrome-gnome-shell-setuptools.patch
@@ -0,0 +1,9 @@
+--- chrome-gnome-shell-10.1/connector/setup.py.orig	2018-03-21 07:10:51.000000000 +0100
++++ chrome-gnome-shell-10.1/connector/setup.py	2025-03-23 15:58:04.326184531 +0100
+@@ -17,5 +17,6 @@ setup(
+     description='Provides integration with GNOME Shell extensions repository for Chrome browser',
+     author='Yuri Konotopov',
+     url='https://wiki.gnome.org/Projects/GnomeShellIntegrationForChrome',
++    packages=[],
+     scripts=[SCRIPT_PATH]
+ )
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/chrome-gnome-shell.git/commitdiff/1950b0fff9d5c047725cd7ee6a38981be41a80a6



More information about the pld-cvs-commit mailing list