public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinxcontrib-bibtex/
Date: Mon, 11 Apr 2022 19:58:55 +0000 (UTC)	[thread overview]
Message-ID: <1649707124.b136c79419e3c5b19d5580cf898de1ce2aa6cf56.mgorny@gentoo> (raw)

commit:     b136c79419e3c5b19d5580cf898de1ce2aa6cf56
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 11 18:43:13 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Apr 11 19:58:44 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b136c794

dev-python/sphinxcontrib-bibtex: Use distutils_write_namespace

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.4.2.ebuild | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.4.2.ebuild b/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.4.2.ebuild
index 5d8bcffd2fd0..d63be4fb2ab4 100644
--- a/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.4.2.ebuild
+++ b/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.4.2.ebuild
@@ -37,11 +37,6 @@ python_compile() {
 }
 
 python_test() {
-	# this is needed to keep the tests working while
-	# dev-python/namespace-sphinxcontrib is still installed
-	cat > "${BUILD_DIR}/install$(python_get_sitedir)/sphinxcontrib/__init__.py" <<-EOF || die
-		__path__ = __import__('pkgutil').extend_path(__path__, __name__)
-	EOF
+	distutils_write_namespace sphinxcontrib
 	epytest
-	rm "${BUILD_DIR}/install$(python_get_sitedir)/sphinxcontrib/__init__.py" || die
 }


             reply	other threads:[~2022-04-11 19:59 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-11 19:58 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-06-27 19:21 [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinxcontrib-bibtex/ Michał Górny
2025-05-04 19:23 Michał Górny
2025-02-19 20:22 Michał Górny
2024-09-13  3:12 Michał Górny
2024-07-08 19:22 Michał Górny
2024-04-14 15:28 Michał Górny
2024-02-26 14:25 Michał Górny
2024-01-10 21:12 Michał Górny
2023-12-30 18:35 Michał Górny
2023-12-30  1:26 Ionen Wolkens
2023-12-18  5:18 Michał Górny
2023-09-14 11:02 Andrew Ammerlaan
2023-08-27 15:59 Michał Górny
2023-08-25  9:49 Michał Górny
2023-03-17 15:25 Michał Górny
2022-08-31 12:38 Andrew Ammerlaan
2022-06-05  5:52 Michał Górny
2022-04-26 19:01 Michał Górny
2022-04-11  7:41 Michał Górny
2022-04-10 21:20 Michał Górny
2021-09-13  7:31 Andrew Ammerlaan
2021-09-03  7:32 Arthur Zamarin
2021-09-03  7:32 Arthur Zamarin
2021-06-05 20:54 Andrew Ammerlaan
2021-06-01 21:37 Michał Górny
2021-05-22 20:55 Andrew Ammerlaan
2021-05-17  7:36 Michał Górny
2021-03-05 21:50 Michał Górny
2021-01-16  8:05 Joonas Niilola

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=1649707124.b136c79419e3c5b19d5580cf898de1ce2aa6cf56.mgorny@gentoo \
    --to=mgorny@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