From: "Nowa Ammerlaan" <nowa@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-biology/pysam/
Date: Fri, 21 Mar 2025 14:59:29 +0000 (UTC) [thread overview]
Message-ID: <1742569142.485c37afa2cfd44b7a88cdf73d251fa74a0e8e6d.nowa@gentoo> (raw)
commit: 485c37afa2cfd44b7a88cdf73d251fa74a0e8e6d
Author: Quincy Fleming <quincyf467 <AT> protonmail <DOT> com>
AuthorDate: Sun Mar 16 02:44:35 2025 +0000
Commit: Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
CommitDate: Fri Mar 21 14:59:02 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=485c37af
sci-biology/pysam: sync live build
Closes: https://bugs.gentoo.org/910017
Signed-off-by: Quincy Fleming <quincyf467 <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/41086
Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>
sci-biology/pysam/pysam-9999.ebuild | 43 +++++++++++++++++++------------------
1 file changed, 22 insertions(+), 21 deletions(-)
diff --git a/sci-biology/pysam/pysam-9999.ebuild b/sci-biology/pysam/pysam-9999.ebuild
index a162ddf2158b..d4bf32a59aab 100644
--- a/sci-biology/pysam/pysam-9999.ebuild
+++ b/sci-biology/pysam/pysam-9999.ebuild
@@ -1,9 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1
@@ -23,24 +24,23 @@ HOMEPAGE="
LICENSE="MIT"
SLOT="0"
-RDEPEND=">=sci-libs/htslib-1.17"
-DEPEND="${RDEPEND}
- dev-python/cython[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND=">=sci-libs/htslib-1.21"
+DEPEND="${RDEPEND}"
BDEPEND="
+ dev-python/cython[${PYTHON_USEDEP}]
test? (
- >=sci-biology/bcftools-1.17
- >=sci-biology/samtools-1.17
+ >=sci-biology/bcftools-1.21
+ >=sci-biology/samtools-1.21
)"
distutils_enable_tests pytest
-DISTUTILS_IN_SOURCE_BUILD=1
-
EPYTEST_DESELECT=(
# only work with bundled htslib
'tests/tabix_test.py::TestRemoteFileHTTP'
'tests/tabix_test.py::TestRemoteFileHTTPWithHeader'
+
+ 'tests/AlignedSegment_test.py::TestBaseModifications'
)
python_prepare_all() {
@@ -50,23 +50,24 @@ python_prepare_all() {
export HTSLIB_LIBRARY_DIR="${ESYSROOT}"/usr/$(get_libdir)
rm -r htslib || die
- # prevent setup.py from adding RPATHs (except $ORIGIN)
- sed -e '/runtime_library_dirs=htslib_library_dirs/d' \
- -i setup.py || die
-
if use test; then
einfo "Building test data"
emake -C tests/pysam_data
emake -C tests/cbcf_data
fi
- distutils-r1_python_prepare_all
-}
-
-python_compile() {
# breaks with parallel build
# need to avoid dropping .so plugins into
# build-lib, which breaks tests
- esetup.py build_ext --inplace -j1
- distutils-r1_python_compile -j1
+ DISTUTILS_ARGS=(
+ build_ext
+ --inplace
+ -j1
+ )
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ rm -rf pysam || die
+ epytest
}
next reply other threads:[~2025-03-21 14:59 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-21 14:59 Nowa Ammerlaan [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-22 20:06 [gentoo-commits] repo/gentoo:master commit in: sci-biology/pysam/ Michał Górny
2025-03-21 14:59 Nowa Ammerlaan
2024-05-24 9:54 David Seifert
2023-04-06 19:29 David Seifert
2023-04-06 18:10 David Seifert
2023-03-30 11:11 David Seifert
2023-02-19 15:44 David Seifert
2023-02-19 15:23 David Seifert
2022-06-19 8:09 David Seifert
2022-06-19 8:09 David Seifert
2022-06-10 12:42 David Seifert
2021-10-09 9:32 Arthur Zamarin
2021-10-03 17:41 David Seifert
2020-02-11 12:25 Michał Górny
2017-09-17 10:55 David Seifert
2017-09-17 10:55 David Seifert
2017-09-02 11:04 David Seifert
2016-04-09 22:14 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=1742569142.485c37afa2cfd44b7a88cdf73d251fa74a0e8e6d.nowa@gentoo \
--to=nowa@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