Fabian Affolter 3a8886e
%global srcname msgpack
4503ccc
%bcond_with tests
62f99f9
Fabian Affolter 3a8886e
Name:           python-%{srcname}
76e6944
Version:        1.0.3
76e6944
Release:        1%{?dist}
8b65207
Summary:        Python MessagePack (de)serializer
Fabian Affolter 3a8886e
Fabian Affolter 3a8886e
License:        ASL 2.0
Fabian Affolter 295463b
URL:            https://msgpack.org/
8b65207
Source0:        https://github.com/msgpack/msgpack-python/archive/v%{version}/%{srcname}-%{version}.tar.gz
Fabian Affolter 3a8886e
d6c04d2
BuildRequires:  gcc-c++
Fabian Affolter 3a8886e
Fabian Affolter 3a8886e
%description
Fabian Affolter 3a8886e
MessagePack is a binary-based efficient data interchange format that is
Fabian Affolter 3a8886e
focused on high performance. It is like JSON, but very fast and small.
Fabian Affolter 3a8886e
This is a Python (de)serializer for MessagePack.
Fabian Affolter 3a8886e
62f99f9
%package -n python%{python3_pkgversion}-%{srcname}
8b65207
Summary:        %{summary}
8b65207
8b65207
BuildRequires:  python%{python3_pkgversion}-Cython
8b65207
BuildRequires:  python%{python3_pkgversion}-devel
8b65207
BuildRequires:  python%{python3_pkgversion}-setuptools
8b65207
BuildRequires:  python%{python3_pkgversion}-pytest
62f99f9
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
Fabian Affolter a853300
49f5eb0
# For backwards compatibility
49f5eb0
Provides:       python3dist(%{srcname}-python) = %{version}
49f5eb0
Provides:       python%{python3_version}dist(%{srcname}-python) = %{version}
49f5eb0
62f99f9
%description -n python%{python3_pkgversion}-%{srcname}
Fabian Affolter a853300
MessagePack is a binary-based efficient data interchange format that is
Fabian Affolter a853300
focused on high performance. It is like JSON, but very fast and small.
62f99f9
This is a Python %{python3_version} (de)serializer for MessagePack.
Fabian Affolter a853300
Fabian Affolter 3a8886e
%prep
8b65207
%autosetup -n %{srcname}-python-%{version}
8b65207
# There is a circular dependency with python-msgpack-ext
8b65207
rm -rf test/test_timestamp.py
Fabian Affolter a853300
Fabian Affolter 3a8886e
%build
Fabian Affolter d174e2e
%py3_build
Fabian Affolter a853300
Fabian Affolter 3a8886e
%install
Fabian Affolter d174e2e
%py3_install
Fabian Affolter a853300
4503ccc
%if %{with network}
876fc1d
%check
016fb4d
PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%{python3_version} -v test \
016fb4d
  -k "not test_unicode and not test_read_array_header and not test_partialdata \
016fb4d
  and not test_read_map_header and not test_issue124"
