From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0229715813A for ; Sun, 12 Jan 2025 03:32:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 48C11E07EC; Sun, 12 Jan 2025 03:32:56 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 33EA8E07DB for ; Sun, 12 Jan 2025 03:32:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2B193340441 for ; Sun, 12 Jan 2025 03:32:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8B1FE1F96 for ; Sun, 12 Jan 2025 03:32:53 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1736652510.216abc90ac33ff28d0efbfee58b4e74737fd36d2.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/dirty-equals/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/dirty-equals/Manifest dev-python/dirty-equals/dirty-equals-0.9.0.ebuild X-VCS-Directories: dev-python/dirty-equals/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 216abc90ac33ff28d0efbfee58b4e74737fd36d2 X-VCS-Branch: master Date: Sun, 12 Jan 2025 03:32:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c30a0af3-5837-46d3-be09-05532ee155c9 X-Archives-Hash: 81e17895af25d02ca59381577410ef35 commit: 216abc90ac33ff28d0efbfee58b4e74737fd36d2 Author: Michał Górny gentoo org> AuthorDate: Sun Jan 12 03:28:30 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Jan 12 03:28:30 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=216abc90 dev-python/dirty-equals: Bump to 0.9.0 Signed-off-by: Michał Górny gentoo.org> dev-python/dirty-equals/Manifest | 1 + dev-python/dirty-equals/dirty-equals-0.9.0.ebuild | 51 +++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/dev-python/dirty-equals/Manifest b/dev-python/dirty-equals/Manifest index fe8aea7fde90..f31625dcf514 100644 --- a/dev-python/dirty-equals/Manifest +++ b/dev-python/dirty-equals/Manifest @@ -1 +1,2 @@ DIST dirty-equals-0.8.0.gh.tar.gz 50468 BLAKE2B 5d5c58807c0ef26db80895a26b5246a0305ab55389f95d7e13586cad2adc4edd17d24905fad5e462c2bafb59cad7453b55400e4576e0f845ec75d617405f67bb SHA512 8fc6ee0eefe700c89acf5b2181e502422835a89e8f0bb771b07133bda48b804f09b18e452919c8eb7d50e579b032732edad3e9ec150cd7bc7a33a4db77d9ab5c +DIST dirty-equals-0.9.0.gh.tar.gz 50607 BLAKE2B ec569a818b067a9162d8efefffc9cfae7a7a3ee7ebf1e3659334d4123644046d5195849a9bde0c93f29d23e32657eae2bf692376a6928a8e82044b5fe54a530d SHA512 5e0a3f465c1a0bc70292ab013e5622afdfa1150e3315cfde7cc6dfb458000cc925a9ec6c54fb93bfe287b2c497dbbadc6ebe8e100819e537c7e6769a7ce61776 diff --git a/dev-python/dirty-equals/dirty-equals-0.9.0.ebuild b/dev-python/dirty-equals/dirty-equals-0.9.0.ebuild new file mode 100644 index 000000000000..594314e83c8f --- /dev/null +++ b/dev-python/dirty-equals/dirty-equals-0.9.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +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 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pydantic-2.4.2[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + >=dev-python/pytz-2021.3[${PYTHON_USEDEP}] + ) +" + +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[@]}" +}