Luke Macken 06f9d00
%global modname venusian
16dd424
Luke Macken 06f9d00
Name:           python-%{modname}
867d222
Version:        3.0.0
867d222
Release:        1%{?dist}
Luke Macken 06f9d00
Summary:        A library for deferring decorator actions
Luke Macken 06f9d00
Luke Macken 06f9d00
License:        BSD
16dd424
URL:            https://pypi.python.org/pypi/venusian
16dd424
Source0:        https://pypi.python.org/packages/source/v/venusian/%{modname}-%{version}.tar.gz
Luke Macken 06f9d00
BuildArch:      noarch
Luke Macken 06f9d00
bd5a5e7
BuildRequires:  python3-devel
16dd424
BuildRequires:  python3-pytest
867d222
BuildRequires:  python3-pytest-cov
867d222
BuildRequires:  python3-coverage
bd5a5e7
BuildRequires:  python3-setuptools
Luke Macken 06f9d00
52fe6ed
%global _description\
52fe6ed
Venusian is a library which allows framework authors to defer decorator\
52fe6ed
actions.  Instead of taking actions when a function (or class) decorator is\
52fe6ed
executed at import time, you can defer the action usually taken by the\
52fe6ed
decorator until a separate "scan" phase.\
Luke Macken 06f9d00
bd5a5e7
52fe6ed
%description %_description
52fe6ed
bd5a5e7
%package -n python3-venusian
bd5a5e7
Summary:        A library for deferring decorator actions
2b77be6
%{?python_provide:%python_provide python3-venusian}
bd5a5e7
bd5a5e7
%description -n python3-venusian
bd5a5e7
Venusian is a library which allows framework authors to defer decorator
bd5a5e7
actions.  Instead of taking actions when a function (or class) decorator is
bd5a5e7
executed at import time, you can defer the action usually taken by the
bd5a5e7
decorator until a separate "scan" phase.
bd5a5e7
Luke Macken 06f9d00
%prep
16dd424
%setup -q -n %{modname}-%{version}
Luke Macken 06f9d00
bd5a5e7
# Remove bundled egg info if it exists
bd5a5e7
rm -rf %{modname}.egg-info
fbfea14
16dd424
Luke Macken 06f9d00
%build
2b77be6
%py3_build
Luke Macken 06f9d00
bd5a5e7
Luke Macken 06f9d00
%install
2b77be6
%py3_install
bd5a5e7
Luke Macken 06f9d00
Luke Macken 06f9d00
%check
867d222
PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-3 -v --trace
Luke Macken 06f9d00
bd5a5e7
bd5a5e7
%files -n python3-venusian
16dd424
%license LICENSE.txt
16dd424
%doc README.rst
bd5a5e7
%{python3_sitelib}/%{modname}/
bd5a5e7
%{python3_sitelib}/%{modname}-%{version}*.egg-info
bd5a5e7
Luke Macken 06f9d00
Luke Macken 06f9d00
%changelog
867d222
* Sun Aug 30 2020 Kevin Fenzi <kevin@scrye.com> - 3.0.0-1
867d222
- Update to 3.0.0. Fixes Bug 1768869
867d222
fd2042e
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-8
fd2042e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
fd2042e
cd34396
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1.2.0-7
cd34396
- Rebuilt for Python 3.9
cd34396
f838763
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-6
f838763
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
f838763
957fc41
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.0-5
957fc41
- Rebuilt for Python 3.8.0rc1 (#1748018)
957fc41
2b77be6
* Fri Aug 30 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.0-4
2b77be6
- Subpackage python2-venusian has been removed
2b77be6
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
2b77be6
4f3a389
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.0-3
4f3a389
- Rebuilt for Python 3.8
4f3a389
529c6ea
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
529c6ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
529c6ea
16dd424
* Tue Mar 26 2019 Randy Barlow <bowlofeggs@fedoraproject.org> - 1.2.0-1
16dd424
- Update to 1.2.0.
16dd424
- https://github.com/Pylons/venusian/blob/1.2.0/CHANGES.rst
16dd424
1488d8b
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-0.24.a7
1488d8b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
1488d8b
3aa87a2
* Wed Jul 25 2018 Pierre-Yves Chibon <pingou@pingoured.fr> - 1.0-0.23.a7
3aa87a2
- Use the py2 version of the macros
3aa87a2
83ab947
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-0.22.a7
83ab947
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
83ab947
2ef8c43
* Sun Jun 17 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0-0.21.a7
2ef8c43
- Rebuilt for Python 3.7
2ef8c43
68b8238
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-0.20.a7
68b8238
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
68b8238
8fb978c
* Wed Jan 31 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.0-0.19.a7
8fb978c
- Update Python 2 dependency declarations to new packaging standards
8fb978c
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)