Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c782b7cb0e | ||
|
|
d2b704435e |
@@ -1 +1,2 @@
|
|||||||
/numpydoc-0.4.tar.gz
|
/numpydoc-0.4.tar.gz
|
||||||
|
/numpydoc-0.5.tar.gz
|
||||||
|
|||||||
+12
-10
@@ -1,13 +1,11 @@
|
|||||||
%if 0%{?fedora} > 12
|
%if 0%{?fedora} > 12
|
||||||
# Disabled for now untill a new release will be on pypi with these patches:
|
%global with_python3 1
|
||||||
# https://github.com/numpy/numpy/pull/2994
|
|
||||||
%global with_python3 0
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
Name: python-numpydoc
|
Name: python-numpydoc
|
||||||
Version: 0.4
|
Version: 0.5
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Sphinx extension to support docstrings in Numpy format
|
Summary: Sphinx extension to support docstrings in Numpy format
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@@ -48,7 +46,6 @@ following the Numpy/Scipy format to a form palatable to Sphinx.
|
|||||||
rm -rf %{py3dir}
|
rm -rf %{py3dir}
|
||||||
cp -a . %{py3dir}
|
cp -a . %{py3dir}
|
||||||
2to3 --write --nobackups %{py3dir}
|
2to3 --write --nobackups %{py3dir}
|
||||||
sed -i "s/\.docscrape/docscrape/g" %{py3dir}/docscrape_sphinx.py
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
@@ -80,20 +77,25 @@ popd
|
|||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc LICENSE.txt
|
%doc LICENSE.txt README.rst
|
||||||
%{_bindir}/autosummary_generate
|
|
||||||
%{python_sitelib}/numpydoc
|
%{python_sitelib}/numpydoc
|
||||||
%{python_sitelib}/numpydoc-%{version}-py?.?.egg-info
|
%{python_sitelib}/numpydoc-%{version}-py?.?.egg-info
|
||||||
|
|
||||||
%if 0%{with_python3}
|
%if 0%{with_python3}
|
||||||
%files -n python3-numpydoc
|
%files -n python3-numpydoc
|
||||||
%doc LICENSE.txt
|
%doc LICENSE.txt README.rst
|
||||||
%{_bindir}/autosummary_generate
|
|
||||||
%{python3_sitelib}/numpydoc
|
%{python3_sitelib}/numpydoc
|
||||||
%{python3_sitelib}/numpydoc-%{version}-py?.?.egg-info
|
%{python3_sitelib}/numpydoc-%{version}-py?.?.egg-info
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 27 2014 Thomas Spura <tomspur@fedoraproject.org> - 0.5-1
|
||||||
|
- update to 0.5 (#1134171)
|
||||||
|
- enable python3 subpackage
|
||||||
|
|
||||||
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
* Mon Aug 5 2013 Thomas Spura <tomspur@fedoraproject.org> - 0.4-2
|
* Mon Aug 5 2013 Thomas Spura <tomspur@fedoraproject.org> - 0.4-2
|
||||||
- BR python2-devel, python-sphinx, python-nose
|
- BR python2-devel, python-sphinx, python-nose
|
||||||
- use macro in URL
|
- use macro in URL
|
||||||
|
|||||||
Reference in New Issue
Block a user