Files
gentoo/dev-python/pudb/pudb-2023.1.ebuild
Andrey Grozin a2753c0041 dev-python/pudb: bump to 2023.1
Signed-off-by: Andrey Grozin <grozin@gentoo.org>
2023-10-27 22:28:18 +07:00

35 lines
731 B
Bash

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..12} )
inherit distutils-r1 pypi
DESCRIPTION="A full-screen, console-based Python debugger"
HOMEPAGE="https://pypi.org/project/pudb/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
RDEPEND="
dev-python/urwid[${PYTHON_USEDEP}]
dev-python/urwid_readline[${PYTHON_USEDEP}]
dev-python/pygments[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/pytest-mock[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
python_install() {
rm -rf "${WORKDIR}"/${P}-${EPYTHON/./_}/install/usr/lib/${EPYTHON}/site-packages/test
distutils-r1_python_install
}