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: Sat, 26 Feb 2022 18:00:02
Message-Id: 1645898389.db3919cf44d9ffc88ebd59512a850363a8c63869.mgorny@gentoo
1 commit: db3919cf44d9ffc88ebd59512a850363a8c63869
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 26 17:49:18 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 26 17:59:49 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db3919cf
7
8 dev-python/itypes: Migrate to PEP517 build
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/itypes/itypes-1.2.0-r1.ebuild | 26 ++++++++++++++++++++++++++
13 1 file changed, 26 insertions(+)
14
15 diff --git a/dev-python/itypes/itypes-1.2.0-r1.ebuild b/dev-python/itypes/itypes-1.2.0-r1.ebuild
16 new file mode 100644
17 index 000000000000..99a0098c43c9
18 --- /dev/null
19 +++ b/dev-python/itypes/itypes-1.2.0-r1.ebuild
20 @@ -0,0 +1,26 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +DISTUTILS_USE_PEP517=setuptools
27 +PYTHON_COMPAT=( python3_{8..10} )
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="basic immutable container types for python"
32 +HOMEPAGE="https://github.com/PavanTatikonda/itypes/"
33 +SRC_URI="
34 + https://github.com/PavanTatikonda/itypes/archive/${PV}.tar.gz
35 + -> ${P}.gh.tar.gz
36 +"
37 +
38 +LICENSE="BSD"
39 +SLOT="0"
40 +KEYWORDS="~amd64"
41 +
42 +distutils_enable_tests pytest
43 +
44 +python_test() {
45 + epytest tests.py
46 +}