summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna Vyalkova <cyber+gentoo@sysrq.in>2022-06-05 05:06:08 +0500
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2022-06-07 13:56:59 +0200
commit7bc9130aa6ce2ac8877ae40d2eb25090cd79308d (patch)
tree4fc321581ccf92f130df4a1e99cf3d61e993b257 /dev-python/ipdb
parentdev-util/dbus-test-runner: Drop 19.04.0-r1 (diff)
downloadgentoo-7bc9130aa6ce2ac8877ae40d2eb25090cd79308d.tar.gz
gentoo-7bc9130aa6ce2ac8877ae40d2eb25090cd79308d.tar.bz2
gentoo-7bc9130aa6ce2ac8877ae40d2eb25090cd79308d.zip
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>
Diffstat (limited to 'dev-python/ipdb')
-rw-r--r--dev-python/ipdb/ipdb-0.13.9-r2.ebuild27
1 files changed, 27 insertions, 0 deletions
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 000000000000..8737b984f926
--- /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
+}