forked from pool/python-py
Accepting request 613462 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/613462 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py?expand=0&rev=28
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-py-doc
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,17 +18,20 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-py-doc
|
||||
Version: 1.5.2
|
||||
Version: 1.5.3
|
||||
Release: 0
|
||||
Summary: Library with cross-python path, ini-parsing, io, code, log facilities
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: https://py.readthedocs.io/en/latest/
|
||||
Url: https://github.com/pytest-dev/py
|
||||
Source: https://files.pythonhosted.org/packages/source/p/py/py-%{version}.tar.gz
|
||||
BuildRequires: %{python_module py}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module pytest-xdist}
|
||||
BuildRequires: python-rpm-macros
|
||||
# Documentation requirements:
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: python3-Sphinx
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
Provides: %{python_module py-doc = %{version}}
|
||||
|
||||
@@ -57,6 +60,7 @@ cd doc && make html && rm -r _build/html/.buildinfo
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE doc/_build/html
|
||||
%doc doc/_build/html
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user