summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-11-30 15:23:58 +0100
committerLars Wendler <polynomial-c@gentoo.org>2016-11-30 15:29:36 +0100
commitd0e539e84b193fd9c51717e3e62aa444f0d5bdb0 (patch)
tree34804d667dd0c41f6fafacb2504e33cf25d51f8e /dev-python/pytest-pep8
parentkde-apps/cantor: Add missing DEPENDs, improve backends einfo (diff)
downloadgentoo-d0e539e84b193fd9c51717e3e62aa444f0d5bdb0.tar.gz
gentoo-d0e539e84b193fd9c51717e3e62aa444f0d5bdb0.tar.bz2
gentoo-d0e539e84b193fd9c51717e3e62aa444f0d5bdb0.zip
dev-python/pytest-pep8: Initial commit.
Package-Manager: portage-2.3.2
Diffstat (limited to 'dev-python/pytest-pep8')
-rw-r--r--dev-python/pytest-pep8/Manifest1
-rw-r--r--dev-python/pytest-pep8/metadata.xml11
-rw-r--r--dev-python/pytest-pep8/pytest-pep8-1.0.6.ebuild29
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/pytest-pep8/Manifest b/dev-python/pytest-pep8/Manifest
new file mode 100644
index 00000000000..4828d98b7f8
--- /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 00000000000..d127354cc52
--- /dev/null
+++ b/dev-python/pytest-pep8/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">pytest-pep8</remote-id>
+ </upstream>
+</pkgmetadata>
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 00000000000..dd03d872fb3
--- /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
+}