public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Benda XU" <heroxbd@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-misc/vitables/
Date: Sun,  3 Sep 2023 02:58:30 +0000 (UTC)	[thread overview]
Message-ID: <1693709903.4eef208ad065a8e327488f48d558ef0fcd371b6f.heroxbd@gentoo> (raw)

commit:     4eef208ad065a8e327488f48d558ef0fcd371b6f
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  3 02:57:01 2023 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> 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 <heroxbd <AT> 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() {


             reply	other threads:[~2023-09-03  2:58 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-03  2:58 Benda XU [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-02-02  4:12 [gentoo-commits] repo/gentoo:master commit in: sci-misc/vitables/ Benda XU
2023-02-01 15:04 Benda XU
2022-10-05 14:27 Andrew Ammerlaan
2021-10-06  8:33 Jakov Smolić
2021-07-17 18:18 David Seifert
2021-06-06 14:27 Andrew Ammerlaan
2021-06-06 11:19 Andrew Ammerlaan
2021-06-06 11:17 Andrew Ammerlaan
2021-06-05 17:49 Andrew Ammerlaan
2021-06-05 17:49 Andrew Ammerlaan
2021-01-01  1:56 Michał Górny
2020-06-27 20:45 Andreas K. Hüttel
2020-02-09 16:47 Michał Górny
2020-01-30 17:31 Michał Górny
2017-11-25 17:42 David Seifert
2017-09-16  7:32 Benda XU
2016-09-25 19:51 David Seifert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1693709903.4eef208ad065a8e327488f48d558ef0fcd371b6f.heroxbd@gentoo \
    --to=heroxbd@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox