commit: f748beb45c3c09973b6c821371a17ba1e768cfc6
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 2 10:22:42 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Dec 2 10:24:23 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f748beb4
dev-python/dirty-equals: Remove old
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/dirty-equals/Manifest | 1 -
.../dirty-equals/dirty-equals-0.6.0-r3.ebuild | 65 ----------------------
2 files changed, 66 deletions(-)
diff --git a/dev-python/dirty-equals/Manifest b/dev-python/dirty-equals/Manifest
index ae0e06993e5a..b20eb951749a 100644
--- a/dev-python/dirty-equals/Manifest
+++ b/dev-python/dirty-equals/Manifest
@@ -1,2 +1 @@
-DIST dirty-equals-0.6.0.gh.tar.gz 47114 BLAKE2B
910f09e5f5b2ec62d3b4d50ac23a17ee481875b9ae7303faf9bb610282113941b8a121d39e14e1a63cae0433055e639b1bc2da5c1fc3a9ece4915e34c172f40b
SHA512
aff41b31c255294c2d6c3a3170daea56d98da4875f9ffdef96b522db24fbed92edf4618646b3e1b50680ce03fca1b9c2bb591730c397b85143ace846c513ac01
DIST dirty-equals-0.7.1.gh.tar.gz 49000 BLAKE2B
06c9a7522f1dda95ff682dc9c28207b29754d11b4afe7eeacd5439a9ae9f34ce0a2f5724703129aa90b5577f36646deafa5428120e823502aae616d57b3d8f0d
SHA512
c50a15e4cee77b3db1b07ef9f7d1eb5b3ab6bed6d914ac5c9e2982f8cf9432beaecb5fd7997d46a94f405e0c932ea5a8d72f1c1d4b6dda86161c22cc772ab4d7
diff --git a/dev-python/dirty-equals/dirty-equals-0.6.0-r3.ebuild
b/dev-python/dirty-equals/dirty-equals-0.6.0-r3.ebuild
deleted file mode 100644
index d11e92a9c462..000000000000
--- a/dev-python/dirty-equals/dirty-equals-0.6.0-r3.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=hatchling
-PYTHON_COMPAT=( python3_{10..12} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Doing dirty (but extremely useful) things with equals"
-HOMEPAGE="
- https://dirty-equals.helpmanual.io/
- https://github.com/samuelcolvin/dirty-equals/
- https://pypi.org/project/dirty-equals/
-"
-SRC_URI="
- https://github.com/samuelcolvin/dirty-equals/archive/v${PV}.tar.gz
- -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86"
-
-RDEPEND="
- >=dev-python/pytz-2021.3[${PYTHON_USEDEP}]
-"
-BDEPEND="
- test? (
- dev-python/packaging[${PYTHON_USEDEP}]
- dev-python/pytest-mock[${PYTHON_USEDEP}]
- )
-"
-
-distutils_enable_tests pytest
-
-src_prepare() {
- # hackaround IsUrl use in global scope (for parametrize)
- if ! has_version "dev-python/pydantic[${PYTHON_USEDEP}]"; then
- sed -i -e 's:IsUrl([^)]*):IsUrl:g' tests/test_other.py || die
- fi
-
- distutils-r1_src_prepare
-}
-
-python_test() {
- local EPYTEST_IGNORE=(
- # require unpackaged pytest-examples
- tests/test_docs.py
- )
- local args=()
-
- if ! has_version "<dev-python/pydantic-2[${PYTHON_USEDEP}]"; then
- args+=(
- # IsUrl is not used in any revdeps, and it's broken
- # with pydantic-2
- # https://github.com/samuelcolvin/dirty-equals/issues/72
- -k "not is_url"
- )
- fi
-
- local -x TZ=UTC
- epytest "${args[@]}"
-}