summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2021-11-09 11:13:01 +0700
committerAndrey Grozin <grozin@gentoo.org>2021-11-09 11:13:01 +0700
commitbb64c22046cf54b997451f455b97c0902b32fc09 (patch)
treef2398b87f8595b374d8b339cf241853cc314bffe /dev-python/bpython
parentdev-libs/ntl: support LIBTOOL="slibtool-shared". (diff)
downloadgentoo-bb64c22046cf54b997451f455b97c0902b32fc09.tar.gz
gentoo-bb64c22046cf54b997451f455b97c0902b32fc09.tar.bz2
gentoo-bb64c22046cf54b997451f455b97c0902b32fc09.zip
dev-python/bpython: bump to 0.22.1
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Diffstat (limited to 'dev-python/bpython')
-rw-r--r--dev-python/bpython/Manifest1
-rw-r--r--dev-python/bpython/bpython-0.22.1.ebuild39
-rw-r--r--dev-python/bpython/metadata.xml10
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/bpython/Manifest b/dev-python/bpython/Manifest
index 2ee4a812dade..027f5dc42851 100644
--- a/dev-python/bpython/Manifest
+++ b/dev-python/bpython/Manifest
@@ -1,2 +1,3 @@
DIST bpython-0.21.tar.gz 208206 BLAKE2B 22db7abe3786df337af50f6217fa8c6702871b50de41245797270e70622084a22b3d6615cfe634044599a532c5bc14677b01dc77042d228213eaae2cad11b623 SHA512 a0eea1b9c2329ce5665456e99703ef476faab38f880eb8a330a6536970888cfdaada9f0e377d3c1acd8b6c79eb0c562ada43e82bac9df4cce5878594c3399ddf
+DIST bpython-0.22.1.tar.gz 217294 BLAKE2B 907b51753182add775d3e2ba08c3999d30ba23ab13d59f364d03ce5f22191e1a90031f7c3b5477fd00c94342a5ee204aa2618a7cd1a9470bbc898cfc266ba9bd SHA512 6b29235c41b645c3658812b8c80637d1e76029a6386f8628e5c681b2f3fdea653f89a12f4e28f55381464755e04fa7a33f023f096e75d889d5a588222c0d06c3
DIST bpython-0.22.tar.gz 217214 BLAKE2B 9b9dbd639082b978134ad1ff68f9248c08e4e80c688978b05effa80410f96c58a524cfc1bd3c547f97458c7164672983e9cfc90d821919720442bd2d1d1a4293 SHA512 14f275c5ed9de08223020a6c70b466507236e84ee9c3dd60d51bb8b1908e943071f54acc68c611fbd64f28f283306a7ea2b6bde0b475fda528cb5e0cf9872b28
diff --git a/dev-python/bpython/bpython-0.22.1.ebuild b/dev-python/bpython/bpython-0.22.1.ebuild
new file mode 100644
index 000000000000..53cc9af10082
--- /dev/null
+++ b/dev-python/bpython/bpython-0.22.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+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/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="clipboard +jedi urwid watch"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ >=dev-python/curtsies-0.3.5[${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}]
+ dev-python/typing-extensions[${PYTHON_USEDEP}]
+ clipboard? ( dev-python/pyperclip[${PYTHON_USEDEP}] )
+ jedi? ( dev-python/jedi[${PYTHON_USEDEP}] )
+ urwid? ( dev-python/urwid[${PYTHON_USEDEP}] )
+ watch? ( dev-python/watchdog[${PYTHON_USEDEP}] )
+ "
+# sphinx is used implicitly to build manpages
+BDEPEND="
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ "
+
+DOCS=( AUTHORS.rst CHANGELOG.rst )
+
+distutils_enable_sphinx doc/sphinx/source --no-autodoc
+distutils_enable_tests unittest
diff --git a/dev-python/bpython/metadata.xml b/dev-python/bpython/metadata.xml
index 8f1ac9af0512..3cf444ad947c 100644
--- a/dev-python/bpython/metadata.xml
+++ b/dev-python/bpython/metadata.xml
@@ -10,6 +10,16 @@
<name>Python</name>
</maintainer>
<stabilize-allarches/>
+ <use>
+ <flag name="clipboard">Enable copying to clipboard
+ using <pkg>dev-python/pyperclip</pkg></flag>
+ <flag name="jedi">Enable autocompletion
+ using <pkg>dev-python/jedi</pkg></flag>
+ <flag name="urwid">Ebable
+ <pkg>dev-python/urwid</pkg>-based interface</flag>
+ <flag name="watch">Enable watching paths
+ using <pkg>dev-python/watchdog</pkg></flag>
+ </use>
<upstream>
<remote-id type="pypi">bpython</remote-id>
<remote-id type="github">bpython/bpython</remote-id>