From 96ff085fad9753aa142088347cdb6d5c4d40a379 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 23 Sep 2026 03:12:26 +0000 Subject: automatic import of python-msgpack-numpy --- python3-msgpack-numpy.spec | 79 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 python3-msgpack-numpy.spec (limited to 'python3-msgpack-numpy.spec') diff --git a/python3-msgpack-numpy.spec b/python3-msgpack-numpy.spec new file mode 100644 index 0000000..267b8bf --- /dev/null +++ b/python3-msgpack-numpy.spec @@ -0,0 +1,79 @@ +# topdir: python-msgpack-numpy-0.4.8 (normalized via tar --transform) +# build system: setup.py present, no pyproject.toml -> setuptools path (py3_build/py3_install) +# chroot: openeuler-24.03_LTS_SP3-aarch64 +# No git tag for v0.4.8; version taken from setup.py VERSION declaration. Source0 points +# at the pinned commit archive for traceability; actual tarball embedded in SRPM. +# Pure Python (py_modules), no C extension -> BuildArch: noarch. + +%global pypi_name msgpack-numpy + +Name: python-%{pypi_name} +Version: 0.4.8 +Release: 1%{?dist} +Summary: Numpy data serialization using msgpack +License: BSD-2-Clause +URL: https://github.com/lebedov/msgpack-numpy +Source0: %{url}/archive/20c5e5b/%{name}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools + +%description +This package provides encoding and decoding routines that enable the +serialization and deserialization of numerical and array data types +provided by numpy using the highly efficient msgpack format. +Serialization of Python's native complex data types is also supported. + + +%package -n python3-%{pypi_name} +Summary: Numpy data serialization using msgpack +Provides: python-%{pypi_name} +Provides: python3dist(%{pypi_name}) = %{version} +Requires: python3-numpy >= 1.9.0 +Requires: python3-msgpack >= 0.5.2 + +%description -n python3-%{pypi_name} +This package provides encoding and decoding routines that enable the +serialization and deserialization of numerical and array data types +provided by numpy using the highly efficient msgpack format. +Serialization of Python's native complex data types is also supported. + + +%package help +Summary: Development documents and examples for %{pypi_name} +Requires: python3-%{pypi_name} + +%description help +This package provides encoding and decoding routines that enable the +serialization and deserialization of numerical and array data types +provided by numpy using the highly efficient msgpack format. +Serialization of Python's native complex data types is also supported. + + +%prep +%autosetup -n %{name}-%{version} -p1 + + +%build +%py3_build + + +%install +%py3_install + + +%files -n python3-%{pypi_name} +%license LICENSE.md +%{python3_sitelib}/msgpack_numpy.py +%{python3_sitelib}/__pycache__/msgpack_numpy*.pyc +%{python3_sitelib}/msgpack_numpy-%{version}*.egg-info/ + +%files help +%doc README.md CHANGES.md +%license LICENSE.md + + +%changelog +* Wed Sep 23 2026 Python_Bot - 0.4.8-1 +- Initial package -- cgit v1.2.3