c854e8d
%global srcname mallard-ducktype
c854e8d
c854e8d
Name:    python3-mallard-ducktype
453cc97
Version: 0.2
696ee9c
Release: 6%{?dist}
c854e8d
Summary: Parse Ducktype files and convert them to Mallard
c854e8d
c854e8d
License: MIT
c854e8d
URL:     https://pypi.python.org/pypi/%{srcname}
c854e8d
Source0: https://pypi.python.org/packages/source/m/%{srcname}/%{srcname}-%{version}.tar.gz
3379820
# https://github.com/projectmallard/mallard-ducktype/issues/11
3379820
Patch0:  %{srcname}-0.2-open-utf8.patch
c854e8d
c854e8d
BuildArch:     noarch
c854e8d
BuildRequires: python3-devel
c854e8d
c854e8d
%description
c854e8d
Parse Ducktype files and convert them to Mallard.
c854e8d
c854e8d
c854e8d
%prep
c854e8d
%setup -q -n %{srcname}-%{version}
c854e8d
rm -rf %{srcname}-%{version}/mallard_ducktype.egg-info/
3379820
%patch0 -p1
c854e8d
c854e8d
c854e8d
%build
c854e8d
%py3_build
c854e8d
c854e8d
c854e8d
%install
c854e8d
%py3_install
c854e8d
c854e8d
c854e8d
%check
c854e8d
%{__python3} setup.py test
c854e8d
c854e8d
c854e8d
%files
c854e8d
# No separate license file.
c854e8d
%doc
c854e8d
%{_bindir}/ducktype
c854e8d
%{python3_sitelib}/*
c854e8d
c854e8d
c854e8d
c854e8d
%changelog
696ee9c
* Mon Dec 19 2016 Miro HronĨok <mhroncok@redhat.com> - 0.2-6
696ee9c
- Rebuild for Python 3.6
696ee9c
773b972
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-5
773b972
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
773b972
0f471c0
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-4
0f471c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
0f471c0
2960274
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-3
2960274
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
2960274
3379820
* Wed Sep 09 2015 David King <amigadave@amigadave.com> - 0.2-2
3379820
- Add backported UTF-8 encoding patch
3379820
453cc97
* Tue Sep 08 2015 David King <amigadave@amigadave.com> - 0.2-1
453cc97
- Update to 0.2
453cc97
c854e8d
* Fri Sep 04 2015 David King <amigadave@amigadave.com> - 0.1-1
c854e8d
- Initial Fedora packaging (#1260219)