commit python-onionshare for openSUSE:Factory
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-onionshare for openSUSE:Factory checked in at 2023-11-23 21:42:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-onionshare (Old)
and /work/SRC/openSUSE:Factory/.python-onionshare.new.25432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-onionshare"
Thu Nov 23 21:42:34 2023 rev:16 rq:1128355 version:2.6
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-onionshare/python-onionshare.changes 2023-05-31 21:55:32.917378173 +0200
+++ /work/SRC/openSUSE:Factory/.python-onionshare.new.25432/python-onionshare.changes 2023-11-23 21:44:00.698924456 +0100
@@ -1,0 +2,7 @@
+Thu Nov 23 14:22:20 UTC 2023 - Ben Greiner
+
+- Fix dependencies
+ * Add onionshare-pr1677-fix-werkzeug3.patch
+- PEP517: Use pyproject instead of deprecated setup.py
+
+-------------------------------------------------------------------
New:
----
onionshare-pr1677-fix-werkzeug3.patch
BETA DEBUG BEGIN:
New:- Fix dependencies
* Add onionshare-pr1677-fix-werkzeug3.patch
- PEP517: Use pyproject instead of deprecated setup.py
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-onionshare.spec ++++++
--- /var/tmp/diff_new_pack.xgeJMP/_old 2023-11-23 21:44:01.190942578 +0100
+++ /var/tmp/diff_new_pack.xgeJMP/_new 2023-11-23 21:44:01.190942578 +0100
@@ -34,49 +34,70 @@
Patch2: relax-async-mode.patch
# PATCH-FIX-UPSTREAM onionshare-poetry-core.patch -- poetry-core is enough to build and has a much smaller footprint
Patch3: https://github.com/onionshare/onionshare/commit/a05d7af729585bdaa4f714371673...
+# PATCH-FIX-UPSTREAM onionshare-pr1677-fix-werkzeug3.patch gh#onionshare/onionshare#1677
+Patch4: onionshare-pr1677-fix-werkzeug3.patch
BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
BuildRequires: python-rpm-macros
-BuildRequires: python3-Flask >= 1.4.1
-BuildRequires: python3-Flask-SocketIO >= 5.0.1
+BuildRequires: python3-pip
+BuildRequires: python3-poetry-core
+BuildRequires: update-desktop-files
+# SECTION test
+BuildRequires: python3-pytest
+BuildRequires: python3-pytest-qt
+BuildRequires: python3-pytest-xvfb
+# /SECTION
+# SECTION runtime test
+BuildRequires: python3-Flask >= 2.3.2
+BuildRequires: python3-Flask-Compress >= 1.13
+BuildRequires: python3-Flask-SocketIO >= 5.3.1
BuildRequires: python3-PyNaCl
BuildRequires: python3-PySocks
BuildRequires: python3-Unidecode
-BuildRequires: python3-cepa >= 1.8.3
+BuildRequires: python3-Werkzeug >= 2.3.4
+BuildRequires: python3-click
BuildRequires: python3-colorama
BuildRequires: python3-eventlet
-BuildRequires: python3-poetry-core
+BuildRequires: python3-gevent-websocket
BuildRequires: python3-psutil
-BuildRequires: python3-pyside2 >= 5.15.2
-BuildRequires: python3-pytest
-BuildRequires: python3-pytest-qt
-BuildRequires: python3-pytest-xvfb
+BuildRequires: python3-pyside2 >= 5.15.2.1
+BuildRequires: python3-python-gnupg
BuildRequires: python3-qrcode
BuildRequires: python3-requests
BuildRequires: python3-setuptools
+BuildRequires: python3-stem >= 1.8.1
BuildRequires: python3-urllib3
+BuildRequires: python3-waitress >= 2.1.2
BuildRequires: tor
-BuildRequires: update-desktop-files
-Requires: python3-Flask >= 1.4.1
-Requires: python3-Flask-SocketIO >= 5.0.1
+# /SECTION
+Requires: python3-Flask >= 2.3.2
+Requires: python3-Flask-Compress >= 1.13
+Requires: python3-Flask-SocketIO >= 5.3.1
Requires: python3-PyNaCl
Requires: python3-PySocks
Requires: python3-Unidecode
-Requires: python3-cepa >= 1.8.3
+Requires: python3-Werkzeug >= 2.3.4
+Requires: python3-click
Requires: python3-colorama
Requires: python3-eventlet
+Requires: python3-gevent-websocket
Requires: python3-psutil
-Requires: python3-pyside2 >= 5.15.2
+Requires: python3-pyside2 >= 5.15.2.1
+Requires: python3-python-gnupg
Requires: python3-qrcode
Requires: python3-requests
+Requires: python3-setuptools
+Requires: python3-stem >= 1.8.1
Requires: python3-urllib3
+Requires: python3-waitress >= 2.1.2
Requires: tor
-Provides: %{name}-%{version}
-Obsoletes: %{name}-data < %{version}
-Obsoletes: python310-onionshare < %{version}
-Obsoletes: python36-onionshare < %{version}
-Obsoletes: python38-onionshare < %{version}
-Obsoletes: python39-onionshare < %{version}
+Provides: python3-onionshare = %{version}-%{release}
+Provides: python3-onionshare_cli = %{version}-%{release}
+Obsoletes: python-onionshare-data < 2.3.1
+Obsoletes: python310-onionshare < 2.3.1
+Obsoletes: python36-onionshare < 2.3.1
+Obsoletes: python38-onionshare < 2.3.1
+Obsoletes: python39-onionshare < 2.3.1
BuildArch: noarch
%description
@@ -93,17 +114,17 @@
%build
pushd cli
-%python3_build
+%python3_pyproject_wheel
popd
pushd desktop
-%python3_build
+%python3_pyproject_wheel
%install
pushd cli
-%python3_install
+%python3_pyproject_install
popd
pushd desktop
-%python3_install
+%python3_pyproject_install
install -Dm 0644 org.onionshare.OnionShare.appdata.xml \
%{buildroot}%{_datadir}/metainfo/org.onionshare.OnionShare.metainfo.xml
++++++ onionshare-pr1677-fix-werkzeug3.patch ++++++
++++ 1169 lines (skipped)
++++++ relax-async-mode.patch ++++++
--- /var/tmp/diff_new_pack.xgeJMP/_old 2023-11-23 21:44:01.226943904 +0100
+++ /var/tmp/diff_new_pack.xgeJMP/_new 2023-11-23 21:44:01.230944052 +0100
@@ -1,7 +1,8 @@
-diff -Nur onionshare-2.5/cli/onionshare_cli/web/web.py new/cli/onionshare_cli/web/web.py
---- onionshare-2.5/cli/onionshare_cli/web/web.py 2022-01-17 21:56:39.000000000 +0100
-+++ new/cli/onionshare_cli/web/web.py 2022-02-25 01:35:45.401731026 +0100
-@@ -164,10 +164,10 @@
+Index: onionshare-2.6/cli/onionshare_cli/web/web.py
+===================================================================
+--- onionshare-2.6.orig/cli/onionshare_cli/web/web.py
++++ onionshare-2.6/cli/onionshare_cli/web/web.py
+@@ -164,10 +164,10 @@ class Web:
elif self.mode == "chat":
if self.common.verbose:
self.socketio = SocketIO(
@@ -14,4 +15,17 @@
self.socketio.init_app(self.app)
self.chat_mode = ChatModeWeb(self.common, self)
+Index: onionshare-2.6/desktop/pyproject.toml
+===================================================================
+--- onionshare-2.6.orig/desktop/pyproject.toml
++++ onionshare-2.6/desktop/pyproject.toml
+@@ -6,7 +6,7 @@ authors = ["Micah Lee
participants (1)
-
Source-Sync