dev-python/ipdb: update EAPI 7 -> 8

* switch to PEP517 mode
* add missing test dep
* add dev-python/toml optfeature

Closes: https://bugs.gentoo.org/834653
Signed-off-by: Anna Vyalkova <cyber+gentoo@sysrq.in>
Closes: https://github.com/gentoo/gentoo/pull/25759
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
This commit is contained in:
Anna Vyalkova
2022-06-05 05:06:08 +05:00
committed by Andrew Ammerlaan
parent feca5e159c
commit 7bc9130aa6

View File

@@ -0,0 +1,27 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 optfeature
DESCRIPTION="IPython-enabled pdb"
HOMEPAGE="https://pypi.org/project/ipdb/ https://github.com/gotcha/ipdb"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
RDEPEND=">=dev-python/ipython-7.17[${PYTHON_USEDEP}]"
BDEPEND="test? ( dev-python/toml[${PYTHON_USEDEP}] )"
DOCS=( AUTHORS HISTORY.txt README.rst )
distutils_enable_tests unittest
pkg_postinst() {
optfeature "pyproject.toml support" dev-python/toml
}