mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-14 17:43:11 -04:00
dev-python/codecov: update HOMEPAGE, SRC_URI, disable tests
Closes: https://bugs.gentoo.org/894282 Signed-off-by: Henri Gasc <gasc@eurecom.fr>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -9,25 +9,31 @@ PYTHON_COMPAT=( python3_{9..11} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Hosted coverage reports for GitHub, Bitbucket and Gitlab"
|
||||
HOMEPAGE="https://github.com/codecov/codecov-python https://pypi.org/project/codecov/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
HOMEPAGE="https://github.com/codecov/codecov-python https://pypi.org/project/codecov"
|
||||
SRC_URI="https://github.com/codecov/codecov-python/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
S="${WORKDIR}/codecov-python-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DOCS=""
|
||||
|
||||
RDEPEND=">=dev-python/requests-2.7.9[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
py.test -v -v || die
|
||||
python_prepare_all() {
|
||||
# The tests does not follow the naming convention
|
||||
rm -r "${S}/tests"
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
# BDEPEND="
|
||||
# test? (
|
||||
# dev-python/pytest[${PYTHON_USEDEP}]
|
||||
# dev-python/ddt[${PYTHON_USEDEP}]
|
||||
# dev-python/mock[${PYTHON_USEDEP}]
|
||||
# dev-python/pytest-cov[${PYTHON_USEDEP}]
|
||||
# dev-python/funcsigs[${PYTHON_USEDEP}]
|
||||
# dev-python/requests[${PYTHON_USEDEP}]
|
||||
# dev-python/black[${PYTHON_USEDEP}]
|
||||
# )"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
# distutils_enable_tests pytest
|
||||
|
||||
Reference in New Issue
Block a user