reopen 1147379
tags 1147379 patch
thanks

Hi. Sorry for the reopening. Apparently, whatever you did in
0.3.2+ds-1 did not work for 0.3.3+ds-1.

This is what I get currently:

Package: python-openclatura
Version: 0.3.3+ds-1
[...]
Build Profiles: nocheck
[...]
   debian/rules override_dh_installman
make[1]: Entering directory '/<<PKGBUILDDIR>>'
PYTHONPATH=src help2man debian/python3-openclatura/usr/bin/openclatura --name 
'SMILES to IUPAC name generator' --no-info > debian/openclatura.1
help2man: can't get `--help' info from 
debian/python3-openclatura/usr/bin/openclatura
Try `--no-discard-stderr' if option outputs to stderr
make[1]: *** [debian/rules:10: override_dh_installman] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2


I've used my script "check-nocheck" (linked from the wiki page)
and this was the outcome:


==== Checking annotations for package python-openclatura ====
Trying with all build-dependencies
Build worked
Trying without python3-hypothesis
Build worked, it is ok to keep python3-hypothesis <!nocheck>
Trying without python3-pytest
Build worked, it is ok to keep python3-pytest <!nocheck>
Trying without python3-rdkit
Build did NOT work, python3-rdkit should not have <!nocheck>
==== build-dependencies that should drop their <!nocheck> annotation ====
python3-rdkit


Therefore, the attached patch should work. (Note: I do not claim that
this is the only way possible to fix the issue).

Thanks.
--- a/debian/control
+++ b/debian/control
@@ -12,7 +12,7 @@ Build-Depends:
  python3-hatchling,
  python3-hypothesis <!nocheck>,
  python3-pytest <!nocheck>,
- python3-rdkit <!nocheck>,
+ python3-rdkit,
  python3-setuptools,
 Testsuite: autopkgtest-pkg-pybuild
 Standards-Version: 4.7.4

Reply via email to