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 3143E158451 for ; Tue, 9 Jan 2024 18:43:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 151F8E2A03; Tue, 9 Jan 2024 18:43:30 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D4430E2A03 for ; Tue, 9 Jan 2024 18:43:29 +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 9977D343285 for ; Tue, 9 Jan 2024 18:43:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 061811437 for ; Tue, 9 Jan 2024 18:43:27 +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: <1704825800.f16b6740855d16c77d4c8de546e2ae68e3ed6368.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/dulwich/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/dulwich/dulwich-0.21.7-r1.ebuild dev-python/dulwich/dulwich-0.21.7.ebuild X-VCS-Directories: dev-python/dulwich/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: f16b6740855d16c77d4c8de546e2ae68e3ed6368 X-VCS-Branch: master Date: Tue, 9 Jan 2024 18:43:27 +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: 6c8728c1-07da-40a5-9a4b-8f0916d5a0b7 X-Archives-Hash: 94f35ae827a855b6c3e04f69f4f3174f commit: f16b6740855d16c77d4c8de546e2ae68e3ed6368 Author: Michał Górny gentoo org> AuthorDate: Tue Jan 9 18:32:52 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Jan 9 18:43:20 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f16b6740 dev-python/dulwich: Do not install docs to site-packages Closes: https://bugs.gentoo.org/921651 Signed-off-by: Michał Górny gentoo.org> .../{dulwich-0.21.7.ebuild => dulwich-0.21.7-r1.ebuild} | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/dev-python/dulwich/dulwich-0.21.7.ebuild b/dev-python/dulwich/dulwich-0.21.7-r1.ebuild similarity index 84% rename from dev-python/dulwich/dulwich-0.21.7.ebuild rename to dev-python/dulwich/dulwich-0.21.7-r1.ebuild index 5ddf377dafa2..3369252c2d5f 100644 --- a/dev-python/dulwich/dulwich-0.21.7.ebuild +++ b/dev-python/dulwich/dulwich-0.21.7-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -34,6 +34,15 @@ BDEPEND=" distutils_enable_sphinx docs +src_prepare() { + # Do not install "docs" directory into site-packages + # https://github.com/jelmer/dulwich/issues/1248 + sed -i -e '/package_data/d' setup.py || die + rm -r *.egg-info || die + + distutils-r1_src_prepare +} + python_test() { # remove interference from the tests that do stuff like user.name unset GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL GIT_AUTHOR_DATE