|
|
@ -1,20 +1,15 @@
|
|
|
|
%global srcname msgpack
|
|
|
|
%global srcname msgpack
|
|
|
|
%global sum A Python MessagePack (de)serializer
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-%{srcname}
|
|
|
|
Name: python-%{srcname}
|
|
|
|
Version: 0.6.2
|
|
|
|
Version: 1.0.0
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: %{sum}
|
|
|
|
Summary: Python MessagePack (de)serializer
|
|
|
|
|
|
|
|
|
|
|
|
License: ASL 2.0
|
|
|
|
License: ASL 2.0
|
|
|
|
URL: https://msgpack.org/
|
|
|
|
URL: https://msgpack.org/
|
|
|
|
Source0: %pypi_source
|
|
|
|
Source0: https://github.com/msgpack/msgpack-python/archive/v%{version}/%{srcname}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: python%{python3_pkgversion}-Cython
|
|
|
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
|
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-pytest
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
MessagePack is a binary-based efficient data interchange format that is
|
|
|
|
MessagePack is a binary-based efficient data interchange format that is
|
|
|
@ -22,7 +17,12 @@ focused on high performance. It is like JSON, but very fast and small.
|
|
|
|
This is a Python (de)serializer for MessagePack.
|
|
|
|
This is a Python (de)serializer for MessagePack.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python%{python3_pkgversion}-%{srcname}
|
|
|
|
%package -n python%{python3_pkgversion}-%{srcname}
|
|
|
|
Summary: %{sum}
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-Cython
|
|
|
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
|
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-pytest
|
|
|
|
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
|
|
|
|
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
|
|
|
|
|
|
|
|
|
|
|
|
# For backwards compatibility
|
|
|
|
# For backwards compatibility
|
|
|
@ -35,7 +35,9 @@ focused on high performance. It is like JSON, but very fast and small.
|
|
|
|
This is a Python %{python3_version} (de)serializer for MessagePack.
|
|
|
|
This is a Python %{python3_version} (de)serializer for MessagePack.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{srcname}-%{version}
|
|
|
|
%autosetup -n %{srcname}-python-%{version}
|
|
|
|
|
|
|
|
# There is a circular dependency with python-msgpack-ext
|
|
|
|
|
|
|
|
rm -rf test/test_timestamp.py
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%py3_build
|
|
|
|
%py3_build
|
|
|
@ -44,8 +46,7 @@ This is a Python %{python3_version} (de)serializer for MessagePack.
|
|
|
|
%py3_install
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
export PYTHONPATH=$(pwd)
|
|
|
|
PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%{python3_version} -v test
|
|
|
|
py.test-%{python3_version} -v test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python%{python3_pkgversion}-%{srcname}
|
|
|
|
%files -n python%{python3_pkgversion}-%{srcname}
|
|
|
|
%doc README.rst
|
|
|
|
%doc README.rst
|
|
|
@ -54,6 +55,9 @@ py.test-%{python3_version} -v test
|
|
|
|
%{python3_sitearch}/%{srcname}*.egg-info
|
|
|
|
%{python3_sitearch}/%{srcname}*.egg-info
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sat Apr 18 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.0.0-1
|
|
|
|
|
|
|
|
- Update to latest upstream release 1.0.0 (rhbz#1816567)
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-2
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|