blob: 267b8bf45d1bb608796018f9d18371bc676cd863 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
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
|