Files
gentoo/dev-python/pyprof2calltree/pyprof2calltree-1.4.0.ebuild
David Seifert 12f508ad8f dev-python/pyprof2calltree: Remove Py2
Package-Manager: Portage-2.3.83, Repoman-2.3.20
Signed-off-by: David Seifert <soap@gentoo.org>
2019-12-28 17:14:54 +01:00

27 lines
664 B
Bash

# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{5,6} )
inherit distutils-r1
DESCRIPTION="convert python profile data to kcachegrind calltree form"
HOMEPAGE="https://pypi.org/project/pyprof2calltree/"
# pypi tarball lacks tests
SRC_URI="https://github.com/pwaller/pyprof2calltree/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
PATCHES=(
"${FILESDIR}"/pyprof2calltree-1.4.0-py3-test.patch
)
python_test() {
"${PYTHON}" -m tests.test_integration || die "Tests fail with ${EPYTHON}"
}