From 7293ea9fea07db0c6471cbe57481137340800e71 Mon Sep 17 00:00:00 2001 From: Alfredo Moralejo Date: Sep 11 2021 10:21:38 +0000 Subject: Import python-mujson-1.4-1.el9 in CloudSIG xena --- diff --git a/.python-mujson.metadata b/.python-mujson.metadata new file mode 100644 index 0000000..04b1a56 --- /dev/null +++ b/.python-mujson.metadata @@ -0,0 +1 @@ +92da6ae82ee978a2f50706995d68db0ce3635e93 SOURCES/mujson-1.4.tar.gz diff --git a/SPECS/python-mujson.spec b/SPECS/python-mujson.spec new file mode 100644 index 0000000..90a38bd --- /dev/null +++ b/SPECS/python-mujson.spec @@ -0,0 +1,53 @@ +%global srcname mujson +%global common_description %{expand: +mujson lets python libraries make use of the most performant JSON functions +available at import time. It is small, and does not itself implement any +encoding or decoding functionality.} + + +Name: python-%{srcname} +Version: 1.4 +Release: 1%{?dist} +Summary: Use the fastest JSON functions available at import time +License: MIT +URL: https://github.com/mattgiles/mujson +# PyPI tarball is missing license +# https://github.com/mattgiles/mujson/issues/8 +Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz +BuildArch: noarch + + +%description %{common_description} + + +%package -n python3-%{srcname} +Summary: %{summary} +BuildRequires: python3-devel +BuildRequires: %{py3_dist setuptools} + + +%description -n python3-%{srcname} %{common_description} + + +%prep +%autosetup -n %{srcname}-%{version} + + +%build +%py3_build + + +%install +%py3_install + + +%files -n python3-%{srcname} +%license LICENSE +%doc README.md +%{python3_sitelib}/%{srcname} +%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info + + +%changelog +* Tue Apr 13 2021 Carl George - 1.4-1 +- Initial package rhbz#1948882