From b623e6f76a7aa7aeb3f22ab53873eef3b116072c Mon Sep 17 00:00:00 2001 From: su-fang Date: Tue, 11 Oct 2022 11:22:23 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20command=20'install'=20has=20no=20such=20o?= =?UTF-8?q?ption=20'install=5Flayout'.=20Add=20pysassc-man.patch.=20=20Fro?= =?UTF-8?q?m:=20=3D=3Futf-8=3Fb=3FRnLDqWTDqXJpYyBCb25uYXJk=3F=3D=20=20=20Subject:=20Create=20pysassc=20man=20page?= --- debian/changelog | 7 +++++ debian/control | 4 +-- ...all-has-no-such-option-install_layou.patch | 27 +++++++++++++++++++ debian/patches/series | 1 + debian/rules | 2 ++ 5 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 debian/patches/0001-Fix-command-install-has-no-such-option-install_layou.patch create mode 100644 debian/patches/series diff --git a/debian/changelog b/debian/changelog index ea49838..f5790aa 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +libsass-python (0.21.0-ok2) yangtze; urgency=medium + + * Fix command 'install' has no such option 'install_layout'. + Add pysassc-man.patch. + + -- sufang Tue, 11 Oct 2022 11:07:40 +0800 + libsass-python (0.21.0-ok1) yangtze; urgency=medium * Build for openkylin. diff --git a/debian/control b/debian/control index 324457d..480e394 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: python Priority: optional Maintainer: OpenKylin Developers Build-Depends: - debhelper-compat (= 12), + debhelper-compat (= 13), dh-python, python3-all-dev, python3-setuptools, @@ -15,7 +15,7 @@ Build-Depends: python3-doc, python-flask-doc, python-setuptools-doc, - libsass-dev + libsass-dev (>= 3.6.5) Standards-Version: 4.6.0 Vcs-Browser: https://gitee.com/openkylin/libsass-python Vcs-Git: https://gitee.com/openkylin/libsass-python.git diff --git a/debian/patches/0001-Fix-command-install-has-no-such-option-install_layou.patch b/debian/patches/0001-Fix-command-install-has-no-such-option-install_layou.patch new file mode 100644 index 0000000..6ea7ec3 --- /dev/null +++ b/debian/patches/0001-Fix-command-install-has-no-such-option-install_layou.patch @@ -0,0 +1,27 @@ +From: su-fang +Date: Tue, 11 Oct 2022 11:22:23 +0800 +Subject: Fix command 'install' has no such option 'install_layout'. Add + pysassc-man.patch. From: =?utf-8?b?RnLDqWTDqXJpYyBCb25uYXJk?= + Subject: Create pysassc man page + +--- + docs/conf.py | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/docs/conf.py b/docs/conf.py +index 921d65c..d462a93 100644 +--- a/docs/conf.py ++++ b/docs/conf.py +@@ -226,8 +226,10 @@ latex_documents = [ + # (source start file, name, description, authors, manual section). + man_pages = [ + ( +- 'index', 'libsass', u'libsass Documentation', +- [u'Hong Minhee'], 1, ++ 'index', 'libsass', u'libsass Documentation', [u'Hong Minhee'], 3, ++ ), ++ ( ++ 'pysassc', 'pysassc', u'pysassc Documentation', [u'Hong Minhee'], 1, + ), + ] + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..121c69e --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +0001-Fix-command-install-has-no-such-option-install_layou.patch diff --git a/debian/rules b/debian/rules index 317fc1e..3f6df4b 100755 --- a/debian/rules +++ b/debian/rules @@ -5,6 +5,8 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all export SYSTEM_SASS = 1 +export SETUPTOOLS_USE_DISTUTILS=stdlib + %: .libsass-upstream-version dh $@ --with python3 --buildsystem=pybuild