David Roble 68940cf
%global srcname kaptan
David Roble 68940cf
%global sum Configuration parser
David Roble 68940cf
David Roble 68940cf
Name:           python-%{srcname}
David Roble 68940cf
Version:        0.5.5
4ed2f90
Release:        7%{?dist}
David Roble 68940cf
Summary:        %{sum}
David Roble 68940cf
David Roble 68940cf
License:        BSD
David Roble 68940cf
URL:            https://pypi.python.org/pypi/%{srcname}
David Roble 68940cf
Source0:        https://github.com/emre/%{srcname}/archive/%{version}.tar.gz
David Roble 68940cf
David Roble 68940cf
BuildArch:      noarch
David Roble 68940cf
BuildRequires:  python3-devel
David Roble 68940cf
BuildRequires:  python3-PyYAML
David Roble 68940cf
David Roble 68940cf
%description
David Roble 68940cf
configuration parser.
David Roble 68940cf
David Roble 68940cf
%package -n python3-%{srcname}
David Roble 68940cf
Summary:        %{sum}
David Roble 68940cf
%{?python_provide:%python_provide python3-%{srcname}}
David Roble 68940cf
David Roble 68940cf
%description -n python3-%{srcname}
David Roble 68940cf
configuration parser.
David Roble 68940cf
David Roble 68940cf
David Roble 68940cf
%prep
David Roble 68940cf
%autosetup -n %{srcname}-%{version}
David Roble 68940cf
David Roble 68940cf
%build
David Roble 68940cf
%py3_build
David Roble 68940cf
%install
David Roble 68940cf
%py3_install
David Roble 68940cf
David Roble 68940cf
%check
David Roble 68940cf
%{__python3} setup.py test
David Roble 68940cf
David Roble 68940cf
# Note that there is no %%files section for the unversioned python module if we are building for several python runtimes
David Roble 68940cf
David Roble 68940cf
# A man page has been requested upstream here:
David Roble 68940cf
# https://github.com/emre/kaptan/issues/44
David Roble 68940cf
%files -n python3-%{srcname}
David Roble 68940cf
%license LICENSE
David Roble 68940cf
%doc README.md
David Roble 68940cf
%{python3_sitelib}/*
David Roble 68940cf
%{_bindir}/%{srcname}
David Roble 68940cf
David Roble 68940cf
%changelog
4ed2f90
* Tue Sep 18 2018 Randy Barlow <bowlofeggs@fedoraproject.org> - 0.5.5-7
4ed2f90
- Drop python2-kaptan (#1630280).
4ed2f90
da69af4
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-6
da69af4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
da69af4
e1b890a
* Tue Jun 19 2018 Miro HronĨok <mhroncok@redhat.com> - 0.5.5-5
e1b890a
- Rebuilt for Python 3.7
e1b890a
ceb3fdf
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-4
ceb3fdf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
ceb3fdf
f749fd7
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-3
f749fd7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
f749fd7
f542485
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-2
f542485
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f542485
David Roble 68940cf
* Sat Dec 17 2016 David Roble <robled@electronsweatshop.com> 0.5.5-1
David Roble 68940cf
- Initial release