a18831f
437cd0c
%{!?upstream_version: %global upstream_version %{version}%{?milestone}}
8bb7c64
71b0d69
%global common_desc Manage dynamic plugins for Python applications
71b0d69
fde4b7b
Name:           python-stevedore
db9a2b0
Version:        1.32.0
db9a2b0
Release:        1%{?dist}
fde4b7b
Summary:        Manage dynamic plugins for Python applications
fde4b7b
35a7bd8
Group:          Development/Languages
fde4b7b
License:        ASL 2.0
1caab8a
URL:            https://github.com/openstack/stevedore
1caab8a
Source0:        https://tarballs.openstack.org/stevedore/stevedore-%{upstream_version}.tar.gz
fde4b7b
BuildArch:      noarch
fde4b7b
db9a2b0
BuildRequires:  python3-devel
db9a2b0
BuildRequires:  python3-setuptools
db9a2b0
BuildRequires:  python3-pbr
db9a2b0
BuildRequires:  python3-mock
db9a2b0
BuildRequires:  python3-six
db9a2b0
BuildRequires:  python3-testrepository
db9a2b0
#BuildRequires:  python3-discover
db9a2b0
#BuildRequires:  python3-oslotest
fde4b7b
fde4b7b
%description
71b0d69
%{common_desc}
fde4b7b
db9a2b0
%package -n python3-stevedore
8bb7c64
Summary:        Manage dynamic plugins for Python applications
35a7bd8
Group:          Development/Libraries
db9a2b0
%{?python_provide:%python_provide python3-stevedore}
8bb7c64
db9a2b0
Requires:       python3-six
db9a2b0
Requires:       python3-pbr
8bb7c64
db9a2b0
%description -n python3-stevedore
71b0d69
%{common_desc}
8bb7c64
fde4b7b
%prep
a18831f
%setup -q -n stevedore-%{upstream_version}
fde4b7b
Alan Pevec 6f65801
# let RPM handle deps
Alan Pevec 6f65801
rm -f requirements.txt
469df17
fde4b7b
%build
db9a2b0
%{py3_build}
8bb7c64
fde4b7b
%install
db9a2b0
%{py3_install}
fde4b7b
8bb7c64
%check
edafa82
#TODO: reenable when commented test requirements above are available
edafa82
#
edafa82
#PYTHONPATH=. nosetests
edafa82
#
edafa82
#%if 0%{?with_python3}
437cd0c
#pushd %{py3dir}
edafa82
#PYTHONPATH=. nosetests-%{python3_version}
437cd0c
#popd
edafa82
#%endif
8bb7c64
db9a2b0
%files -n python3-stevedore
Alan Pevec 4c01820
%license LICENSE
Alan Pevec 4c01820
%doc README.rst
db9a2b0
%{python3_sitelib}/stevedore
db9a2b0
%{python3_sitelib}/stevedore-*.egg-info
8bb7c64
fde4b7b
%changelog
db9a2b0
* Wed Jun 03 2020 Joel Capitao <jcapitao@redhat.com> 1.32.0-1
db9a2b0
- Update to upstream version 1.32.0
db9a2b0
b1e5427
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.31.0-4
b1e5427
- Rebuilt for Python 3.9
b1e5427
ba008b3
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.31.0-3
ba008b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
ba008b3
437cd0c
* Wed Nov 06 2019 Alfredo Moralejo <amoralej@redhat.com> 1.31.0-2
437cd0c
- Update to upstream version 1.31.0
437cd0c
bcd2ede
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.30.1-4
bcd2ede
- Rebuilt for Python 3.8.0rc1 (#1748018)
bcd2ede
feedb58
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.30.1-3
feedb58
- Rebuilt for Python 3.8
feedb58
9425a8b
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.30.1-2
9425a8b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
9425a8b
35a7bd8
* Fri Mar 08 2019 RDO <dev@lists.rdoproject.org> 1.30.1-1
35a7bd8
- Update to 1.30.1
fde4b7b