commit:     a0cec46e7acc5775348af22b61ff8bed3a4f8950
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 20 05:35:48 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Sep 20 06:02:17 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0cec46e

dev-python/dirty-equals: Bump to 0.10.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/dirty-equals/Manifest                   |  1 +
 dev-python/dirty-equals/dirty-equals-0.10.0.ebuild | 54 ++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/dev-python/dirty-equals/Manifest b/dev-python/dirty-equals/Manifest
index c66a85d17ea8..5aef339f981b 100644
--- a/dev-python/dirty-equals/Manifest
+++ b/dev-python/dirty-equals/Manifest
@@ -1 +1,2 @@
+DIST dirty-equals-0.10.0.gh.tar.gz 126610 BLAKE2B 
ebf748b627407973d259a9c85e754adb05c79af27eb871f722c0d14ff90c9c9fe257e2d7a46649f884326feecff3e3fa855ea380381eb59de4a31b092f828403
 SHA512 
c84d14e2399da273e48c6f125ea1fc9caf5824845106a88ba95c0d8e836bacb54b8113959d346a914ca344609ee58150839405ac1ec2f6a187e2f29b8601a4cb
 DIST dirty-equals-0.9.0.gh.tar.gz 50607 BLAKE2B 
ec569a818b067a9162d8efefffc9cfae7a7a3ee7ebf1e3659334d4123644046d5195849a9bde0c93f29d23e32657eae2bf692376a6928a8e82044b5fe54a530d
 SHA512 
5e0a3f465c1a0bc70292ab013e5622afdfa1150e3315cfde7cc6dfb458000cc925a9ec6c54fb93bfe287b2c497dbbadc6ebe8e100819e537c7e6769a7ce61776

diff --git a/dev-python/dirty-equals/dirty-equals-0.10.0.ebuild 
b/dev-python/dirty-equals/dirty-equals-0.10.0.ebuild
new file mode 100644
index 000000000000..08e1c1f3b11a
--- /dev/null
+++ b/dev-python/dirty-equals/dirty-equals-0.10.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_FULLY_TESTED=( python3_{10..13} pypy3_11 pypy3 )
+PYTHON_COMPAT=( "${PYTHON_FULLY_TESTED[@]}" python3_14 )
+
+inherit distutils-r1
+
+DESCRIPTION="Doing dirty (but extremely useful) things with equals"
+HOMEPAGE="
+       https://dirty-equals.helpmanual.io/latest/
+       https://github.com/samuelcolvin/dirty-equals/
+       https://pypi.org/project/dirty-equals/
+"
+SRC_URI="
+       https://github.com/samuelcolvin/dirty-equals/archive/v${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+BDEPEND="
+       test? (
+               dev-python/packaging[${PYTHON_USEDEP}]
+               $(python_gen_cond_dep '
+                       >=dev-python/pydantic-2.4.2[${PYTHON_USEDEP}]
+               ' "${PYTHON_FULLY_TESTED[@]}")
+               >=dev-python/pytz-2021.3[${PYTHON_USEDEP}]
+       )
+"
+
+EPYTEST_PLUGINS=( pytest-mock )
+distutils_enable_tests pytest
+
+python_test() {
+       local EPYTEST_IGNORE=(
+               # require unpackaged pytest-examples
+               tests/test_docs.py
+       )
+
+       if ! has_version "dev-python/pydantic[${PYTHON_USEDEP}]"; then
+               EPYTEST_IGNORE+=(
+                       tests/test_other.py
+               )
+       fi
+
+       local -x TZ=UTC
+       epytest "${args[@]}"
+}

Reply via email to