forked from pool/python-manuel
- Update to 1.10.1:
* Support for pypy3 * Support for python 3.7 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-manuel?expand=0&rev=9
This commit is contained in:
committed by
Git OBS Bridge
parent
94bc16e702
commit
c82987023e
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-manuel
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2013-2018 LISA GmbH, Bingen, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -13,30 +13,29 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-manuel
|
||||
Version: 1.9.0
|
||||
Version: 1.10.1
|
||||
Release: 0
|
||||
Summary: Build tested documentation
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
Url: http://www.python.org/pypi/manuel
|
||||
URL: https://pypi.org/project/manuel/
|
||||
Source: https://files.pythonhosted.org/packages/source/m/manuel/manuel-%{version}.tar.gz
|
||||
# add fixed sphinx config <hpj@urpla.net>
|
||||
Source1: conf.py
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
# Documentation requirements:
|
||||
BuildRequires: %{python_module Sphinx}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
# Testing requirements:
|
||||
BuildRequires: %{python_module zope.testing}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -56,12 +55,12 @@ This package contains documentation files for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n manuel-%{version}
|
||||
cp %SOURCE1 .
|
||||
cp %{SOURCE1} .
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%{_python_use_flavor python3}
|
||||
%__python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
|
||||
python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
|
||||
|
||||
%install
|
||||
%python_install
|
||||
@@ -71,12 +70,11 @@ cp %SOURCE1 .
|
||||
%python_exec setup.py -q test
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGES.rst COPYRIGHT.rst LICENSE.rst PKG-INFO README.rst
|
||||
%license LICENSE.rst
|
||||
%doc CHANGES.rst COPYRIGHT.rst PKG-INFO README.rst
|
||||
%{python_sitelib}/*
|
||||
|
||||
%files %{python_files doc}
|
||||
%defattr(-,root,root,-)
|
||||
%doc build/sphinx/html
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user