Files
gentoo/dev-python/ipdb/ipdb-0.13.11.ebuild
Michał Górny 7d11840eda dev-python/ipdb: Remove tomli dep on py3.11
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2022-12-14 07:31:34 +01:00

40 lines
782 B
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..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
}