summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-03-28 12:53:53 +0100
committerMichał Górny <mgorny@gentoo.org>2020-03-28 12:59:30 +0100
commit89a57325b23d9934e1b637b83cc9f0801fc00c39 (patch)
treedaac60ce4c094028ef9be936b833683cf3477ec1 /dev-python/plumbum/files
parentdev-python/pluggy: Remove redundant versions (diff)
downloadgentoo-89a57325b23d9934e1b637b83cc9f0801fc00c39.tar.gz
gentoo-89a57325b23d9934e1b637b83cc9f0801fc00c39.tar.bz2
gentoo-89a57325b23d9934e1b637b83cc9f0801fc00c39.zip
dev-python/plumbum: Remove redundant versions
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/plumbum/files')
-rw-r--r--dev-python/plumbum/files/plumbum-1.6.4.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/dev-python/plumbum/files/plumbum-1.6.4.patch b/dev-python/plumbum/files/plumbum-1.6.4.patch
deleted file mode 100644
index ce18d7afe09d..000000000000
--- a/dev-python/plumbum/files/plumbum-1.6.4.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-diff -r -U2 plumbum-1.6.4.orig/plumbum/cli/image.py plumbum-1.6.4/plumbum/cli/image.py
---- plumbum-1.6.4.orig/plumbum/cli/image.py 2017-11-08 21:20:49.000000000 +0700
-+++ plumbum-1.6.4/plumbum/cli/image.py 2017-12-15 15:45:16.184943092 +0700
-@@ -3,5 +3,6 @@
- from plumbum import colors
- from .termsize import get_terminal_size
--import . as cli
-+from .application import Application
-+from .switches import switch, SwitchAttr, Flag, positional, Range, ExistingFile
- import sys
-
-@@ -75,17 +76,17 @@
- print(colors.reset)
-
--class ShowImageApp(cli.Application):
-+class ShowImageApp(Application):
- 'Display an image on the terminal'
-- double = cli.Flag(['-d','--double'], help="Double resolution (only looks good with some fonts)")
-+ double = Flag(['-d','--double'], help="Double resolution (only looks good with some fonts)")
-
-- @cli.switch(['-c','--colors'], cli.Range(1,4), help="Level of color, 1-4")
-+ @switch(['-c','--colors'], Range(1,4), help="Level of color, 1-4")
- def colors_set(self, n):
- colors.use_color = n
-
-- size = cli.SwitchAttr(['-s','--size'], help="Size, should be in the form 100x150")
-+ size = SwitchAttr(['-s','--size'], help="Size, should be in the form 100x150")
-
-- ratio = cli.SwitchAttr(['--ratio'], float, default=2.45, help="Aspect ratio of the font")
-+ ratio = SwitchAttr(['--ratio'], float, default=2.45, help="Aspect ratio of the font")
-
-- @cli.positional(cli.ExistingFile)
-+ @positional(ExistingFile)
- def main(self, filename):
-