Samuel Thibault, le mar. 06 août 2024 00:00:52 +0200, a ecrit:
> Source: python-charset-normalizer
> Version: 3.3.2-1

Sorry, I meant 3.3.2-2 of course, reportbug picked up the testing
version. Here is a patch that doesn't fuzz with 3.3.2-2.

Samuel
--- debian/control.original     2024-08-05 23:55:51.386419789 +0200
+++ debian/control      2024-08-05 23:55:54.346437603 +0200
@@ -11,7 +11,7 @@
  python3-pytest <!nocheck>,
  python3-pytest-cov <!nocheck>,
  python3-setuptools,
- python3-sphinx,
+ python3-sphinx <!nodoc>,
  furo <!nodoc>,
 Rules-Requires-Root: no
 Standards-Version: 4.6.2
--- debian/rules.original       2024-08-05 22:07:19.000000000 +0000
+++ debian/rules        2024-08-05 22:07:22.000000000 +0000
@@ -13,8 +13,12 @@
 export PYBUILD_AFTER_TEST=rm -rf {build_dir}/.coverage {build_dir}/data/
 export CHARSET_NORMALIZER_USE_MYPYC=1
 
+ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
+SPHINXDOC=--with=sphinxdoc
+endif
+
 %:
-       dh $@ --with=sphinxdoc --buildsystem=pybuild
+       dh $@ $(SPHINXDOC) --buildsystem=pybuild
 
 execute_before_dh_sphinxdoc:
 ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))

Reply via email to