Diff warlock-1.3.3-r3 with a warlock-2.0.1

/usr/portage/dev-python/warlock/warlock-2.0.1.ebuild 2023-10-09 14:52:30.400368373 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
DISTUTILS_USE_PEP517=setuptools
6
DISTUTILS_USE_PEP517=poetry
7 7
PYTHON_COMPAT=( python3_{9..11} )
8

  
8 9
inherit distutils-r1
9 10

  
10 11
DESCRIPTION="Python object model built on JSON schema and JSON patch"
11
HOMEPAGE="https://github.com/bcwaldon/warlock"
12
SRC_URI="https://github.com/bcwaldon/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
12
HOMEPAGE="
13
	https://github.com/bcwaldon/warlock/
14
	https://pypi.org/project/warlock/
15
"
16
SRC_URI="
17
	https://github.com/bcwaldon/warlock/archive/${PV}.tar.gz
18
		-> ${P}.gh.tar.gz
19
"
13 20

  
14 21
LICENSE="Apache-2.0"
15 22
SLOT="0"
16 23
KEYWORDS="amd64 ~arm arm64 ~riscv x86 ~amd64-linux ~x86-linux"
17 24

  
18 25
RDEPEND="
19
	dev-python/six[${PYTHON_USEDEP}]
20
	>=dev-python/jsonpatch-0.10[${PYTHON_USEDEP}]
26
	>=dev-python/jsonpatch-1[${PYTHON_USEDEP}]
21 27
	<dev-python/jsonpatch-2[${PYTHON_USEDEP}]
22 28
	>=dev-python/jsonschema-0.7[${PYTHON_USEDEP}]
23
	<dev-python/jsonschema-5[${PYTHON_USEDEP}]"
29
	<dev-python/jsonschema-5[${PYTHON_USEDEP}]
30
"
24 31

  
25 32
distutils_enable_tests pytest
26 33

  
27
EPYTEST_DESELECT=(
28
	# broken by jsonschema-4 but this package is dead and glanceclient
29
	# (its only dep) does not seem to be affected
30
	tests/test_core.py::TestCore::test_recursive_models
31
)
32

  
33 34
src_prepare() {
34 35
	sed -i -e '/--cov/d' pytest.ini || die
35
	sed -i -e '/jsonschema/s:,<4::' requirements.txt || die
36 36
	distutils-r1_src_prepare
37 37
}
Thank you!