Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
python-sympy
python-sympy.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-sympy.spec of Package python-sympy
# # spec file for package python-sympy # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define modname sympy Name: python-%{modname} Version: 0.7.1 Release: 1 License: BSD-3-Clause Summary: Python library for symbolic mathematics Url: http://code.google.com/p/%{modname}/ Group: Development/Libraries/Python Source0: http://%{modname}.googlecode.com/files/%{modname}-%{version}.tar.gz BuildRequires: python-devel >= 2.5 Requires: python-base >= 2.5 %if 0%{?suse_version} >= 1120 BuildArch: noarch %else %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires %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. SymPy is written entirely in Python and does not require any external libraries. %prep %setup -q -n %{modname}-%{version} %build python setup.py build %install python setup.py install --root=%{buildroot} --prefix=%{_prefix} chmod a+x %{buildroot}%{python_sitelib}/%{modname}/galgebra/GA.py chmod a+x %{buildroot}%{python_sitelib}/%{modname}/galgebra/tests/test_GA.py chmod a+x %{buildroot}%{python_sitelib}/%{modname}/mpmath/tests/runtests.py %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %{_bindir}/isympy %{_mandir}/man1/isympy.1.gz %{python_sitelib}/%{modname} %{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor