diff --git a/app-text/xapers/files/xapers-0.9.3-remove-pipes.patch b/app-text/xapers/files/xapers-0.9.3-remove-pipes.patch new file mode 100644 index 000000000000..ecef67697af0 --- /dev/null +++ b/app-text/xapers/files/xapers-0.9.3-remove-pipes.patch @@ -0,0 +1,14 @@ +diff --git a/xapers/__main__.py b/xapers/__main__.py +index ed451c7..e59fbd2 100755 +--- a/xapers/__main__.py ++++ b/xapers/__main__.py +@@ -698,9 +698,6 @@ directory. + except: + pass + +- # FIXME: why? +- import pipes +- + for doc in initdb().search(args.query): + title = doc.get_title() + origpaths = doc.get_fullpaths() diff --git a/app-text/xapers/xapers-0.9.3.ebuild b/app-text/xapers/xapers-0.9.3.ebuild index 8aa138381611..88180129cdd0 100644 --- a/app-text/xapers/xapers-0.9.3.ebuild +++ b/app-text/xapers/xapers-0.9.3.ebuild @@ -1,9 +1,9 @@ -# Copyright 2016-2024 Gentoo Authors +# Copyright 2016-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 @@ -17,6 +17,10 @@ LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" +PATCHES=( + "${FILESDIR}/${P}-remove-pipes.patch" +) + RDEPEND="app-text/poppler[utils] dev-libs/xapian-bindings[python,${PYTHON_USEDEP}] dev-python/pybtex[${PYTHON_USEDEP}]