Source: python-pyxattr Version: 0.8.1-1 Tags: patch User: [email protected] Usertags: cross-satisfiability
python-pyxattr cannot be cross built from source, because its documentation-related dependencies are not satisfiable. Fortunately, the documentation is already separated to an arch:all -doc package. What is missing is skipping the documentation build in an arch-only build and moving the relevant dependencies to B-D-I. I've implemented this in the attached patch. Please consider applying it. Helmut
diff -Nru python-pyxattr-0.8.1/debian/changelog python-pyxattr-0.8.1/debian/changelog --- python-pyxattr-0.8.1/debian/changelog 2023-04-18 22:26:36.000000000 +0200 +++ python-pyxattr-0.8.1/debian/changelog 2026-01-02 21:45:35.000000000 +0100 @@ -1,3 +1,10 @@ +python-pyxattr (0.8.1-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Separate documentation build to -indep only. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Fri, 02 Jan 2026 21:45:35 +0100 + python-pyxattr (0.8.1-1) unstable; urgency=medium * Minor upstream release (mostly non-code). diff -Nru python-pyxattr-0.8.1/debian/control python-pyxattr-0.8.1/debian/control --- python-pyxattr-0.8.1/debian/control 2023-04-18 22:26:36.000000000 +0200 +++ python-pyxattr-0.8.1/debian/control 2026-01-02 21:34:40.000000000 +0100 @@ -2,10 +2,10 @@ Section: python Priority: optional Maintainer: Iustin Pop <[email protected]> -Build-Depends: debhelper-compat (= 13), dh-python, - python3-all, python3-all-dev, +Build-Depends: debhelper-compat (= 13), dh-sequence-python3, + libpython3-all-dev, python3-all-dev:native, python3-setuptools, - python3-sphinx, python3-recommonmark +Build-Depends-Indep: dh-sequence-sphinxdoc, python3-sphinx, python3-recommonmark Standards-Version: 4.6.2 Homepage: https://pyxattr.k1024.org/ Vcs-Browser: https://salsa.debian.org/debian/python-pyxattr diff -Nru python-pyxattr-0.8.1/debian/rules python-pyxattr-0.8.1/debian/rules --- python-pyxattr-0.8.1/debian/rules 2023-04-18 22:26:36.000000000 +0200 +++ python-pyxattr-0.8.1/debian/rules 2026-01-02 21:35:02.000000000 +0100 @@ -14,11 +14,10 @@ include /usr/share/dpkg/buildflags.mk %: - dh $@ --with python3,sphinxdoc --buildsystem=pybuild + dh $@ --buildsystem=pybuild # Also build the documentation -override_dh_auto_build: - dh_auto_build +execute_after_dh_auto_build-indep: PYTHONPATH=. http_proxy='127.0.0.1:9' make doc # ... and clean it

