2022-06-21 00:07:23 +02:00
|
|
|
# Copyright 1999-2022 Gentoo Authors
|
2022-06-09 00:24:26 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
|
|
EAPI=8
|
|
|
|
|
|
2023-08-17 14:22:44 +02:00
|
|
|
PYTHON_COMPAT=( python3_{10..12} pypy3 )
|
2022-06-09 00:24:26 +02:00
|
|
|
DISTUTILS_USE_PEP517=setuptools
|
2023-03-17 18:06:14 +05:00
|
|
|
PYPI_NO_NORMALIZE=1
|
2023-08-17 14:22:44 +02:00
|
|
|
inherit distutils-r1
|
2022-06-09 00:24:26 +02:00
|
|
|
|
|
|
|
|
DESCRIPTION="Take The Time, a super-neat Python library for timing chunks of code"
|
|
|
|
|
HOMEPAGE="https://github.com/ErikBjare/TakeTheTime"
|
|
|
|
|
|
2023-08-17 14:22:44 +02:00
|
|
|
# pypi doesn't contains the tests
|
|
|
|
|
SRC_URI="https://github.com/ErikBjare/TakeTheTime/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
|
|
|
|
LICENSE="MIT"
|
2022-06-09 00:24:26 +02:00
|
|
|
|
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
|
SLOT="0"
|
|
|
|
|
|
2023-08-17 14:22:44 +02:00
|
|
|
distutils_enable_tests unittest
|
|
|
|
|
|
|
|
|
|
python_test() {
|
|
|
|
|
eunittest tests
|
|
|
|
|
}
|