1 |
commit: d5da1d44733e63bc49eb82577f988132aa2b6e97 |
2 |
Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 26 19:28:10 2019 +0000 |
4 |
Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 26 19:28:54 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5da1d44 |
7 |
|
8 |
dev-python/yapps: remove last-rited package |
9 |
|
10 |
Closes: https://bugs.gentoo.org/618734 |
11 |
Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org> |
12 |
|
13 |
dev-python/yapps/Manifest | 1 - |
14 |
...nt-statements-to-python3-style-print-func.patch | 46 ---------------------- |
15 |
...s-Don-t-capture-sys.stderr-at-import-time.patch | 32 --------------- |
16 |
dev-python/yapps/metadata.xml | 12 ------ |
17 |
dev-python/yapps/yapps-2.2.0-r1.ebuild | 28 ------------- |
18 |
profiles/package.mask | 4 -- |
19 |
6 files changed, 123 deletions(-) |
20 |
|
21 |
diff --git a/dev-python/yapps/Manifest b/dev-python/yapps/Manifest |
22 |
deleted file mode 100644 |
23 |
index cac92db98c0..00000000000 |
24 |
--- a/dev-python/yapps/Manifest |
25 |
+++ /dev/null |
26 |
@@ -1 +0,0 @@ |
27 |
-DIST Yapps-2.2.0.tar.gz 13630 BLAKE2B b1c3370c0a91febc7ab567fa9af05150f74d19e4de18d09e41ff7e361b06f8bd9aed0ad5ac01f9d1c46bdb381af57cfe11603ebf534b10979a16a5211171a31f SHA512 087f99071b2615f5382f453d9b3492675704aa7e7ff54b332d7c4e337e16fbd3ab3c1b3820a7941775c0b3ecf7e255a7773cb47ea20e8adb77dc3dc8d9a49faa |
28 |
|
29 |
diff --git a/dev-python/yapps/files/yapps-Convert-print-statements-to-python3-style-print-func.patch b/dev-python/yapps/files/yapps-Convert-print-statements-to-python3-style-print-func.patch |
30 |
deleted file mode 100644 |
31 |
index 4bff7f8f40d..00000000000 |
32 |
--- a/dev-python/yapps/files/yapps-Convert-print-statements-to-python3-style-print-func.patch |
33 |
+++ /dev/null |
34 |
@@ -1,46 +0,0 @@ |
35 |
-From d051588873a54860cfb86ec0d330f7d855336618 Mon Sep 17 00:00:00 2001 |
36 |
-From: Julien Cristau <julien.cristau@×××××××.fr> |
37 |
-Date: Tue, 2 Dec 2014 10:41:05 +0100 |
38 |
-Subject: [PATCH 2/2] Convert print statements to python3-style print function |
39 |
- |
40 |
-Signed-off-by: Julien Cristau <julien.cristau@×××××××.fr> |
41 |
---- |
42 |
- yapps/runtime.py | 8 ++++---- |
43 |
- 1 file changed, 4 insertions(+), 4 deletions(-) |
44 |
- |
45 |
-diff --git a/yapps/runtime.py b/yapps/runtime.py |
46 |
-index 58017fe..5d40581 100644 |
47 |
---- a/yapps/runtime.py |
48 |
-+++ b/yapps/runtime.py |
49 |
-@@ -178,7 +178,7 @@ class Scanner(object): |
50 |
- file,line,p = pos |
51 |
- if file != self.filename: |
52 |
- if self.stack: return self.stack.print_line_with_pointer(pos,length=length,out=out) |
53 |
-- print >>out, "(%s: not in input buffer)" % file |
54 |
-+ print("(%s: not in input buffer)" % file, file=out) |
55 |
- return |
56 |
- |
57 |
- text = self.input |
58 |
-@@ -201,7 +201,7 @@ class Scanner(object): |
59 |
- break |
60 |
- spos = cr+1 |
61 |
- else: |
62 |
-- print >>out, "(%s:%d not in input buffer)" % (file,origline) |
63 |
-+ print("(%s:%d not in input buffer)" % (file,origline), file=out) |
64 |
- return |
65 |
- |
66 |
- # Now try printing part of the line |
67 |
-@@ -230,8 +230,8 @@ class Scanner(object): |
68 |
- p = p - 7 |
69 |
- |
70 |
- # Now print the string, along with an indicator |
71 |
-- print >>out, '> ',text |
72 |
-- print >>out, '> ',' '*p + '^' |
73 |
-+ print('> ',text, file=out) |
74 |
-+ print('> ',' '*p + '^', file=out) |
75 |
- |
76 |
- def grab_input(self): |
77 |
- """Get more input if possible.""" |
78 |
--- |
79 |
-2.6.4 |
80 |
- |
81 |
|
82 |
diff --git a/dev-python/yapps/files/yapps-Don-t-capture-sys.stderr-at-import-time.patch b/dev-python/yapps/files/yapps-Don-t-capture-sys.stderr-at-import-time.patch |
83 |
deleted file mode 100644 |
84 |
index 1e25a005940..00000000000 |
85 |
--- a/dev-python/yapps/files/yapps-Don-t-capture-sys.stderr-at-import-time.patch |
86 |
+++ /dev/null |
87 |
@@ -1,32 +0,0 @@ |
88 |
-From 482faec17f1c69784d8cc2757a79809458d71154 Mon Sep 17 00:00:00 2001 |
89 |
-From: Julien Cristau <julien.cristau@×××××××.fr> |
90 |
-Date: Tue, 2 Dec 2014 10:40:01 +0100 |
91 |
-Subject: [PATCH 1/2] Don't capture sys.stderr at import time |
92 |
- |
93 |
-Signed-off-by: Julien Cristau <julien.cristau@×××××××.fr> |
94 |
---- |
95 |
- yapps/runtime.py | 5 ++++- |
96 |
- 1 file changed, 4 insertions(+), 1 deletion(-) |
97 |
- |
98 |
-diff --git a/yapps/runtime.py b/yapps/runtime.py |
99 |
-index 29f91e7..58017fe 100644 |
100 |
---- a/yapps/runtime.py |
101 |
-+++ b/yapps/runtime.py |
102 |
-@@ -168,10 +168,13 @@ class Scanner(object): |
103 |
- # output += '%s\n' % (repr(t),) |
104 |
- # return output |
105 |
- |
106 |
-- def print_line_with_pointer(self, pos, length=0, out=sys.stderr): |
107 |
-+ def print_line_with_pointer(self, pos, length=0, out=None): |
108 |
- """Print the line of 'text' that includes position 'p', |
109 |
- along with a second line with a single caret (^) at position p""" |
110 |
- |
111 |
-+ if out is None: |
112 |
-+ out = sys.stderr |
113 |
-+ |
114 |
- file,line,p = pos |
115 |
- if file != self.filename: |
116 |
- if self.stack: return self.stack.print_line_with_pointer(pos,length=length,out=out) |
117 |
--- |
118 |
-2.6.4 |
119 |
- |
120 |
|
121 |
diff --git a/dev-python/yapps/metadata.xml b/dev-python/yapps/metadata.xml |
122 |
deleted file mode 100644 |
123 |
index 335bb8d11a4..00000000000 |
124 |
--- a/dev-python/yapps/metadata.xml |
125 |
+++ /dev/null |
126 |
@@ -1,12 +0,0 @@ |
127 |
-<?xml version="1.0" encoding="UTF-8"?> |
128 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
129 |
-<pkgmetadata> |
130 |
- <maintainer type="project"> |
131 |
- <email>python@g.o</email> |
132 |
- <name>Python</name> |
133 |
- </maintainer> |
134 |
- <upstream> |
135 |
- <remote-id type="pypi">Yapps</remote-id> |
136 |
- <remote-id type="github">smurfix/yapps</remote-id> |
137 |
- </upstream> |
138 |
-</pkgmetadata> |
139 |
|
140 |
diff --git a/dev-python/yapps/yapps-2.2.0-r1.ebuild b/dev-python/yapps/yapps-2.2.0-r1.ebuild |
141 |
deleted file mode 100644 |
142 |
index ce36d639e2a..00000000000 |
143 |
--- a/dev-python/yapps/yapps-2.2.0-r1.ebuild |
144 |
+++ /dev/null |
145 |
@@ -1,28 +0,0 @@ |
146 |
-# Copyright 1999-2019 Gentoo Authors |
147 |
-# Distributed under the terms of the GNU General Public License v2 |
148 |
- |
149 |
-EAPI="5" |
150 |
-PYTHON_COMPAT=( python{2_7,3_5,3_6} pypy ) |
151 |
- |
152 |
-inherit distutils-r1 |
153 |
- |
154 |
-MY_PN="Yapps" |
155 |
-MY_P="${MY_PN}-${PV}" |
156 |
- |
157 |
-DESCRIPTION="An easy to use parser generator" |
158 |
-HOMEPAGE="https://github.com/smurfix/yapps" |
159 |
-SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" |
160 |
- |
161 |
-LICENSE="MIT" |
162 |
-SLOT="0" |
163 |
-KEYWORDS="~amd64 ~x86" |
164 |
- |
165 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
166 |
-RDEPEND="" |
167 |
- |
168 |
-S="${WORKDIR}/${MY_PN}-${PV}" |
169 |
- |
170 |
-src_prepare() { |
171 |
- epatch "${FILESDIR}/${PN}-Don-t-capture-sys.stderr-at-import-time.patch" |
172 |
- epatch "${FILESDIR}/${PN}-Convert-print-statements-to-python3-style-print-func.patch" |
173 |
-} |
174 |
|
175 |
diff --git a/profiles/package.mask b/profiles/package.mask |
176 |
index a23337f0f3b..9147b81b70f 100644 |
177 |
--- a/profiles/package.mask |
178 |
+++ b/profiles/package.mask |
179 |
@@ -338,10 +338,6 @@ net-libs/farstream:0.1 |
180 |
# Removal in 30 days. Bug #683862 |
181 |
dev-python/djangocms-attributes-field |
182 |
|
183 |
-# Virgil Dupras <vdupras@g.o> (26 Apr 2019) |
184 |
-# Unmaintained, no revdeps. Removal in 30 days. Bug #618734 |
185 |
-dev-python/yapps |
186 |
- |
187 |
# Jason Zaman <perfinion@g.o> (25 Apr 2019) |
188 |
# net-mail/perdition was last-rited in 2016. The |
189 |
# SELinux policy packge is no longer needed. |