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 7D44F158089 for ; Sun, 3 Sep 2023 02:58:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A9BF12BC016; Sun, 3 Sep 2023 02:58:33 +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 8C4BF2BC016 for ; Sun, 3 Sep 2023 02:58:33 +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 12290335CCF for ; Sun, 3 Sep 2023 02:58:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7B36E70 for ; Sun, 3 Sep 2023 02:58:30 +0000 (UTC) From: "Benda XU" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Benda XU" Message-ID: <1693709903.4eef208ad065a8e327488f48d558ef0fcd371b6f.heroxbd@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-misc/vitables/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-misc/vitables/vitables-3.0.2_p4-r1.ebuild sci-misc/vitables/vitables-3.0.2_p4.ebuild X-VCS-Directories: sci-misc/vitables/ X-VCS-Committer: heroxbd X-VCS-Committer-Name: Benda XU X-VCS-Revision: 4eef208ad065a8e327488f48d558ef0fcd371b6f X-VCS-Branch: master Date: Sun, 3 Sep 2023 02:58:30 +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: 49d3d203-9cac-4d12-b342-439633e1b9e2 X-Archives-Hash: 3dba0a963381bb23198c89d185d1a676 commit: 4eef208ad065a8e327488f48d558ef0fcd371b6f Author: Benda Xu gentoo org> AuthorDate: Sun Sep 3 02:57:01 2023 +0000 Commit: Benda XU gentoo org> CommitDate: Sun Sep 3 02:58:23 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4eef208a sci-misc/vitables: drop unnecessary Debian patches. Get back to vitables executable. Install the icons. Signed-off-by: Benda Xu gentoo.org> ...-3.0.2_p4.ebuild => vitables-3.0.2_p4-r1.ebuild} | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/sci-misc/vitables/vitables-3.0.2_p4.ebuild b/sci-misc/vitables/vitables-3.0.2_p4-r1.ebuild similarity index 60% rename from sci-misc/vitables/vitables-3.0.2_p4.ebuild rename to sci-misc/vitables/vitables-3.0.2_p4-r1.ebuild index 67d4ca2725e6..2852bb044e63 100644 --- a/sci-misc/vitables/vitables-3.0.2_p4.ebuild +++ b/sci-misc/vitables/vitables-3.0.2_p4-r1.ebuild @@ -30,10 +30,25 @@ DEPEND="${RDEPEND}" distutils_enable_tests pytest -src_prepare() { - eapply ../debian/patches +python_prepare_all() { + PATCHES=( + ../debian/patches/0001-vtsite.py-use-debian-doc-and-icons-paths.patch + ../debian/patches/0002-setup.py-no-icons-htmldocs-or-license.patch + ../debian/patches/0004-tests-conftest.py-prepare-the-testfile-if-necessary.patch + ../debian/patches/0005-Update-collection-path-for-Python-3.8.patch + ../debian/patches/0006-Fix-version-information-display.patch + ../debian/patches/0007-tests-migrate-from-nose-to-pytest.patch + ) + + distutils-r1_python_prepare_all sed -e '/QtTest/d' -i tests/test_samples.py || die - default +} + +python_install_all() { + insinto /usr/share/${PN} + doins -r vitables/icons + dodoc -r doc/* + distutils-r1_python_install_all } python_test() {