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/flake8/
Date: Wed, 03 Jan 2018 22:13:16
Message-Id: 1515017588.7ecc9d68388d605bd502cfe00319631faaea4a76.mgorny@gentoo
1 commit: 7ecc9d68388d605bd502cfe00319631faaea4a76
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 3 18:47:51 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 3 22:13:08 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ecc9d68
7
8 dev-python/flake8: Clean old up
9
10 dev-python/flake8/Manifest | 3 --
11 dev-python/flake8/flake8-2.0-r1.ebuild | 31 ------------------
12 dev-python/flake8/flake8-3.3.0.ebuild | 58 ----------------------------------
13 dev-python/flake8/flake8-3.4.1.ebuild | 51 ------------------------------
14 4 files changed, 143 deletions(-)
15
16 diff --git a/dev-python/flake8/Manifest b/dev-python/flake8/Manifest
17 index 08928fa6499..0e7f55083eb 100644
18 --- a/dev-python/flake8/Manifest
19 +++ b/dev-python/flake8/Manifest
20 @@ -1,7 +1,4 @@
21 -DIST flake8-2.0.tar.gz 10511 BLAKE2B 23754e377bb39118801e5157539ae397a4a50a3aa1355c8027fa6919a186d98277a3c8d830f98e1cd5a8c208be372fd40a62b299ef649d32de0a33fb4d14f3a5 SHA512 6e3d8030562c4489dce8d4b17464ea8c0239b7c28fcefb7c67bff645e18628bc3074ff0ff197ab54228544d0ff85c2ff9509502c8f98371d8dc5df6f1e3ec047
22 DIST flake8-2.1.0.tar.gz 25010 BLAKE2B 23f89456a28815700f88e2eb3abd29e0936b0c40b93e57036f07ac384a82ab6b05bdb0a656fed08406569d33165f68ff1fb8074ef376a4d8c530c4d62405bfa4 SHA512 bf961d76ed08dafe7c2a9b767594577a57a2276166e515f1d84654223aa50879c5ee1e20919b3a4c7576c7d549037c8cfe67c11ab1f6648a0205200f5060950b
23 DIST flake8-2.2.5.tar.gz 28333 BLAKE2B 016b5b05b7448dec762e7d5e06fad9d631351d02ba5941a34760c51406164dc2c5508e3c4c54b52c49738c193f815a816d9cd39558bfecaeb83cfddbc6dcc63f SHA512 fe5e06d3a7699e3f348181108f1ab3ee9eb1f2b0422de582a172d3a4aed42a5cf839ef8a5b5b113da1e0c3c2b53ed7b43af1ca24314ea842d0d3d3735eba1dee
24 DIST flake8-2.5.4.tar.gz 81663 BLAKE2B 89bd5965fe1f6862cadbfc7b614a819a13d4ab147994485542ba519d6151ab11d4b496066c74141020858f468050e7b6dc3d6ce3a89ddf809e9cdc6d130984ef SHA512 31cbec556fc41361ac464d2547275e319ab663c907a4a8644113a2288a9f349bcfbec85197b6dfa13a7db9e82419f01e0f2abc84a347e133c144ea137e0daa28
25 -DIST flake8-3.3.0.tar.gz 134345 BLAKE2B aa2b41eed025b2ee7d8a4147647defd7a2393511e6570e210a8ed4fc7799512c1a573a50c949be4687381ccdb772a133eda9d2973ae2e7bd681f0036cafbc183 SHA512 53b3116765f9031c96a0442954f324fe3edaf63aff21f7cf340e47e724250928d6d9786473d2680b695969ef979a8bb6d4d2b39f1598b075dcace1b221a4c099
26 -DIST flake8-3.4.1.tar.gz 137066 BLAKE2B fa4ef7e2c1642329e045f2d0e7f8605ffa8a1318166fdbfc9bde5c9317ae3120be1b054f509505c1ee249a5ceac29949e0e6debdd44d6317d66a8258f8f84642 SHA512 42df8fa0cf6f4bb4f3e52143028dee14d51a645aef19a0bab05000fef577e5bea3cc29f961acb0c98d92b76e635fdd2f0d689e23663a6c14d435d0410be94c87
27 DIST flake8-3.5.0.tar.gz 140608 BLAKE2B 938ad4406370da27155512355432edd23a824db1d6ee635591628fefad43ee1116256ae7f240496d93941800212ea2479be73fb9ee9bd03c9a54ab70bbce452f SHA512 ac5d1bd9c44ed76c9e5cbd941b24bb552aa76e156b24ccda6cc8440ee90f3a574fdb393665adc75298e4f57111d7ab3115ef21ef9088fb327d0a9703d442450c
28
29 diff --git a/dev-python/flake8/flake8-2.0-r1.ebuild b/dev-python/flake8/flake8-2.0-r1.ebuild
30 deleted file mode 100644
31 index c3a7edb1301..00000000000
32 --- a/dev-python/flake8/flake8-2.0-r1.ebuild
33 +++ /dev/null
34 @@ -1,31 +0,0 @@
35 -# Copyright 1999-2016 Gentoo Foundation
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=5
39 -
40 -PYTHON_COMPAT=( python{2_7,3_{4,5}} )
41 -
42 -inherit distutils-r1
43 -
44 -DESCRIPTION="the modular source code checker: pep8, pyflakes and co"
45 -HOMEPAGE="https://bitbucket.org/tarek/flake8"
46 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
47 -
48 -LICENSE="MIT"
49 -SLOT="0"
50 -KEYWORDS="alpha amd64 ~arm ~hppa ia64 ppc ppc64 x86"
51 -IUSE="test"
52 -
53 -DEPEND="
54 - dev-python/setuptools[${PYTHON_USEDEP}]
55 - test? ( dev-python/nose[${PYTHON_USEDEP}] )
56 -"
57 -RDEPEND="
58 - >=dev-python/pyflakes-0.6.1[${PYTHON_USEDEP}]
59 - >=dev-python/pep8-1.4.3[${PYTHON_USEDEP}]
60 - >=dev-python/mccabe-0.2[${PYTHON_USEDEP}]
61 -"
62 -
63 -python_test() {
64 - esetup.py test
65 -}
66
67 diff --git a/dev-python/flake8/flake8-3.3.0.ebuild b/dev-python/flake8/flake8-3.3.0.ebuild
68 deleted file mode 100644
69 index 85c2214274f..00000000000
70 --- a/dev-python/flake8/flake8-3.3.0.ebuild
71 +++ /dev/null
72 @@ -1,58 +0,0 @@
73 -# Copyright 1999-2017 Gentoo Foundation
74 -# Distributed under the terms of the GNU General Public License v2
75 -
76 -EAPI=6
77 -
78 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} )
79 -
80 -inherit distutils-r1
81 -
82 -DESCRIPTION="A wrapper around PyFlakes, pep8 & mccabe"
83 -HOMEPAGE="https://bitbucket.org/tarek/flake8 https://pypi.python.org/pypi/flake8"
84 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
85 -IUSE="test"
86 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
87 -LICENSE="MIT"
88 -SLOT="0"
89 -
90 -# requires.txt inc. mccabe however that creates a circular dep
91 -RDEPEND="
92 - $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' 'python2*' 'pypy*' )
93 - >=dev-python/pyflakes-1.5.0[${PYTHON_USEDEP}]
94 - <dev-python/pyflakes-1.6.0[${PYTHON_USEDEP}]
95 - !~dev-python/pyflakes-1.2.0
96 - !~dev-python/pyflakes-1.2.1
97 - !~dev-python/pyflakes-1.2.2
98 - >=dev-python/pycodestyle-2.0.0[${PYTHON_USEDEP}]
99 - <dev-python/pycodestyle-2.4.0[${PYTHON_USEDEP}]
100 - $(python_gen_cond_dep 'dev-python/configparser[${PYTHON_USEDEP}]' 'python2*' pypy )
101 - "
102 -PDEPEND="
103 - >=dev-python/mccabe-0.6.0[${PYTHON_USEDEP}]
104 - <dev-python/mccabe-0.7.0[${PYTHON_USEDEP}]
105 - "
106 -DEPEND="${RDEPEND}
107 - dev-python/setuptools[${PYTHON_USEDEP}]
108 - test? ( ${PDEPEND}
109 - dev-python/pytest-runner[${PYTHON_USEDEP}]
110 - || (
111 - >dev-python/pytest-3.0.5[${PYTHON_USEDEP}]
112 - <dev-python/pytest-3.0.5[${PYTHON_USEDEP}]
113 - )
114 - >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
115 - dev-python/coverage[${PYTHON_USEDEP}]
116 - )"
117 -
118 -python_prepare_all() {
119 - # Gentoo has flake8 support restored in >=pep8-1.6.2-r1.
120 - sed -i -e 's:, != 1.6.2::' setup.py || die
121 - # Flake8 falsely assumes it needs pytest-runner unconditionally and will
122 - # try to install it, causing sandbox violations.
123 - sed -i -e "/setup_requires=\['pytest-runner'\],/d" setup.py || die
124 -
125 - distutils-r1_python_prepare_all
126 -}
127 -
128 -python_test() {
129 - pytest || die "tests failed"
130 -}
131
132 diff --git a/dev-python/flake8/flake8-3.4.1.ebuild b/dev-python/flake8/flake8-3.4.1.ebuild
133 deleted file mode 100644
134 index f3111cc499f..00000000000
135 --- a/dev-python/flake8/flake8-3.4.1.ebuild
136 +++ /dev/null
137 @@ -1,51 +0,0 @@
138 -# Copyright 1999-2017 Gentoo Foundation
139 -# Distributed under the terms of the GNU General Public License v2
140 -
141 -EAPI=6
142 -
143 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} )
144 -
145 -inherit distutils-r1
146 -
147 -DESCRIPTION="A wrapper around PyFlakes, pep8 & mccabe"
148 -HOMEPAGE="https://gitlab.com/pycqa/flake8 https://pypi.python.org/pypi/flake8"
149 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
150 -
151 -LICENSE="MIT"
152 -SLOT="0"
153 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
154 -IUSE="test"
155 -
156 -# requires.txt inc. mccabe however that creates a circular dep
157 -RDEPEND="
158 - >=dev-python/pyflakes-1.5.0[${PYTHON_USEDEP}]
159 - <dev-python/pyflakes-1.6.0[${PYTHON_USEDEP}]
160 - >=dev-python/pycodestyle-2.0.0[${PYTHON_USEDEP}]
161 - <dev-python/pycodestyle-2.4.0[${PYTHON_USEDEP}]
162 - $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' 'python2*' 'pypy*' )
163 - $(python_gen_cond_dep 'dev-python/configparser[${PYTHON_USEDEP}]' 'python2*' pypy )
164 -"
165 -PDEPEND="
166 - >=dev-python/mccabe-0.6.0[${PYTHON_USEDEP}]
167 - <dev-python/mccabe-0.7.0[${PYTHON_USEDEP}]
168 -"
169 -DEPEND="${RDEPEND}
170 - dev-python/setuptools[${PYTHON_USEDEP}]
171 - test? (
172 - ${PDEPEND}
173 - dev-python/pytest[${PYTHON_USEDEP}]
174 - >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
175 - )
176 -"
177 -
178 -python_prepare_all() {
179 - # Flake8 falsely assumes it needs pytest-runner unconditionally and will
180 - # try to install it, causing sandbox violations.
181 - sed -i -e "/setup_requires=\['pytest-runner'\],/d" setup.py || die
182 -
183 - distutils-r1_python_prepare_all
184 -}
185 -
186 -python_test() {
187 - py.test -v || die "Tests fail with ${EPYTHON}"
188 -}