diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-06-18 06:39:15 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-06-18 08:47:06 +0200 |
commit | 121e3712735856563cde4492d0f6448048ecd3d3 (patch) | |
tree | fb0c55e8a10a574c116f79c699d7c2b571403fd6 /dev-python/warlock | |
parent | dev-python/stripe: Bump to 3.4.0 (diff) | |
download | gentoo-121e3712735856563cde4492d0f6448048ecd3d3.tar.gz gentoo-121e3712735856563cde4492d0f6448048ecd3d3.tar.bz2 gentoo-121e3712735856563cde4492d0f6448048ecd3d3.zip |
dev-python/warlock: Bump to 2.0.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/warlock')
-rw-r--r-- | dev-python/warlock/Manifest | 1 | ||||
-rw-r--r-- | dev-python/warlock/warlock-2.0.1.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/warlock/Manifest b/dev-python/warlock/Manifest index 754d1b55c988..e433b8e9e35e 100644 --- a/dev-python/warlock/Manifest +++ b/dev-python/warlock/Manifest @@ -1,2 +1,3 @@ DIST warlock-1.3.3.gh.tar.gz 11147 BLAKE2B 1281348076500315c5aa105691b8e5a50ccf2ba79335fb8581a0b89bfc96bb3076a797c4ebe011f6c347667a0971bbbdd2b1bf413d0692ae5977216c524cbee0 SHA512 8a9135a17ccc0d0939ad98eee16100ec68b911d672b3af549f7629edcd6e08129f9e4ab707082593274fc896bc405ab6d6ba9e4bf6fc40b8522ec99327c983ec DIST warlock-2.0.0.gh.tar.gz 19823 BLAKE2B 538f0b8797277ab067c22a5c43a0fc236fe9a5e1117a00d93fc390100f48503415e7db73bbf4639f7ffa08933b026aafc009eba3a2719f42727b78a4f4ac862d SHA512 56ef0aaf8d7bb706e79832d606eaa2c927dd43880a09d339388cae0d629815b2c31bf53ae6005d02fb4d91708ac889586e635b2cdd068f6498c97f6b2276b1b5 +DIST warlock-2.0.1.gh.tar.gz 19850 BLAKE2B 3ac4f92a68b4e1142a2baf0a0b5670c8b6ee89f22b0b48c061dc5bad8ccbb818ee8a4d7d27f2300562c6e3369662a1d1c8f12135eac1046b87187d1aed42cc54 SHA512 f354f0dd2af524a9e09ed03b072e1f68859fc70bf5ec083f8853fde2f1cec3172bef42318df176a3cf5fa48d93f030010db81d710961f2b05a092a4ee25041c1 diff --git a/dev-python/warlock/warlock-2.0.1.ebuild b/dev-python/warlock/warlock-2.0.1.ebuild new file mode 100644 index 000000000000..90b6658386cb --- /dev/null +++ b/dev-python/warlock/warlock-2.0.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Python object model built on JSON schema and JSON patch" +HOMEPAGE=" + https://github.com/bcwaldon/warlock/ + https://pypi.org/project/warlock/ +" +SRC_URI=" + https://github.com/bcwaldon/warlock/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/jsonpatch-1[${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 + +src_prepare() { + sed -i -e '/--cov/d' pytest.ini || die + distutils-r1_src_prepare +} |