mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-04-29 16:37:30 -07:00
40 lines
779 B
Bash
40 lines
779 B
Bash
# Copyright 1999-2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{9..11} )
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
|
|
inherit distutils-r1 optfeature
|
|
|
|
DESCRIPTION="IPython-enabled pdb"
|
|
HOMEPAGE="
|
|
https://github.com/gotcha/ipdb/
|
|
https://pypi.org/project/ipdb/
|
|
"
|
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ppc64 ~riscv ~sparc x86"
|
|
|
|
RDEPEND="
|
|
>=dev-python/ipython-7.17[${PYTHON_USEDEP}]
|
|
"
|
|
BDEPEND="
|
|
test? (
|
|
$(python_gen_cond_dep '
|
|
dev-python/tomli[${PYTHON_USEDEP}]
|
|
' 3.8 3.9 3.10)
|
|
)
|
|
"
|
|
|
|
DOCS=( AUTHORS HISTORY.txt README.rst )
|
|
|
|
distutils_enable_tests unittest
|
|
|
|
pkg_postinst() {
|
|
optfeature "pyproject.toml support" dev-python/tomli
|
|
}
|