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/timeout-decorator/
Date: Thu, 19 May 2022 07:59:12
Message-Id: 1652946837.2ab083b98fa4cc07a551b69f2c707443254ed2cb.mgorny@gentoo
1 commit: 2ab083b98fa4cc07a551b69f2c707443254ed2cb
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 19 07:53:57 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu May 19 07:53:57 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ab083b9
7
8 dev-python/timeout-decorator: Use PEP517 build
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 .../timeout-decorator-0.5.0-r1.ebuild | 29 ++++++++++++++++++++++
13 1 file changed, 29 insertions(+)
14
15 diff --git a/dev-python/timeout-decorator/timeout-decorator-0.5.0-r1.ebuild b/dev-python/timeout-decorator/timeout-decorator-0.5.0-r1.ebuild
16 new file mode 100644
17 index 000000000000..172786f8e4bd
18 --- /dev/null
19 +++ b/dev-python/timeout-decorator/timeout-decorator-0.5.0-r1.ebuild
20 @@ -0,0 +1,29 @@
21 +# Copyright 2021-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 +EGIT_COMMIT=9fbc3ef5b6f8f8cba2eb7ba795813d6ec543e265
32 +MY_P=${PN}-${EGIT_COMMIT}
33 +
34 +DESCRIPTION="Timeout decorator"
35 +HOMEPAGE="
36 + https://github.com/pnpnpn/timeout-decorator/
37 + https://pypi.org/project/timeout-decorator/
38 +"
39 +SRC_URI="
40 + https://github.com/pnpnpn/timeout-decorator/archive/${EGIT_COMMIT}.tar.gz
41 + -> ${MY_P}.tar.gz
42 +"
43 +S=${WORKDIR}/${MY_P}
44 +
45 +LICENSE="MIT"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
48 +
49 +distutils_enable_tests pytest