summaryrefslogtreecommitdiff
path: root/dev-python/pylama
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-10-22 11:09:47 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-10-22 11:09:47 +0100
commit64e107b9b6058580ff0432107eb37cefb0b2a7d8 (patch)
tree9a44e603e2ae365e2b1fe35ac37f73e830cdee1d /dev-python/pylama
parent957235cf19a691360c720f7913672adda4258ed0 (diff)
gentoo resync : 22.10.2018
Diffstat (limited to 'dev-python/pylama')
-rw-r--r--dev-python/pylama/Manifest3
-rw-r--r--dev-python/pylama/metadata.xml12
-rw-r--r--dev-python/pylama/pylama-7.6.5.ebuild36
3 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/pylama/Manifest b/dev-python/pylama/Manifest
new file mode 100644
index 000000000000..d02ee70613bf
--- /dev/null
+++ b/dev-python/pylama/Manifest
@@ -0,0 +1,3 @@
+DIST pylama-7.6.5.tar.gz 33680 BLAKE2B a80d976a6a5e7903f3e4aa6b36777b6a938d52980232d1858bbd602d277bce4b058f8ad404e6dc6692e6950ff36d8e698ff0e3afa44c06334a6bdbe728f15cdd SHA512 0ce2438622cdb3e85fb70d4246cdcc29940181dce82a1a641f6b7900a13f09cba0f871038992019a2e1ccc720dcd6dd5e21786bd8a2df40479a34c500a80fab4
+EBUILD pylama-7.6.5.ebuild 999 BLAKE2B f7fa24e0921f48d75ea85a06e03b968f4b5fb8bfad3b60df44618e594725278a9d80e655b0920361eb135085ab09494740ae01ad6167b8d63fb47622ec567fea SHA512 25e425b5072bdb19a055434ba80334a283d9d44853189b0d711d40b7a54ab6b77be53bdade5ebce669996477d0081dca110e90eaee520257543c82e6ecbcc9bc
+MISC metadata.xml 364 BLAKE2B e25838a0c27434d26117da6629070f6a3af99f5e48bd572812b2dadc979b99d551c3857bc4fa5ef23f7c9f53e16ed8bd2c5b91f1a1cd624047abd292e5fe5399 SHA512 add19bb038ff79b28e6af0aabeb1cd634214a38892533c3a5e4ca2c1ac9761e758dace11d47a276b449f9e895d74829b5532b7566c1b152e6e3b3dab625f36b9
diff --git a/dev-python/pylama/metadata.xml b/dev-python/pylama/metadata.xml
new file mode 100644
index 000000000000..15091e5bdcfa
--- /dev/null
+++ b/dev-python/pylama/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>zmedico@gentoo.org</email>
+ <name>Zac Medico</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">pylama</remote-id>
+ <remote-id type="github">klen/pylama</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/pylama/pylama-7.6.5.ebuild b/dev-python/pylama/pylama-7.6.5.ebuild
new file mode 100644
index 000000000000..6b5d0decb02c
--- /dev/null
+++ b/dev-python/pylama/pylama-7.6.5.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{5,6} )
+
+inherit distutils-r1
+
+DESCRIPTION="Code audit tool for python"
+HOMEPAGE="https://github.com/klen/pylama"
+SRC_URI="https://github.com/klen/pylama/archive/${PV}.tar.gz -> ${P}.tar.gz"
+# pypi tarball excludes unit tests
+#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ >=dev-python/mccabe-0.5.2[${PYTHON_USEDEP}]
+ >=dev-python/pycodestyle-2.3.1[${PYTHON_USEDEP}]
+ >=dev-python/pep257-2.0.0[${PYTHON_USEDEP}]
+ >=dev-python/pyflakes-1.5.0[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ test? (
+ >=dev-python/eradicate-0.2[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ >=dev-python/radon-1.4.2[${PYTHON_USEDEP}]
+ )"
+
+python_test() {
+ py.test -v test_pylama.py || die "tests failed with ${EPYTHON}"
+}