diff options
author | CoprDistGit <infra@openeuler.org> | 2024-03-08 08:00:01 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-03-08 08:00:01 +0000 |
commit | b7d37f3a685bf05cab2d15524b397368b5003964 (patch) | |
tree | 3f05a1b801d648e88d42cdf317ced15926990572 | |
parent | d1def22f7690fe03329d966804b691b9a0f07a37 (diff) |
automatic import of python3-sympy
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | sources | 1 | ||||
-rw-r--r-- | sympy.spec | 30 |
3 files changed, 32 insertions, 0 deletions
@@ -0,0 +1 @@ +/sympy-1.12.tar.gz @@ -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 |