summaryrefslogtreecommitdiff
path: root/dev-python/bpython
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/bpython')
-rw-r--r--dev-python/bpython/Manifest9
-rw-r--r--dev-python/bpython/bpython-0.18-r1.ebuild (renamed from dev-python/bpython/bpython-0.17.1.ebuild)8
-rw-r--r--dev-python/bpython/bpython-0.18.ebuild2
-rw-r--r--dev-python/bpython/bpython-0.19.ebuild57
-rw-r--r--dev-python/bpython/metadata.xml4
5 files changed, 67 insertions, 13 deletions
diff --git a/dev-python/bpython/Manifest b/dev-python/bpython/Manifest
index c82c3a8c4ce4..5c66216dbaf1 100644
--- a/dev-python/bpython/Manifest
+++ b/dev-python/bpython/Manifest
@@ -1,5 +1,6 @@
-DIST bpython-0.17.1.tar.gz 213638 BLAKE2B 42530a38f8cf714a0415957a46374b83ad14dfab89a76317507763c2f83b3dbc8f71c7cc967ec353fabd38b6631130d34df99c0d53f3728fa2390d4a6f64b25d SHA512 5b5e861646df90510db75520dff9533b71501d35b7af1d152adf2c929b171fa6a2b1c0a6b7eda0311f9315703db161c6a78698a6cd434e5321464d6d1c033e4e
DIST bpython-0.18.tar.gz 213321 BLAKE2B 476c18fbec1d4ef3c5e206e7586b0e982656160474b64ceaecf5b49f560115af0e51d964553aad25bc765f7b431bc4f062581f9f30c0cb2e8da51cdbf2bca5ca SHA512 760143c286e686d4b8d706e38f3b2d2e7c865f960fa8d828ec08a7d0dd198bfa09686ab3c4b27ea365400d60c45b69a3c03ee726879a8825cc91af2a75d28dab
-EBUILD bpython-0.17.1.ebuild 1489 BLAKE2B 8b30f8c8c24461828206e3cd422750add7dc671417a097d631c5db53349d20a9ee58ab80bc53f801f8ff9943c0cbd938d3519be920202980e223c407961a509e SHA512 63685278cddfcd1f11dbc1c2c264dd74b9647ff4ee158bdc8a6db83bbe0633a46d9b7350ecdfefb4b44302551aade4873d057d74944924298569a9b2392c557e
-EBUILD bpython-0.18.ebuild 1491 BLAKE2B f1153aabfd96e9c6d1281fe9954cf5a2d2e5777d723f1428e31950edf3c51a49bff3eae7496964ccc4bb1f971a693d2c6a3e4e71ca65eb1337740f7290ca86a8 SHA512 00249d3feb37c2a0ea07c862a5393e4a3816a58bd25cd87086ddaf8e9c69673724bb2004cdb8328dbba0b53a8bb4603768f66b815fbfe98a9f483d721cd00486
-MISC metadata.xml 636 BLAKE2B 8a0306ee698c4f53a67ea4662791444115ba8e0cd14294614b7ff1dc6ddc28023897e3e3c4d4f0e8f8920c8fe6298ef8b866ead41df4871d2461f9c999e6c498 SHA512 84dc3ce1791ba626a1920d6ee3e5501ad6eb49528b7ba055811e1eda46a354d8e704a31b5c4ca7be5b4512f641098311ebb1c6651d889cedb6071a97a0aff9ba
+DIST bpython-0.19.tar.gz 216564 BLAKE2B a0b469ae28965e7926838b2d520aed0199a39ad5d9d5650e34446601e6e5f023a6c09cbdd85a30b2873dc72b5ef5774c483d5f627accaf29dce7e6f8628cc1df SHA512 7c746848671d5de0b63f0284d2af87c12480fa1ae3e89eb10093ab5dfd42f926171f29bd8bcc19fe173fc58f7eff7276da4639d580836f0d112dc5e85000dc55
+EBUILD bpython-0.18-r1.ebuild 1489 BLAKE2B a68bd35b23d4e4ad73a1c05bc90716f8a2387866cb453d5b339c4e95a17c3c95f82a28f35fa9f8d303e675e03b61c0de78b14c150e44065e14d527a06c166c78 SHA512 166537078dadc45143655a4d4066bb12c20bb3df6e9c93c0dea5c596b31d52ac32f2500d68910f24995e7b2ff8110a3959763b53778ed0a0fecb4767f0da3007
+EBUILD bpython-0.18.ebuild 1489 BLAKE2B 8b30f8c8c24461828206e3cd422750add7dc671417a097d631c5db53349d20a9ee58ab80bc53f801f8ff9943c0cbd938d3519be920202980e223c407961a509e SHA512 63685278cddfcd1f11dbc1c2c264dd74b9647ff4ee158bdc8a6db83bbe0633a46d9b7350ecdfefb4b44302551aade4873d057d74944924298569a9b2392c557e
+EBUILD bpython-0.19.ebuild 1489 BLAKE2B a68bd35b23d4e4ad73a1c05bc90716f8a2387866cb453d5b339c4e95a17c3c95f82a28f35fa9f8d303e675e03b61c0de78b14c150e44065e14d527a06c166c78 SHA512 166537078dadc45143655a4d4066bb12c20bb3df6e9c93c0dea5c596b31d52ac32f2500d68910f24995e7b2ff8110a3959763b53778ed0a0fecb4767f0da3007
+MISC metadata.xml 527 BLAKE2B 2691755a7de852d518e3646b965483a12169e56dbfed6fd43961d6833d9ef673f8c0ab146a2677dcef6cfc173f3a9f2200fbb39ed870570b8f28ca641c617e60 SHA512 0710368b088d3c9bcd52c93df885a730a4a3e189781dcd1a10d63fe6dfaabb486e972150ebb693ed1859a4461aa1343bb5ccc80772406abed4e0f0f9776329be
diff --git a/dev-python/bpython/bpython-0.17.1.ebuild b/dev-python/bpython/bpython-0.18-r1.ebuild
index c124d8fe9617..fa686ecb0251 100644
--- a/dev-python/bpython/bpython-0.17.1.ebuild
+++ b/dev-python/bpython/bpython-0.18-r1.ebuild
@@ -1,9 +1,10 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7,8} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
@@ -13,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="~amd64 ~x86"
IUSE="doc test"
RDEPEND="
@@ -22,7 +23,6 @@ RDEPEND="
dev-python/jedi[${PYTHON_USEDEP}]
dev-python/pygments[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]
>=dev-python/six-1.5[${PYTHON_USEDEP}]
dev-python/urwid[${PYTHON_USEDEP}]
dev-python/watchdog[${PYTHON_USEDEP}]
diff --git a/dev-python/bpython/bpython-0.18.ebuild b/dev-python/bpython/bpython-0.18.ebuild
index a937218bdfa5..c124d8fe9617 100644
--- a/dev-python/bpython/bpython-0.18.ebuild
+++ b/dev-python/bpython/bpython-0.18.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
IUSE="doc test"
RDEPEND="
diff --git a/dev-python/bpython/bpython-0.19.ebuild b/dev-python/bpython/bpython-0.19.ebuild
new file mode 100644
index 000000000000..fa686ecb0251
--- /dev/null
+++ b/dev-python/bpython/bpython-0.19.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+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"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+
+RDEPEND="
+ >=dev-python/curtsies-0.2.11[${PYTHON_USEDEP}]
+ dev-python/greenlet[${PYTHON_USEDEP}]
+ dev-python/jedi[${PYTHON_USEDEP}]
+ dev-python/pygments[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ >=dev-python/six-1.5[${PYTHON_USEDEP}]
+ dev-python/urwid[${PYTHON_USEDEP}]
+ dev-python/watchdog[${PYTHON_USEDEP}]
+ "
+DEPEND="${RDEPEND}
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+ test? ( dev-python/mock[${PYTHON_USEDEP}] )"
+
+DOCS=( AUTHORS CHANGELOG sample.theme light.theme )
+
+# Req'd for clean build by each impl
+DISTUTILS_IN_SOURCE_BUILD=1
+
+RESTRICT="test" #659110
+
+python_compile_all() {
+ if use doc; then
+ sphinx-build -b html -c doc/sphinx/source/ \
+ doc/sphinx/source/ doc/sphinx/source/html || die "docs build failed"
+ fi
+}
+
+python_test() {
+ pushd build/lib > /dev/null
+ "${PYTHON}" -m unittest discover || die
+ popd > /dev/null
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( doc/sphinx/source/html/. )
+ distutils-r1_python_install_all
+}
diff --git a/dev-python/bpython/metadata.xml b/dev-python/bpython/metadata.xml
index 3c0847fc9fc9..b454c517c2fc 100644
--- a/dev-python/bpython/metadata.xml
+++ b/dev-python/bpython/metadata.xml
@@ -9,10 +9,6 @@
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
- <longdescription>
- Syntax highlighting and autocompletion
- for the python interpreter
- </longdescription>
<upstream>
<remote-id type="pypi">bpython</remote-id>
<remote-id type="bitbucket">bobf/bpython</remote-id>