Fix broken dependencies in the -texmacs subpackage.
Recommend numexpr.
This commit is contained in:
parent
d03ed1f329
commit
0b31cd7ed0
|
@ -0,0 +1,12 @@
|
|||
# THIS FILE IS FOR WHITELISTING RPMLINT ERRORS AND WARNINGS IN TASKOTRON
|
||||
# https://fedoraproject.org/wiki/Taskotron/Tasks/dist.rpmlint#Whitelisting_errors
|
||||
|
||||
# This file is empty on purpose
|
||||
addFilter(r'E: zero-length .*sympy/strategies/tests/test_strat\.py')
|
||||
|
||||
# There really is no documentation for the TeXmacs plugin
|
||||
addFilter(r'sympy-texmacs\.noarch: W: no-documentation')
|
||||
addFilter(r'sympy-texmacs\.noarch: W: no-manual-page-for-binary tm_sympy')
|
||||
|
||||
# We use the versions of jquery and js-underscore that sphinx gives us
|
||||
addFilter(r'W: unversioned-explicit-provides bundled\((jquery|js-underscore)\)')
|
19
sympy.spec
19
sympy.spec
|
@ -1,6 +1,6 @@
|
|||
Name: sympy
|
||||
Version: 1.4
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Summary: A Python library for symbolic mathematics
|
||||
License: BSD
|
||||
URL: http://sympy.org/
|
||||
|
@ -36,18 +36,20 @@ BuildRequires: ImageMagick
|
|||
BuildRequires: librsvg2-tools
|
||||
BuildRequires: parallel
|
||||
BuildRequires: procps
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: pkgconfig(python3)
|
||||
BuildRequires: python3dist(cython)
|
||||
BuildRequires: python3dist(docutils)
|
||||
BuildRequires: python3dist(fastcache)
|
||||
BuildRequires: python3dist(gmpy2)
|
||||
BuildRequires: python3dist(matplotlib)
|
||||
BuildRequires: python3dist(mpmath)
|
||||
BuildRequires: python3dist(numexpr)
|
||||
BuildRequires: python3dist(numpy)
|
||||
BuildRequires: python3-numpy-f2py
|
||||
BuildRequires: python3dist(scipy)
|
||||
BuildRequires: python3dist(sphinx)
|
||||
BuildRequires: python3dist(theano)
|
||||
BuildRequires: python3dist(wurlitzer)
|
||||
BuildRequires: tex(latex)
|
||||
BuildRequires: tex-dvipng
|
||||
BuildRequires: xorg-x11-fonts-Type1
|
||||
|
@ -70,6 +72,7 @@ Requires: python3dist(gmpy2)
|
|||
Requires: python3dist(matplotlib)
|
||||
Requires: python3dist(pyglet)
|
||||
|
||||
Recommends: python3dist(numexpr)
|
||||
Recommends: python3dist(scipy)
|
||||
Recommends: python3dist(theano)
|
||||
|
||||
|
@ -85,7 +88,7 @@ Python and does not require any external libraries.
|
|||
|
||||
%package texmacs
|
||||
Summary: TeXmacs integration for sympy
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: python3-%{name} = %{version}-%{release}
|
||||
Requires: texmacs
|
||||
|
||||
%description texmacs
|
||||
|
@ -101,6 +104,7 @@ This package contains example input for sympy.
|
|||
%package doc
|
||||
Summary: Documentation for sympy
|
||||
Provides: bundled(jquery)
|
||||
Provides: bundled(js-underscore)
|
||||
|
||||
%description doc
|
||||
HTML documentation for sympy.
|
||||
|
@ -129,7 +133,6 @@ done
|
|||
|
||||
# Build the documentation
|
||||
pushd doc
|
||||
sed -i 's/sphinx-build/&-%{python3_version}/' Makefile
|
||||
make html SPHINXOPTS=%{?_smp_mflags} PYTHON=%{__python3}
|
||||
make cheatsheet
|
||||
popd
|
||||
|
@ -141,10 +144,8 @@ popd
|
|||
rm -f %{buildroot}%{_bindir}/{,doc}test
|
||||
|
||||
## Install the TeXmacs integration
|
||||
sed 's/python/python3/' data/TeXmacs/bin/tm_sympy > \
|
||||
%{buildroot}%{_bindir}/tm_sympy
|
||||
cp -p data/TeXmacs/bin/tm_sympy %{buildroot}%{_bindir}/tm_sympy
|
||||
chmod a+x %{buildroot}%{_bindir}/tm_sympy
|
||||
touch -r data/TeXmacs/bin/tm_sympy %{buildroot}%{_bindir}/tm_sympy
|
||||
mkdir -p %{buildroot}%{_datadir}/TeXmacs/plugins/sympy
|
||||
cp -a data/TeXmacs/progs %{buildroot}%{_datadir}/TeXmacs/plugins/sympy
|
||||
chmod a-x %{buildroot}%{_datadir}/TeXmacs/plugins/sympy/progs/*.scm
|
||||
|
@ -204,6 +205,10 @@ xvfb-run -a -n $dnum \
|
|||
%{_docdir}/%{name}-doc/html
|
||||
|
||||
%changelog
|
||||
* Mon Nov 4 2019 Jerry James <loganjerry@gmail.com> - 1.4-6
|
||||
- Fix broken dependencies in the -texmacs subpackage
|
||||
- Recommend numexpr
|
||||
|
||||
* Fri Sep 13 2019 Jerry James <loganjerry@gmail.com> - 1.4-5
|
||||
- Add one more patch to fix a python 3.8 warning
|
||||
|
||||
|
|
Loading…
Reference in New Issue