- version update to 0.6.3

* Update setuptools and tox configuration
  * Close the opened file

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distroinfo?expand=0&rev=11
This commit is contained in:
2025-01-15 12:47:52 +00:00
committed by Git OBS Bridge
commit 6bf539e8b9
6 changed files with 151 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

3
distroinfo-0.6.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:87610c8a8fcf7a57e96b262f726a4cae51ca1e018f8f14ffa6f987a0c6e054c5
size 239272

3
distroinfo-0.6.3.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0c26340b5f4c0f7f51c2ea713995609c68c12fa3373cc5c303a4e74f20cd1fbd
size 242041

54
python-distroinfo.changes Normal file
View File

@@ -0,0 +1,54 @@
-------------------------------------------------------------------
Tue Jan 14 13:31:23 UTC 2025 - pgajdos@suse.com
- version update to 0.6.3
* Update setuptools and tox configuration
* Close the opened file
-------------------------------------------------------------------
Tue Mar 14 22:38:10 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.6.2:
* Add twine\_python parameter to upload-pypi
* Use python3 in build-python-release
* Add new filtering option and tests
* Add new unit tests and fixes others
-------------------------------------------------------------------
Thu Dec 9 08:49:52 UTC 2021 - pgajdos@suse.com
- version update to 0.5.1
0.5.1
-----
* Cleanup tox.ini, make pytest-runner req optional
0.5.0
-----
* Add new method: find\_element
* Improve messages for MissingRequiredItem exception
* Fix git URLs for review.rdoproject.org
0.4.0
-----
* Add function to compare attributes between commits
* Fix integration tests
* Update project contact
* Fix CI jobs
-------------------------------------------------------------------
Thu May 28 03:28:14 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 0.3.2:
* Change README to rst
* Switching Fedora runc nodeset to pod
* Fix tags\_diff output with python3
* Import ABC from collections.abc instead of collections
* Add license header and fix integration test
-------------------------------------------------------------------
Thu Mar 21 09:54:35 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Use noun phrase in summary.
-------------------------------------------------------------------
Tue Mar 5 03:24:43 PM UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Initial spec for v0.3.0

67
python-distroinfo.spec Normal file
View File

@@ -0,0 +1,67 @@
#
# spec file for package python-distroinfo
#
# Copyright (c) 2025 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/
#
Name: python-distroinfo
Version: 0.6.3
Release: 0
Summary: Parsing, validation and query functions for packaging metadata
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/softwarefactory-project/distroinfo
Source: https://files.pythonhosted.org/packages/source/d/distroinfo/distroinfo-%{version}.tar.gz
BuildRequires: %{python_module pbr >= 0.5.6}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-PyYAML
Requires: python-pbr >= 0.5.6
Requires: python-requests
Requires: python-six
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module six}
# /SECTION
%python_subpackages
%description
Python module for parsing, validating and querying distribution/packaging
metadata stored in human readable and reviewable text/YAML files.
%prep
%setup -q -n distroinfo-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest -k 'not integration'
%files %{python_files}
%doc AUTHORS ChangeLog README.rst
%license LICENSE
%{python_sitelib}/distroinfo-%{version}-*-info
%{python_sitelib}/distroinfo
%changelog