Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-term-background for
openSUSE:Factory checked in at 2026-04-14 17:48:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-term-background (Old)
and /work/SRC/openSUSE:Factory/.python-term-background.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-term-background"
Tue Apr 14 17:48:52 2026 rev:3 rq:1346287 version:1.0.5
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-term-background/python-term-background.changes
2024-11-21 15:15:00.896443298 +0100
+++
/work/SRC/openSUSE:Factory/.python-term-background.new.21863/python-term-background.changes
2026-04-14 17:49:20.174061174 +0200
@@ -1,0 +2,20 @@
+Sun Apr 12 22:07:42 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 1.0.5:
+ * Incorporate CLI_THEME and contour terminal
+ * Fix COLORFGBG sense in Python script on one place
+ * This could use improvement for handling CSC 996 commands
+ (light/dark term background), but leave that for later.
+- update to 1.0.4:
+ * Remove hex number conversions. Assume osascript and others
+ now work in decimal, not hex.
+ * If this is wrong, we'll have to adjust in the future.
+ * Start POSIX shell testing using `shunit`.
+- update to 1.0.3:
+ * Adjust MacOS terminal detection, especially in `zsh` and
+ `ksh`.
+ * Report on `NO_COLOR` presence in the main Python program.
+ * Support up to Python 3.13 (which needs new pyproject.toml
+ packaging).
+
+-------------------------------------------------------------------
Old:
----
__pkginfo__.py
term-background-1.0.2.tar.gz
New:
----
term_background-1.0.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-term-background.spec ++++++
--- /var/tmp/diff_new_pack.jCpZWG/_old 2026-04-14 17:49:20.834088456 +0200
+++ /var/tmp/diff_new_pack.jCpZWG/_new 2026-04-14 17:49:20.838088621 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-term-background
#
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,35 +16,29 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define tarname term-background
-%define modname %( echo %{tarname} | tr '-' '_' )
Name: python-term-background
-Version: 1.0.2
+Version: 1.0.5
Release: 0
Summary: Determine if shell has a light or dark background
-License: GPL-2.0-or-later
-URL: http://github.com/rocky/shell-term-background
-Source0:
https://github.com/rocky/shell-term-background/releases/download/%{version}/%{tarname}-%{version}.tar.gz
-# Missed in source tarball
-Source1:
https://raw.githubusercontent.com/rocky/shell-term-background/%{version}/__pkginfo__.py
+License: GPL-3.0-or-later
+URL: https://github.com/rocky/shell-term-background
+Source0:
https://github.com/rocky/shell-term-background/releases/download/%{version}/term_background-%{version}.tar.gz
BuildRequires: %{python_module pip}
-BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module setuptools >= 70.0.0}
BuildRequires: %{python_module wheel}
+BuildRequires: fdupes
BuildRequires: python-rpm-macros
+BuildArch: noarch
# SECTION For tests
BuildRequires: %{python_module pytest}
# /SECTION
-BuildRequires: fdupes
-BuildArch: noarch
%python_subpackages
%description
A python module to determine if a shell has a light or dark background.
%prep
-%setup -q -n %{tarname}-%{version}
-cp %{SOURCE1} .
+%autosetup -p1 -n term_background-%{version}
%build
%pyproject_wheel
@@ -58,6 +52,7 @@
%files %{python_files}
%license COPYING
-%{python_sitelib}/%{modname}
-%{python_sitelib}/%{modname}-%{version}.dist-info
+%doc README.rst
+%{python_sitelib}/term_background
+%{python_sitelib}/term_background-%{version}.dist-info