Author: konradm
Update of /cvs/pkgs/rpms/sympy/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11981
Modified Files:
.cvsignore sources
Added Files:
sympy.spec
Log Message:
Build sympy for F-9
--- NEW FILE sympy.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig
import get_python_lib; print get_python_lib()")}
Name: sympy
Version: 0.6.2
Release: 2%{?dist}
Summary: A Python library for symbolic mathematics
Group: Development/Languages
License: BSD
URL:
http://code.google.com/p/sympy/
Source0:
http://sympy.googlecode.com/files/%{name}-%{version}.tar.gz
# Patch0 submitted upstream:
#
http://code.google.com/p/sympy/issues/detail?id=1156
Patch0: sympy-0.6.2-remove-extraneous-shebangs.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel
%description
SymPy 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
%patch0 -p1
%build
%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README LICENSE
%{python_sitelib}/*
%{_bindir}/isympy
%{_mandir}/man1/isympy.1*
%changelog
* Mon Oct 13 2008 Conrad Meyer <konrad(a)tylerc.org> - 0.6.2-2
- Patch to remove extraneous shebangs.
* Sun Oct 12 2008 Conrad Meyer <konrad(a)tylerc.org> - 0.6.2-1
- Initial package.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/sympy/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 15 Oct 2008 05:33:28 -0000 1.1
+++ .cvsignore 31 Oct 2008 20:37:13 -0000 1.2
@@ -0,0 +1 @@
+sympy-0.6.2.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/sympy/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 15 Oct 2008 05:33:28 -0000 1.1
+++ sources 31 Oct 2008 20:37:14 -0000 1.2
@@ -0,0 +1 @@
+60f5edddeb72cd0e700363901fe94ab5 sympy-0.6.2.tar.gz