* [gentoo-commits] repo/gentoo:master commit in: dev-python/cerberus/files/, dev-python/cerberus/
@ 2021-06-13 12:08 Marek Szuba
0 siblings, 0 replies; 2+ messages in thread
From: Marek Szuba @ 2021-06-13 12:08 UTC (permalink / raw
To: gentoo-commits
commit: 05356acabc874bfb89b52c64e4c9540d981f0813
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 13 11:30:25 2021 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sun Jun 13 12:08:40 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05356aca
dev-python/cerberus: do not prevent installation of tests
Having discussed this with mgorny, if upstream installs these it is the
right thing for us to do the same.
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
dev-python/cerberus/cerberus-1.3.2.ebuild | 1 -
.../cerberus/files/cerberus-1.3.2_test-installation.patch | 11 -----------
2 files changed, 12 deletions(-)
diff --git a/dev-python/cerberus/cerberus-1.3.2.ebuild b/dev-python/cerberus/cerberus-1.3.2.ebuild
index d4378677e3d..bb8115a7763 100644
--- a/dev-python/cerberus/cerberus-1.3.2.ebuild
+++ b/dev-python/cerberus/cerberus-1.3.2.ebuild
@@ -18,7 +18,6 @@ KEYWORDS="~amd64"
PATCHES=(
"${FILESDIR}"/${PN}-1.3.2_no-pytest-runner.patch
- "${FILESDIR}"/${PN}-1.3.2_test-installation.patch
)
distutils_enable_tests pytest
diff --git a/dev-python/cerberus/files/cerberus-1.3.2_test-installation.patch b/dev-python/cerberus/files/cerberus-1.3.2_test-installation.patch
deleted file mode 100644
index 381822f1799..00000000000
--- a/dev-python/cerberus/files/cerberus-1.3.2_test-installation.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/setup.py
-+++ b/setup.py
-@@ -35,7 +35,7 @@
- ),
- license="ISC",
- platforms=["any"],
-- packages=find_packages(),
-+ packages=find_packages(exclude=("cerberus.tests",)),
- include_package_data=True,
- setup_requires=setup_requires,
- tests_require=["pytest"],
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/cerberus/files/, dev-python/cerberus/
@ 2025-01-11 9:29 Michał Górny
0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2025-01-11 9:29 UTC (permalink / raw
To: gentoo-commits
commit: fcf03f29ef0db3e78c8d4f22481ab99a9a9b1c20
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 11 08:50:25 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 11 09:29:08 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcf03f29
dev-python/cerberus: Remove old
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/cerberus/Manifest | 1 -
dev-python/cerberus/cerberus-1.3.5.ebuild | 36 ----------------------
.../files/cerberus-1.3.4-raw_docstrings.patch | 23 --------------
3 files changed, 60 deletions(-)
diff --git a/dev-python/cerberus/Manifest b/dev-python/cerberus/Manifest
index 3f64dd28104f..6d6d2a79d47d 100644
--- a/dev-python/cerberus/Manifest
+++ b/dev-python/cerberus/Manifest
@@ -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
diff --git a/dev-python/cerberus/cerberus-1.3.5.ebuild b/dev-python/cerberus/cerberus-1.3.5.ebuild
deleted file mode 100644
index 4e6ecff289e5..000000000000
--- a/dev-python/cerberus/cerberus-1.3.5.ebuild
+++ /dev/null
@@ -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
diff --git a/dev-python/cerberus/files/cerberus-1.3.4-raw_docstrings.patch b/dev-python/cerberus/files/cerberus-1.3.4-raw_docstrings.patch
deleted file mode 100644
index 70ba15b0445f..000000000000
--- a/dev-python/cerberus/files/cerberus-1.3.4-raw_docstrings.patch
+++ /dev/null
@@ -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)
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-01-11 9:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-11 9:29 [gentoo-commits] repo/gentoo:master commit in: dev-python/cerberus/files/, dev-python/cerberus/ Michał Górny
-- strict thread matches above, loose matches on Subject: below --
2021-06-13 12:08 Marek Szuba
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox