2015-04-08 16:23:29 +03:00
|
|
|
# Copyright 1999-2015 Gentoo Foundation
|
2013-04-28 05:49:31 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=5
|
2016-11-02 01:53:05 +03:00
|
|
|
PYTHON_COMPAT=(python2_7 )
|
2013-04-28 05:49:31 +04:00
|
|
|
|
|
|
|
inherit distutils-r1
|
|
|
|
|
|
|
|
DESCRIPTION="Passive checker for Python programs"
|
2015-08-24 15:08:46 +03:00
|
|
|
HOMEPAGE="https://launchpad.net/pyflakes https://pypi.python.org/pypi/pyflakes"
|
2013-04-28 05:49:31 +04:00
|
|
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="MIT"
|
|
|
|
SLOT="0"
|
2013-08-20 06:17:53 +04:00
|
|
|
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~arm-linux ~x86-linux ~x86-macos"
|
2013-06-01 02:42:57 +04:00
|
|
|
IUSE="test"
|
2013-04-28 05:49:31 +04:00
|
|
|
|
2013-12-15 21:40:01 +04:00
|
|
|
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
|
|
|
DEPEND="${RDEPEND}
|
|
|
|
test? ( dev-python/unittest2[${PYTHON_USEDEP}] )"
|
2013-04-28 05:49:31 +04:00
|
|
|
|
|
|
|
python_test() {
|
2013-06-01 02:42:57 +04:00
|
|
|
# a known failure of 1 test in py3.2.4
|
|
|
|
# https://bugs.launchpad.net/pyflakes/+bug/1172463
|
2013-04-28 05:49:31 +04:00
|
|
|
esetup.py test --quiet
|
|
|
|
}
|