From 90bb3b06f4b9021e0ef5822908a3961fa48298903a739a3e9a132eb96281345f Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 7 Jan 2023 14:34:36 +0000 Subject: [PATCH] - update to 0.7.1: * Correct VERSION number in procfs.py * Use f-strings * Add missing open in with statement * Use sys.exit and add some docstrings * Add tar.xz and asc files to gitignore * Fix traceback with non-utf8 chars in the /proc/PID/cmdline * Propagate error to user if a pid is completed * pflags: Handle pids that completed * Makefile: Add ctags * Remove procfs/sysctl.py * Various clean-ups * Fix UnicodeDecodeError * Fix more spacing problems with procfs.py * procfs.py: Simplify is_s390 * procfs.py: Fix a few more style problems * clean-ups for recent python formating regarding spacing, tabs, etc * Fix to parse the number of cpus correctly on s390(x) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-linux-procfs?expand=0&rev=6 --- python-linux-procfs-0.6.tar.xz | 3 --- python-linux-procfs-0.7.1.tar.xz | 3 +++ python-linux-procfs.changes | 22 ++++++++++++++++++++++ python-linux-procfs.spec | 6 +++--- 4 files changed, 28 insertions(+), 6 deletions(-) delete mode 100644 python-linux-procfs-0.6.tar.xz create mode 100644 python-linux-procfs-0.7.1.tar.xz diff --git a/python-linux-procfs-0.6.tar.xz b/python-linux-procfs-0.6.tar.xz deleted file mode 100644 index 933a27c..0000000 --- a/python-linux-procfs-0.6.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:829f3e17bb22f6c6e661c20c1b05e9ef2c7be1c2d71fa2100c836ae7ff6a4f18 -size 18404 diff --git a/python-linux-procfs-0.7.1.tar.xz b/python-linux-procfs-0.7.1.tar.xz new file mode 100644 index 0000000..e93a0fe --- /dev/null +++ b/python-linux-procfs-0.7.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a17ae82890442dea6cd1241452f7ec0ff39e83fffd5219e4d1d408f6dc20b10 +size 19104 diff --git a/python-linux-procfs.changes b/python-linux-procfs.changes index a7d51a1..01e30bb 100644 --- a/python-linux-procfs.changes +++ b/python-linux-procfs.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Sat Jan 7 14:32:07 UTC 2023 - Dirk Müller + +- update to 0.7.1: + * Correct VERSION number in procfs.py + * Use f-strings + * Add missing open in with statement + * Use sys.exit and add some docstrings + * Add tar.xz and asc files to gitignore + * Fix traceback with non-utf8 chars in the /proc/PID/cmdline + * Propagate error to user if a pid is completed + * pflags: Handle pids that completed + * Makefile: Add ctags + * Remove procfs/sysctl.py + * Various clean-ups + * Fix UnicodeDecodeError + * Fix more spacing problems with procfs.py + * procfs.py: Simplify is_s390 + * procfs.py: Fix a few more style problems + * clean-ups for recent python formating regarding spacing, tabs, etc + * Fix to parse the number of cpus correctly on s390(x) + ------------------------------------------------------------------- Mon May 25 06:50:38 UTC 2020 - Petr Gajdos diff --git a/python-linux-procfs.spec b/python-linux-procfs.spec index b239161..2601876 100644 --- a/python-linux-procfs.spec +++ b/python-linux-procfs.spec @@ -1,7 +1,7 @@ # # spec file for package python-linux-procfs # -# Copyright (c) 2020 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 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-linux-procfs -Version: 0.6 +Version: 0.7.1 Release: 0 Summary: Linux /proc abstraction classes License: GPL-2.0-or-later @@ -31,7 +31,7 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-six Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch %python_subpackages