Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/betamax-matchers/
Date: Sat, 16 Oct 2021 13:48:06
Message-Id: 1634392066.3db6e75fb12eb69e6697c94496003ec2b7cc104e.arthurzam@gentoo
1 commit: 3db6e75fb12eb69e6697c94496003ec2b7cc104e
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 16 13:34:44 2021 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 16 13:47:46 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3db6e75f
7
8 dev-python/betamax-matchers: enable tests, enable py3.10
9
10 Use tests from upstream github repo
11
12 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
13
14 dev-python/betamax-matchers/Manifest | 2 +-
15 .../betamax-matchers/betamax-matchers-0.4.0.ebuild | 17 +++++++++--------
16 2 files changed, 10 insertions(+), 9 deletions(-)
17
18 diff --git a/dev-python/betamax-matchers/Manifest b/dev-python/betamax-matchers/Manifest
19 index 4b2ac992e4c..7a529f12176 100644
20 --- a/dev-python/betamax-matchers/Manifest
21 +++ b/dev-python/betamax-matchers/Manifest
22 @@ -1 +1 @@
23 -DIST betamax-matchers-0.4.0.tar.gz 4205 BLAKE2B d9f626b61195135b260b0b4d43e0f62ed18721aef7c03602e117c9efedecb88fc891972b30aceed1fc29502a0982a18f8a57ce264f81fb89906e455b70b9afa0 SHA512 325a8165205c21193b4c136aa4d35a855f9529d6ed5809a1306ae7a3e7a49790928b68104da04a918ff3673ad2ede3e4bd901019bde460a8e42e2c5d96fb8abf
24 +DIST betamax-matchers-0.4.0.gh.tar.gz 5228 BLAKE2B ac4f3ed3df559e26eb88068ef39fe7b890bb003881b95dfe6a72d8622773d76e3b3879a74f508e3849064121086868ba183e53c86387d59d1cc0a1640006bea2 SHA512 202255d9895b118d03efa20aa64f5b099045750dcb9a1ad3eda164d3da372207f1bee8a40f63cdf179da90cfc4380e5a004e5f9c94f006a6f3dbc64e29766c86
25
26 diff --git a/dev-python/betamax-matchers/betamax-matchers-0.4.0.ebuild b/dev-python/betamax-matchers/betamax-matchers-0.4.0.ebuild
27 index 32f4b5b9140..979694e6cc4 100644
28 --- a/dev-python/betamax-matchers/betamax-matchers-0.4.0.ebuild
29 +++ b/dev-python/betamax-matchers/betamax-matchers-0.4.0.ebuild
30 @@ -1,26 +1,27 @@
31 -# Copyright 1999-2020 Gentoo Authors
32 +# Copyright 1999-2021 Gentoo Authors
33 # Distributed under the terms of the GNU General Public License v2
34
35 EAPI=7
36 -PYTHON_COMPAT=( python3_{7..9} )
37 +
38 +PYTHON_COMPAT=( python3_{8..10} )
39
40 inherit distutils-r1
41
42 DESCRIPTION="A group of experimental matchers for Betamax"
43 HOMEPAGE="https://github.com/betamaxpy/betamax_matchers"
44 -SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
45 +SRC_URI="
46 + https://github.com/betamaxpy/betamax_matchers/archive/${PV}.tar.gz
47 + -> ${P}.gh.tar.gz
48 +"
49 +S="${WORKDIR}/${P/-/_}"
50
51 LICENSE="Apache-2.0"
52 SLOT="0"
53 KEYWORDS="~amd64 ~x86"
54 -IUSE=""
55
56 RDEPEND="
57 >=dev-python/betamax-0.3.2[${PYTHON_USEDEP}]
58 >=dev-python/requests-toolbelt-0.4.0[${PYTHON_USEDEP}]
59 "
60 -DEPEND="${RDEPEND}
61 - dev-python/setuptools[${PYTHON_USEDEP}]"
62
63 -# No tests
64 -RESTRICT=test
65 +distutils_enable_tests pytest