mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/cerberus: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST cerberus-1.3.5.gh.tar.gz 921848 BLAKE2B 1f7f1c6804702dea6ab31c3e278a4d769c80c898e786aa7c7f7df0bc212edf07c4026c5dd6adf7ecdcacfd596ec33c3493ec26c3de68bd8254fce56e6532fff7 SHA512 eaa91f229a009770a1750a51e82c34f06dffeebca7af7cafd5ba3a8529502326dd20af1ed7a60fd5e5ed28edb4b974712b1493aa1e330097a8e36ad70c5e4f23
|
||||
DIST cerberus-1.3.6.gh.tar.gz 920930 BLAKE2B 168ca5e628448a4477f1aec7f1371cdf8c89c0e40c3e3f10bd3b6da1c7d78580e0db4403c8f2abe98baa7db5cbbe1b92241af725bacd9f3eced899397bafe8eb SHA512 2ee32ade240198af6aa2927d80a24e00a5d4aac22486aa13b375f7235e5491a2c61910a16e1d965c0e57cf226a3865675f2037e281d1461b262c6cbb13cb6271
|
||||
DIST cerberus-1.3.7.gh.tar.gz 920947 BLAKE2B 0cf9cb6fbb156007f7c44dfc427579649b8ed1e70cdf7f89f728b4d6071fda7073d5e5328be6e398744fa715dbc53ff8ea79195ef87e42f9b3bc4c838532c531 SHA512 69ed22089f3fb8c1869585abff39510f9a0bcf8dfbf82fa995177999e634e1a93bc535a2c7d330ec2491b01a0fe807d803144d3f08cdd6c9589c39e2aaec9235
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..13} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A lightweight and extensible data-validation library for Python"
|
||||
HOMEPAGE="
|
||||
https://docs.python-cerberus.org/
|
||||
https://github.com/pyeve/cerberus/
|
||||
https://pypi.org/project/Cerberus/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/pyeve/cerberus/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.3.4-raw_docstrings.patch
|
||||
)
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# Require currently unpackaged pytest-benchmark, more useful
|
||||
# to developers than to end users.
|
||||
cerberus/benchmarks/
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
@@ -1,23 +0,0 @@
|
||||
Addresses https://github.com/pyeve/cerberus/issues/568.
|
||||
Backported upstream commit 5c267b554a39b5a8650659d3eea0cf383e47a166.
|
||||
|
||||
--- a/cerberus/errors.py
|
||||
+++ b/cerberus/errors.py
|
||||
@@ -153,7 +153,7 @@
|
||||
|
||||
@property
|
||||
def definitions_errors(self):
|
||||
- """
|
||||
+ r"""
|
||||
Dictionary with errors of an \*of-rule mapped to the index of the definition it
|
||||
occurred in. Returns :obj:`None` if not applicable.
|
||||
"""
|
||||
@@ -181,7 +181,7 @@
|
||||
|
||||
@property
|
||||
def is_logic_error(self):
|
||||
- """
|
||||
+ r"""
|
||||
``True`` for validation errors against different schemas with \*of-rules.
|
||||
"""
|
||||
return bool(self.code & LOGICAL.code - ERROR_GROUP.code)
|
||||
Reference in New Issue
Block a user