summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-06-21 16:01:38 +0200
committerManuel Rüger <mrueg@gentoo.org>2017-06-21 16:01:38 +0200
commit41982a2524f2d0f8fba36aee3eac0b879f5cc20b (patch)
treed309529afb335a15e108f9f18633dae2b08ed99f /dev-python/pycobertura
parentapp-text/xdvik: Honour SYSROOT to fix cross compilation. (diff)
downloadgentoo-41982a2524f2d0f8fba36aee3eac0b879f5cc20b.tar.gz
gentoo-41982a2524f2d0f8fba36aee3eac0b879f5cc20b.tar.bz2
gentoo-41982a2524f2d0f8fba36aee3eac0b879f5cc20b.zip
dev-python/pycobertura: Initial version
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-python/pycobertura')
-rw-r--r--dev-python/pycobertura/Manifest1
-rw-r--r--dev-python/pycobertura/metadata.xml16
-rw-r--r--dev-python/pycobertura/pycobertura-0.10.0.ebuild30
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/pycobertura/Manifest b/dev-python/pycobertura/Manifest
new file mode 100644
index 000000000000..dac2527048e5
--- /dev/null
+++ b/dev-python/pycobertura/Manifest
@@ -0,0 +1 @@
+DIST pycobertura-0.10.0.tar.gz 54209 SHA256 bca6b056dc166081fb6b450bcdd28a49185f0bd97ed9303cdd3fbf914e4777b2 SHA512 47e64c462aa09c871eb6ccffcb5cff8870b332082b79d7642da540014d3b5c3c59fcdef62ee71a2405af48b1393d4f13c79fabb9d182026024cc4887b8681422 WHIRLPOOL 9af42efe7a3080130e5df14c25ed6e99c0404f2d2f96c52feaa65640d46824878fbadd2492f64408191d36ccc1aa3a857d98e8bb998319b0459c9c384630a253
diff --git a/dev-python/pycobertura/metadata.xml b/dev-python/pycobertura/metadata.xml
new file mode 100644
index 000000000000..207d762af9fe
--- /dev/null
+++ b/dev-python/pycobertura/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mrueg@gentoo.org</email>
+ <name>Manuel Rüger</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">SurveyMonkey/pycobertura</remote-id>
+ <remote-id type="pypi">pycoberutra</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/pycobertura/pycobertura-0.10.0.ebuild b/dev-python/pycobertura/pycobertura-0.10.0.ebuild
new file mode 100644
index 000000000000..4eb805a2a6dd
--- /dev/null
+++ b/dev-python/pycobertura/pycobertura-0.10.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_4 )
+inherit distutils-r1
+
+DESCRIPTION="Cobertura coverage parser that can diff reports and show coverage progress"
+HOMEPAGE="https://github.com/SurveyMonkey/pycobertura"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ >=dev-python/click-4.0[${PYTHON_USEDEP}]
+ dev-python/jinja[${PYTHON_USEDEP}]
+ dev-python/lxml[${PYTHON_USEDEP}]
+ dev-python/tabulate[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools-git[${PYTHON_USEDEP}]
+ test? ( dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/pytest-cov[${PYTHON_USEDEP}] )"
+
+python_test() {
+ py.test || die
+}