Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-colorclass for 
openSUSE:Factory checked in at 2023-05-09 13:09:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-colorclass (Old)
 and      /work/SRC/openSUSE:Factory/.python-colorclass.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-colorclass"

Tue May  9 13:09:07 2023 rev:4 rq:1085632 version:2.2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-colorclass/python-colorclass.changes      
2022-01-14 23:14:44.114689601 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-colorclass.new.1533/python-colorclass.changes
    2023-05-09 13:09:14.485700786 +0200
@@ -1,0 +2,7 @@
+Mon May  8 21:19:05 UTC 2023 - Ben Greiner <c...@bnavigator.de>
+
+- Strip down build requirement to poetry-core
+  * Add colorclass-pr2-poetry-core.patch
+  * gh#matthewdeanmartin/colorclass#2
+
+-------------------------------------------------------------------

New:
----
  colorclass-pr2-poetry-core.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-colorclass.spec ++++++
--- /var/tmp/diff_new_pack.xV5mHn/_old  2023-05-09 13:09:15.289705571 +0200
+++ /var/tmp/diff_new_pack.xV5mHn/_new  2023-05-09 13:09:15.293705595 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-colorclass
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-colorclass
 Version:        2.2.2
 Release:        0
@@ -25,8 +24,10 @@
 Group:          Development/Languages/Python
 URL:            https://github.com/matthewdeanmartin/colorclass/
 Source:         
https://github.com/matthewdeanmartin/colorclass/archive/refs/tags/v%{version}.tar.gz#/colorclass-%{version}-gh.tar.gz
+# PATCH-FIX-UPSTREAM colorclass-pr2-poetry-core.patch 
gh#matthewdeanmartin/colorclass#2
+Patch0:         colorclass-pr2-poetry-core.patch
 BuildRequires:  %{python_module pip}
-BuildRequires:  %{python_module poetry}
+BuildRequires:  %{python_module poetry-core}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -42,7 +43,7 @@
 Python 3.x, it subclasses `str`.
 
 %prep
-%setup -q -n colorclass-%{version}
+%autosetup -p1 -n colorclass-%{version}
 
 %build
 %pyproject_wheel

++++++ colorclass-pr2-poetry-core.patch ++++++
>From c3f8ad8419e7ec0886a48708da705fe1fb3693a7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgo...@gentoo.org>
Date: Wed, 26 Jan 2022 22:14:08 +0100
Subject: [PATCH] switch to poetry-core build backend

Switch the build backend from poetry to poetry-core.  This is a lighter
version that's more suitable for PEP 517 builds.  The resulting
artifacts are the same but poetry-core has less dependencies (as it does
not pull the whole package manager in) and therefore wheel builds
are much faster.
---
 pyproject.toml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyproject.toml b/pyproject.toml
index 65eaec9..65a8767 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -62,5 +62,5 @@ python = ">=2.6 || >=3.0"
 pytest = "==6.0.1"
 
 [build-system]
-requires = ["poetry>=0.12"]
-build-backend = "poetry.masonry.api"
+requires = ["poetry-core>=0.12"]
+build-backend = "poetry.core.masonry.api"

Reply via email to