mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 11:20:48 -04:00
Python 3.10 / PyPy 3.10 targets were disabled on the 1st of May.
Finishes bb0aae8ad3
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
26 lines
604 B
Bash
26 lines
604 B
Bash
# Copyright 1999-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{11..12} )
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
PYPI_NO_NORMALIZE=1
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="Take The Time, a super-neat Python library for timing chunks of code"
|
|
HOMEPAGE="https://github.com/ErikBjare/TakeTheTime"
|
|
|
|
# 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"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
distutils_enable_tests unittest
|
|
|
|
python_test() {
|
|
eunittest tests
|
|
}
|