From e0a3480db6245f3317011c067f593023783255ce Mon Sep 17 00:00:00 2001 From: gryf Date: Sun, 26 Feb 2023 14:34:35 +0100 Subject: [PATCH] Added ptpython --- dev-python/ptpython/Manifest | 2 ++ dev-python/ptpython/ptpython-3.0.23.ebuild | 36 ++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 dev-python/ptpython/Manifest create mode 100644 dev-python/ptpython/ptpython-3.0.23.ebuild diff --git a/dev-python/ptpython/Manifest b/dev-python/ptpython/Manifest new file mode 100644 index 0000000..818bf3e --- /dev/null +++ b/dev-python/ptpython/Manifest @@ -0,0 +1,2 @@ +DIST ptpython-3.0.23.tar.gz 68146 BLAKE2B 7bdfac0ea989f87bcae62d879f277e8d9d661ba85c397691425ac9c9c8ffe9d48e2cccbe9306f2567025d7e4d62a7478cf09f18ebed5e3b2c5a0918c27a2c540 SHA512 e3f7db8060a2b2e5ec9f9cdf7a6aacede447a42ea3d13f08e2cba604dc96ccf6504cd31b45327b144882bb12f0cc272406d501a8de98adc9598ec79dbcaf843e +EBUILD ptpython-3.0.23.ebuild 857 BLAKE2B 1749613920b3d635ebaae7e20c3bafd41db3e1c89cd9394a70e5d0bee1276ff1aa513d43f58d4820c0134ae89f636b6fc5c160815e033ca6c226814ece8f4582 SHA512 79ac5af723c2c677d343933524b30ca80c459a76d308bb58b16165e88ff5c977117eb1fcdc9ea9458b67f336ae5f4f0b6a5faf818b18f25c6712482f8a8eb264 diff --git a/dev-python/ptpython/ptpython-3.0.23.ebuild b/dev-python/ptpython/ptpython-3.0.23.ebuild new file mode 100644 index 0000000..2aeae7c --- /dev/null +++ b/dev-python/ptpython/ptpython-3.0.23.ebuild @@ -0,0 +1,36 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +inherit distutils-r1 + +DESCRIPTION="Python REPL build on top of prompt_toolkit" +HOMEPAGE="https://github.com/prompt-toolkit/ptpython" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="-black -ipython" + +RDEPEND=" + black? ( + dev-python/black[${PYTHON_USEDEP}] + ) + dev-python/appdirs[${PYTHON_USEDEP}] + ipython? ( + dev-python/ipython[${PYTHON_USEDEP}] + ) + >=dev-python/jedi-0.16.0[${PYTHON_USEDEP}] + >=dev-python/prompt_toolkit-3.0.18[${PYTHON_USEDEP}] +