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/itypes/
Date: Thu, 08 Jul 2021 06:55:41
Message-Id: 1625727323.3091b4f3fd4c717964c2fbb458c95bfeb8ac66b3.mgorny@gentoo
1 commit: 3091b4f3fd4c717964c2fbb458c95bfeb8ac66b3
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 8 06:38:38 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 8 06:55:23 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3091b4f3
7
8 dev-python/itypes: Enable tests
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/itypes/Manifest | 2 +-
13 dev-python/itypes/itypes-1.1.0.ebuild | 19 ++++++++++++-------
14 2 files changed, 13 insertions(+), 8 deletions(-)
15
16 diff --git a/dev-python/itypes/Manifest b/dev-python/itypes/Manifest
17 index cc584c967db..9c75194091f 100644
18 --- a/dev-python/itypes/Manifest
19 +++ b/dev-python/itypes/Manifest
20 @@ -1 +1 @@
21 -DIST itypes-1.1.0.tar.gz 2188 BLAKE2B 5b24790944b130530d4bb3f0ee266c897ebf7946a37133535622f823cc66bd2d2aba838170769b326d706fb123ccd1f4ed7aea8e877b9fe0a9d19692e0c9e0e2 SHA512 fbaf82a82e0685f54eb98bdea722cf9fa230881d1940e2a74306972eb9f99958cb0cc62b858c340b649e092262793b83dcf76d11d36d04755ecf05e7a2c77d81
22 +DIST itypes-1.1.0.gh.tar.gz 4403 BLAKE2B 62f7d1a96154f313c43764306ab7ea235e0ed8a60180e56760588f03ffbdb948a56b7bec9c63c861b743f6aa1510b0442d41015b944ef777655e7b152f15bbcb SHA512 2f6dd5d655f1031059df8dcfd0a2f76875796a800144e887fb66cb5585949097edb6b9f5e973de2280f43cfeb25ab99d3ca428372fe239c8cd70f385304bcdd7
23
24 diff --git a/dev-python/itypes/itypes-1.1.0.ebuild b/dev-python/itypes/itypes-1.1.0.ebuild
25 index 43805bb673a..7c0e5aa2244 100644
26 --- a/dev-python/itypes/itypes-1.1.0.ebuild
27 +++ b/dev-python/itypes/itypes-1.1.0.ebuild
28 @@ -1,18 +1,23 @@
29 -# Copyright 1999-2020 Gentoo Authors
30 +# Copyright 1999-2021 Gentoo Authors
31 # Distributed under the terms of the GNU General Public License v2
32
33 -EAPI=7
34 -
35 -PYTHON_COMPAT=( python3_{7..9} )
36 +EAPI=8
37
38 +PYTHON_COMPAT=( python3_{8..9} )
39 inherit distutils-r1
40
41 DESCRIPTION="basic immutable container types for python"
42 -HOMEPAGE="https://github.com/PavanTatikonda/itypes"
43 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 +HOMEPAGE="https://github.com/PavanTatikonda/itypes/"
45 +SRC_URI="
46 + https://github.com/PavanTatikonda/itypes/archive/${PV}.tar.gz
47 + -> ${P}.gh.tar.gz"
48
49 LICENSE="BSD"
50 SLOT="0"
51 KEYWORDS="~amd64"
52
53 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
54 +distutils_enable_tests pytest
55 +
56 +python_test() {
57 + epytest tests.py
58 +}