Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/dirty-equals/
Date: Sun, 01 May 2022 07:30:45
Message-Id: 1651390223.3cd03612db837f2cef4c695a93f28fe8b7be0f08.mgorny@gentoo
1 commit: 3cd03612db837f2cef4c695a93f28fe8b7be0f08
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 1 07:03:18 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun May 1 07:30:23 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cd03612
7
8 dev-python/dirty-equals: Bump to 0.4
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/dirty-equals/Manifest | 1 +
13 dev-python/dirty-equals/dirty-equals-0.4.ebuild | 40 +++++++++++++++++++++++++
14 2 files changed, 41 insertions(+)
15
16 diff --git a/dev-python/dirty-equals/Manifest b/dev-python/dirty-equals/Manifest
17 index 1060596d4408..6f04bc80fdc4 100644
18 --- a/dev-python/dirty-equals/Manifest
19 +++ b/dev-python/dirty-equals/Manifest
20 @@ -1 +1,2 @@
21 DIST dirty-equals-0.3.gh.tar.gz 41665 BLAKE2B af46fb9b7f0e0eb6aba09e682db73b8eef4ab9d73523cf81fb510c093cbaaa18f87c9666094aa05031eda1c32374113bc59b404ab987472821aa21ef135c038d SHA512 b6bf9a241abdbf9f74dec6efa48a23d3a665910d964947b4583127930e940001600b410d524ab1ac48c75a030f1a37528a8dbce30e982f09f913b2b3afca77f1
22 +DIST dirty-equals-0.4.gh.tar.gz 41864 BLAKE2B 0b916d37b323e9f587a977b46415432bc11367a6d0c95ac49e47fe604b3ee16c26eaecbbe74464076834c6186f5f0eecc049b211699a3f515ef7fdadc492537a SHA512 f98fa8c9850f26efc44dc2c5cc0ea6d687c07b49980c3eeaa71eaae78930e418c03bb35cb88aab065905443fa354b9b05d44a588458ed37d140d376b943c9da9
23
24 diff --git a/dev-python/dirty-equals/dirty-equals-0.4.ebuild b/dev-python/dirty-equals/dirty-equals-0.4.ebuild
25 new file mode 100644
26 index 000000000000..2f8a22f1ddcc
27 --- /dev/null
28 +++ b/dev-python/dirty-equals/dirty-equals-0.4.ebuild
29 @@ -0,0 +1,40 @@
30 +# Copyright 2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=poetry
36 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Doing dirty (but extremely useful) things with equals"
41 +HOMEPAGE="
42 + https://dirty-equals.helpmanual.io/
43 + https://github.com/samuelcolvin/dirty-equals/
44 + https://pypi.org/project/dirty-equals/
45 +"
46 +SRC_URI="
47 + https://github.com/samuelcolvin/dirty-equals/archive/v${PV}.tar.gz
48 + -> ${P}.gh.tar.gz
49 +"
50 +
51 +LICENSE="MIT"
52 +SLOT="0"
53 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
54 +
55 +RDEPEND="
56 + >=dev-python/pytz-2021.3[${PYTHON_USEDEP}]
57 +"
58 +BDEPEND="
59 + test? (
60 + dev-python/pytest-mock[${PYTHON_USEDEP}]
61 + )
62 +"
63 +
64 +distutils_enable_tests pytest
65 +
66 +python_test() {
67 + local -x TZ=UTC
68 + epytest
69 +}