Update to 0.7.3.

Upstream dropped all tutorial translations.
Add graphviz BR for documentation.
Sources now distributed from github instead of googlecode.
This commit is contained in:
Jerry James 2013-08-02 10:36:41 -06:00
parent a2507d0743
commit 33d1430dc2
4 changed files with 352 additions and 294 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/sympy-0.7.2.tar.gz /sympy-0.7.3.tar.gz

View File

@ -1 +1 @@
480185006fb318f5c9bbd75b4cf9771d sympy-0.7.2.tar.gz 91e3dc58c0af063bc64b17674296cb35 sympy-0.7.3.tar.gz

View File

@ -1,16 +1,17 @@
Name: sympy Name: sympy
Version: 0.7.2 Version: 0.7.3
Release: 1%{?dist} Release: 1%{?dist}
Summary: A Python library for symbolic mathematics Summary: A Python library for symbolic mathematics
License: BSD License: BSD
URL: http://sympy.org/ URL: http://sympy.org/
Source0: http://sympy.googlecode.com/files/%{name}-%{version}.tar.gz Source0: https://github.com/%{name}/%{name}/releases/download/%{name}-%{veresion}/%{name}-%{version}.tar.gz
# Upstream tried to graft in another project as a private copy; we rip # Upstream tried to graft in another project as a private copy; we rip
# it out (rhbz# 551576): # it out (rhbz# 551576):
Patch0: sympy-0.7.2-strip-internal-mpmath.patch Patch0: %{name}-0.7.3-strip-internal-mpmath.patch
BuildArch: noarch BuildArch: noarch
BuildRequires: gettext BuildRequires: gettext
BuildRequires: graphviz
BuildRequires: numpy BuildRequires: numpy
BuildRequires: python2-devel BuildRequires: python2-devel
BuildRequires: python-mpmath BuildRequires: python-mpmath
@ -61,7 +62,6 @@ python setup.py build
# Build the documentation # Build the documentation
cd doc cd doc
make html make html
make htmli18n
make cheatsheet make cheatsheet
%install %install
@ -82,9 +82,8 @@ chmod a-x examples/all.py
# Install the HTML documentation # Install the HTML documentation
mkdir -p %{buildroot}%{_docdir}/%{name}-doc-%{version} mkdir -p %{buildroot}%{_docdir}/%{name}-doc-%{version}
cp -a doc/_build/html %{buildroot}%{_docdir}/%{name}-doc-%{version} cp -a doc/_build/html %{buildroot}%{_docdir}/%{name}-doc-%{version}
cp -a doc/_build/i18n %{buildroot}%{_docdir}/%{name}-doc-%{version}
rm -f %{buildroot}%{_docdir}/%{name}-doc-%{version}/html/.buildinfo rm -f %{buildroot}%{_docdir}/%{name}-doc-%{version}/html/.buildinfo
rm -f %{buildroot}%{_docdir}/%{name}-doc-%{version}/i18n/*/.buildinfo rm -fr %{buildroot}%{_docdir}/%{name}-doc-%{version}/i18n
%check %check
python setup.py test python setup.py test
@ -107,16 +106,14 @@ python setup.py test
%files doc %files doc
%docdir %{_docdir}/%{name}-doc-%{version}/html %docdir %{_docdir}/%{name}-doc-%{version}/html
%{_docdir}/%{name}-doc-%{version}/html %{_docdir}/%{name}-doc-%{version}/html
%docdir %{_docdir}/%{name}-doc-%{version}/i18n
%lang(bg) %{_docdir}/%{name}-doc-%{version}/i18n/bg/
%lang(cs) %{_docdir}/%{name}-doc-%{version}/i18n/cs/
%lang(de) %{_docdir}/%{name}-doc-%{version}/i18n/de/
%lang(fr) %{_docdir}/%{name}-doc-%{version}/i18n/fr/
%lang(pl) %{_docdir}/%{name}-doc-%{version}/i18n/pl/
%lang(ru) %{_docdir}/%{name}-doc-%{version}/i18n/ru/
%lang(sr) %{_docdir}/%{name}-doc-%{version}/i18n/sr/
%changelog %changelog
* Fri Aug 2 2013 Jerry James <loganjerry@gmail.com> - 0.7.3-1
- Update to 0.7.3
- Upstream dropped all tutorial translations
- Add graphviz BR for documentation
- Sources now distributed from github instead of googlecode
* Mon Jun 17 2013 Jerry James <loganjerry@gmail.com> - 0.7.2-1 * Mon Jun 17 2013 Jerry James <loganjerry@gmail.com> - 0.7.2-1
- Update to 0.7.2 (bz 866044) - Update to 0.7.2 (bz 866044)
- Add python-pyglet R (bz 890312) - Add python-pyglet R (bz 890312)