commit: a71f100403cabe5bd0698bb20702df968e8fcb3f Author: Patrick Lauer <patrick <AT> gentoo <DOT> org> AuthorDate: Thu Feb 18 18:10:06 2016 +0000 Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org> CommitDate: Thu Feb 18 18:13:22 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a71f1004
dev-python/flake8: Bump Package-Manager: portage-2.2.27 dev-python/flake8/Manifest | 1 + dev-python/flake8/flake8-2.5.4.ebuild | 52 +++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/dev-python/flake8/Manifest b/dev-python/flake8/Manifest index b9f1fc5..94dd1f3 100644 --- a/dev-python/flake8/Manifest +++ b/dev-python/flake8/Manifest @@ -4,3 +4,4 @@ DIST flake8-2.2.5.tar.gz 28333 SHA256 285e8bd730c0b6fdfbe23c32d2936bffba401f23ca 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 +DIST flake8-2.5.4.tar.gz 81663 SHA256 cc1e58179f6cf10524c7bfdd378f5536d0a61497688517791639a5ecc867492f SHA512 31cbec556fc41361ac464d2547275e319ab663c907a4a8644113a2288a9f349bcfbec85197b6dfa13a7db9e82419f01e0f2abc84a347e133c144ea137e0daa28 WHIRLPOOL 2547b78092b1a85edd2a0d03d9e0bc31e7d3b7cb3958cf5dea9947377851a69d5c37f64c0d65a5d7e88ab9573597729adbe07ae758b0510e455b26bf62292f47 diff --git a/dev-python/flake8/flake8-2.5.4.ebuild b/dev-python/flake8/flake8-2.5.4.ebuild new file mode 100644 index 0000000..f52a453 --- /dev/null +++ b/dev-python/flake8/flake8-2.5.4.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_{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}] + " +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) + >=dev-python/mccabe-0.2.1[${PYTHON_USEDEP}] + <dev-python/mccabe-0.4[${PYTHON_USEDEP}] + )" +PDEPEND=" + >=dev-python/mccabe-0.2.1[${PYTHON_USEDEP}] + <dev-python/mccabe-0.4[${PYTHON_USEDEP}]" + +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 +}