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/multipledispatch/
Date: Sun, 29 May 2022 19:16:09
Message-Id: 1653851751.3eff8e2be6bd858ed555f99ffb6ef854674f7c96.arthurzam@gentoo
1 commit: 3eff8e2be6bd858ed555f99ffb6ef854674f7c96
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 29 19:12:05 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Sun May 29 19:15:51 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eff8e2b
7
8 dev-python/multipledispatch: Use PEP517
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 .../multipledispatch-0.6.0-r1.ebuild | 31 ++++++++++++++++++++++
13 1 file changed, 31 insertions(+)
14
15 diff --git a/dev-python/multipledispatch/multipledispatch-0.6.0-r1.ebuild b/dev-python/multipledispatch/multipledispatch-0.6.0-r1.ebuild
16 new file mode 100644
17 index 000000000000..eba7b4b6641d
18 --- /dev/null
19 +++ b/dev-python/multipledispatch/multipledispatch-0.6.0-r1.ebuild
20 @@ -0,0 +1,31 @@
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 +inherit distutils-r1
29 +
30 +DESCRIPTION="Multiple dispatch"
31 +HOMEPAGE="
32 + https://pypi.org/project/multipledispatch/
33 + https://github.com/mrocklin/multipledispatch/
34 +"
35 +SRC_URI="
36 + https://github.com/mrocklin/multipledispatch/archive/${PV}.tar.gz
37 + -> ${P}.gh.tar.gz
38 +"
39 +
40 +LICENSE="BSD"
41 +SLOT="0"
42 +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
43 +
44 +RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
45 +
46 +distutils_enable_tests pytest
47 +
48 +EPYTEST_DESELECT=(
49 + multipledispatch/tests/test_core.py::test_multipledispatch
50 + multipledispatch/tests/test_benchmark.py
51 +)