Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pep8/, dev-python/pep8/files/
Date: Wed, 03 May 2017 07:38:03
Message-Id: 1493797053.b14b9c9ea535e5bb87f9129400c3b2401735d81b.mgorny@gentoo
1 commit: b14b9c9ea535e5bb87f9129400c3b2401735d81b
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 3 07:14:53 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed May 3 07:37:33 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b14b9c9e
7
8 dev-python/pep8: Clean old versions up
9
10 dev-python/pep8/Manifest | 2 -
11 .../pep8-1.6.2-restore-flake8-compatibility.patch | 69 ----------------------
12 dev-python/pep8/pep8-1.6.1.ebuild | 34 -----------
13 dev-python/pep8/pep8-1.6.2-r1.ebuild | 37 ------------
14 dev-python/pep8/pep8-1.6.2.ebuild | 34 -----------
15 5 files changed, 176 deletions(-)
16
17 diff --git a/dev-python/pep8/Manifest b/dev-python/pep8/Manifest
18 index 756a13df830..c28d0890a2f 100644
19 --- a/dev-python/pep8/Manifest
20 +++ b/dev-python/pep8/Manifest
21 @@ -1,6 +1,4 @@
22 DIST pep8-1.4.5.tar.gz 63021 SHA256 dd908e7df835ebb1b82ba0675e1b7e173ea9c55d7ae62808ecad2e6db2a6ee0e SHA512 c4d8e5b116762480e1aad2ddad1cd02d2d74779adcef8153739c7ca1e56d33bd81b42c984c525797548d915245f24d3cea636d6b89ade8e9e428f31b0a6fe8a6 WHIRLPOOL c597328ce58d226311162c7126c949f92e9142f0fa9a979cdd0ede29f71b839587ef4c5cef57ac8fdd608753f52a6c91220b90807ca9b3b56cc5b5772c688b9a
23 DIST pep8-1.5.6.tar.gz 66944 SHA256 1a8be992f8daac6144af0f3972f40159f46d81cb36dde4adeea01576e4bf041a SHA512 9de60df0f56eeb28be835b3f11d060150e08c19403552b769abe0794a1aca65e3a17fd8b45f35b34b11593f527c2f4521ab72823aa1475963b1281c044c71ec1 WHIRLPOOL 97f90d9b4ae69d87cf5eb014998f74d8fc97640a31a457a2b39db495eeb9bc0634d5a56a6bf7636d44dbef70179a3c0c0098e7963a5d63e7d3cfccd0b250675b
24 DIST pep8-1.5.7.tar.gz 67302 SHA256 15b42131b25f376165d195fe4e17b0a28311182aaf9330d5eb575bbeda5a6989 SHA512 ae5cc6cc47d71e90059fec0c89f5e8e7b71b08d185c95b0c8cf0aa9acaee4841d0cfc617fb1ca6d7af7f4721480a1992b6178dc845d80dfe87fe3792d515a3eb WHIRLPOOL 09621e17fec73de00ab4840365898084651bab4cbcf982a1393eba5e0bb2d04c0374c5dd69bf6915b6542b4ce6ac13a614395811387badf6384f266d0b61fec3
25 -DIST pep8-1.6.1.tar.gz 73103 SHA256 573677cb85ff089244b0f99af955f76c2e37456632610b6deda6167139ce155a SHA512 7a9d83cfe7b61b2ef598c74a465b81971ad1d0be3a708410e431d8475fc507204979857c10dbf4332701aac0d28244f19dc9c400ca85161acdd61d8084158ef8 WHIRLPOOL 0a032be9cdea4f45c86255dddbb06e1629e148e8b15e6a83d8abc7ed06f52d6c184f2953367dca5b94978e2351b3873c6cf3bc02c811aa9f8ce50964b31306c5
26 -DIST pep8-1.6.2.tar.gz 74534 SHA256 b8b7e35630b5539e26a197dfc6005be9e1e9a135496b377723a8ebc01b9bcbff SHA512 f046a1e3ed68a7c409ad6c501a54ed14188de670f0e0d873d2d7960e45fec0c4e2c27067877854ecbb20f3690f9d2ca1fa4bc1cc52b22e1f71bd0aec4ddb6fc9 WHIRLPOOL cf482b333da7a7c936277e2fdab057b6e9b30ef7597dde0f4e49abc3b18727584814779d15216977371a8e72b593395083bda8728600d55fab6ce3b43ce777ee
27 DIST pep8-1.7.0.tar.gz 79704 SHA256 a113d5f5ad7a7abacef9df5ec3f2af23a20a28005921577b15dd584d099d5900 SHA512 0077dac97846fe3a5fc654cd3ce8578845cf3b93ee097a3ae6ff2db4ae0797ad5766c69f036d6a5add786eb929a9beb6d657ab693227b8df2ba46ec0f9284b0a WHIRLPOOL 6ff0baa6c1aec5db641cff6cefdb2310f31af482c92e97d27edd3b9ae85d8f255c1283cd9261b9db74d5d5d4c73c72180e55edb3303f2f018889bab7ea9b00a3
28
29 diff --git a/dev-python/pep8/files/pep8-1.6.2-restore-flake8-compatibility.patch b/dev-python/pep8/files/pep8-1.6.2-restore-flake8-compatibility.patch
30 deleted file mode 100644
31 index f3557728a73..00000000000
32 --- a/dev-python/pep8/files/pep8-1.6.2-restore-flake8-compatibility.patch
33 +++ /dev/null
34 @@ -1,69 +0,0 @@
35 -commit 435d1cbf995a659a82d1d4b42d25e3459556ef21
36 -Author: Ian Lee <IanLee1521@×××××.com>
37 -Date: Tue Mar 17 21:52:23 2015 -0700
38 -
39 - Reverted fix for #368 which had unintended repurcussions in flake8 and other places.
40 -
41 - This fix reverts to the parsing of user config (~/.config/pep8), then local directory
42 - config files, and finally overrides with cli options as was the behavior back in 1.5.7
43 -
44 -diff --git a/CHANGES.txt b/CHANGES.txt
45 -index 85eb043..5499abd 100644
46 ---- a/CHANGES.txt
47 -+++ b/CHANGES.txt
48 -@@ -5,6 +5,12 @@ Changelog
49 - 1.6.x (unreleased)
50 - ------------------
51 -
52 -+Changes:
53 -+
54 -+* Reverted the fix in #368, "options passed on command line are only ones
55 -+ accepted" feature. This has many unintended consequences in pep8 and flake8
56 -+ and needs to be reworked when I have more time.
57 -+
58 - 1.6.2 (2015-02-15)
59 - ------------------
60 -
61 -diff --git a/pep8.py b/pep8.py
62 -index 9f40381..4d993da 100755
63 ---- a/pep8.py
64 -+++ b/pep8.py
65 -@@ -1984,24 +1984,24 @@ def read_config(options, args, arglist, parser):
66 -
67 - local_dir = os.curdir
68 -
69 -+ if USER_CONFIG and os.path.isfile(USER_CONFIG):
70 -+ if options.verbose:
71 -+ print('user configuration: %s' % USER_CONFIG)
72 -+ config.read(USER_CONFIG)
73 -+
74 -+ parent = tail = args and os.path.abspath(os.path.commonprefix(args))
75 -+ while tail:
76 -+ if config.read(os.path.join(parent, fn) for fn in PROJECT_CONFIG):
77 -+ local_dir = parent
78 -+ if options.verbose:
79 -+ print('local configuration: in %s' % parent)
80 -+ break
81 -+ (parent, tail) = os.path.split(parent)
82 -+
83 - if cli_conf and os.path.isfile(cli_conf):
84 - if options.verbose:
85 - print('cli configuration: %s' % cli_conf)
86 - config.read(cli_conf)
87 -- else:
88 -- if USER_CONFIG and os.path.isfile(USER_CONFIG):
89 -- if options.verbose:
90 -- print('user configuration: %s' % USER_CONFIG)
91 -- config.read(USER_CONFIG)
92 --
93 -- parent = tail = args and os.path.abspath(os.path.commonprefix(args))
94 -- while tail:
95 -- if config.read(os.path.join(parent, fn) for fn in PROJECT_CONFIG):
96 -- local_dir = parent
97 -- if options.verbose:
98 -- print('local configuration: in %s' % parent)
99 -- break
100 -- (parent, tail) = os.path.split(parent)
101 -
102 - pep8_section = parser.prog
103 - if config.has_section(pep8_section):
104
105 diff --git a/dev-python/pep8/pep8-1.6.1.ebuild b/dev-python/pep8/pep8-1.6.1.ebuild
106 deleted file mode 100644
107 index 7c2c499d7e5..00000000000
108 --- a/dev-python/pep8/pep8-1.6.1.ebuild
109 +++ /dev/null
110 @@ -1,34 +0,0 @@
111 -# Copyright 1999-2017 Gentoo Foundation
112 -# Distributed under the terms of the GNU General Public License v2
113 -
114 -EAPI=5
115 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
116 -
117 -inherit distutils-r1
118 -
119 -DESCRIPTION="Python style guide checker"
120 -HOMEPAGE="https://github.com/jcrocholl/pep8 https://pypi.python.org/pypi/pep8"
121 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
122 -
123 -LICENSE="MIT"
124 -SLOT="0"
125 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
126 -IUSE="doc"
127 -
128 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
129 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
130 -RDEPEND="${DEPEND}"
131 -
132 -python_compile_all() {
133 - use doc && emake -C docs html
134 -}
135 -
136 -python_test() {
137 - PYTHONPATH="${S}" "${PYTHON}" pep8.py -v --testsuite=testsuite || die
138 - PYTHONPATH="${S}" "${PYTHON}" pep8.py --doctest -v || die
139 -}
140 -
141 -python_install_all() {
142 - use doc && local HTML_DOCS=( docs/_build/html/. )
143 - distutils-r1_python_install_all
144 -}
145
146 diff --git a/dev-python/pep8/pep8-1.6.2-r1.ebuild b/dev-python/pep8/pep8-1.6.2-r1.ebuild
147 deleted file mode 100644
148 index 671865f1441..00000000000
149 --- a/dev-python/pep8/pep8-1.6.2-r1.ebuild
150 +++ /dev/null
151 @@ -1,37 +0,0 @@
152 -# Copyright 1999-2017 Gentoo Foundation
153 -# Distributed under the terms of the GNU General Public License v2
154 -
155 -EAPI=5
156 -
157 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
158 -
159 -inherit distutils-r1
160 -
161 -DESCRIPTION="Python style guide checker"
162 -HOMEPAGE="https://github.com/jcrocholl/pep8 https://pypi.python.org/pypi/pep8"
163 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
164 -
165 -LICENSE="MIT"
166 -SLOT="0"
167 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
168 -IUSE="doc"
169 -
170 -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
171 -DEPEND="${RDEPEND}
172 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
173 -
174 -PATCHES=( "${FILESDIR}/${P}-restore-flake8-compatibility.patch" )
175 -
176 -python_compile_all() {
177 - use doc && emake -C docs html
178 -}
179 -
180 -python_test() {
181 - PYTHONPATH="${S}" "${PYTHON}" pep8.py -v --testsuite=testsuite || die
182 - PYTHONPATH="${S}" "${PYTHON}" pep8.py --doctest -v || die
183 -}
184 -
185 -python_install_all() {
186 - use doc && local HTML_DOCS=( docs/_build/html/. )
187 - distutils-r1_python_install_all
188 -}
189
190 diff --git a/dev-python/pep8/pep8-1.6.2.ebuild b/dev-python/pep8/pep8-1.6.2.ebuild
191 deleted file mode 100644
192 index 7d30c743878..00000000000
193 --- a/dev-python/pep8/pep8-1.6.2.ebuild
194 +++ /dev/null
195 @@ -1,34 +0,0 @@
196 -# Copyright 1999-2017 Gentoo Foundation
197 -# Distributed under the terms of the GNU General Public License v2
198 -
199 -EAPI=5
200 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
201 -
202 -inherit distutils-r1
203 -
204 -DESCRIPTION="Python style guide checker"
205 -HOMEPAGE="https://github.com/jcrocholl/pep8 https://pypi.python.org/pypi/pep8"
206 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
207 -
208 -LICENSE="MIT"
209 -SLOT="0"
210 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
211 -IUSE="doc"
212 -
213 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
214 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
215 -RDEPEND="${DEPEND}"
216 -
217 -python_compile_all() {
218 - use doc && emake -C docs html
219 -}
220 -
221 -python_test() {
222 - PYTHONPATH="${S}" "${PYTHON}" pep8.py -v --testsuite=testsuite || die
223 - PYTHONPATH="${S}" "${PYTHON}" pep8.py --doctest -v || die
224 -}
225 -
226 -python_install_all() {
227 - use doc && local HTML_DOCS=( docs/_build/html/. )
228 - distutils-r1_python_install_all
229 -}