Files
gentoo/dev-python/whisper/whisper-1.1.10.ebuild
T
Michał Górny 91050352f0 dev-python/whisper: Workaround the test failure
Turns out that the test failure is caused by non-UTC timezone.  It's
a bug in the test, so just force UTC to work around it.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
2022-05-23 14:12:07 +02:00

35 lines
629 B
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3 python3_{8..11} )
inherit distutils-r1
DESCRIPTION="Fixed size round-robin style database"
HOMEPAGE="
https://github.com/graphite-project/whisper/
https://pypi.org/project/whisper/
"
SRC_URI="
https://github.com/graphite-project/whisper/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="Apache-2.0"
KEYWORDS="~amd64 ~x86"
SLOT="0"
RDEPEND="
dev-python/six[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
python_test() {
local -x TZ=UTC
epytest
}