From b7d37f3a685bf05cab2d15524b397368b5003964 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 8 Mar 2024 08:00:01 +0000 Subject: automatic import of python3-sympy --- .gitignore | 1 + sources | 1 + sympy.spec | 30 ++++++++++++++++++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 sources create mode 100644 sympy.spec diff --git a/.gitignore b/.gitignore index e69de29..91f6dd9 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/sympy-1.12.tar.gz diff --git a/sources b/sources new file mode 100644 index 0000000..6a8dcc2 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +3e0033109352d7303ea97b9216e16645 sympy-1.12.tar.gz diff --git a/sympy.spec b/sympy.spec new file mode 100644 index 0000000..6b8c989 --- /dev/null +++ b/sympy.spec @@ -0,0 +1,30 @@ +Name: python3-sympy +Version: 1.12 +Release: 1%{?dist} +Summary: A Python library for symbolic mathematics +License: MIT +URL: https://www.sympy.org/ +Source0: https://openi.pcl.ac.cn/JunJun-Liu/sympy/sympy-1.12.tar.gz + +BuildArch: noarch +BuildRequires: python3-devel +Requires: python3 + +%description +SymPy is a Python library for symbolic mathematics. It aims to become a full-featured computer algebra system (CAS) while keeping the code as simple as possible in order to be comprehensible and easily extensible. + +%prep +%autosetup -n sympy-1.12 # 请替换为正确的目录名 + +%build +python3 setup.py build + +%install +python3 setup.py install --skip-build --root %{buildroot} + +%files +%{python3_sitelib}/sympy* + +%changelog +* Wed Feb 28 2024 Junjun Liu <172074482@qq.com> - 1.12-1 +- Initial package -- cgit v1.2.3