summaryrefslogtreecommitdiff
path: root/dev-python/warlock
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-01-22 13:39:03 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-01-22 13:39:03 +0000
commit989919d63288d980987d2a156dfdd7480e2ee374 (patch)
tree92e53f4ecf55c8144b5ff90485f2ba8b9c370f16 /dev-python/warlock
parente45d81d68de3acaee6b6236f0362be04e407e9a9 (diff)
downloadbaldeagleos-repo-989919d63288d980987d2a156dfdd7480e2ee374.tar.gz
baldeagleos-repo-989919d63288d980987d2a156dfdd7480e2ee374.tar.xz
baldeagleos-repo-989919d63288d980987d2a156dfdd7480e2ee374.zip
Adding metadata
Diffstat (limited to 'dev-python/warlock')
-rw-r--r--dev-python/warlock/warlock-1.3.3-r1.ebuild (renamed from dev-python/warlock/warlock-1.3.3.ebuild)12
-rw-r--r--dev-python/warlock/warlock-1.3.3-r2.ebuild31
2 files changed, 40 insertions, 3 deletions
diff --git a/dev-python/warlock/warlock-1.3.3.ebuild b/dev-python/warlock/warlock-1.3.3-r1.ebuild
index 4793110be1fc..7d73dd9df98a 100644
--- a/dev-python/warlock/warlock-1.3.3.ebuild
+++ b/dev-python/warlock/warlock-1.3.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -19,6 +19,12 @@ RDEPEND="
>=dev-python/jsonpatch-0.10[${PYTHON_USEDEP}]
<dev-python/jsonpatch-2[${PYTHON_USEDEP}]
>=dev-python/jsonschema-0.7[${PYTHON_USEDEP}]
- <dev-python/jsonschema-4[${PYTHON_USEDEP}]"
+ <dev-python/jsonschema-5[${PYTHON_USEDEP}]"
-distutils_enable_tests unittest
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # broken by jsonschema-4 but this package is dead and glanceclient
+ # (its only dep) does not seem to be affected
+ tests/test_core.py::TestCore::test_recursive_models
+)
diff --git a/dev-python/warlock/warlock-1.3.3-r2.ebuild b/dev-python/warlock/warlock-1.3.3-r2.ebuild
new file mode 100644
index 000000000000..10f188a91680
--- /dev/null
+++ b/dev-python/warlock/warlock-1.3.3-r2.ebuild
@@ -0,0 +1,31 @@
+# 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_{6,7,8,9,10} )
+inherit distutils-r1
+
+DESCRIPTION="Python object model built on JSON schema and JSON patch"
+HOMEPAGE="https://github.com/bcwaldon/warlock"
+SRC_URI="https://github.com/bcwaldon/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="
+ dev-python/six[${PYTHON_USEDEP}]
+ >=dev-python/jsonpatch-0.10[${PYTHON_USEDEP}]
+ <dev-python/jsonpatch-2[${PYTHON_USEDEP}]
+ >=dev-python/jsonschema-0.7[${PYTHON_USEDEP}]
+ <dev-python/jsonschema-5[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # broken by jsonschema-4 but this package is dead and glanceclient
+ # (its only dep) does not seem to be affected
+ tests/test_core.py::TestCore::test_recursive_models
+)