Blob Blame Raw


%global pkgname poyo

Name:           python-poyo
Version:        0.4.1
Release:        5%{?dist}
Summary:        A lightweight YAML Parser for Python

License:        MIT
URL:            https://github.com/hackebrot/poyo
Source0:        https://github.com/hackebrot/%{pkgname}/archive/%{version}.tar.gz

BuildArch:      noarch
BuildRequires:  python3-devel

%description
A lightweight YAML Parser for Python

Please note that Poyo supports only a chosen subset of the YAML format.

It can only read but not write and is not compatible with JSON.

Poyo does not allow deserialization of arbitrary Python objects. Supported
types are str, bool, int, float, NoneType as well as dict and list values.
Please see the examples below to get an idea of what Poyo understands.

%package     -n python3-%{pkgname}
Summary:        %{summary}
%{?python_provide:%python_provide python3-%{pkgname}}
%description -n python3-%{pkgname}
A lightweight YAML Parser for Python

Please note that Poyo supports only a chosen subset of the YAML format.

It can only read but not write and is not compatible with JSON.

Poyo does not allow deserialization of arbitrary Python objects. Supported
types are str, bool, int, float, NoneType as well as dict and list values.
Please see the examples below to get an idea of what Poyo understands.

%prep
%autosetup -n %{pkgname}-%{version}

%build

%{py3_build}

%install

%{py3_install}

%check

%{__python3} setup.py test

%files -n python3-%{pkgname}
%license LICENSE
%doc *.rst
%doc *.md
%{python3_sitelib}/*


%changelog
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

* Wed Jan 09 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4.1-4
- Subpackage python2-poyo has been removed
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal

* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.4.1-2
- Rebuilt for Python 3.7

* Tue Mar  6 2018 Brett Lentz <brett.lentz@gmail.com> - 0.4.1-1
- initial package