public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pythonnet/
Date: Sat, 10 Feb 2024 16:24:56 +0000 (UTC)	[thread overview]
Message-ID: <1707582289.03a11e163b2fc6906ab7c9b3d7326c3f4d817933.xgqt@gentoo> (raw)

commit:     03a11e163b2fc6906ab7c9b3d7326c3f4d817933
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 10 13:38:15 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Feb 10 16:24:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03a11e16

dev-python/pythonnet: use nuget_writeconfig

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-python/pythonnet/pythonnet-3.0.3.ebuild | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

diff --git a/dev-python/pythonnet/pythonnet-3.0.3.ebuild b/dev-python/pythonnet/pythonnet-3.0.3.ebuild
index 8f82e2daedb9..7aafb07a2236 100644
--- a/dev-python/pythonnet/pythonnet-3.0.3.ebuild
+++ b/dev-python/pythonnet/pythonnet-3.0.3.ebuild
@@ -257,18 +257,9 @@ pkg_setup() {
 }
 
 src_prepare() {
-	distutils-r1_src_prepare
+	nuget_writeconfig "$(pwd)/"
 
-	# Because python scripts perform the build.
-	cat <<EOF > NuGet.config || die
-<?xml version="1.0" encoding="utf-8"?>
-<configuration>
-<packageSources>
-<clear />
-<add key="nuget" value="${NUGET_PACKAGES}" />
-</packageSources>
-</configuration>
-EOF
+	distutils-r1_src_prepare
 }
 
 src_configure() {


             reply	other threads:[~2024-02-10 16:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-10 16:24 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-18 15:09 [gentoo-commits] repo/gentoo:master commit in: dev-python/pythonnet/ Michał Górny
2025-01-18 14:20 Jakov Smolić
2024-12-30 19:30 Maciej Barć
2024-10-27  3:26 Michał Górny
2024-10-27  3:26 Michał Górny
2024-10-27  3:05 Sam James
2024-10-10 16:43 Maciej Barć
2024-05-01 23:38 Sam James
2024-01-30 19:58 Maciej Barć

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=1707582289.03a11e163b2fc6906ab7c9b3d7326c3f4d817933.xgqt@gentoo \
    --to=xgqt@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