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/signature_dispatch/
Date: Sun, 30 Jan 2022 13:09:49
Message-Id: 1643548170.cc09b5bb8aa4d714dd6f925d4fa858c328cffc82.mgorny@gentoo
1 commit: cc09b5bb8aa4d714dd6f925d4fa858c328cffc82
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 30 12:47:06 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 30 13:09:30 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc09b5bb
7
8 dev-python/signature_dispatch: Switch to PEP 517 build
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 .../signature_dispatch-1.0.0-r1.ebuild | 24 ++++++++++++++++++++++
13 1 file changed, 24 insertions(+)
14
15 diff --git a/dev-python/signature_dispatch/signature_dispatch-1.0.0-r1.ebuild b/dev-python/signature_dispatch/signature_dispatch-1.0.0-r1.ebuild
16 new file mode 100644
17 index 000000000000..04c1d7b39678
18 --- /dev/null
19 +++ b/dev-python/signature_dispatch/signature_dispatch-1.0.0-r1.ebuild
20 @@ -0,0 +1,24 @@
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=flit
27 +PYTHON_COMPAT=( python3_{8..10} )
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="Execute the first function that matches the given arguments"
32 +HOMEPAGE="
33 + https://github.com/kalekundert/signature_dispatch/
34 + https://pypi.org/project/signature-dispatch/"
35 +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
36 +
37 +LICENSE="MIT"
38 +SLOT="0"
39 +KEYWORDS="~amd64 ~x86"
40 +
41 +distutils_enable_tests pytest
42 +
43 +RDEPEND="
44 + dev-python/typeguard[${PYTHON_USEDEP}]"