1 |
commit: bd799942be66f21ed99e842a2cfcfc214af3efec |
2 |
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 1 08:59:28 2020 +0000 |
4 |
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 1 08:59:28 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd799942 |
7 |
|
8 |
dev-python/bpython: bump to 0.20.1 |
9 |
|
10 |
Package-Manager: Portage-3.0.10, Repoman-3.0.2 |
11 |
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org> |
12 |
|
13 |
dev-python/bpython/Manifest | 1 + |
14 |
dev-python/bpython/bpython-0.20.1.ebuild | 45 ++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 46 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/bpython/Manifest b/dev-python/bpython/Manifest |
18 |
index 34828df66cd..d1518f5cbe4 100644 |
19 |
--- a/dev-python/bpython/Manifest |
20 |
+++ b/dev-python/bpython/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
+DIST bpython-0.20.1.tar.gz 223953 BLAKE2B b26ee6e4d41609e9a04a013d90f4ae7f598ba28028d9982a77aa7f11887a60c39855e875ae004b416e375b0c906e066a22a18f0251d2e7192d690fe03afe51c7 SHA512 ff69b175afbb1f050f1aa481966bbc32580b3d113a886f49a97fa8f01e3c8c0edf2c0075785fc61ac616168c97d61ee7daeed85d0b08f1317fb774f7ad6bf439 |
23 |
DIST bpython-0.20.tar.gz 224127 BLAKE2B 6b7334f6657e27eff3f48468ee4eed64b69f9ba9ce92881a28ff57a5d5e60948b30fca689adc7a3aac088d2aa1316bfd43509f4f8d80b4822e8990f2753a2059 SHA512 13c04bd9b9ce0bd1b3775295e249e0505abe3be6c601dc9d90455863fd8bc178abb3fe98b05586c6298ea9308a6b062907abf2979b37b08e4341439b0311a565 |
24 |
|
25 |
diff --git a/dev-python/bpython/bpython-0.20.1.ebuild b/dev-python/bpython/bpython-0.20.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..ecf0abab267 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/bpython/bpython-0.20.1.ebuild |
30 |
@@ -0,0 +1,45 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{6..9} ) |
37 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Syntax highlighting and autocompletion for the Python interpreter" |
42 |
+HOMEPAGE="https://www.bpython-interpreter.org/ https://github.com/bpython/bpython https://pypi.org/project/bpython/" |
43 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="MIT" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+IUSE="doc test" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ >=dev-python/curtsies-0.2.11[${PYTHON_USEDEP}] |
52 |
+ dev-python/greenlet[${PYTHON_USEDEP}] |
53 |
+ dev-python/jedi[${PYTHON_USEDEP}] |
54 |
+ dev-python/pygments[${PYTHON_USEDEP}] |
55 |
+ dev-python/requests[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/six-1.5[${PYTHON_USEDEP}] |
57 |
+ dev-python/urwid[${PYTHON_USEDEP}] |
58 |
+ dev-python/watchdog[${PYTHON_USEDEP}] |
59 |
+ " |
60 |
+# sphinx is used implicitly to build manpages |
61 |
+BDEPEND=" |
62 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
63 |
+ test? ( dev-python/mock[${PYTHON_USEDEP}] )" |
64 |
+ |
65 |
+DOCS=( AUTHORS CHANGELOG sample.theme light.theme ) |
66 |
+ |
67 |
+distutils_enable_sphinx doc/sphinx/source --no-autodoc |
68 |
+distutils_enable_tests unittest |
69 |
+ |
70 |
+src_prepare() { |
71 |
+ sed -e 's:test_exec_dunder_file:_&:' \ |
72 |
+ -e 's:test_exec_nonascii_file_linenums:_&:' \ |
73 |
+ -i bpython/test/test_args.py || die |
74 |
+ distutils-r1_src_prepare |
75 |
+} |