diff options
author | Sean Vig <sean.v.775@gmail.com> | 2015-11-23 08:41:09 -0600 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2015-11-24 08:10:34 +0100 |
commit | 959bb855e576d6232de91a7497ca2490c755c565 (patch) | |
tree | 84e2846a1228ac6403379549a1359380906579a9 /dev-python/flake8 | |
parent | dev-ruby/rack: cleanup (diff) | |
download | gentoo-959bb855e576d6232de91a7497ca2490c755c565.tar.gz gentoo-959bb855e576d6232de91a7497ca2490c755c565.tar.bz2 gentoo-959bb855e576d6232de91a7497ca2490c755c565.zip |
dev-python/flake8: Version bump to 2.5
Bumped pyflakes upper cap to <1.1, added python3_5 target
Diffstat (limited to 'dev-python/flake8')
-rw-r--r-- | dev-python/flake8/Manifest | 1 | ||||
-rw-r--r-- | dev-python/flake8/flake8-2.5.0.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/flake8/Manifest b/dev-python/flake8/Manifest index 58c8d1d39c9b..8ef865a228f4 100644 --- a/dev-python/flake8/Manifest +++ b/dev-python/flake8/Manifest @@ -2,3 +2,4 @@ DIST flake8-2.0.tar.gz 10511 SHA256 8dce4f7e64cc202cc6da93eab84b2ce660110ff684b6 DIST flake8-2.1.0.tar.gz 25010 SHA256 098ab7991067c08cfaa4716de20066d90f66dbc71502114ea8cad9a9fd5c9512 SHA512 bf961d76ed08dafe7c2a9b767594577a57a2276166e515f1d84654223aa50879c5ee1e20919b3a4c7576c7d549037c8cfe67c11ab1f6648a0205200f5060950b WHIRLPOOL 48982d33cd32f557796ef103da441f46d3a6ddbf1d1cace66f3ceac8b31bf78389c72df4a717881fe3735f6301b8ce0831908d32010f94ce72fc5414404261d4 DIST flake8-2.2.5.tar.gz 28333 SHA256 285e8bd730c0b6fdfbe23c32d2936bffba401f23cab132e8722c68be80d6f182 SHA512 fe5e06d3a7699e3f348181108f1ab3ee9eb1f2b0422de582a172d3a4aed42a5cf839ef8a5b5b113da1e0c3c2b53ed7b43af1ca24314ea842d0d3d3735eba1dee WHIRLPOOL 6c1e737a760876d410fd116bf2b8104f932b6751b5970096ddadcead5937fba21772fb28c1addf8026eda5ec573eb07cd920e46fb711d79f46de559d229c8705 DIST flake8-2.4.1.tar.gz 50324 SHA256 2e7ebbe59d8c85e626e36d99f0db2f578394313d3f7ce9dc9f1da57ef6cd7537 SHA512 8ddd07d6be53b06efcf7dd9aa2daa070ab209f7177e46f32a3bcae545acbb5e020aa27aeab54426798ae6c3722b38928b06dc3e53115cc624a16fa0fa97f4840 WHIRLPOOL 9a653900523eded448c5cbeca0b111ba220be39ad307e46ded35a1454904cb59f5e0765425d90e99ae0c853b2931fbe910c4412e73771098bb0a3543adb8cabb +DIST flake8-2.5.0.tar.gz 82600 SHA256 8216c8c6ee092ae93d51f89bc91045648c88cd9be77d60cf47df7ca26ee4f88c SHA512 6f55ae237fb834fa9376760eddf77553f9edb1b7328175c5f07232b160e4d5ea9d65caa91241f7d1db90845f9c02b8d41129cd453c1b09a4d6870e0e53ba0f8d WHIRLPOOL d08e5c2d2c488e558e02a272c1753defa2a200d37b2b113f1f1523dc06f6ee5dc7f37c60f598eff91c4aeb47a76bd0dd60c0fdd7d2a6b7fa0a7bbec2b60a88d2 diff --git a/dev-python/flake8/flake8-2.5.0.ebuild b/dev-python/flake8/flake8-2.5.0.ebuild new file mode 100644 index 000000000000..1393f6c4e0c2 --- /dev/null +++ b/dev-python/flake8/flake8-2.5.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) + +inherit distutils-r1 + +DESCRIPTION="A wrapper around PyFlakes, pep8 & mccabe" +HOMEPAGE="https://bitbucket.org/tarek/flake8 https://pypi.python.org/pypi/flake8" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +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" +IUSE="test" +LICENSE="MIT" +SLOT="0" + +# requires.txt inc. mccabe however that creates a circular dep +RDEPEND=">=dev-python/pyflakes-0.8.1[${PYTHON_USEDEP}] + <dev-python/pyflakes-1.1[${PYTHON_USEDEP}] + >=dev-python/pep8-1.5.7[${PYTHON_USEDEP}] + !=dev-python/pep8-1.6.1[${PYTHON_USEDEP}] + !=dev-python/pep8-1.6.2[${PYTHON_USEDEP}] + " +PDEPEND=">=dev-python/mccabe-0.2.1[${PYTHON_USEDEP}] + <dev-python/mccabe-0.4[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( ${PDEPEND} + dev-python/nose[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7) )" + +python_prepare_all() { + # This tests requires / assumes this version is already installed. + sed -e 's:test_register_extensions:_&:' -i flake8/tests/test_engine.py || die + + # Gentoo has flake8 support restored in >=pep8-1.6.2-r1. + sed -e 's:, != 1.6.2::' -i setup.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + esetup.py test +} |