mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
dev-python/dirty-equals: Bump to 0.11.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
34644fe581
commit
670624d9be
@ -1 +1,2 @@
|
||||
DIST dirty-equals-0.10.0.gh.tar.gz 126610 BLAKE2B ebf748b627407973d259a9c85e754adb05c79af27eb871f722c0d14ff90c9c9fe257e2d7a46649f884326feecff3e3fa855ea380381eb59de4a31b092f828403 SHA512 c84d14e2399da273e48c6f125ea1fc9caf5824845106a88ba95c0d8e836bacb54b8113959d346a914ca344609ee58150839405ac1ec2f6a187e2f29b8601a4cb
|
||||
DIST dirty-equals-0.11.0.gh.tar.gz 129113 BLAKE2B cf1c644c257a9f7ed93e297b2e2b4f868d9b7d62697cd76aefb8f21684333932ac06bb23dec18a604934312c362b7bbc8117aff96cc50c492ae393d24b751f02 SHA512 eb4e8725305dbe60b76171d7c4ad4c11ccf9d882e8b4adab7fd9937e580abae512e83e8f0691935c483e727b60c2f8d4881e03e15e74376c52556817f5db83b5
|
||||
|
||||
54
dev-python/dirty-equals/dirty-equals-0.11.0.ebuild
Normal file
54
dev-python/dirty-equals/dirty-equals-0.11.0.ebuild
Normal file
@ -0,0 +1,54 @@
|
||||
# Copyright 2022-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_FULLY_TESTED=( python3_{11..14} pypy3_11 )
|
||||
PYTHON_COMPAT=( "${PYTHON_FULLY_TESTED[@]}" )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Doing dirty (but extremely useful) things with equals"
|
||||
HOMEPAGE="
|
||||
https://dirty-equals.helpmanual.io/latest/
|
||||
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"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/pydantic-2.4.2[${PYTHON_USEDEP}]
|
||||
' "${PYTHON_FULLY_TESTED[@]}")
|
||||
>=dev-python/pytz-2021.3[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( pytest-mock )
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_IGNORE=(
|
||||
# require unpackaged pytest-examples
|
||||
tests/test_docs.py
|
||||
)
|
||||
|
||||
if ! has_version "dev-python/pydantic[${PYTHON_USEDEP}]"; then
|
||||
EPYTEST_IGNORE+=(
|
||||
tests/test_other.py
|
||||
)
|
||||
fi
|
||||
|
||||
local -x TZ=UTC
|
||||
epytest "${args[@]}"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user