1
0

Accepting request 602336 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/602336
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpydoc?expand=0&rev=8
This commit is contained in:
2018-04-30 20:56:56 +00:00
committed by Git OBS Bridge
parent 94b9bd0afb
commit 7b088201c1
4 changed files with 63 additions and 18 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2dc7b2c4e3914745e38e370946fa4c109817331e6d450806285c08bce5cd575a
size 19047

3
numpydoc-0.8.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:61f4bf030937b60daa3262e421775838c945dcdd671f37b69e8e4854c7eb5ffd
size 20488

View File

@@ -1,3 +1,54 @@
-------------------------------------------------------------------
Sun Apr 29 04:11:15 UTC 2018 - arun@gmx.de
- specfile:
* update copyright year
* require Jinja (from setup.py)
* always run tests
- update to version 0.8.0:
* DOC: update URL to documentation in setup.py
* Use isdatadescriptor instead of isgetsetdescriptor
* Ensure reference renaming is parallel-safe (#136)
* Simplify and restructure README
* Automatically load autosummary (#143)
* FIX Handle case where description is empty in returns (#148)
* FIX handling of parameter names ending '_'
* Handle case where description is empty (#140)
* Correct deduplication logic
* Make sure case when class + method docstrings are combined is not
reprocessed
* Avoid reprocessing already numpydocced docstrings
* DOC Use .. deprecated for deprecation instead of .. note (#120)
* Add required arg to setup so that nose does not call it
* Cosmetic and efficiency improvements to replace_referneces (#132)
* Remove comment autosummary from _str_param_list
* Flake8
* Make version available to Python without dependencies; and to
Sphinx metadata
* Test use_blockquotes config
* Leading and trailing blank lines in parameter description should
not affect output
* Stricter comparison of whitespace in testing
* Corret search syntax
* Use definition lists rather than blockquotes
* Support from matplotlib import as alias for import matplotlib
* only recommend inline form
* add documentation on hyperlinks
* DOC: fix syntax error in deprecated of numpydoc_edit_link (#122)
* DOC Note on section ordering, and add missing sections
* DOC Fix link
* DOC: Restore working conf.py
* DOC: cross-link to github from documentation
* Add doc build requirements file for readthedocs
* Corrected rtd url
* Older versions of sphinx do not have imgmath
* DOC: pipe README.rst contents into "long_description", for PyPI
frontpage
* MAINT: update ReST formatting in README.
* Basic docs based on Numpy's HOW_TO_DOCUMENT.rst.txt
* Allow see also object ref to incorporate ~ prefix
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Sep 30 18:18:29 UTC 2017 - arun@gmx.de Sat Sep 30 18:18:29 UTC 2017 - arun@gmx.de

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-numpydoc # spec file for package python-numpydoc
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,28 +16,24 @@
# #
%bcond_without tests
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-numpydoc Name: python-numpydoc
Version: 0.7.0 Version: 0.8.0
Release: 0 Release: 0
Summary: Sphinx extension to support docstrings in Numpy format Summary: Sphinx extension to support docstrings in Numpy format
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
Url: https://github.com/numpy/numpydoc URL: https://github.com/numpy/numpydoc
Source: https://files.pythonhosted.org/packages/source/n/numpydoc/numpydoc-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/n/numpydoc/numpydoc-%{version}.tar.gz
BuildRequires: %{python_module Sphinx >= 1.0.1}
BuildRequires: %{python_module devel >= 2.7.7} BuildRequires: %{python_module devel >= 2.7.7}
BuildRequires: %{python_module matplotlib}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
%if %{with tests} Requires: python-Jinja2 >= 2.3
BuildRequires: %{python_module Sphinx >= 1.0.1}
BuildRequires: %{python_module matplotlib}
BuildRequires: %{python_module nose}
%endif
Requires: python-Sphinx >= 1.0.1 Requires: python-Sphinx >= 1.0.1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@@ -56,14 +52,12 @@ of them in third-party projects.
%python_install %python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with tests}
%check %check
%python_exec setup.py -q test %python_exec setup.py -q test
%endif
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-) %license LICENSE.txt
%doc LICENSE.txt README.rst %doc README.rst
%{python_sitelib}/numpydoc/ %{python_sitelib}/numpydoc/
%{python_sitelib}/numpydoc-%{version}-py*.egg-info %{python_sitelib}/numpydoc-%{version}-py*.egg-info