From d93be07e13bdb98e40f1d40fd1a09f66690e9778 Mon Sep 17 00:00:00 2001 From: tigro Date: Sat, 4 Jan 2025 15:45:04 +0300 Subject: [PATCH] import python-msgpack-1.0.7-5.el10 --- .gitignore | 22 +--- .python-msgpack.metadata | 1 + .../python-msgpack.spec | 106 +++++++++++++++--- sources | 1 - 4 files changed, 93 insertions(+), 37 deletions(-) create mode 100644 .python-msgpack.metadata rename python-msgpack.spec => SPECS/python-msgpack.spec (69%) delete mode 100644 sources diff --git a/.gitignore b/.gitignore index 1f06a31..3cc02f1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,21 +1 @@ -/msgpack-python-0.1.9.tar.gz -/msgpack-python-0.1.10.tar.gz -/python-msgpack.spec -/msgpack-python-0.1.12.tar.gz -/msgpack-python-0.1.13.tar.gz -/msgpack-python-0.4.0.tar.gz -/msgpack-python-0.4.1.tar.gz -/msgpack-python-0.4.2.tar.gz -/msgpack-python-0.4.4.tar.gz -/msgpack-python-0.4.5.tar.gz -/msgpack-python-0.4.6.tar.gz -/msgpack-python-0.4.7.tar.gz -/msgpack-python-0.4.8.tar.gz -/msgpack-python-0.5.1.tar.gz -/msgpack-python-0.5.4.tar.gz -/msgpack-python-0.5.5.tar.gz -/msgpack-python-0.5.6.tar.gz -/msgpack-0.5.6.tar.gz -/msgpack-0.6.0.tar.gz -/msgpack-0.6.1.tar.gz -/msgpack-0.6.2.tar.gz +SOURCES/msgpack-1.0.7.tar.gz diff --git a/.python-msgpack.metadata b/.python-msgpack.metadata new file mode 100644 index 0000000..fa856b0 --- /dev/null +++ b/.python-msgpack.metadata @@ -0,0 +1 @@ +138de1cc7b5e0fde5837161865563803f1f3339e SOURCES/msgpack-1.0.7.tar.gz diff --git a/python-msgpack.spec b/SPECS/python-msgpack.spec similarity index 69% rename from python-msgpack.spec rename to SPECS/python-msgpack.spec index ce2e4ee..e70be03 100644 --- a/python-msgpack.spec +++ b/SPECS/python-msgpack.spec @@ -1,20 +1,15 @@ %global srcname msgpack -%global sum A Python MessagePack (de)serializer Name: python-%{srcname} -Version: 0.6.2 -Release: 1%{?dist} -Summary: %{sum} +Version: 1.0.7 +Release: 5%{?dist} +Summary: Python MessagePack (de)serializer -License: ASL 2.0 +License: Apache-2.0 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: python%{python3_pkgversion}-Cython -BuildRequires: python%{python3_pkgversion}-devel -BuildRequires: python%{python3_pkgversion}-setuptools -BuildRequires: python%{python3_pkgversion}-pytest %description 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. %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}} # 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. %prep -%autosetup -n %{srcname}-%{version} +%autosetup -p1 -n %{srcname}-python-%{version} +# There is a circular dependency with python-msgpack-ext +rm -rf test/test_timestamp.py %build %py3_build @@ -44,16 +46,90 @@ This is a Python %{python3_version} (de)serializer for MessagePack. %py3_install %check -export PYTHONPATH=$(pwd) -py.test-%{python3_version} -v test +%pytest -v test %files -n python%{python3_pkgversion}-%{srcname} -%doc README.rst +%doc README.md %license COPYING %{python3_sitearch}/%{srcname}/ %{python3_sitearch}/%{srcname}*.egg-info %changelog +* Sat Jan 04 2025 Arkady L. Shane - 1.0.7-5 +- Rebuilt for MSVSphere 10 + +* Fri Jul 19 2024 Fedora Release Engineering - 1.0.7-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 1.0.7-4 +- Rebuilt for Python 3.13 + +* Fri Jan 26 2024 Fedora Release Engineering - 1.0.7-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 1.0.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Nov 01 2023 Fabian Affolter - 1.0.7-1 +- Update to new upstream release 1.0.7 (closes rhbz#2241188) + +* Sun Sep 24 2023 Fabian Affolter - 1.0.6-1 +- Update to new upstream release 1.0.6 (closes rhbz#2238867) + +* Fri Jul 21 2023 Fedora Release Engineering - 1.0.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jun 13 2023 Python Maint - 1.0.5-2 +- Rebuilt for Python 3.12 + +* Fri May 12 2023 Denis Fateyev - 1.0.5-1 +- Update to 1.0.5 version + +* Fri Jan 20 2023 Fedora Release Engineering - 1.0.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 1.0.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 1.0.4-2 +- Rebuilt for Python 3.11 + +* Sat Jun 04 2022 Fabian Affolter - 1.0.4-1 +- Update to new upstream release 1.0.4 (closes rhbz#2090075) + +* Fri Jan 21 2022 Fedora Release Engineering - 1.0.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Nov 26 2021 Denis Fateyev - 1.0.3-1 +- Update to 1.0.3 version + +* Fri Jul 23 2021 Fedora Release Engineering - 1.0.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 1.0.2-3 +- Rebuilt for Python 3.10 + +* Wed Jan 27 2021 Fedora Release Engineering - 1.0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Fri Dec 18 2020 Fabian Affolter - 1.0.2-1 +- Update to new upstream release 1.0.2 (#1906739) + +* Wed Dec 16 2020 Fabian Affolter - 1.0.1-1 +- Update to new upstream release 1.0.1 (#1906739) + +* Wed Jul 29 2020 Fedora Release Engineering - 1.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sat Jun 06 2020 Fabian Affolter - 1.0.0-1 +- Update to latest upstream release 1.0.0 (#1816567) + +* Tue May 26 2020 Miro HronĨok - 0.6.2-3 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.6.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Wed Nov 20 2019 Orion Poplawski - 0.6.2-1 - Update to 0.6.2 diff --git a/sources b/sources deleted file mode 100644 index 4f6448c..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (msgpack-0.6.2.tar.gz) = 95b92e3d35e0500dd4256d18bf76e586e57cc66319b4459ac5daef599277a5049177a89ad86e291dbdc4c7a918901a89d9218353ddc4a7d0b399e8a98afef363