From c782b7cb0eb13b544f7fd51ff47a5df195028b14 Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Wed, 27 Aug 2014 08:44:37 +0200 Subject: [PATCH] update to 0.5 and enable python3 subpackage (#1134171) --- .gitignore | 1 + python-numpydoc.spec | 19 +++++++++---------- sources | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 7d8a6fe..19c829f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /numpydoc-0.4.tar.gz +/numpydoc-0.5.tar.gz diff --git a/python-numpydoc.spec b/python-numpydoc.spec index 288791e..1e4c815 100644 --- a/python-numpydoc.spec +++ b/python-numpydoc.spec @@ -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: 3%{?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,22 @@ 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 - 0.5-1 +- update to 0.5 (#1134171) +- enable python3 subpackage + * Sat Jun 07 2014 Fedora Release Engineering - 0.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild diff --git a/sources b/sources index cf6d9f5..cb86583 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e5bdd98f84f2bb220373819e20c27091 numpydoc-0.4.tar.gz +6feac1f625ad0df5a11c7b60f920ac1b numpydoc-0.5.tar.gz