public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ben Kohler" <bkohler@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/stapler/
Date: Tue, 26 Jul 2022 13:32:49 +0000 (UTC)	[thread overview]
Message-ID: <1658842354.3ff912067dd187a2b078b423930e614b010987a3.bkohler@gentoo> (raw)

commit:     3ff912067dd187a2b078b423930e614b010987a3
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 26 13:17:13 2022 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Tue Jul 26 13:32:34 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ff91206

dev-python/stapler: fix PyPDF2 import for tests

Closes: https://bugs.gentoo.org/861128

Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 dev-python/stapler/stapler-1.0.0_p20220330.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dev-python/stapler/stapler-1.0.0_p20220330.ebuild b/dev-python/stapler/stapler-1.0.0_p20220330.ebuild
index bcfda6105f88..4f7a695bcf35 100644
--- a/dev-python/stapler/stapler-1.0.0_p20220330.ebuild
+++ b/dev-python/stapler/stapler-1.0.0_p20220330.ebuild
@@ -23,3 +23,8 @@ DEPEND="test? ( dev-python/PyPDF2[${PYTHON_USEDEP}] )"
 RDEPEND="dev-python/PyPDF2[${PYTHON_USEDEP}]"
 
 distutils_enable_tests unittest
+
+src_prepare() {
+	default
+	sed -i -e 's/^from PyPDF2.pdf/from PyPDF2/' staplelib/tests.py || die
+}


             reply	other threads:[~2022-07-26 13:32 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-26 13:32 Ben Kohler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-16 20:27 [gentoo-commits] repo/gentoo:master commit in: dev-python/stapler/ Arthur Zamarin
2025-04-14 19:12 Ben Kohler
2023-11-23 18:55 Michał Górny
2023-10-20 14:37 Michał Górny
2023-01-27 10:52 Michał Górny
2023-01-10 18:17 Ben Kohler
2023-01-10 16:11 Ben Kohler
2022-12-28 18:01 Ben Kohler
2022-12-28 15:44 Ben Kohler
2022-07-25 20:54 Ben Kohler
2022-07-25 14:26 Ben Kohler
2022-06-16  8:09 Michał Górny
2022-05-26 16:08 Ben Kohler
2021-09-09 17:29 Arthur Zamarin
2021-09-09 17:29 Arthur Zamarin
2021-02-20 15:34 Ben Kohler
2021-02-20 15:34 Ben Kohler
2020-11-02 12:13 Ben Kohler
2020-11-02 12:13 Ben Kohler
2020-01-07 15:42 Ben Kohler
2020-01-01 16:52 Ben Kohler
2018-01-04 16:32 Patrice Clement
2018-01-04 15:08 Patrice Clement

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=1658842354.3ff912067dd187a2b078b423930e614b010987a3.bkohler@gentoo \
    --to=bkohler@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