diff options
author | Patrick Lauer <patrick@gentoo.org> | 2016-01-05 14:05:21 +0100 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2016-01-05 14:05:41 +0100 |
commit | e0107b4a8750b1f4c71b9d580e92b8b61cb4ff87 (patch) | |
tree | 8b189c358f3bb02f42686ca5bd22ad5797484d60 /dev-python/flake8 | |
parent | dev-perl/Test-MockModule: Add missing dependencies, straight to stable (diff) | |
download | gentoo-e0107b4a8750b1f4c71b9d580e92b8b61cb4ff87.tar.gz gentoo-e0107b4a8750b1f4c71b9d580e92b8b61cb4ff87.tar.bz2 gentoo-e0107b4a8750b1f4c71b9d580e92b8b61cb4ff87.zip |
dev-python/flake8: Bump
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-python/flake8')
-rw-r--r-- | dev-python/flake8/Manifest | 1 | ||||
-rw-r--r-- | dev-python/flake8/flake8-2.5.1.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/flake8/Manifest b/dev-python/flake8/Manifest index 8ef865a228f4..b9f1fc5405ba 100644 --- a/dev-python/flake8/Manifest +++ b/dev-python/flake8/Manifest @@ -3,3 +3,4 @@ DIST flake8-2.1.0.tar.gz 25010 SHA256 098ab7991067c08cfaa4716de20066d90f66dbc715 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 +DIST flake8-2.5.1.tar.gz 83692 SHA256 448aed48b0671fe6062f47b98c3081f3a4b36fbe99ddb8ac2a3be6e6cb135603 SHA512 030d2464717f62e3c5501631e7bc4482321086ca3e7f7dfe845dab66aaf38be94565c1e147792ba7e7d2850fd5290e61a24fe1006daf18c3be2ff81348c5731c WHIRLPOOL 63a6915eeb32be4aa51f3b69c5c6918c3a2953a4dff203515d20a10e58dc12cf7732a5e715b279c17d2a0e4b77f6879dc9f489395ddbcb6d0c340a21be39f9e4 diff --git a/dev-python/flake8/flake8-2.5.1.ebuild b/dev-python/flake8/flake8-2.5.1.ebuild new file mode 100644 index 000000000000..1393f6c4e0c2 --- /dev/null +++ b/dev-python/flake8/flake8-2.5.1.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 +} |