From aa2abb7bc2ebcd2f0394ad610e04f2aaf7444289 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Sun, 9 Apr 2023 10:31:16 +0200 Subject: [PATCH] sphinx: stop optdepending on dropped packages --- mingw-w64-python-sphinx/PKGBUILD | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mingw-w64-python-sphinx/PKGBUILD b/mingw-w64-python-sphinx/PKGBUILD index 11fbaba55e..a340de0199 100644 --- a/mingw-w64-python-sphinx/PKGBUILD +++ b/mingw-w64-python-sphinx/PKGBUILD @@ -9,7 +9,7 @@ provides=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") conflicts=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") replaces=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") pkgver=6.1.3 -pkgrel=1 +pkgrel=2 pkgdesc="Python documentation generator (mingw-w64)" arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64') @@ -37,8 +37,10 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-python-build" "${MINGW_PACKAGE_PREFIX}-python-flit-core") optdepends=( "${MINGW_PACKAGE_PREFIX}-imagemagick: ext.imageconverter" - "${MINGW_PACKAGE_PREFIX}-texlive-latex-extra: for generation of PDF documentation" ) +if [[ ${CARCH} != i686 ]]; then + optdepends+=("${MINGW_PACKAGE_PREFIX}-texlive-latex-extra: for generation of PDF documentation") +fi checkdepends=("${MINGW_PACKAGE_PREFIX}-python-pytest") source=("${_pyname}-${pkgver}.tar.gz"::"https://pypi.org/packages/source/S/${_pyname}/${_pyname}-${pkgver}.tar.gz") sha256sums=('0dac3b698538ffef41716cf97ba26c1c7788dba73ce6f150c1ff5b4720786dd2')