Source: python-eventlet
Version: 0.41.2-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: nocheck
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
python-eventlet could not be built reproducibly.
This appears to be because of a nodoc/nocheck typo: instead of skipping
the documentation if nodoc is specified, the packaging actually doesn't
build the docs is *nocheck* is specified.
Assuming this is just a typo, a patch is attached that corrects it. If
it is not a typo, however, the packaging will need rejiggering to ensure
it is reproducible regardless of whether nocheck is specified or not.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/rules 2026-09-21 08:32:53.604899574 -0700
--- b/debian/rules 2026-09-21 08:50:27.366053551 -0700
@@ -27,7 +27,7 @@
echo "__version__ = '$$SETUPTOOLS_SCM_PRETEND_VERSION'"
>$(CURDIR)/debian/python3-eventlet/usr/lib/python3/dist-packages/eventlet/_version.py
override_dh_sphinxdoc:
-ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
+ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
PYTHONPATH=. python3 -m sphinx -N -b html doc/source
$(CURDIR)/debian/python-eventlet-doc/usr/share/doc/python-eventlet-doc/html
endif
dh_sphinxdoc