diff options
Diffstat (limited to 'dev-util/gcovr/gcovr-4.1.ebuild')
-rw-r--r-- | dev-util/gcovr/gcovr-4.1.ebuild | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/dev-util/gcovr/gcovr-4.1.ebuild b/dev-util/gcovr/gcovr-4.1.ebuild deleted file mode 100644 index e8f28f45b39e..000000000000 --- a/dev-util/gcovr/gcovr-4.1.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_6 ) - -inherit distutils-r1 - -DESCRIPTION="A Python script for summarizing gcov data" -HOMEPAGE="https://github.com/gcovr/gcovr" -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -SRC_URI="https://github.com/gcovr/gcovr/archive/${PV}.tar.gz -> ${P}.tar.gz" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" - -# a bunch of "unknown module" failures -RESTRICT="test" - -python_test() { - mkdir "${T}/bin" || die - printf -- "#!/bin/bash\nexec PYTHONPATH=\"%s\" python -c 'import gcovr.__main__; gcovr.__main__.main()' -- \"${@}\"" \ - "${BUILD_DIR}/lib" \ - > "${T}/bin/gcovr" - - chmod 755 "${T}/bin/gcovr" || die - - PATH="${T}/bin:${PATH}" ${EPYTHON} -m pytest -vv || die -} |