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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 42BAA15812E for ; Thu, 8 Jun 2023 05:13:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7E57FE089D; Thu, 8 Jun 2023 05:13:12 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id E13A9E08C9 for ; Thu, 8 Jun 2023 05:13:11 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B86DE340C77 for ; Thu, 8 Jun 2023 05:13:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D1668A91 for ; Thu, 8 Jun 2023 05:13:07 +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: <1686201142.c2f53fb930e17f8e138af90d6b3aae7216d0417b.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/trio/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/trio/trio-0.22.0_p20230530-r1.ebuild dev-python/trio/trio-0.22.0_p20230530.ebuild X-VCS-Directories: dev-python/trio/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c2f53fb930e17f8e138af90d6b3aae7216d0417b X-VCS-Branch: master Date: Thu, 8 Jun 2023 05:13:07 +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: 7c626a48-7e15-432e-a2cb-201e2ceac7e9 X-Archives-Hash: 8118feabb7ee82604d0a412d6732922f commit: c2f53fb930e17f8e138af90d6b3aae7216d0417b Author: Michał Górny gentoo org> AuthorDate: Thu Jun 8 05:07:22 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Jun 8 05:12:22 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2f53fb9 dev-python/trio: Strip +dev from version in snapshot Signed-off-by: Michał Górny gentoo.org> ...trio-0.22.0_p20230530.ebuild => trio-0.22.0_p20230530-r1.ebuild} | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dev-python/trio/trio-0.22.0_p20230530.ebuild b/dev-python/trio/trio-0.22.0_p20230530-r1.ebuild similarity index 92% rename from dev-python/trio/trio-0.22.0_p20230530.ebuild rename to dev-python/trio/trio-0.22.0_p20230530-r1.ebuild index 987eea446215..83733f7b9ec0 100644 --- a/dev-python/trio/trio-0.22.0_p20230530.ebuild +++ b/dev-python/trio/trio-0.22.0_p20230530-r1.ebuild @@ -52,6 +52,12 @@ distutils_enable_sphinx docs/source \ dev-python/sphinx-rtd-theme \ dev-python/towncrier +src_prepare() { + # strip +dev from version, as it is breaking poorly written packages + sed -i -e 's:+dev::' trio/_version.py || die + distutils-r1_src_prepare +} + python_test() { local EPYTEST_IGNORE=( # these tests require internet access