changed debian/source/format to native

This commit is contained in:
luoyaoming 2024-05-06 21:58:49 +08:00
parent 76c0f22e6b
commit a3a3722d13
4 changed files with 1 additions and 61 deletions

View File

@ -1,2 +0,0 @@
sphinx-default-theme
skip-script-tests

View File

@ -1,34 +0,0 @@
From: Stefano Rivera <stefanor@debian.org>
Date: Sun, 7 Nov 2021 15:04:10 -0800
Subject: Skip tests for Windows launchers
We don't include the bundled simple_launcher .exes in our Debian source
package, for DFSG reasons. They aren't needed outside Windows.
Forwarded: not-needed
---
tests/test_scripts.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/test_scripts.py b/tests/test_scripts.py
index 2da6577..6442e19 100644
--- a/tests/test_scripts.py
+++ b/tests/test_scripts.py
@@ -40,6 +40,8 @@ def _read_launcher_data(section, kind):
return f.read()
+@pytest.mark.skip(
+ "Skipped on Debian, we don't include the simple_launcher .exes")
@pytest.mark.parametrize("section", ["console", "gui"])
@pytest.mark.parametrize("kind", ["win-ia32", "win-amd64", "win-arm"])
def test_script_generate_launcher(section, kind):
@@ -60,6 +62,8 @@ def test_script_generate_launcher(section, kind):
assert b"baz.qux()" in code
+@pytest.mark.skip(
+ "Skipped on Debian, we don't include the simple_launcher .exes")
@pytest.mark.parametrize(
"section, kind",
[("nonexist", "win-ia32"), ("console", "nonexist"), ("nonexist", "nonexist")],

View File

@ -1,24 +0,0 @@
From: Stuart Prescott <stuart@debian.org>
Date: Thu, 21 Oct 2021 14:40:17 +1100
Subject: Disable furo theme for documentation
Furo is not packaged in Debian, yet.
Forwarded: not-needed
---
docs/conf.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/conf.py b/docs/conf.py
index 22bbe11..3ff6d4d 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -24,7 +24,7 @@ extensions = [
# -- Options for HTML output -----------------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
-html_theme = "furo"
+#html_theme = "furo"
html_title = project
# -- Options for Autodoc --------------------------------------------------------------

View File

@ -1 +1 @@
3.0 (quilt)
3.0 (native)