commit: 7607bbceb4eed4057be1c613bc443e1aba3d687b
Author: David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Thu Aug 17 12:22:44 2023 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Aug 17 12:23:24 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7607bbce
dev-python/TakeTheTime: update SRC_URI
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>
dev-python/TakeTheTime/Manifest | 2 +-
dev-python/TakeTheTime/TakeTheTime-0.3.1.ebuild | 15 ++++++++++-----
2 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/dev-python/TakeTheTime/Manifest b/dev-python/TakeTheTime/Manifest
index ff55b8211d..b920959efd 100644
--- a/dev-python/TakeTheTime/Manifest
+++ b/dev-python/TakeTheTime/Manifest
@@ -1 +1 @@
-DIST TakeTheTime-0.3.1.tar.gz 2072 BLAKE2B
2ac8001bc5afe01dd502a7580b9dbe7f4dea7e12c44ddca9e7e1b12a70f3dc38b417702cb69431df75bc81168187cf39d42c8e0860d98ae25b038c0b868b6b6c
SHA512
fd31cd909717ed0ada764699e450caae3e0a12f90c563ade99e060acff88f663d9ba386944ee6f6571737785ada5aceb4fdc41a52d0f0ff7202e732c621396ea
+DIST TakeTheTime-0.3.1.gh.tar.gz 2916 BLAKE2B
841edd7e06d45ce6f2774a8464c391500651a9762ff85115d9b13d9f45e68f7ae7e0aef0d588d5e9cce0ee98b1c5343cef83fe9b026c074cbe27c2e6837ffb72
SHA512
ef33101d850ff39ed85b5f26fa90fb7ece1e85ee39e7f611b444e0d2cba181698cc99bd4183285b24da2a740b6fbf315f2f35d7f67ce67b53acefab0b2eaaee5
diff --git a/dev-python/TakeTheTime/TakeTheTime-0.3.1.ebuild
b/dev-python/TakeTheTime/TakeTheTime-0.3.1.ebuild
index a8a43745f1..fd6d03ccb5 100644
--- a/dev-python/TakeTheTime/TakeTheTime-0.3.1.ebuild
+++ b/dev-python/TakeTheTime/TakeTheTime-0.3.1.ebuild
@@ -3,18 +3,23 @@
EAPI=8
-PYTHON_COMPAT=( python3_{10..11} pypy3 )
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
-inherit distutils-r1 pypi
+inherit distutils-r1
DESCRIPTION="Take The Time, a super-neat Python library for timing chunks of
code"
HOMEPAGE="https://github.com/ErikBjare/TakeTheTime"
-LICENSE="MIT"
+# 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"
KEYWORDS="~amd64"
SLOT="0"
-# Not available for now
-RESTRICT="test"
+distutils_enable_tests unittest
+
+python_test() {
+ eunittest tests
+}