4745667
%global srcname structlog
14b48d4
%global sum Painless structural logging
4745667
14b48d4
Name:           python-%{srcname}
81483cd
Version:        19.2.0
41e82e0
Release:        9%{?dist}
14b48d4
Summary:        %{sum}
4745667
d6c118c
License:        ASL 2.0 and MIT
4745667
URL:            http://www.structlog.org/
d6c118c
Source0:        https://files.pythonhosted.org/packages/source/s/%{srcname}/%{srcname}-%{version}.tar.gz
d6c118c
4745667
BuildArch:      noarch
4745667
d6c118c
BuildRequires:  python%{python3_pkgversion}-twisted
d6c118c
BuildRequires:  python%{python3_pkgversion}-devel
d6c118c
BuildRequires:  python%{python3_pkgversion}-freezegun
d6c118c
BuildRequires:  python%{python3_pkgversion}-pretend
d6c118c
BuildRequires:  python%{python3_pkgversion}-pytest
d6c118c
BuildRequires:  python%{python3_pkgversion}-setuptools
d6c118c
d6c118c
%if 0%{?with_python3_other}
d6c118c
BuildRequires:  python%{python3_other_pkgversion}-devel
d6c118c
BuildRequires:  python%{python3_other_pkgversion}-freezegun
d6c118c
BuildRequires:  python%{python3_other_pkgversion}-pretend
d6c118c
BuildRequires:  python%{python3_other_pkgversion}-pytest
d6c118c
BuildRequires:  python%{python3_other_pkgversion}-setuptools
4745667
%endif
4745667
4745667
4745667
%description
4745667
Structlog makes structured logging in Python easy by augmenting your existing 
4745667
logger. It allows you to split your log entries up into key/value pairs and 
4745667
build them incrementally without annoying boilerplate code.
4745667
4745667
d6c118c
%package -n python%{python3_pkgversion}-%{srcname}
d6c118c
Summary:        Painless structural logging
d6c118c
License:        ASL 2.0 and MIT
d6c118c
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
d6c118c
d6c118c
d6c118c
%description -n python%{python3_pkgversion}-%{srcname}
d6c118c
Structlog makes structured logging in Python easy by augmenting your existing 
d6c118c
logger. It allows you to split your log entries up into key/value pairs and 
d6c118c
build them incrementally without annoying boilerplate code.
d6c118c
d6c118c
d6c118c
%if 0%{?with_python3_other}
d6c118c
%package -n python%{python3_other_pkgversion}-%{srcname}
4745667
Summary:        Painless structural logging
d6c118c
License:        ASL 2.0 and MIT
d6c118c
%{?python_provide:%python_provide python%{python3_other_pkgversion}-%{srcname}}
4745667
4745667
d6c118c
%description -n python%{python3_other_pkgversion}-%{srcname}
4745667
Structlog makes structured logging in Python easy by augmenting your existing 
4745667
logger. It allows you to split your log entries up into key/value pairs and 
4745667
build them incrementally without annoying boilerplate code.
4745667
%endif
4745667
4745667
4745667
%prep
d6c118c
%autosetup -p1 -n %{srcname}-%{version}
4745667
4745667
4745667
%build
14b48d4
%py3_build
d6c118c
%if 0%{?with_python3_other}
d6c118c
%py3_other_build
4745667
%endif
4745667
4745667
4745667
%install
d6c118c
%if 0%{?with_python3_other}
d6c118c
%py3_other_install
4745667
%endif
d6c118c
%py3_install
4745667
4745667
4745667
%check
d6c118c
pushd src
d6c118c
%{__python3} -m pytest ../tests
d6c118c
popd
4745667
4745667
d6c118c
%files -n python%{python3_pkgversion}-%{srcname}
759c599
%doc AUTHORS.rst CHANGELOG.rst README.rst PKG-INFO docs/*.rst docs/code_examples
759c599
%license LICENSE LICENSE.mit LICENSE.apache2
4745667
%{python3_sitelib}/%{srcname}
db0036d
%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info
d6c118c
d6c118c
d6c118c
%if 0%{?with_python3_other}
d6c118c
%files -n python%{python3_other_pkgversion}-%{srcname}
759c599
%doc AUTHORS.rst CHANGELOG.rst README.rst PKG-INFO docs/*.rst docs/code_examples
759c599
%license LICENSE LICENSE.mit LICENSE.apache2
d6c118c
%{python3_other_sitelib}/%{srcname}
db0036d
%{python3_other_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info
4745667
%endif
4745667
4745667
4745667
%changelog
41e82e0
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 19.2.0-9
41e82e0
- Rebuilt for Python 3.11
41e82e0
162356d
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 19.2.0-8
162356d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
162356d
8b63e11
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 19.2.0-7
8b63e11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
8b63e11
28f1775
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 19.2.0-6
28f1775
- Rebuilt for Python 3.10
28f1775
d8b2af1
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 19.2.0-5
d8b2af1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
d8b2af1
2ba9d30
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 19.2.0-4
2ba9d30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2ba9d30
7d48872
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 19.2.0-3
7d48872
- Rebuilt for Python 3.9
7d48872
48ff0ff
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 19.2.0-2
48ff0ff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
48ff0ff
81483cd
* Mon Jan 06 2020 Piotr Popieluch <piotr1212@gmail.com> - 19.2.0-1
81483cd
- Update to 19.2.0
81483cd
9d46f4c
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 19.1.0-3
9d46f4c
- Rebuilt for Python 3.8
9d46f4c
c4c6bb1
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 19.1.0-2
c4c6bb1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
c4c6bb1
d322bd6
* Thu May 02 2019 Piotr Popieluch <piotr1212@gmail.com> - 19.1.0-1
d322bd6
- Update to 19.1.0
d322bd6
d639b9f
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 18.2.0-3
d639b9f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
d639b9f
6c94bf5
* Thu Sep 27 2018 Piotr Popieluch <piotr1212@gmail.com> - 18.2.0-2
6c94bf5
- Remove Python2 subpackage
6c94bf5
1ece7b3
* Thu Sep 27 2018 Piotr Popieluch <piotr1212@gmail.com> - 18.2.0-1
1ece7b3
- Update to 18.2.0
1ece7b3
077cc2c
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 18.1.0-2
077cc2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
077cc2c
759c599
* Wed Jun 20 2018 Piotr Popieluch <piotr1212@gmail.com> - 18.1.0-1
759c599
- Update to 18.1.0
759c599
41653db
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 17.2.0-4
41653db
- Rebuilt for Python 3.7
41653db
1acccaf
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 17.2.0-3
1acccaf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1acccaf
6023790
* Tue Jan 30 2018 Iryna Shcherbina <ishcherb@redhat.com> - 17.2.0-2
6023790
- Update Python 2 dependency declarations to new packaging standards
6023790
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
6023790
d6c118c
* Tue Oct 17 2017 Piotr Popieluch <piotr1212@gmail.com> - 17.2.0-1
d6c118c
- Update to 17.2.0
d6c118c
- Add MIT license
d6c118c
- Add EPEL 7 Python 3 package
d6c118c
- Remove EPEL 6 support
d6c118c
c5ad8a2
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 15.2.0-8
c5ad8a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c5ad8a2
14b48d4
* Fri Jun 30 2017 Piotr Popieluch <piotr1212@gmail.com> - 15.2.0-7
14b48d4
- Update to new package guidelines
14b48d4
ed97c36
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 15.2.0-6
ed97c36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
ed97c36
e614a0a
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 15.2.0-5
e614a0a
- Rebuild for Python 3.6
e614a0a
4d6d794
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 15.2.0-4
4d6d794
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4d6d794
0b17984
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 15.2.0-3
0b17984
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
0b17984
8a67e64
* Fri Nov 06 2015 Piotr Popieluch <piotr1212@gmail.com> - 15.2.0-2
8a67e64
- Rebuilt for python 3.5
8a67e64
8828443
* Fri Jul 03 2015 Piotr Popieluch <piotr1212@gmail.com> - 15.2.0-1
8828443
- Update to 15.2.0
8828443
81fda2a
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-6
81fda2a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
81fda2a
5ce5e4c
* Thu Dec  4 2014 Piotr Popieluch <piotr1212@gmail.com> - 0.4.2-5
5ce5e4c
- disabled tests on epel
5ce5e4c
350ebd5
* Sat Nov 22 2014 Piotr Popieluch <piotr1212@gmail.com> - 0.4.2-4
350ebd5
- added epel support
350ebd5
4745667
* Tue Oct 28 2014 Piotr Popieluch <piotr1212@gmail.com> - 0.4.2-3
4745667
- Removed group
4745667
- Removed shipped .egg-info
4745667
- Added license to python3 package
4745667
- Made %%files section more verbose
4745667
- Replaced %%{python_sitelib} with %%{python2_sitelib}
4745667
4745667
* Mon Oct 20 2014 Piotr Popieluch <piotr1212@gmail.com> - 0.4.2-2
4745667
- Added python3 package
4745667
- Added %%check section
4745667
4745667
* Sat Oct 11 2014 Piotr Popieluch <piotr1212@gmail.com> - 0.4.2-1
4745667
- Initial package
4745667