gentoo/dev-python/ptyprocess/ptyprocess-0.7.0-r1.ebuild
Michał Górny d0eadf7e1a
dev-python/ptyprocess: Enable py3.15
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/853
2026-05-09 05:40:55 +02:00

29 lines
703 B
Bash

# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=flit
PYTHON_COMPAT=( python3_{11..15} python3_{13..15}t pypy3_11 )
inherit distutils-r1 pypi
DESCRIPTION="Run a subprocess in a pseudo terminal"
HOMEPAGE="
https://github.com/pexpect/ptyprocess/
https://pypi.org/project/ptyprocess/
"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos"
distutils_enable_tests unittest
src_prepare() {
distutils-r1_src_prepare
# https://github.com/pexpect/ptyprocess/pull/75
sed -i -e '/makeSuite/d' tests/test_invalid_binary.py || die
}