diff options
| author | Andrey Grozin <grozin@gentoo.org> | 2021-12-10 21:23:58 +0700 |
|---|---|---|
| committer | Andrey Grozin <grozin@gentoo.org> | 2021-12-10 21:23:58 +0700 |
| commit | 831013622624e3cf169c94015a8c65cf79f28a9f (patch) | |
| tree | def4992eab2cd26922cac22175e8c18534a61e1d /dev-python/bpython/files | |
| parent | 4479ae451e42c05f957941a2a18e848898c4e91c (diff) | |
| download | gentoo-831013622624e3cf169c94015a8c65cf79f28a9f.tar.gz gentoo-831013622624e3cf169c94015a8c65cf79f28a9f.tar.bz2 gentoo-831013622624e3cf169c94015a8c65cf79f28a9f.zip | |
dev-python/bpython: remove old version
Package-Manager: Portage-3.0.29, Repoman-3.0.3
Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Diffstat (limited to 'dev-python/bpython/files')
| -rw-r--r-- | dev-python/bpython/files/bpython-0.21-fix-py3.10.patch | 48 | ||||
| -rw-r--r-- | dev-python/bpython/files/bpython-sphinx-4.patch | 8 |
2 files changed, 0 insertions, 56 deletions
diff --git a/dev-python/bpython/files/bpython-0.21-fix-py3.10.patch b/dev-python/bpython/files/bpython-0.21-fix-py3.10.patch deleted file mode 100644 index 5b7c63767820..000000000000 --- a/dev-python/bpython/files/bpython-0.21-fix-py3.10.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 78ead4c83d7c47c35ab075dd08114f51c24a709d Mon Sep 17 00:00:00 2001 -From: Thomas Ballinger <thomasballinger@gmail.com> -Date: Wed, 6 Oct 2021 19:59:38 -0700 -Subject: [PATCH] Test Python 3.10 (#924) - -* Test Python 3.10 -* Update tests for Python 3.10 - ---- a/bpython/test/test_curtsies_painting.py -+++ b/bpython/test/test_curtsies_painting.py -@@ -139,6 +139,14 @@ def test_completion(self): - "└──────────────────────────────┘", - "Welcome to bpython! Press <F1> f", - ] -+ if sys.version_info[:2] < (3, 10) -+ else [ -+ ">>> an", -+ "┌──────────────────────────────┐", -+ "│ and anext( any( │", -+ "└──────────────────────────────┘", -+ "Welcome to bpython! Press <F1> f", -+ ] - ) - self.assert_paint_ignoring_formatting(screen, (0, 4)) - ---- a/bpython/test/test_interpreter.py -+++ b/bpython/test/test_interpreter.py -@@ -35,7 +35,19 @@ def test_syntaxerror(self): - - i.runsource("1.1.1.1") - -- if sys.version_info[:2] >= (3, 8): -+ if sys.version_info[:2] >= (3, 10): -+ expected = ( -+ " File " -+ + green('"<bpython-input-148>"') -+ + ", line " -+ + bold(magenta("1")) -+ + "\n 1.1.1.1\n ^^^^^\n" -+ + bold(red("SyntaxError")) -+ + ": " -+ + cyan("invalid syntax. Perhaps you forgot a comma?") -+ + "\n" -+ ) -+ elif (3, 8) <= sys.version_info[:2] <= (3, 9): - expected = ( - " File " - + green('"<input>"') diff --git a/dev-python/bpython/files/bpython-sphinx-4.patch b/dev-python/bpython/files/bpython-sphinx-4.patch deleted file mode 100644 index 5003de24bcf6..000000000000 --- a/dev-python/bpython/files/bpython-sphinx-4.patch +++ /dev/null @@ -1,8 +0,0 @@ -diff -U2 -r bpython-0.21.orig/doc/sphinx/source/conf.py bpython-0.21/doc/sphinx/source/conf.py ---- bpython-0.21.orig/doc/sphinx/source/conf.py 2020-03-30 01:44:23.000000000 +0700 -+++ bpython-0.21/doc/sphinx/source/conf.py 2021-05-22 21:06:51.161746459 +0700 -@@ -215,3 +215,3 @@ - # If true, show URL addresses after external links. - #man_show_urls = False -- -+man_make_section_directory = False |
