summaryrefslogtreecommitdiff
path: root/dev-python/python-box/python-box-6.0.2.ebuild
diff options
context:
space:
mode:
authorMatt Jolly <Matt.Jolly@footclan.ninja>2022-09-28 22:42:19 +1000
committerSam James <sam@gentoo.org>2022-10-12 21:44:19 +0100
commit904bdeb05d58cf8fc2323cba79f2821282e3a506 (patch)
tree25df8020233f5a10ada8c5ed4f2e383074661e9b /dev-python/python-box/python-box-6.0.2.ebuild
parent606d468b49e08424c4b017b76f69207b7424402d (diff)
downloadgentoo-904bdeb05d58cf8fc2323cba79f2821282e3a506.tar.gz
gentoo-904bdeb05d58cf8fc2323cba79f2821282e3a506.tar.bz2
gentoo-904bdeb05d58cf8fc2323cba79f2821282e3a506.zip
dev-python/python-box: new package, add 6.0.2
Signed-off-by: Matt Jolly <Matt.Jolly@footclan.ninja> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/python-box/python-box-6.0.2.ebuild')
-rw-r--r--dev-python/python-box/python-box-6.0.2.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/python-box/python-box-6.0.2.ebuild b/dev-python/python-box/python-box-6.0.2.ebuild
new file mode 100644
index 000000000000..30d2e1ecfc33
--- /dev/null
+++ b/dev-python/python-box/python-box-6.0.2.ebuild
@@ -0,0 +1,35 @@
+# 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..11} )
+inherit distutils-r1
+
+DESCRIPTION="Python dictionaries with advanced dot notation access"
+HOMEPAGE="https://github.com/cdgriffith/Box/"
+SRC_URI="https://github.com/cdgriffith/Box/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
+S="${WORKDIR}/Box-${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ $(python_gen_any_dep '
+ dev-python/msgpack[${PYTHON_USEDEP}]
+ dev-python/ruamel-yaml[${PYTHON_USEDEP}]
+ dev-python/toml[${PYTHON_USEDEP}]
+ ')
+"
+
+BDEPEND="
+ test? (
+ $(python_gen_any_dep '
+ dev-python/pytest[${PYTHON_USEDEP}]
+ ')
+ )
+"
+
+distutils_enable_tests pytest