4503ccc
%endif
e48fb0a
62f99f9
%files -n python%{python3_pkgversion}-%{srcname}
016fb4d
%doc README.md
Fabian Affolter d174e2e
%license COPYING
Fabian Affolter a853300
%{python3_sitearch}/%{srcname}/
Fabian Affolter a853300
%{python3_sitearch}/%{srcname}*.egg-info
Fabian Affolter a853300
Fabian Affolter 3a8886e
%changelog
76e6944
* Fri Nov 26 2021 Denis Fateyev <denis@fateyev.com> - 1.0.3-1
76e6944
- Update to 1.0.3 version
76e6944
40b1915
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-4
40b1915
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
40b1915
8064fb5
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.0.2-3
8064fb5
- Rebuilt for Python 3.10
8064fb5
a17ce5c
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
a17ce5c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
a17ce5c
e4f8dc9
* Fri Dec 18 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.0.2-1
e4f8dc9
- Update to new upstream release 1.0.2 (#1906739)
e4f8dc9
c1e9a27
* Wed Dec 16 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.0.1-1
c1e9a27
- Update to new upstream release 1.0.1 (#1906739)
c1e9a27
07197fa
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
07197fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
07197fa
89a53ca
* Sat Jun 06 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.0.0-1
c1e9a27
- Update to latest upstream release 1.0.0 (#1816567)
8b65207
6d21a6d
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.6.2-3
6d21a6d
- Rebuilt for Python 3.9
6d21a6d
a80df1c
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-2
a80df1c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
a80df1c
8105bf8
* Wed Nov 20 2019 Orion Poplawski <orion@nwra.com> - 0.6.2-1
8105bf8
- Update to 0.6.2
8105bf8
2de1fc8
* Sun Sep 08 2019 Miro Hrončok <mhroncok@redhat.com> - 0.6.1-5
2de1fc8
- Subpackage python2-msgpack has been removed
2de1fc8
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
2de1fc8
53ef073
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.6.1-4
53ef073
- Rebuilt for Python 3.8
53ef073
2c6f103
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-3
2c6f103
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
2c6f103
50b0b94
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-2
50b0b94
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
50b0b94
b948635
* Sat Jan 26 2019 Fabian Affolter <mail@fabian-affolter.ch> - 0.6.1-1
b948635
- Update to latest upstream release 0.6.1
b948635
dd0bd7a
* Fri Jan 18 2019 Fabian Affolter <mail@fabian-affolter.ch> - 0.6.0-1
e1647a5
- Update to latest upstream release 0.6.0
e1647a5
49f5eb0
* Mon Sep 03 2018 Miro Hrončok <mhroncok@redhat.com> - 0.5.6-5
49f5eb0
- Use msgpack from PyPI, not msgpack-python (deprecated)
49f5eb0
d6c04d2
* Fri Aug 10 2018 Felix Schwarz <fschwarz@fedoraproject.org> - 0.5.6-4
e1647a5
- Require gcc-c++, avoid FTBFS in rawhide (#1605779)
d6c04d2
fac5963
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.6-3
fac5963
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
fac5963
084de7c
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.5.6-2
084de7c
- Rebuilt for Python 3.7
084de7c
Fabian Affolter 0940ba1
* Thu Mar 15 2018 Fabian Affolter <mail@fabian-affolter.ch> - 0.5.6-1
Fabian Affolter 0940ba1
- Update to latest upstream release 0.5.6 (rhbz#1548215)
Fabian Affolter 0940ba1
Fabian Affolter 21ca181
* Fri Feb 23 2018 Fabian Affolter <mail@fabian-affolter.ch> - 0.5.5-1
Fabian Affolter 21ca181
- Update to latest upstream release 0.5.5 (rhbz#1548215)
Fabian Affolter 21ca181
Fabian Affolter e4eb8e1
* Fri Feb 09 2018 Fabian Affolter <mail@fabian-affolter.ch> - 0.5.4-1
Fabian Affolter e4eb8e1
- Update to latest upstream release 0.5.4 (rhbz#1541377)
Fabian Affolter e4eb8e1
fed29c0
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-3
fed29c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
fed29c0
b476c7a
* Thu Jan 25 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.5.1-2
b476c7a
- Update Python 2 dependency declarations to new packaging standards
b476c7a
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
b476c7a
6a3e4c4
* Sat Jan 20 2018 Denis Fateyev <denis@fateyev.com> - 0.5.1-1
6a3e4c4
- Update to 0.5.1 version
6a3e4c4
574e521
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8-5
574e521
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
574e521
156b18f
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8-4
156b18f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
156b18f
246edae
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8-3
246edae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
246edae
5706d72
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.4.8-2
5706d72
- Rebuild for Python 3.6
5706d72
9d6891b
* Fri Aug 05 2016 Denis Fateyev <denis@fateyev.com> - 0.4.8-1
9d6891b
- Update to 0.4.8 version
9d6891b
889c715
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.7-4
889c715
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
889c715
62f99f9
* Tue Feb 16 2016 Denis Fateyev <denis@fateyev.com> - 0.4.7-3
62f99f9
- Added EPEL compatibility (RHBZ #1290393)
62f99f9
8666b82
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.7-2
8666b82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
8666b82
Fabian Affolter d174e2e
* Fri Jan 29 2016 Fabian Affolter <mail@fabian-affolter.ch> - 0.4.7-1
9d6891b
- Update spec file
Fabian Affolter d174e2e
- Update to latest upstream version 0.4.7
Fabian Affolter d174e2e
Orion Poplawski 146606e
* Wed Dec 30 2015 Orion Poplawski <orion@cora.nwra.com> - 0.4.6-5
Orion Poplawski 146606e
- Drop py3dir
Orion Poplawski 146606e
- Provide python2-msgpack
Orion Poplawski 146606e
Robert Kuska b16daa7
* Fri Nov 06 2015 Robert Kuska <rkuska@redhat.com> - 0.4.6-4
Robert Kuska b16daa7
- Rebuilt for Python3.5 rebuild
Robert Kuska b16daa7
2653ac7
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.6-3
2653ac7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2653ac7
fa3f530
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.4.6-2
fa3f530
- Rebuilt for GCC 5 C++11 ABI change
fa3f530
a48f668
* Fri Mar 13 2015 Ken Dreyer <ktdreyer@ktdreyer.com> - 0.4.6-1
a48f668
- Update to latest upstream version 0.4.6 (RHBZ #1201568)
a48f668
e0bc636
* Fri Jan 30 2015 Ken Dreyer <ktdreyer@ktdreyer.com> - 0.4.5-2
e0bc636
- Correct python3 subpackage Summary
e0bc636
ad0647a
* Sun Jan 25 2015 Ken Dreyer <ktdreyer@ktdreyer.com> - 0.4.5-1
ad0647a
- Update to latest upstream version 0.4.5
ad0647a
63cac5a
* Fri Jan 23 2015 Ken Dreyer <ktdreyer@ktdreyer.com> - 0.4.4-2
63cac5a
- Patch test suite for EL6 and EL7 compatibility (RHBZ #1182808)
63cac5a
- Add python2 macros for EL6 compatibility (RHBZ #1182808)
63cac5a
e48fb0a
* Thu Jan 15 2015 Ken Dreyer <ktdreyer@ktdreyer.com> - 0.4.4-1
e48fb0a
- Update to latest upstream version 0.4.4 (RHBZ #1180507)
e48fb0a
- Add tests in %%check
e48fb0a
Fabian Affolter a853300
* Wed Sep 10 2014 Nejc Saje <nsaje@redhat.com> - 0.4.2-4
Fabian Affolter a853300
- Introduce python3- subpackage
Fabian Affolter a853300
691745b
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-3
691745b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
691745b
c5ea610
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-2
c5ea610
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c5ea610
818db31
* Wed Mar 26 2014 Fabian Affolter <mail@fabian-affolter.ch> - 0.4.2-1
818db31
- Update to latest upstream version 0.4.2
818db31
b200441
* Wed Feb 26 2014 Fabian Affolter <mail@fabian-affolter.ch> - 0.4.1-1
b200441
- Update to latest upstream version 0.4.1
b200441
4ccc811
* Tue Jan 07 2014 Fabian Affolter <mail@fabian-affolter.ch> - 0.4.0-1
4ccc811
- Update to latest upstream version 0.4.0
4ccc811
f478370
* Mon Jan 06 2014 Fabian Affolter <mail@fabian-affolter.ch> - 0.1.13-5
f478370
- Update spec file and python macros
f478370
99ba43a
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.13-4
99ba43a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
99ba43a
a7fe1eb
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.13-3
a7fe1eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
a7fe1eb
e181c16
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.13-2
e181c16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e181c16
5c58396
* Fri May 11 2012 Fabian Affolter <mail@fabian-affolter.ch> - 0.1.13-1
f478370
- Update to new upstream version 0.1.13
5c58396
bc6c777
* Tue Jan 31 2012 Fabian Affolter <mail@fabian-affolter.ch> - 0.1.12-1
f478370
- Update to new upstream version 0.1.12
bc6c777
2205169
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.10-2
2205169
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2205169
41c4b4b
* Sat Nov 26 2011 Fabian Affolter <mail@fabian-affolter.ch> - 0.1.10-1
41c4b4b
- Updated to new upstream version 0.1.10
41c4b4b
- README is gone
41c4b4b
0b8c8ac
* Tue Jul 12 2011 Dan Horák <dan[at]danny.cz> - 0.1.9-3
f478370
- Fix build on big endian arches
0b8c8ac
41c4b4b
* Fri Jun 24 2011 Fabian Affolter <mail@fabian-affolter.ch> - 0.1.9-2
Fabian Affolter 3a8886e
- Tests are failing, they are not active at the moment
Fabian Affolter 3a8886e
- Filtering added
Fabian Affolter 3a8886e
41c4b4b
* Sat Mar 26 2011 Fabian Affolter <mail@fabian-affolter.ch> - 0.1.9-1
Fabian Affolter 3a8886e
- Initial package