Diff psutils-2.09 with a psutils-3.3.11

/usr/portage/app-text/psutils/psutils-3.3.11.ebuild 2025-12-08 18:18:03.489286084 +0300
1
# Copyright 1999-2025 Gentoo Authors
1
# Copyright 2025 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6
DESCRIPTION="PostScript Utilities"
7
HOMEPAGE="https://github.com/rrthomas/psutils http://web.archive.org/web/20110722005140/http://www.tardis.ed.ac.uk/~ajcd/psutils/"
8
SRC_URI="https://github.com/rrthomas/psutils/releases/download/v${PV}/${P}.tar.gz"
6
DISTUTILS_USE_PEP517=setuptools
7
PYTHON_COMPAT=( python3_{11..13} )
8

  
9
inherit distutils-r1 pypi
10

  
11
DESCRIPTION="Utilities for manipulating PostScript documents"
12
HOMEPAGE="
13
	https://github.com/rrthomas/psutils/
14
	https://pypi.org/project/psutils/
15
"
9 16

  
10 17
LICENSE="GPL-3+"
11 18
SLOT="0"
12
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
19
KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
13 20

  
14
# Newer libpaper needed for fork which provides 'paper'
21
DEPEND="app-text/libpaper"
15 22
RDEPEND="
16
	>=app-text/libpaper-1.2.3
17
	>=dev-lang/perl-5.14
18
	dev-perl/IPC-Run3
23
	${DEPEND}
24
	>=dev-python/puremagic-1.26[${PYTHON_USEDEP}]
25
	>=dev-python/pypdf-4.3.0[${PYTHON_USEDEP}]
19 26
"
20
BDEPEND="${RDEPEND}"
27
BDEPEND="
28
	dev-python/argparse-manpage[${PYTHON_USEDEP}]
29
	test? ( dev-python/wand[${PYTHON_USEDEP}] )
30
"
31

  
32
EPYTEST_PLUGINS=( pytest-datafiles )
33
EPYTEST_DESELECT=(
34
	# fails on test env the first time only, get ipc-timeout
35
	# TODO: more investigations
36
	"tests/test_pstops.py::test_pstops[.ps-default-paper-size]"
37
	"tests/test_pstops.py::test_pstops[.ps-man-page-example]"
38
	# requires ghostscript-gpl
39
	# wand.exceptions.DelegateError: FailedToExecuteCommand `'gs' [...]
40
	"tests/test_pstops.py::test_pstops[.pdf-default-paper-size]"
41
	"tests/test_pstops.py::test_pstops[.pdf-man-page-example]"
42
)
43

  
44
distutils_enable_tests pytest
Thank you!