From 7bc9130aa6ce2ac8877ae40d2eb25090cd79308d Mon Sep 17 00:00:00 2001 From: Anna Vyalkova Date: Sun, 5 Jun 2022 05:06:08 +0500 Subject: [PATCH] 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 Closes: https://github.com/gentoo/gentoo/pull/25759 Signed-off-by: Andrew Ammerlaan --- dev-python/ipdb/ipdb-0.13.9-r2.ebuild | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 dev-python/ipdb/ipdb-0.13.9-r2.ebuild diff --git a/dev-python/ipdb/ipdb-0.13.9-r2.ebuild b/dev-python/ipdb/ipdb-0.13.9-r2.ebuild new file mode 100644 index 0000000000000..8737b984f926c --- /dev/null +++ b/dev-python/ipdb/ipdb-0.13.9-r2.ebuild @@ -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 +}