Subpackage python2-numpydoc has been removed
This commit is contained in:
+5
-26
@@ -1,6 +1,6 @@
|
||||
Name: python-numpydoc
|
||||
Version: 0.8.0
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: Sphinx extension to support docstrings in NumPy format
|
||||
|
||||
License: BSD
|
||||
@@ -8,12 +8,6 @@ URL: https://pypi.python.org/pypi/numpydoc
|
||||
Source0: https://files.pythonhosted.org/packages/source/n/numpydoc/numpydoc-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-setuptools
|
||||
BuildRequires: python2-nose
|
||||
BuildRequires: python2-sphinx
|
||||
BuildRequires: python2-matplotlib
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-nose
|
||||
@@ -25,16 +19,6 @@ Numpydoc inserts a hook into Sphinx's autodoc that converts docstrings
|
||||
following the NumPy/SciPy format to a form palatable to Sphinx.
|
||||
|
||||
|
||||
%package -n python2-numpydoc
|
||||
Summary: %{summary}
|
||||
%{?python_provide:%python_provide python2-numpydoc}
|
||||
Requires: python2-sphinx >= 1.2.3
|
||||
Requires: python2-jinja2 >= 2.3
|
||||
%description -n python2-numpydoc
|
||||
Numpydoc inserts a hook into Sphinx's autodoc that converts docstrings
|
||||
following the NumPy/SciPy format to a form palatable to Sphinx.
|
||||
|
||||
|
||||
%package -n python3-numpydoc
|
||||
Summary: %{summary}
|
||||
%{?python_provide:%python_provide python3-numpydoc}
|
||||
@@ -49,25 +33,16 @@ following the NumPy/SciPy format to a form palatable to Sphinx.
|
||||
%autosetup -n numpydoc-%{version}
|
||||
|
||||
%build
|
||||
%py2_build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py2_install
|
||||
%py3_install
|
||||
|
||||
|
||||
%check
|
||||
nosetests -v
|
||||
nosetests-3 -v
|
||||
|
||||
|
||||
%files -n python2-numpydoc
|
||||
%license LICENSE.txt
|
||||
%doc README.rst
|
||||
%{python2_sitelib}/numpydoc
|
||||
%{python2_sitelib}/numpydoc-%{version}-py?.?.egg-info
|
||||
|
||||
%files -n python3-numpydoc
|
||||
%license LICENSE.txt
|
||||
%doc README.rst
|
||||
@@ -76,6 +51,10 @@ nosetests-3 -v
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Mar 06 2019 Miro Hrončok <mhroncok@redhat.com> - 0.8.0-5
|
||||
- Subpackage python2-numpydoc has been removed
|
||||
See https://fedoraproject.org/wiki/Changes/Sphinx2
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
|
||||
Reference in New Issue
Block a user