summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2017-02-07 10:35:07 -0800
committerPatrick McLean <chutzpah@gentoo.org>2017-02-07 10:35:07 -0800
commit72dc48e0d25693b404e1668103f18395a2bd753d (patch)
tree81acbb993236daa9f81e1ead73e453a1c5e58bf9
parentkde-plasma: Version bump KDE Plasma 5.9.1 (diff)
downloadgentoo-72dc48e0d25693b404e1668103f18395a2bd753d.tar.gz
gentoo-72dc48e0d25693b404e1668103f18395a2bd753d.tar.bz2
gentoo-72dc48e0d25693b404e1668103f18395a2bd753d.zip
dev-python/mccabe: Version bump to 0.6.1
Package-Manager: Portage-2.3.3, Repoman-2.3.1
-rw-r--r--dev-python/mccabe/Manifest1
-rw-r--r--dev-python/mccabe/mccabe-0.6.1.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/mccabe/Manifest b/dev-python/mccabe/Manifest
index dc83c956aecc..824172d2e506 100644
--- a/dev-python/mccabe/Manifest
+++ b/dev-python/mccabe/Manifest
@@ -4,3 +4,4 @@ DIST mccabe-0.3.tar.gz 6127 SHA256 3d8ca9bf65c5014f469180544d1dd5bb5b9df709aad63
DIST mccabe-0.4.0.tar.gz 7916 SHA256 9a2b12ebd876e77c72e41ebf401cc2e7c5b566649d50105ca49822688642207b SHA512 4a7158a3a28eed0a98ae64b3a0394542f263c9b4e08fc31ad47b2317ba434b1002e13d40a9766e4e39ea798aa35e83a79b81936cebdaabdae582160f1780e1a2 WHIRLPOOL d3b1ce9613ababb86f54e392fb9a5b5e96de7226ce6a3d6fd1c72ae2985c2dfe27319851ddaf8140b3b4f92f1b44f02683b88a2237539d5495199b479b267303
DIST mccabe-0.5.2.tar.gz 8366 SHA256 3473f06c8b757bbb5cdf295099bf64032e5f7d6fe0ec2f97ee9b23cb0a435aff SHA512 08dbfadc4d270e5fe58492536a27d9008efd61c77aac817b2d77b9b4510cccb41e76e1e016ff1228ebe3ac6ea1cc6ce396601f6a692388e981ddba2549288e01 WHIRLPOOL 715242d4f242a1055b7e10abc3f03103bc221f3344682e0bdecb0e8eb7bdcd27812451c79ce68e4e3cdf8df7d514420acc31bf5aa0559ea41f17eb76a72c4b38
DIST mccabe-0.5.3.tar.gz 8460 SHA256 16293af41e7242031afd73896fef6458f4cad38201d21e28f344fff50ae1c25e SHA512 c1985deb9c8067948430b553bf28b06e2db32c45e765b7d1733cfd4526c4829572240f809d0f661bc1ba593687d7c1596446d53bbef3a670aa1c4b3492076deb WHIRLPOOL 75414ff2a2ae82d88eb7513afa1a958a0fc13d154013e633bff42a581046c8d464dd3103aea22d73c1ba19bd89c2802f5c22e71878eaf5854da9266e0750d5b2
+DIST mccabe-0.6.1.tar.gz 8612 SHA256 dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb0f125271b8831f SHA512 d8fc251a29790887c14c5932c5172b4cd578cd37ccf14cb96e80f0b97f27023427ea032d14e1e2a99d72627b055eb285f60db69e679ecd79d90a34b0255703d8 WHIRLPOOL fb57eebe4b20af1dbd81f0e62d00ea64b3e998f1549de3f06ed65d3c244f671d0668fc630c3105639fd351534f8dffe3c093d7e32a3f17400f210b1f286f38bd
diff --git a/dev-python/mccabe/mccabe-0.6.1.ebuild b/dev-python/mccabe/mccabe-0.6.1.ebuild
new file mode 100644
index 000000000000..4a9341208be7
--- /dev/null
+++ b/dev-python/mccabe/mccabe-0.6.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5} pypy{,3} )
+
+inherit distutils-r1
+
+DESCRIPTION="flake8 plugin: McCabe complexity checker"
+HOMEPAGE="https://github.com/PyCQA/mccabe"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="test"
+LICENSE="MIT"
+SLOT="0"
+
+RDEPEND="dev-python/flake8[${PYTHON_USEDEP}]"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+python_prepare_all() {
+ sed -i -e '/pytest-runner/d' setup.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ py.test -v || die "Testing failed with ${EPYTHON}"
+}