app-text/xapers: enable py3.13

Closes: https://bugs.gentoo.org/952258
Signed-off-by: William Pettersson <william@ewpettersson.se>
Part-of: https://github.com/gentoo/gentoo/pull/41352
Closes: https://github.com/gentoo/gentoo/pull/41352
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
William Pettersson 2025-03-28 18:06:11 +00:00 committed by Sam James
parent 6156854197
commit 22493a24da
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 20 additions and 2 deletions

View File

@ -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()

View File

@ -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}]