14
0

Accepting request 1039279 from home:ojkastl_buildservice:Branch_devel_languages_python

update to 1.0.4

OBS-URL: https://build.opensuse.org/request/show/1039279
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exceptiongroup?expand=0&rev=5
This commit is contained in:
2022-12-02 10:48:41 +00:00
committed by Git OBS Bridge
parent 9028e3df74
commit e433759168
5 changed files with 28 additions and 10 deletions

View File

@@ -16,14 +16,13 @@
#
%define pyversion 1.0.0rc9
Name: python-exceptiongroup
Version: 1.0.0~rc9
Version: 1.0.4
Release: 0
Summary: Backport of PEP 654 (exception groups)
License: MIT AND Python-2.0
URL: https://github.com/agronholm/exceptiongroup
Source: https://github.com/agronholm/exceptiongroup/archive/refs/tags/%{pyversion}.tar.gz#/exceptiongroup-%{pyversion}-gh.tar.gz
Source: https://github.com/agronholm/exceptiongroup/archive/refs/tags/%{version}.tar.gz#/exceptiongroup-%{version}-gh.tar.gz
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module flit-scm}
BuildRequires: %{python_module pip}
@@ -61,10 +60,10 @@ exception group classes are used instead, ``TracebackException`` is not monkey p
and the exception hook won't be installed.
%prep
%setup -q -n exceptiongroup-%{pyversion}
%setup -q -n exceptiongroup-%{version}
%build
export SETUPTOOLS_SCM_PRETEND_VERSION=%{pyversion}
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%pyproject_wheel
%install
@@ -77,7 +76,6 @@ export SETUPTOOLS_SCM_PRETEND_VERSION=%{pyversion}
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/exceptiongroup
%{python_sitelib}/exceptiongroup-%{pyversion}*-info
%{python_sitelib}/exceptiongroup*
%changelog