dev-python/pytest-pep8: Initial commit.
authorLars Wendler <polynomial-c@gentoo.org>
Wed, 30 Nov 2016 14:23:58 +0000 (15:23 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Wed, 30 Nov 2016 14:29:36 +0000 (15:29 +0100)
Package-Manager: portage-2.3.2

dev-python/pytest-pep8/Manifest [new file with mode: 0644]
dev-python/pytest-pep8/metadata.xml [new file with mode: 0644]
dev-python/pytest-pep8/pytest-pep8-1.0.6.ebuild [new file with mode: 0644]

diff --git a/dev-python/pytest-pep8/Manifest b/dev-python/pytest-pep8/Manifest
new file mode 100644 (file)
index 0000000..4828d98
--- /dev/null
@@ -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 (file)
index 0000000..d127354
--- /dev/null
@@ -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 (file)
index 0000000..dd03d87
--- /dev/null
@@ -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
+}