5af9404
%global modname pyramid_fas_openid
2758657
%global _description\
2758657
pyramid_fas_openid provides a view for the Pyramid framework that acts as\
2758657
an OpenID consumer for the Fedora Account System.
2758657
5af9404
5af9404
Name:               python-pyramid-fas-openid
2758657
Version:            0.3.9
2758657
Release:            1%{?dist}
5af9404
Summary:            A view for pyramid that functions as an OpenID consumer
5af9404
5af9404
Group:              Development/Libraries
5af9404
License:            BSD
2758657
URL:                https://github.com/fedora-infra/pyramid_fas_openid
2758657
Source0:            %{url}/archive/%{version}/%{modname}-%{version}.tar.gz
5af9404
BuildArch:          noarch
5af9404
5af9404
BuildRequires:      python-openid
2758657
BuildRequires:      python2-devel
2758657
BuildRequires:      python2-openid-cla
2758657
BuildRequires:      python2-openid-teams
2758657
BuildRequires:      python2-pyramid
2758657
BuildRequires:      python2-setuptools
2758657
BuildRequires:      python3-devel
2758657
BuildRequires:      python3-openid
2758657
BuildRequires:      python3-openid-cla
2758657
BuildRequires:      python3-openid-teams
2758657
BuildRequires:      python3-pyramid
2758657
BuildRequires:      python3-setuptools
5af9404
25fe2c6
25fe2c6
%description %_description
25fe2c6
2758657
25fe2c6
%package -n python2-pyramid-fas-openid
25fe2c6
Summary: %summary
5af9404
Requires:           python-openid
2758657
Requires:           python2-pyramid
2758657
Requires:           python2-openid-teams
2758657
Requires:           python2-openid-cla
25fe2c6
%{?python_provide:%python_provide python2-pyramid-fas-openid}
5af9404
2758657
25fe2c6
%description -n python2-pyramid-fas-openid %_description
5af9404
2758657
2758657
%package -n python3-pyramid-fas-openid
2758657
Summary: %summary
2758657
Requires:           python3-pyramid
2758657
Requires:           python3-openid
2758657
Requires:           python3-openid-teams
2758657
Requires:           python3-openid-cla
2758657
%{?python_provide:%python_provide python3-pyramid-fas-openid}
2758657
2758657
2758657
%description -n python3-pyramid-fas-openid %_description
2758657
2758657
5af9404
%prep
5af9404
%setup -q -n %{modname}-%{version}
5af9404
5af9404
# Remove bundled egg-info in case it exists
5af9404
rm -rf %{modname}.egg-info
5af9404
2758657
5af9404
%build
2758657
%py2_build
2758657
%py3_build
2758657
5af9404
5af9404
%install
2758657
%py2_install
2758657
%py3_install
2758657
5af9404
25fe2c6
%files -n python2-pyramid-fas-openid
5af9404
%doc README.txt
2758657
%license LICENSE.txt
5af9404
%{python2_sitelib}/%{modname}/
5af9404
%{python2_sitelib}/%{modname}-%{version}*
5af9404
2758657
2758657
%files -n python3-pyramid-fas-openid
2758657
%doc README.txt
2758657
%license LICENSE.txt
2758657
%{python3_sitelib}/%{modname}/
2758657
%{python3_sitelib}/%{modname}-%{version}*
2758657
2758657
5af9404
%changelog
2758657
* Tue Dec 12 2017 Randy Barlow <bowlofeggs@fedoraproject.org> - 0.3.9-1
2758657
- Update to 0.3.9.
2758657
- Add support for Python 3.
2758657
25fe2c6
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.3.8-7
25fe2c6
- Python 2 binary package renamed to python2-pyramid-fas-openid
25fe2c6
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
25fe2c6
942377a
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8-6
942377a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
942377a
5ad6f6d
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8-5
5ad6f6d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild