diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python3-msgpack-numpy.spec | 79 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 81 insertions, 0 deletions
@@ -0,0 +1 @@ +/python-msgpack-numpy-0.4.8.tar.gz 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 <Python_Bot@openeuler.org> - 0.4.8-1 +- Initial package @@ -0,0 +1 @@ +b43487fa23d5f92d605cba967407ece6 python-msgpack-numpy-0.4.8.tar.gz |
