public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alexey Shvetsov" <alexxy@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/MDAnalysis/
Date: Tue, 12 Aug 2025 15:22:09 +0000 (UTC)	[thread overview]
Message-ID: <1755012098.be944ba847c0a79d8e858691f84cc7b191c496f2.alexxy@gentoo> (raw)

commit:     be944ba847c0a79d8e858691f84cc7b191c496f2
Author:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 12 15:21:38 2025 +0000
Commit:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Tue Aug 12 15:21:38 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be944ba8

sci-chemistry/MDAnalysis: Fix build with py3.13 and new numpy

Signed-off-by: Alexey Shvetsov <alexxy <AT> gentoo.org>

 sci-chemistry/MDAnalysis/MDAnalysis-2.9.0.ebuild | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/sci-chemistry/MDAnalysis/MDAnalysis-2.9.0.ebuild b/sci-chemistry/MDAnalysis/MDAnalysis-2.9.0.ebuild
index bf7d351fee00..9e652df57daf 100644
--- a/sci-chemistry/MDAnalysis/MDAnalysis-2.9.0.ebuild
+++ b/sci-chemistry/MDAnalysis/MDAnalysis-2.9.0.ebuild
@@ -41,3 +41,13 @@ RDEPEND="
 BDEPEND="${RDEPEND}"
 
 distutils_enable_tests pytest
+
+src_prepare() {
+	# fix deprecated NPY API
+	sed \
+		-e "s:NPY_IN_ARRAY:NPY_ARRAY_IN_ARRAY:g" \
+		-e "s:NPY_ALIGNED:NPY_ARRAY_ALIGNED:g" \
+		-e "s:NPY_ENSURECOPY:NPY_ARRAY_ENSURECOPY:g" \
+		-i MDAnalysis/lib/src/transformations/transformations.c || die
+	distutils-r1_src_prepare
+}


             reply	other threads:[~2025-08-12 15:22 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-12 15:22 Alexey Shvetsov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-03 18:02 [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/MDAnalysis/ Alexey Shvetsov
2024-06-05 17:27 Alexey Shvetsov
2023-10-14  6:17 Alexey Shvetsov
2023-05-20 11:36 Pacho Ramos
2023-05-20  6:31 Michał Górny
2023-05-20  6:31 Michał Górny
2023-05-02 18:42 Pacho Ramos
2023-03-17 15:29 Michał Górny
2022-12-25 22:15 Alexey Shvetsov
2022-01-13 16:15 Alexey Shvetsov
2021-12-28 14:15 Andrew Ammerlaan
2021-01-18 10:14 David Seifert
2021-01-12 20:25 Pacho Ramos
2019-12-26 20:46 David Seifert
2019-11-17 15:12 Alexey Shvetsov
2018-06-28 12:20 Alexey Shvetsov
2018-05-16 22:57 [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/mdanalysis/ Aaron Bauman
2015-09-01 20:06 Tobias Klausmann

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=1755012098.be944ba847c0a79d8e858691f84cc7b191c496f2.alexxy@gentoo \
    --to=alexxy@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