14
0

Accepting request 1090051 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1090051
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-onionshare?expand=0&rev=15
This commit is contained in:
2023-05-31 19:55:31 +00:00
committed by Git OBS Bridge
3 changed files with 31 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
From a05d7af729585bdaa4f71437167339ac67bf3327 Mon Sep 17 00:00:00 2001
From: Saptak S <saptak013@gmail.com>
Date: Sun, 9 Apr 2023 20:24:48 +0530
Subject: [PATCH] Updates poetry build system to poetry-core
---
cli/pyproject.toml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cli/pyproject.toml b/cli/pyproject.toml
index d0f311b39..a3675a7a1 100644
--- a/cli/pyproject.toml
+++ b/cli/pyproject.toml
@@ -40,5 +40,5 @@ pytest = ">=7.2.0"
onionshare-cli = 'onionshare_cli:main'
[build-system]
-requires = ["poetry>=0.12"]
-build-backend = "poetry.masonry.api"
+requires = ["poetry-core"]
+build-backend = "poetry.core.masonry.api"

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed May 31 16:00:56 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Add onionshare-poetry-core.patch
* poetry-core is enough to build and has a much smaller footprint
-------------------------------------------------------------------
Sat Dec 10 20:57:15 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2018-2022 Dr. Axel Braun
#
# All modifications and additions to the file contributed by third parties
@@ -32,6 +32,8 @@ Patch0: 0001-adjust_tests.diff
Patch1: fix-test-cli-web.patch
# PATCH-FIX-OPENSUSE relax-async-mode.patch -- Do not rely on gevent
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/a05d7af729585bdaa4f71437167339ac67bf3327.patch#/onionshare-poetry-core.patch
BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
BuildRequires: python-rpm-macros
@@ -43,7 +45,7 @@ BuildRequires: python3-Unidecode
BuildRequires: python3-cepa >= 1.8.3
BuildRequires: python3-colorama
BuildRequires: python3-eventlet
BuildRequires: python3-poetry
BuildRequires: python3-poetry-core
BuildRequires: python3-psutil
BuildRequires: python3-pyside2 >= 5.15.2
BuildRequires: python3-pytest