chore: add github actions

Signed-off-by: liubo <liubo1@xfusion.com>
This commit is contained in:
openeuler-ci-bot 2019-12-17 15:04:43 +08:00 committed by liubo
commit 227ce44834
2 changed files with 42 additions and 2 deletions

View File

@ -0,0 +1,36 @@
From 178d576c1819faf47802f66460a0cd3d568916ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Alex=20Gr=C3=B6nholm?= <alex.gronholm@nextday.fi>
Date: Sat, 7 Oct 2017 19:53:38 +0300
Subject: [PATCH] Enabled Intersphinx linking to Python documentation
---
docs/conf.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/docs/conf.py b/docs/conf.py
index 1db319d..e9a5b35 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -25,7 +25,7 @@ import pkg_resources
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = []
+extensions = ['sphinx.ext.intersphinx']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
@@ -87,6 +87,10 @@ highlight_language = 'bash'
# A list of ignored prefixes for module index sorting.
#modindex_common_prefix = []
+intersphinx_mapping = {
+ 'python': ('https://docs.python.org/', None)
+}
+
# -- Options for HTML output ---------------------------------------------------
--
2.42.0.windows.2

View File

@ -1,7 +1,7 @@
%bcond_without bootstrap %bcond_with bootstrap
Name: python-wheel Name: python-wheel
Version: 0.31.1 Version: 0.31.1
Release: 4 Release: 5
Epoch: 1 Epoch: 1
Summary: Built-package format for Python Summary: Built-package format for Python
License: MIT License: MIT
@ -10,6 +10,7 @@ Source0: %{url}/archive/%{version}/wheel-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
Patch0000: remove-keyrings.alt-dependency.patch Patch0000: remove-keyrings.alt-dependency.patch
Patch0001: 0001-Enabled-Intersphinx-linking-to-Python-documentation.patch
%description %description
A built-package format for Python. A built-package format for Python.
@ -116,5 +117,8 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-3 -v --ignore build
%endif %endif
%changelog %changelog
* Mon Nov 27 2023 liubo <liubo1@xfusion.com> - 1:0.31.1-5
- Enabled Intersphinx linking to Python documentation
* Mon Dec 2 2019 yangjian<yangjian79@huawei.com> - 1:0.31.1-4 * Mon Dec 2 2019 yangjian<yangjian79@huawei.com> - 1:0.31.1-4
- Package init - Package init