diff --git a/dev-python/pytest-pep8/Manifest b/dev-python/pytest-pep8/Manifest new file mode 100644 index 0000000000000..4828d98b7f896 --- /dev/null +++ b/dev-python/pytest-pep8/Manifest @@ -0,0 +1 @@ +DIST pytest-pep8-1.0.6.tar.gz 7271 SHA256 032ef7e5fa3ac30f4458c73e05bb67b0f036a8a5cb418a534b3170f89f120318 SHA512 162d9e25c264ecd82a51c6798ae75493c724a847ad8cdd953225f73e587f9a14298a6281e541695f6e7471a6121e9b0e4f694270f45ead851e392efcd7aeb758 WHIRLPOOL a1132d582b1bab47e3cf61d46111c1c2a59acf0d9a4858153ad0618c3eb514fee6f4ef23dd3b1b5c8d3b7573fb3493ec577e67d6834b0bb3dafa8655fb9ad926 diff --git a/dev-python/pytest-pep8/metadata.xml b/dev-python/pytest-pep8/metadata.xml new file mode 100644 index 0000000000000..d127354cc52b7 --- /dev/null +++ b/dev-python/pytest-pep8/metadata.xml @@ -0,0 +1,11 @@ + + + + + python@gentoo.org + Python + + + pytest-pep8 + + diff --git a/dev-python/pytest-pep8/pytest-pep8-1.0.6.ebuild b/dev-python/pytest-pep8/pytest-pep8-1.0.6.ebuild new file mode 100644 index 0000000000000..dd03d872fb3c4 --- /dev/null +++ b/dev-python/pytest-pep8/pytest-pep8-1.0.6.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="pytest plugin to check PEP8 requirements" +HOMEPAGE="https://pypi.python.org/pypi/pytest-pep8" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + >=dev-python/pep8-1.3[${PYTHON_USEDEP}] + >=dev-python/pytest-2.4.2[${PYTHON_USEDEP}] + dev-python/pytest-cache[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" + +python_test() { + ${EPYTHON} test_pep8.py || die +}