Accepting request 1083999 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1083999 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-manuel?expand=0&rev=14
This commit is contained in:
commit
ab57a07611
15
conf.py
15
conf.py
@ -1,15 +0,0 @@
|
|||||||
source_suffix = '.txt'
|
|
||||||
master_doc = 'src/manuel/index'
|
|
||||||
project = 'Manuel'
|
|
||||||
copyright = 'Benji York'
|
|
||||||
version = '1'
|
|
||||||
release = '1'
|
|
||||||
today_fmt = '%Y-%m-%d'
|
|
||||||
pygments_style = 'sphinx'
|
|
||||||
|
|
||||||
html_last_updated_fmt = '%Y-%m-%d'
|
|
||||||
html_title = 'Manuel Documentation'
|
|
||||||
|
|
||||||
todo_include_todos = False
|
|
||||||
exclude_patterns = ['src/manuel.egg-info*']
|
|
||||||
unused_docs = ['src/manuel/capture']
|
|
@ -18,3 +18,18 @@ Index: manuel-1.12.4/src/manuel/doctest.py
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
Index: manuel-1.12.4/setup.py
|
||||||
|
===================================================================
|
||||||
|
--- manuel-1.12.4.orig/setup.py
|
||||||
|
+++ manuel-1.12.4/setup.py
|
||||||
|
@@ -48,10 +48,6 @@ setup(
|
||||||
|
},
|
||||||
|
tests_require=tests_require,
|
||||||
|
test_suite='manuel.tests.test_suite',
|
||||||
|
- install_requires=[
|
||||||
|
- 'setuptools',
|
||||||
|
- 'six',
|
||||||
|
- ],
|
||||||
|
include_package_data=True,
|
||||||
|
long_description=long_description,
|
||||||
|
keywords=['testing', 'documentation'],
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 2 10:14:39 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Replace unsupported setuptoos sphinx_build hook
|
||||||
|
- Remove six and setuptools from requirements metadata
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 3 18:56:12 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
Tue Jan 3 18:56:12 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -25,8 +25,6 @@ License: Apache-2.0
|
|||||||
URL: https://pypi.org/project/manuel/
|
URL: https://pypi.org/project/manuel/
|
||||||
# SourceRepository: https://github.com/benji-york/manuel
|
# SourceRepository: https://github.com/benji-york/manuel
|
||||||
Source: https://files.pythonhosted.org/packages/source/m/manuel/manuel-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/m/manuel/manuel-%{version}.tar.gz
|
||||||
# add fixed sphinx config <hpj@urpla.net>
|
|
||||||
Source1: conf.py
|
|
||||||
# https://github.com/benji-york/manuel/issues/33
|
# https://github.com/benji-york/manuel/issues/33
|
||||||
Patch0: python-manuel-no-six.patch
|
Patch0: python-manuel-no-six.patch
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
@ -38,6 +36,8 @@ BuildRequires: python-rpm-macros
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION Documentation requirements:
|
# SECTION Documentation requirements:
|
||||||
BuildRequires: python3-Sphinx
|
BuildRequires: python3-Sphinx
|
||||||
|
BuildRequires: python3-myst-parser
|
||||||
|
BuildRequires: python3-sphinxcontrib-copybutton
|
||||||
# /SECTION
|
# /SECTION
|
||||||
# SECTION Testing requirements:
|
# SECTION Testing requirements:
|
||||||
BuildRequires: %{python_module zope.testing}
|
BuildRequires: %{python_module zope.testing}
|
||||||
@ -58,13 +58,10 @@ This package contains documentation files for %{name}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n manuel-%{version}
|
%autosetup -p1 -n manuel-%{version}
|
||||||
cp %{SOURCE1} .
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
# build docs only one time
|
sphinx-build -c sphinx/ -a src/manuel docs/
|
||||||
python3 setup.py build_sphinx
|
|
||||||
mv build/sphinx/html docs
|
|
||||||
rm docs/.buildinfo
|
rm docs/.buildinfo
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
Reference in New Issue
Block a user