From ce12d41df7b9ff0999b2998d407edb57abe7b9ea Mon Sep 17 00:00:00 2001 From: Michael Schubert Date: Mon, 11 Nov 2024 13:59:05 +0000 Subject: sci-biology/bx-python: version bump 0.13.0 Signed-off-by: Michael Schubert Closes: https://github.com/gentoo/sci/pull/1297 Signed-off-by: Nowa Ammerlaan --- sci-biology/bx-python/Manifest | 2 +- sci-biology/bx-python/bx-python-0.12.0.ebuild | 41 --------------------------- sci-biology/bx-python/bx-python-0.13.0.ebuild | 37 ++++++++++++++++++++++++ 3 files changed, 38 insertions(+), 42 deletions(-) delete mode 100644 sci-biology/bx-python/bx-python-0.12.0.ebuild create mode 100644 sci-biology/bx-python/bx-python-0.13.0.ebuild diff --git a/sci-biology/bx-python/Manifest b/sci-biology/bx-python/Manifest index 69572ef1e..73b861a86 100644 --- a/sci-biology/bx-python/Manifest +++ b/sci-biology/bx-python/Manifest @@ -1 +1 @@ -DIST bx-python-0.12.0.gh.tar.gz 1660806 BLAKE2B 0eddb9b9a93520319d275001067a3518015483605cf4d096729ec92e14c0eb35f2ceb34db964216dd3c6687351a7415c46061960b1f66a7564c90efeba3a587b SHA512 821b33841dd2935485669f6c112277d404475b1cd778deb3eaa1194f3b21594335a219d9345e279e7afc3adb1e347e71e60f0029712fc58e95d1e70f9e8fbb55 +DIST bx-python-0.13.0.gh.tar.gz 1611987 BLAKE2B 138c081c60249e492cbb1474f88a92faadc76c5340555599d93a97a7d8b8e5130e71724f18174262dff3f286678f3d5cac03362aadadf81ecd90a0b6f621927c SHA512 345faf1f42b24ae97216bb9d231e7f97093cd607d51fe51129335e2c077e47dc30a3657b27733674caace5f32eebab8ef64a3f912c585fabf07333722d24317c diff --git a/sci-biology/bx-python/bx-python-0.12.0.ebuild b/sci-biology/bx-python/bx-python-0.12.0.ebuild deleted file mode 100644 index 1a00b0395..000000000 --- a/sci-biology/bx-python/bx-python-0.12.0.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -DISTUTILS_EXT=1 -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -DESCRIPTION="Library for rapid implementation of genome scale analyses" -HOMEPAGE="https://github.com/bxlab/bx-python" -SRC_URI="https://github.com/bxlab/bx-python/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]" -DEPEND="dev-python/cython[${PYTHON_USEDEP}]" - -# doctests have external deps -PATCHES=( - "${FILESDIR}/no-doctest.patch" -) - -distutils_enable_tests pytest - -# https://github.com/bxlab/bx-python/issues/101 -EPYTEST_DESELECT=( - lib.linux-x86_64-cpython-312/bx/binned_array_tests.py::test_file_lzo - lib.linux-x86_64-cpython-312/bx/binned_array_tests.py::test_binned_array_writer -) - -python_test() { - cd "${BUILD_DIR}/build" || die - ln -s "${S}/pytest.ini" . || die - ln -s "${S}/test_data" . || die - epytest -} diff --git a/sci-biology/bx-python/bx-python-0.13.0.ebuild b/sci-biology/bx-python/bx-python-0.13.0.ebuild new file mode 100644 index 000000000..0062da958 --- /dev/null +++ b/sci-biology/bx-python/bx-python-0.13.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Library for rapid implementation of genome scale analyses" +HOMEPAGE="https://github.com/bxlab/bx-python" +SRC_URI="https://github.com/bxlab/bx-python/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="test? ( dev-python/python-lzo[${PYTHON_USEDEP}] )" +RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]" +DEPEND="dev-python/cython[${PYTHON_USEDEP}]" + +# doctests have external deps +PATCHES=( + "${FILESDIR}/no-doctest.patch" +) + +distutils_enable_tests pytest + +# https://github.com/bxlab/bx-python/issues/101 +python_test() { + cd "${BUILD_DIR}/build" || die + ln -s "${S}/pytest.ini" . || die + ln -s "${S}/test_data" . || die + epytest +} -- cgit v1.2.3-65-gdbad