* [gentoo-commits] repo/proj/guru:master commit in: dev-python/icecream/
@ 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: afadd63eb5aacaa1f03e58bcfb5af657f2462205
Author: Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Sun Dec 3 22:34:00 2023 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sun Dec 3 22:34:00 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=afadd63e
dev-python/icecream: new package, add 2.1.3
Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>
dev-python/icecream/Manifest | 1 +
dev-python/icecream/icecream-2.1.3.ebuild | 34 +++++++++++++++++++++++++++++++
dev-python/icecream/metadata.xml | 12 +++++++++++
3 files changed, 47 insertions(+)
diff --git a/dev-python/icecream/Manifest b/dev-python/icecream/Manifest
new file mode 100644
index 0000000000..875e4c6ea8
--- /dev/null
+++ b/dev-python/icecream/Manifest
@@ -0,0 +1 @@
+DIST icecream-2.1.3.gh.tar.gz 38879 BLAKE2B 0a3f1e1c75730255dee4d11ffd5954bc0b6d84eb971865300f00e2015fba84561d179cc1640766841cb58483b741e14bb36ace31a6e4cee67321cb385fd85995 SHA512 b319109248c7ae65a24fe7fa85b7900435a3f681466612c0c25769fe3ee4cd2bc5305bff8be1bd36ca26064d54cf9738b58d24a6c1d9b3d3ebe93228656b3ee3
diff --git a/dev-python/icecream/icecream-2.1.3.ebuild b/dev-python/icecream/icecream-2.1.3.ebuild
new file mode 100644
index 0000000000..c00d306ea8
--- /dev/null
+++ b/dev-python/icecream/icecream-2.1.3.ebuild
@@ -0,0 +1,34 @@
+# 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..12} )
+inherit distutils-r1
+
+DESCRIPTION="Pythonic task execution"
+HOMEPAGE="https://github.com/gruns/icecream https://pypi.org/project/icecream/"
+SRC_URI="https://github.com/gruns/icecream/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ >=dev-python/colorama-0.3.9[${PYTHON_USEDEP}]
+ >=dev-python/pygments-2.2.0[${PYTHON_USEDEP}]
+ >=dev-python/executing-0.3.1[${PYTHON_USEDEP}]
+ >=dev-python/asttokens-2.0.1[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+
+distutils_enable_tests pytest
+EPYTEST_DESELECT=(
+ # Seems like those cannot work in the sandbox
+ tests/test_icecream.py::TestIceCream::testEnableDisable
+ tests/test_icecream.py::TestIceCream::testSingledispatchArgumentToString
+
+ # This one fails on Python3.12 because it is outdated
+ tests/test_icecream.py::TestIceCream::testMultilineContainerArgs
+)
diff --git a/dev-python/icecream/metadata.xml b/dev-python/icecream/metadata.xml
new file mode 100644
index 0000000000..f4bf55aa56
--- /dev/null
+++ b/dev-python/icecream/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>gasc@eurecom.fr</email>
+ <name>Gasc Henri</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">icecream</remote-id>
+ <remote-id type="github">gruns/icecream</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/icecream/
@ 2025-01-22 14:53 Haelwenn Monnier
0 siblings, 0 replies; 2+ messages in thread
From: Haelwenn Monnier @ 2025-01-22 14:53 UTC (permalink / raw
To: gentoo-commits
commit: 2b382d2dc9df1ac13aec32b3ccf12f89965e3a6d
Author: Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Tue Jan 21 12:48:22 2025 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Wed Jan 22 00:48:26 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2b382d2d
dev-python/icecream: add 2.1.4, drop 2.1.3
Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>
dev-python/icecream/Manifest | 2 +-
.../{icecream-2.1.3.ebuild => icecream-2.1.4.ebuild} | 15 ++++++---------
2 files changed, 7 insertions(+), 10 deletions(-)
diff --git a/dev-python/icecream/Manifest b/dev-python/icecream/Manifest
index 875e4c6ea..08debb956 100644
--- a/dev-python/icecream/Manifest
+++ b/dev-python/icecream/Manifest
@@ -1 +1 @@
-DIST icecream-2.1.3.gh.tar.gz 38879 BLAKE2B 0a3f1e1c75730255dee4d11ffd5954bc0b6d84eb971865300f00e2015fba84561d179cc1640766841cb58483b741e14bb36ace31a6e4cee67321cb385fd85995 SHA512 b319109248c7ae65a24fe7fa85b7900435a3f681466612c0c25769fe3ee4cd2bc5305bff8be1bd36ca26064d54cf9738b58d24a6c1d9b3d3ebe93228656b3ee3
+DIST icecream-2.1.4.gh.tar.gz 23930 BLAKE2B ac58c117b706cdbb5736203304228c0837ca987631714b5b083e5826ff065b889c1149a7c0b60878fce850654f1eb1ddaa6f4a98f7b24fdd31605c5a66c0ea80 SHA512 3ac6e567ca11d41e32966abc7a822180ac62e4840f28f06cde051e2717a8b81990a137b24f3a62fa5da35394a7fe0a2d6efbac70a1a0e610143fcb05ddd19007
diff --git a/dev-python/icecream/icecream-2.1.3.ebuild b/dev-python/icecream/icecream-2.1.4.ebuild
similarity index 69%
rename from dev-python/icecream/icecream-2.1.3.ebuild
rename to dev-python/icecream/icecream-2.1.4.ebuild
index ccaf099cd..068de642b 100644
--- a/dev-python/icecream/icecream-2.1.3.ebuild
+++ b/dev-python/icecream/icecream-2.1.4.ebuild
@@ -1,10 +1,11 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
+
inherit distutils-r1
DESCRIPTION="Pythonic task execution"
@@ -18,18 +19,14 @@ KEYWORDS="~amd64"
RDEPEND="
>=dev-python/colorama-0.3.9[${PYTHON_USEDEP}]
>=dev-python/pygments-2.2.0[${PYTHON_USEDEP}]
- >=dev-python/executing-0.3.1[${PYTHON_USEDEP}]
+ >=dev-python/executing-2.1.0[${PYTHON_USEDEP}]
>=dev-python/asttokens-2.0.1[${PYTHON_USEDEP}]
"
distutils_enable_tests unittest
python_prepare_all() {
- # https://github.com/gruns/icecream/pull/147
- sed -i 's/assertRegexpMatches/assertRegex/' tests/test_icecream.py || die
+ # Install tests package otherwise
+ sed -i 's/find_packages()/find_packages(exclude=["tests", "tests.*"])/' "${S}"/setup.py || die
distutils-r1_python_prepare_all
}
-
-python_test() {
- eunittest tests
-}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-01-22 14:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-22 14:53 [gentoo-commits] repo/proj/guru:master commit in: dev-python/icecream/ Haelwenn Monnier
-- 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