diff --git a/chumpy-0.70.tar.gz b/chumpy-0.70.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..09a21d0faf637452f4ae82251743cd240d0ade2d Binary files /dev/null and b/chumpy-0.70.tar.gz differ diff --git a/python-chumpy.spec b/python-chumpy.spec new file mode 100644 index 0000000000000000000000000000000000000000..b0892092ec8c5b2139bfc51b58ca10290953d1c2 --- /dev/null +++ b/python-chumpy.spec @@ -0,0 +1,53 @@ +%define anolis_release 1 +%global pypi_name chumpy +%global pypi_version 0.70 + +Name: python-%{pypi_name} +Version: %{pypi_version} +Release: %{anolis_release}%{?dist} +Summary: chumpy + +License: MIT +URL: https://github.com/mattloper/chumpy +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel python3-pip +BuildRequires: python3dist(scipy) >= 0.13 +BuildRequires: python3dist(setuptools) +BuildRequires: python3dist(six) >= 1.11 + +%description + + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +Requires: python3dist(scipy) >= 0.13 +Requires: python3dist(six) >= 1.11 +%description -n python3-%{pypi_name} + + + +%prep +%autosetup -n %{pypi_name}-%{pypi_version} + +%build +%py3_build + +%install +%py3_install + + +%check +%{__python3} setup.py test + + +%files -n python3-%{pypi_name} +%{python3_sitelib}/%{pypi_name} +%{python3_sitelib}/%{pypi_name}-%{pypi_version}-py%{python3_version}.egg-info + +%changelog +* Wed Feb 07 2024 zhongling.h - 0.70-1 +- Initial package. \ No newline at end of file