From 0f558761aa2dee1017b4751e4017205e015a9560 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 29 Jun 2022 12:04:12 +0100 Subject: gentoo resync : 29.12.2022 --- sci-biology/pysam/Manifest | 4 +-- sci-biology/pysam/pysam-0.17.0.ebuild | 66 ----------------------------------- sci-biology/pysam/pysam-0.19.1.ebuild | 66 +++++++++++++++++++++++++++++++++++ 3 files changed, 68 insertions(+), 68 deletions(-) delete mode 100644 sci-biology/pysam/pysam-0.17.0.ebuild create mode 100644 sci-biology/pysam/pysam-0.19.1.ebuild (limited to 'sci-biology/pysam') diff --git a/sci-biology/pysam/Manifest b/sci-biology/pysam/Manifest index c990614486e8..01d3cd352fa6 100644 --- a/sci-biology/pysam/Manifest +++ b/sci-biology/pysam/Manifest @@ -1,3 +1,3 @@ -DIST pysam-0.17.0.tar.gz 3579324 BLAKE2B 6b88fe771350f20fa7c90a4c02c60fefd6a34d979c687fce1e34a17e1ff203c7d2d07e36b64f7a73f99676b805334df7f049932ce15e26362a5214da03435d64 SHA512 16740f08fb68a1f24656454b834dd9ac52ad9f864f307564566fc244bbd2efb7cb17107b2e85ca5c56af817918a138d1c071533de1b80e5bba42b01bbad7f552 -EBUILD pysam-0.17.0.ebuild 1586 BLAKE2B 38351a74c0a57348fdc1999f35b10cd8645160175386b94885e49bbd99bc64f577c326d04e09ba56abce0c0c01331276ebef080fbf519dbfbae41960b6ccc61a SHA512 bd0e336603727c67cd363c628daa9aa9b95e6fe2dbcc06425fcbcf03bd8bd4bd79e651b637434cdbbecd85ebc2841647863910e31f94dd9641694fb4c68de8d4 +DIST pysam-0.19.1.gh.tar.gz 3649711 BLAKE2B dac3ab5a86ef95048e966fc007a0aa1c96ca8498f7c2672c2ed024f34b508bac42048e58b8ae0b538cea137a51e1874bb5c2c4976c7f3dc657a4c2cf5f9a27fb SHA512 719f3a15e7dd277a90cce7f938b674ff86ef6b8f2d3440c3a0bf2ea22c4fbc2b3c9e0cf297d958c99e09dcd6e9905f32e8c632158aa8d5af8210e79705e1c479 +EBUILD pysam-0.19.1.ebuild 1597 BLAKE2B 37065e16bd756380808b1eb48c78296e2652e7aaa59dbb63ed66ea81049c9c4daa6516c4cd20fd572213e3d43c34a5e118ae11a6eb42c7da61f7b67c8b5b651b SHA512 27ef49bddd395ca67db60a2b34bcc9dc184c035b42c66410274f47d47cf03e6f712231b89cbd18657157b5d8a511b82fdc4272a599f71eca5f879f895fb8d93e MISC metadata.xml 442 BLAKE2B e3d339868a09d8930ff6d83f414f8166ed283a66d83d5b0fed0031024db151b17b1347f5e015f2b9c2152a041e2beb70696362be9b4e3fc225078bc5c520ad58 SHA512 4b1d08c5524e1bb04129e0d38f0584654b34979024afd2cf15bd482654ca8fac9c82e6db0661f7370f9fefa6949f1291ba3c18a9dca5d5041bd6f76554fa33c7 diff --git a/sci-biology/pysam/pysam-0.17.0.ebuild b/sci-biology/pysam/pysam-0.17.0.ebuild deleted file mode 100644 index afdc4777e20e..000000000000 --- a/sci-biology/pysam/pysam-0.17.0.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) - -inherit distutils-r1 - -DESCRIPTION="Python interface for the SAM/BAM sequence alignment and mapping format" -HOMEPAGE=" - https://github.com/pysam-developers/pysam - https://pypi.org/project/pysam/" -SRC_URI="https://github.com/pysam-developers/pysam/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND="=sci-libs/htslib-1.13*:=" -DEPEND="${RDEPEND} - dev-python/cython[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( - =sci-biology/bcftools-1.13* - =sci-biology/samtools-1.13* - )" - -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' -) - -python_prepare_all() { - # unbundle htslib - export HTSLIB_MODE="external" - export HTSLIB_INCLUDE_DIR="${EPREFIX}"/usr/include - export HTSLIB_LIBRARY_DIR="${EPREFIX}"/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 -} diff --git a/sci-biology/pysam/pysam-0.19.1.ebuild b/sci-biology/pysam/pysam-0.19.1.ebuild new file mode 100644 index 000000000000..41afb5307775 --- /dev/null +++ b/sci-biology/pysam/pysam-0.19.1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Python interface for the SAM/BAM sequence alignment and mapping format" +HOMEPAGE=" + https://github.com/pysam-developers/pysam + https://pypi.org/project/pysam/" +SRC_URI="https://github.com/pysam-developers/pysam/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="=sci-libs/htslib-1.15.1*:=" +DEPEND="${RDEPEND} + dev-python/cython[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + =sci-biology/bcftools-1.15.1* + =sci-biology/samtools-1.15.1* + )" + +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' +) + +python_prepare_all() { + # unbundle htslib + export HTSLIB_MODE="external" + export HTSLIB_INCLUDE_DIR="${ESYSROOT}"/usr/include + 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 +} -- cgit v1.2.3