summaryrefslogtreecommitdiff
path: root/dev-python/bpython
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2025-01-17 18:07:41 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2025-01-17 18:09:37 +0200
commit67bd11c805ef6a221c203b21621f3f844e6c1279 (patch)
tree7430606ee9f1707df85acbfe52897e4ebff08dd6 /dev-python/bpython
parentdc49360bfb8dab501eab5bed5b6bfe1d8244c5c3 (diff)
downloadgentoo-67bd11c805ef6a221c203b21621f3f844e6c1279.tar.gz
gentoo-67bd11c805ef6a221c203b21621f3f844e6c1279.tar.bz2
gentoo-67bd11c805ef6a221c203b21621f3f844e6c1279.zip
dev-python/bpython: add 0.25
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/bpython')
-rw-r--r--dev-python/bpython/Manifest1
-rw-r--r--dev-python/bpython/bpython-0.25.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/bpython/Manifest b/dev-python/bpython/Manifest
index a92edc89a76d..f48b0d5e736e 100644
--- a/dev-python/bpython/Manifest
+++ b/dev-python/bpython/Manifest
@@ -1 +1,2 @@
DIST bpython-0.24.tar.gz 222879 BLAKE2B d74276c2da25e4c9f4440af3c26bd69b08baa3f6f8ae04f55ace2a159c5d839711b6f969dcaae831bc680273bc6f4f8e7f9297751534ae14d76fb06e6bc4be48 SHA512 f95e853ad5aaba476cf0bcc197ae1d322af4a458637f8445372b54b75d315d3caae7a3f8b7d8c6d1bd2c4307c36b21cf320b22c367990bd0b9bfbf42a5e02267
+DIST bpython-0.25.tar.gz 207610 BLAKE2B d180838ddbf87165acf44214bdf3d5983ebcecb529647ecdd4f1b8f7c325a1d7013e47908ee88bdacacec9ba9b0b3f3052fc88999128416e6a01e1b7cfa1194b SHA512 052a84666e5e559a883964d8eb41a1ed8c704a9760799cdbe98d7fdcd8060815b5d7b26e7589a56735f91c1f1214b1cdf17ad30d6bed34a506233d2d9e0bbd2c
diff --git a/dev-python/bpython/bpython-0.25.ebuild b/dev-python/bpython/bpython-0.25.ebuild
new file mode 100644
index 000000000000..2e657c0f3314
--- /dev/null
+++ b/dev-python/bpython/bpython-0.25.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Syntax highlighting and autocompletion for the Python interpreter"
+HOMEPAGE="
+ https://www.bpython-interpreter.org/
+ https://github.com/bpython/bpython/
+ https://pypi.org/project/bpython/
+"
+
+LICENSE="MIT BSD-2 PSF-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+IUSE="clipboard +jedi watch"
+
+# see https://github.com/bpython/bpython/issues/641 wrt greenlet
+RDEPEND="
+ >=dev-python/curtsies-0.4.0[${PYTHON_USEDEP}]
+ dev-python/cwcwidth[${PYTHON_USEDEP}]
+ dev-python/greenlet[${PYTHON_USEDEP}]
+ dev-python/pygments[${PYTHON_USEDEP}]
+ dev-python/pyxdg[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ clipboard? ( dev-python/pyperclip[${PYTHON_USEDEP}] )
+ jedi? ( dev-python/jedi[${PYTHON_USEDEP}] )
+ watch? ( dev-python/watchdog[${PYTHON_USEDEP}] )
+ $(python_gen_cond_dep '
+ >=dev-python/typing-extensions-4.0.0[${PYTHON_USEDEP}]
+ ' 3.10)
+"
+# sphinx is used implicitly to build manpages
+BDEPEND="
+ dev-python/wheel[${PYTHON_USEDEP}]
+ dev-python/sphinx[${PYTHON_USEDEP}]
+"
+
+DOCS=( AUTHORS.rst CHANGELOG.rst )
+
+distutils_enable_sphinx doc/sphinx/source --no-autodoc
+distutils_enable_tests unittest