14
0
forked from pool/python-msgfy

- Update to 0.2.1:

* Drop support for Python 3.6
  * Add support for Python 3.11
  * Update [build-system]
  * Modify to use pypa/build for package build
  * Improve error handling
  * Improve type annotations
  * Add support for Python 3.10
  * Drop support for Python 3.5
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-msgfy?expand=0&rev=2
This commit is contained in:
2025-03-03 03:36:13 +00:00
committed by Git OBS Bridge
parent 094982cc27
commit 40efda9ed9
4 changed files with 25 additions and 11 deletions

View File

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

3
msgfy-0.2.1.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Mon Mar 3 03:35:32 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 0.2.1:
* Drop support for Python 3.6
* Add support for Python 3.11
* Update [build-system]
* Modify to use pypa/build for package build
* Improve error handling
* Improve type annotations
* Add support for Python 3.10
* Drop support for Python 3.5
- Switch to pyproject macros.
-------------------------------------------------------------------
Mon Mar 8 21:10:07 UTC 2021 - John Vandenberg <jayvdb@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-msgfy
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2020, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
@@ -17,16 +17,15 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-msgfy
Version: 0.1.0
Version: 0.2.1
Release: 0
Summary: Converts python exception instance to human-readable error messages
License: MIT
Group: Development/Languages/Python
URL: https://github.com/thombashi/msgfy
Source: https://files.pythonhosted.org/packages/source/m/msgfy/msgfy-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -46,10 +45,10 @@ error message.
find . -type f -exec chmod -x {} \;
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -58,6 +57,7 @@ find . -type f -exec chmod -x {} \;
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/msgfy*
%{python_sitelib}/msgfy
%{python_sitelib}/msgfy-%{version}.dist-info
%changelog