Sync from SUSE:ALP:Source:Standard:1.0 python-linux-procfs revision 4dba56a7eaeb77ca1557dd2d606c017e
This commit is contained in:
commit
d545a9cdf6
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
python-linux-procfs-0.7.3.tar.xz
(Stored with Git LFS)
Normal file
BIN
python-linux-procfs-0.7.3.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
66
python-linux-procfs.changes
Normal file
66
python-linux-procfs.changes
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 15 15:28:02 UTC 2024 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- align license tag with COPYING
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 22 22:13:26 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 0.7.3:
|
||||||
|
* python 3.12 support (remove distutils)
|
||||||
|
* drop spec files and add SPDX licenses
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 7 14:32:07 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- 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 <pgajdos@suse.com>
|
||||||
|
|
||||||
|
- %python3_only -> %python_alternative
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 11 09:21:25 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Switch to full singlespec for others to use with all python
|
||||||
|
variants as the targets are defined in distro setup (ie py3 only
|
||||||
|
on SLE15)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 10 17:10:01 UTC 2018 - trenn@suse.de
|
||||||
|
|
||||||
|
- Package needed for latest tuned (bsc#1071436)
|
||||||
|
- correct version in first changelog entry
|
||||||
|
- only xz, removed gz tarball
|
||||||
|
- called test executable in %check section
|
||||||
|
- Removed never/unused patch
|
||||||
|
- Use python3_install and python3_build, this package is only
|
||||||
|
needed for python3 intentionally
|
||||||
|
- Remove %{python_files} from %files section again, this package
|
||||||
|
is for python3 intended only
|
||||||
|
- Run spec_cleaner
|
||||||
|
- Use pycache_only
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 7 16:41:39 UTC 2018 - trenn@suse.de
|
||||||
|
|
||||||
|
- Inital version 0.6 submission
|
||||||
|
|
66
python-linux-procfs.spec
Normal file
66
python-linux-procfs.spec
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-linux-procfs
|
||||||
|
#
|
||||||
|
# Copyright (c) 2024 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
Name: python-linux-procfs
|
||||||
|
Version: 0.7.3
|
||||||
|
Release: 0
|
||||||
|
Summary: Linux /proc abstraction classes
|
||||||
|
License: GPL-2.0-only
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
URL: https://rt.wiki.kernel.org/index.php/Tuna
|
||||||
|
Source: https://cdn.kernel.org/pub/software/libs/python/%{name}/%{name}-%{version}.tar.xz
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module six}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-six
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun): update-alternatives
|
||||||
|
BuildArch: noarch
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
Abstractions to extract information from the Linux kernel /proc files.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%python_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%python_install
|
||||||
|
%python_clone -a %{buildroot}%{_bindir}/pflags
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%python_exec bitmasklist_test.py
|
||||||
|
|
||||||
|
%post
|
||||||
|
%python_install_alternative pflags
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%python_uninstall_alternative pflags
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%{python_sitelib}/*
|
||||||
|
%python_alternative %{_bindir}/pflags
|
||||||
|
%license COPYING
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user