diff --git a/debian/changelog b/debian/changelog index 737f685..2a571b5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +libsass-python (0.22.0-ok2) nile; urgency=medium + + * Fix FTBFS in extlinks. + + -- liwenjun Tue, 15 Oct 2024 17:33:58 +0800 + libsass-python (0.22.0-ok1) nile; urgency=medium * Build for openKylin. diff --git a/debian/patches/0003-Fix-FTBFS-in-extlinks.patch b/debian/patches/0003-Fix-FTBFS-in-extlinks.patch new file mode 100644 index 0000000..71210af --- /dev/null +++ b/debian/patches/0003-Fix-FTBFS-in-extlinks.patch @@ -0,0 +1,28 @@ +From: "liwenjun@kylinos.cn" +Date: Tue, 15 Oct 2024 17:35:13 +0800 +Subject: Fix FTBFS in extlinks + +--- + docs/conf.py | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/docs/conf.py b/docs/conf.py +index f2245db..bd708f4 100644 +--- a/docs/conf.py ++++ b/docs/conf.py +@@ -271,11 +271,11 @@ intersphinx_mapping = { + + + extlinks = { +- 'issue': ('https://github.com/sass/libsass-python/issues/%s', '#'), ++ 'issue': ('https://github.com/sass/libsass-python/issues/%s', '%s'), + 'branch': ( + 'https://github.com/sass/libsass-python/compare/main...%s', +- '', ++ '%s', + ), +- 'commit': ('https://github.com/sass/libsass-python/commit/%s', ''), +- 'upcommit': ('https://github.com/sass/libsass/commit/%s', ''), ++ 'commit': ('https://github.com/sass/libsass-python/commit/%s', '%s'), ++ 'upcommit': ('https://github.com/sass/libsass/commit/%s', '%s'), + } diff --git a/debian/patches/series b/debian/patches/series index 4690c03..714936d 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ pysassc-man.patch local-intersphinx-mapping.patch +0003-Fix-FTBFS-in-extlinks.patch