commit:     31636f108644aa9a8f4fb1349fa06ec4bdb3593f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 28 04:39:11 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Apr 28 05:20:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31636f10

dev-python/dirty-equals: Bump to 0.6.0

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

 dev-python/dirty-equals/Manifest                  |  1 +
 dev-python/dirty-equals/dirty-equals-0.6.0.ebuild | 46 +++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/dev-python/dirty-equals/Manifest b/dev-python/dirty-equals/Manifest
index 189aa37fd71d..1d913822bb8d 100644
--- a/dev-python/dirty-equals/Manifest
+++ b/dev-python/dirty-equals/Manifest
@@ -1 +1,2 @@
 DIST dirty-equals-0.5.0.gh.tar.gz 44684 BLAKE2B 
ccd0d4e254a529e2b3d1014390d3e21a869e145fc0d9913e01e896ce103d853315d496264fdf611aa1fded8c66673bcb9e38dc41984ebfc566a9621b99240f81
 SHA512 
5d89105e3eb4e3dd52423aafed6c3ddf50890cfb3c03623723d0ab79f9814e892ba91cf789fa495ecc663b03c49516687fc2c1bc548816d60ade4f64df561ab9
+DIST dirty-equals-0.6.0.gh.tar.gz 47114 BLAKE2B 
910f09e5f5b2ec62d3b4d50ac23a17ee481875b9ae7303faf9bb610282113941b8a121d39e14e1a63cae0433055e639b1bc2da5c1fc3a9ece4915e34c172f40b
 SHA512 
aff41b31c255294c2d6c3a3170daea56d98da4875f9ffdef96b522db24fbed92edf4618646b3e1b50680ce03fca1b9c2bb591730c397b85143ace846c513ac01

diff --git a/dev-python/dirty-equals/dirty-equals-0.6.0.ebuild 
b/dev-python/dirty-equals/dirty-equals-0.6.0.ebuild
new file mode 100644
index 000000000000..a20397b85bc0
--- /dev/null
+++ b/dev-python/dirty-equals/dirty-equals-0.6.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{9..11} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Doing dirty (but extremely useful) things with equals"
+HOMEPAGE="
+       https://dirty-equals.helpmanual.io/
+       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 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+       >=dev-python/pytz-2021.3[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               dev-python/packaging[${PYTHON_USEDEP}]
+               dev-python/pytest-mock[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+       local EPYTEST_IGNORE=(
+               # require unpackaged pytest-examples
+               tests/test_docs.py
+       )
+
+       local -x TZ=UTC
+       epytest
+}

Reply via email to