public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/invoke/
@ 2023-12-04  7:11 Viorel Munteanu
  0 siblings, 0 replies; 2+ messages in thread
From: Viorel Munteanu @ 2023-12-04  7:11 UTC (permalink / raw
  To: gentoo-commits

commit:     d0cfa6a590e6ce0b6d0bd86032faebbdff3f9c40
Author:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Sun Dec  3 22:53:35 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sun Dec  3 22:53:35 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d0cfa6a5

dev-python/invoke: allow tests

Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>

 dev-python/invoke/invoke-2.2.0.ebuild | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)

diff --git a/dev-python/invoke/invoke-2.2.0.ebuild b/dev-python/invoke/invoke-2.2.0.ebuild
index 5e5ff8f517..cf85db35d0 100644
--- a/dev-python/invoke/invoke-2.2.0.ebuild
+++ b/dev-python/invoke/invoke-2.2.0.ebuild
@@ -15,7 +15,19 @@ LICENSE="BSD-2"
 SLOT="0"
 KEYWORDS="~amd64"
 
-src_prepare(){
-	rm -r ./invoke/vendor/yaml2
-	eapply_user
-}
+BDEPEND="
+	test? (
+		dev-python/decorator[${PYTHON_USEDEP}]
+		>=dev-python/icecream-2.1[${PYTHON_USEDEP}]
+		>=dev-python/pytest-cov-4[${PYTHON_USEDEP}]
+		>=dev-python/pytest-relaxed-2[${PYTHON_USEDEP}]
+	)
+"
+
+distutils_enable_tests pytest
+EPYTEST_DESELECT=(
+	# Most of those fails with "OSError: reading from stdin while output is captured"
+	# seems like it is because I do the testing in a chroot
+	# Because there are 112 tests that fails, I'd rather skip the file than manually add 112 tests
+	tests/runners.py
+)


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-python/invoke/
@ 2023-12-04  7:11 Viorel Munteanu
  0 siblings, 0 replies; 2+ messages in thread
From: Viorel Munteanu @ 2023-12-04  7:11 UTC (permalink / raw
  To: gentoo-commits

commit:     c43fe84ed146479c2d38a5b22637b02a83ef2228
Author:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Sun Dec  3 21:41:58 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sun Dec  3 22:00:58 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c43fe84e

dev-python/invoke: add 2.2.0, drop 2.0.0

Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>

 dev-python/invoke/Manifest                                     | 2 +-
 dev-python/invoke/{invoke-2.0.0.ebuild => invoke-2.2.0.ebuild} | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-python/invoke/Manifest b/dev-python/invoke/Manifest
index 27a59726cb..066979d60c 100644
--- a/dev-python/invoke/Manifest
+++ b/dev-python/invoke/Manifest
@@ -1 +1 @@
-DIST invoke-2.0.0.gh.tar.gz 308039 BLAKE2B 1c4e601014be953fcdef502d9d513db8deec75afc64f0445fd5eae0a05b04d9ebeffc1266cb25184f0e6dc0dc49d712661f4644258db6226e060ea20b735772e SHA512 d7ae2099f550216bd1ea7df1d3d6c253fc4740a1ef945a64d0293670eef4913b5a5d170ff2052bdff7c9801da31fbdc5bc6b323d4467caba4d1486839bca3ba1
+DIST invoke-2.2.0.gh.tar.gz 309433 BLAKE2B 9b68a9e7e8b2b8cd27a449569847e6ea67b6de01574dd2d5ca8d93486e6f8ead2d2c1a507af665ab19b8482c4c4172a671b8f65d8f1e41f004a7d1e4294268d3 SHA512 3d0adabec4825fb45524d3ab4f2a790d31245a89e038c08c770fc9f33c81ed182769e8f17d3d6f33a913b431cba475b975826ddfd533a945d481b52deba759a2

diff --git a/dev-python/invoke/invoke-2.0.0.ebuild b/dev-python/invoke/invoke-2.2.0.ebuild
similarity index 86%
rename from dev-python/invoke/invoke-2.0.0.ebuild
rename to dev-python/invoke/invoke-2.2.0.ebuild
index 57d5edebab..5e5ff8f517 100644
--- a/dev-python/invoke/invoke-2.0.0.ebuild
+++ b/dev-python/invoke/invoke-2.2.0.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 inherit distutils-r1
 
 DESCRIPTION="Pythonic task execution"


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-04  7:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-04  7:11 [gentoo-commits] repo/proj/guru:master commit in: dev-python/invoke/ Viorel Munteanu
  -- strict thread matches above, loose matches on Subject: below --
2023-12-04  7:11 Viorel Munteanu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox