Files
guru/dev-python/guppy3/guppy3-3.1.3-r1.ebuild
YiFei Zhu 1c62f2e440 dev-python/guppy3: Fix assertion on USE=debug
Applied patch upstream.

Closes: https://bugs.gentoo.org/906937
Signed-off-by: YiFei Zhu <zhuyifei1999@gmail.com>
2023-05-22 16:14:35 -07:00

29 lines
591 B
Bash

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_EXT=1
inherit distutils-r1 pypi
DESCRIPTION="A Python Programming Environment & Heap analysis toolset"
HOMEPAGE="
https://pypi.org/project/guppy3/
https://zhuyifei1999.github.io/guppy3/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
PATCHES=(
"${FILESDIR}"/guppy3-3.1.3-py311-refcount-assert.patch
)
python_test() {
cd "${T}" || die
"${EPYTHON}" "${S}"/guppy/heapy/test/test_all.py || die
}