mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 21:08:35 -07:00
dev-python/diff-cover: new package
Signed-off-by: Zac Medico <zmedico@gentoo.org> Package-Manager: Portage-2.3.50, Repoman-2.3.10
This commit is contained in:
1
dev-python/diff-cover/Manifest
Normal file
1
dev-python/diff-cover/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST diff-cover-1.0.4.tar.gz 73907 BLAKE2B 81562c30533739f950e52703ce235b214f66932f806a47b1ab245b69bba8ef46d4333924ddf2ba4ca6b70a7df85ae071805a4fac7181711495f46540c4a20301 SHA512 aa5646c5d097e2b3ace5807bde007c9d8ebcf99578dee2aff1174aaafbdb9777c4794a8e9ddd4dc6edb5af7f1afc812fce4410db87d0bab4159f044489eabb5b
|
||||
37
dev-python/diff-cover/diff-cover-1.0.4.ebuild
Normal file
37
dev-python/diff-cover/diff-cover-1.0.4.ebuild
Normal file
@@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Automatically find diff lines that need test coverage"
|
||||
HOMEPAGE="https://github.com/Bachmann1234/diff-cover"
|
||||
SRC_URI="https://github.com/Bachmann1234/diff-cover/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-2.7.1[${PYTHON_USEDEP}]
|
||||
dev-python/jinja2_pluralize[${PYTHON_USEDEP}]
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-python/flake8[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
<dev-python/pycodestyle-2.4.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyflakes[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
esetup.py test || die "tests failed with ${EPYTHON}"
|
||||
}
|
||||
12
dev-python/diff-cover/metadata.xml
Normal file
12
dev-python/diff-cover/metadata.xml
Normal file
@@ -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">diff_cover</remote-id>
|
||||
<remote-id type="github">Bachmann1234/diff-cover</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user