Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > 356bbc7041586ce1c5ae9a10467955f2 > files > 1

python-structlog-22.1.0-1.mga9.src.rpm

%define module structlog

Name:           python-%{module}
Version:        22.1.0
Release:        %mkrel 1
Summary:        Painless structural logging
Group:          Development/Python
License:        ASL 2.0 and MIT
URL:            https://www.structlog.org/en/stable/
Source0:        https://files.pythonhosted.org/packages/source/s/%{module}/%{module}-%{version}.tar.gz

BuildArch:      noarch

BuildRequires:  pyproject-rpm-macros
BuildRequires:  pkgconfig(python3)
BuildRequires:  python3-setuptools
BuildRequires:  python3-freezegun
BuildRequires:  python3-pretend
BuildRequires:  python3-pytest
BuildRequires:  python3-pytest-asyncio
BuildRequires:  python3-twisted
BuildRequires:  python3dist(flit-core)

%description
Structlog makes structured logging in Python easy by augmenting your existing
logger. It allows you to split your log entries up into key/value pairs and
build them incrementally without annoying boilerplate code.

%package -n python3-%{module}
Summary:        Painless structural logging
Group:          Development/Python
License:        ASL 2.0 and MIT
%{?python_provide:%python_provide python3-%{module}}

%description -n python3-%{module}
Structlog makes structured logging in Python easy by augmenting your existing
logger. It allows you to split your log entries up into key/value pairs and
build them incrementally without annoying boilerplate code.

%prep
%autosetup -p1 -n %{module}-%{version}

%build
%pyproject_wheel

%install
%pyproject_install
%pyproject_save_files structlog

#tests disabled because they fail with fixture '<*>' not found. https://github.com/hynek/structlog/issues/433

%files -n python3-%{module} -f %{pyproject_files}
%doc AUTHORS.rst README.rst PKG-INFO docs/*.rst docs/code_examples
%license LICENSE-MIT LICENSE-APACHE


%changelog
* Sun Sep 11 2022 papoteur <papoteur> 22.1.0-1.mga9
+ Revision: 1887177
- new 22.1.0

* Thu Mar 31 2022 umeabot <umeabot> 21.1.0-3.mga9
+ Revision: 1836419
- Mageia 9 Mass Rebuild

* Mon Feb 21 2022 mrambo3501 <mrambo3501> 21.1.0-2.mga9
+ Revision: 1782296
- rebuild for python-3.10

* Wed Apr 21 2021 daviddavid <daviddavid> 21.1.0-1.mga9
+ Revision: 1717798
- new version: 21.1.0

* Wed Apr 21 2021 daviddavid <daviddavid> 19.2.0-1.mga9
+ Revision: 1717779
- initial package python-structlog (needed for openconnect-sso)