Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c782b7cb0e | |||
| d2b704435e |
@@ -1 +1,2 @@
|
||||
/numpydoc-0.4.tar.gz
|
||||
/numpydoc-0.5.tar.gz
|
||||
|
||||
+12
-10
@@ -1,13 +1,11 @@
|
||||
%if 0%{?fedora} > 12
|
||||
# Disabled for now untill a new release will be on pypi with these patches:
|
||||
# https://github.com/numpy/numpy/pull/2994
|
||||
%global with_python3 0
|
||||
%global with_python3 1
|
||||
%endif
|
||||
|
||||
|
||||
Name: python-numpydoc
|
||||
Version: 0.4
|
||||
Release: 2%{?dist}
|
||||
Version: 0.5
|
||||
Release: 1%{?dist}
|
||||
Summary: Sphinx extension to support docstrings in Numpy format
|
||||
|
||||
License: BSD
|
||||
@@ -48,7 +46,6 @@ following the Numpy/Scipy format to a form palatable to Sphinx.
|
||||
rm -rf %{py3dir}
|
||||
cp -a . %{py3dir}
|
||||
2to3 --write --nobackups %{py3dir}
|
||||
sed -i "s/\.docscrape/docscrape/g" %{py3dir}/docscrape_sphinx.py
|
||||
%endif
|
||||
|
||||
|
||||
@@ -80,20 +77,25 @@ popd
|
||||
|
||||
|
||||
%files
|
||||
%doc LICENSE.txt
|
||||
%{_bindir}/autosummary_generate
|
||||
%doc LICENSE.txt README.rst
|
||||
%{python_sitelib}/numpydoc
|
||||
%{python_sitelib}/numpydoc-%{version}-py?.?.egg-info
|
||||
|
||||
%if 0%{with_python3}
|
||||
%files -n python3-numpydoc
|
||||
%doc LICENSE.txt
|
||||
%{_bindir}/autosummary_generate
|
||||
%doc LICENSE.txt README.rst
|
||||
%{python3_sitelib}/numpydoc
|
||||
%{python3_sitelib}/numpydoc-%{version}-py?.?.egg-info
|
||||
%endif
|
||||
|
||||
%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
|
||||
- BR python2-devel, python-sphinx, python-nose
|
||||
- use macro in URL
|
||||
|
||||
Reference in New Issue
Block a user