15
0

- Update to 0.1.1:

* PR: Fix possible Sphinxify.py TypeError on import
  * PR: Remove dangling r in Readme
  * docrepr failing to import in readthedocs

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docrepr?expand=0&rev=5
This commit is contained in:
Tomáš Chvátal
2019-03-08 14:35:18 +00:00
committed by Git OBS Bridge
parent c7daa5067b
commit a969e8c57d
4 changed files with 22 additions and 17 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-docrepr
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,28 +17,24 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test
Name: python-docrepr
Version: 0.1.0
Version: 0.1.1
Release: 0
Summary: Render Python docstrings in HTML
License: BSD-3-Clause
Group: Development/Languages/Python
Url: https://github.com/spyder-ide/docrepr
Source: https://files.pythonhosted.org/packages/source/d/docrepr/docrepr-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%if %{with test}
URL: https://github.com/spyder-ide/docrepr
Source: https://github.com/spyder-ide/docrepr/archive/v%{version}.tar.gz
BuildRequires: %{python_module Jinja2}
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module docutils}
%endif
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Jinja2
Requires: python-Sphinx
Requires: python-docutils
BuildArch: noarch
%python_subpackages
%description
@@ -46,7 +42,6 @@ The docrepr package renders Python docstrings in HTML. It is based on
the sphinxify module developed by Tim Dumol for the Sage Notebook and
the utils.inspector module developed for the Spyder IDE.
%prep
%setup -q -n docrepr-%{version}
@@ -57,9 +52,11 @@ the utils.inspector module developed for the Spyder IDE.
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# no upstream tests
%files %{python_files}
%defattr(-,root,root,-)
%doc README.md
%doc README.md RELEASE.md CHANGELOG.md
%license LICENSE
%{python_sitelib}/*
%changelog