mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-19 15:59:00 -04:00
Doesn't seem necessary at first but according to the guide [1] it could cause troubles if it's not enabled. Bugs have been observed in upsteam CI indeed when Python sees two copies of the source [2]. [1] https://projects.gentoo.org/python/guide/test.html#importerrors-for-c-extensions [2] https://github.com/zhuyifei1999/guppy3/issues/37 Signed-off-by: YiFei Zhu <zhuyifei1999@gmail.com>
25 lines
522 B
Bash
25 lines
522 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"
|
|
|
|
python_test() {
|
|
cd "${T}" || die
|
|
"${EPYTHON}" "${S}"/guppy/heapy/test/test_all.py || die
|
|
}
|