summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-05-29 22:12:05 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2022-05-29 22:15:51 +0300
commit3eff8e2be6bd858ed555f99ffb6ef854674f7c96 (patch)
treefc24e076fba74cf5be5d1cec3494c8d6b8feb9cf /dev-python/multipledispatch
parentdev-python/munkres: Use PEP517 (diff)
downloadgentoo-3eff8e2be6bd858ed555f99ffb6ef854674f7c96.tar.gz
gentoo-3eff8e2be6bd858ed555f99ffb6ef854674f7c96.tar.bz2
gentoo-3eff8e2be6bd858ed555f99ffb6ef854674f7c96.zip
dev-python/multipledispatch: Use PEP517
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/multipledispatch')
-rw-r--r--dev-python/multipledispatch/multipledispatch-0.6.0-r1.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/multipledispatch/multipledispatch-0.6.0-r1.ebuild b/dev-python/multipledispatch/multipledispatch-0.6.0-r1.ebuild
new file mode 100644
index 000000000000..eba7b4b6641d
--- /dev/null
+++ b/dev-python/multipledispatch/multipledispatch-0.6.0-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="Multiple dispatch"
+HOMEPAGE="
+ https://pypi.org/project/multipledispatch/
+ https://github.com/mrocklin/multipledispatch/
+"
+SRC_URI="
+ https://github.com/mrocklin/multipledispatch/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+
+RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ multipledispatch/tests/test_core.py::test_multipledispatch
+ multipledispatch/tests/test_benchmark.py
+)