Blame python-u-msgpack-python.spec

fd9666f
%global pypi_name u-msgpack-python
fd9666f
fd9666f
Name:           python-%{pypi_name}
00be1d0
Version:        2.8.0
d42fdc9
Release:        %autorelease
fd9666f
Summary:        A portable, lightweight MessagePack serializer and deserializer
fd9666f
fd9666f
License:        MIT
fd9666f
URL:            https://github.com/vsergeev/u-msgpack-python
6b37447
Source0:        %{url}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz
fd9666f
BuildArch:      noarch
fd9666f
fd9666f
BuildRequires:  python3-devel
fd9666f
fd9666f
%description
fd9666f
A lightweight MessagePack serializer and deserializer module written in pure
fd9666f
Python. It is fully compliant with the latest MessagePack specification.
fd9666f
In particular, it supports the new binary, UTF-8 string, and
fd9666f
application-defined ext types.
fd9666f
fd9666f
fd9666f
%package -n     python3-%{pypi_name}
fd9666f
Summary:        %{summary}
fd9666f
fd9666f
%description -n python3-%{pypi_name}
fd9666f
A lightweight MessagePack serializer and deserializer module written in pure
fd9666f
Python. It is fully compliant with the latest MessagePack specification.
fd9666f
In particular, it supports the new binary, UTF-8 string, and
fd9666f
application-defined ext types.
fd9666f
fd9666f
fd9666f
%prep
fd9666f
%autosetup -n %{pypi_name}-%{version}
fd9666f
6b37447
%generate_buildrequires
6b37447
%pyproject_buildrequires -t
6b37447
fd9666f
fd9666f
%build
6b37447
%pyproject_wheel
fd9666f
fd9666f
fd9666f
%install
6b37447
%pyproject_install
6b37447
%pyproject_save_files umsgpack
fd9666f
fd9666f
fd9666f
%check
6b37447
%tox
fd9666f
fd9666f
6b37447
%files -n python3-%{pypi_name} -f %{pyproject_files}
fd9666f
%doc README.md
fd9666f
fd9666f
fd9666f
%changelog
d42fdc9
%autochangelog