summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-05-24 06:41:20 +0200
committerMichał Górny <mgorny@gentoo.org>2022-05-24 08:15:36 +0200
commit537466d3a85e5f21f7e19509d549f16ce9813969 (patch)
tree607f2ad5c5bf527caba7e18ed4b8530071d30099 /dev-python/munch
parentdev-python/openapi-spec-validator: New package, v0.4.0 (diff)
downloadgentoo-537466d3a85e5f21f7e19509d549f16ce9813969.tar.gz
gentoo-537466d3a85e5f21f7e19509d549f16ce9813969.tar.bz2
gentoo-537466d3a85e5f21f7e19509d549f16ce9813969.zip
dev-python/munch: Use PEP517 build
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/munch')
-rw-r--r--dev-python/munch/munch-2.5.0-r2.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/munch/munch-2.5.0-r2.ebuild b/dev-python/munch/munch-2.5.0-r2.ebuild
new file mode 100644
index 000000000000..237a05922a57
--- /dev/null
+++ b/dev-python/munch/munch-2.5.0-r2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-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} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="A dot-accessible dictionary (a la JavaScript objects)"
+HOMEPAGE="
+ https://github.com/Infinidat/munch/
+ https://pypi.org/project/munch/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+SLOT="0"
+
+RDEPEND="
+ dev-python/six[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/pbr[${PYTHON_USEDEP}]
+ test? (
+ >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest