From 45d43b93b340246ae0869b6883cef12cfaaf39d9 Mon Sep 17 00:00:00 2001 From: Michael Schubert Date: Sun, 26 Jan 2025 15:50:33 +0000 Subject: [PATCH] dev-python/pyBigWig: version bump 0.3.24, add tests, remove outdated ebuilds Signed-off-by: Michael Schubert --- dev-python/pyBigWig/Manifest | 3 +- dev-python/pyBigWig/pyBigWig-0.3.17.ebuild | 25 ----------------- dev-python/pyBigWig/pyBigWig-0.3.18.ebuild | 25 ----------------- dev-python/pyBigWig/pyBigWig-0.3.24.ebuild | 32 ++++++++++++++++++++++ dev-python/pyBigWig/pyBigWig-9999.ebuild | 25 ----------------- 5 files changed, 33 insertions(+), 77 deletions(-) delete mode 100644 dev-python/pyBigWig/pyBigWig-0.3.17.ebuild delete mode 100644 dev-python/pyBigWig/pyBigWig-0.3.18.ebuild create mode 100644 dev-python/pyBigWig/pyBigWig-0.3.24.ebuild delete mode 100644 dev-python/pyBigWig/pyBigWig-9999.ebuild diff --git a/dev-python/pyBigWig/Manifest b/dev-python/pyBigWig/Manifest index b27a43a9b4b..4871f84021f 100644 --- a/dev-python/pyBigWig/Manifest +++ b/dev-python/pyBigWig/Manifest @@ -1,2 +1 @@ -DIST pyBigWig-0.3.17.tar.gz 65490 BLAKE2B 5ae3ad5792357ae36082022aa34548fb7ad105909eccc27305064f8f948714f462e1d239c3af7f9b75b84f5658bcb03231d7d1d3b0ebc8025c96d2e7835f1bfb SHA512 b52fec3a85984708660dd454f5569900a5cce7804d02e719bddbdc7ed2f9f4ab1131e55b0a01ae977b18bb0bbd079e13ec887d5df108d8abfebdd04ad56e503f -DIST pyBigWig-0.3.18.tar.gz 66478 BLAKE2B 0d2e20bed5f59fb8c79026f453c4d5c3e4f9b663e96614b3ef8cbb939357c8895edfa92184da018efdd40e14bbf357f13cc32f898d9cf89419382e7be89b01c8 SHA512 e782f059a8c47043498b2c4b1c0b63f3a1863d03f641c469995536bded220714c61fe0a2f1dbe5841152fe54d0d43b544e14ec4999447d4d808e01b452fa5e88 +DIST pyBigWig-0.3.24.tar.gz 67280 BLAKE2B 3c6b0129eaf82d848d6bca9c78966cb106b53b50ee9551f2bef88e775f0b97d80248a6f1cd11a5f96819c836a36078d107d57683dd37a63b2e0ad49e5d52af77 SHA512 ff08fc987e9320b6c33d57da92ec8f5dcede2fbbafb0cb6a03eb0537da7312d8b7a4aabd30c7ae1cc7e6c9554b7d08654444b1141ee1df944e6d6de957e3d6c0 diff --git a/dev-python/pyBigWig/pyBigWig-0.3.17.ebuild b/dev-python/pyBigWig/pyBigWig-0.3.17.ebuild deleted file mode 100644 index acaca23068a..00000000000 --- a/dev-python/pyBigWig/pyBigWig-0.3.17.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 - -DESCRIPTION="quick access to and creation of bigWig files" -HOMEPAGE="https://github.com/dpryan79/pyBigWig" - -if [[ ${PV} == 9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/dpryan79/pyBigWig" -else - SRC_URI="https://github.com/dpryan79/pyBigWig/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="MIT" -SLOT="0" - -DEPEND="sci-biology/libBigWig" -RDEPEND="${DEPEND}" diff --git a/dev-python/pyBigWig/pyBigWig-0.3.18.ebuild b/dev-python/pyBigWig/pyBigWig-0.3.18.ebuild deleted file mode 100644 index acaca23068a..00000000000 --- a/dev-python/pyBigWig/pyBigWig-0.3.18.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 - -DESCRIPTION="quick access to and creation of bigWig files" -HOMEPAGE="https://github.com/dpryan79/pyBigWig" - -if [[ ${PV} == 9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/dpryan79/pyBigWig" -else - SRC_URI="https://github.com/dpryan79/pyBigWig/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="MIT" -SLOT="0" - -DEPEND="sci-biology/libBigWig" -RDEPEND="${DEPEND}" diff --git a/dev-python/pyBigWig/pyBigWig-0.3.24.ebuild b/dev-python/pyBigWig/pyBigWig-0.3.24.ebuild new file mode 100644 index 00000000000..5b3a7cd0073 --- /dev/null +++ b/dev-python/pyBigWig/pyBigWig-0.3.24.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=setuptools +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +inherit distutils-r1 + +DESCRIPTION="quick access to and creation of bigWig files" +HOMEPAGE="https://github.com/deeptools/pyBigWig" +SRC_URI="https://github.com/deeptools/pyBigWig/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +REPEND=" + sys-libs/zlib:0= + sci-biology/libBigWig +" +DEPEND="${RDEPEND}" + +distutils_enable_tests pytest + +python_test() { + local pysite="${BUILD_DIR}"/install/${EPREFIX}/usr/lib/${EPYTHON}/site-packages + ln -s "${S}"/pyBigWigTest/test.bigBed "${pysite}"/pyBigWigTest || die + ln -s "${S}"/pyBigWigTest/test.bw "${pysite}"/pyBigWigTest || die + epytest pyBigWigTest/test.py +} diff --git a/dev-python/pyBigWig/pyBigWig-9999.ebuild b/dev-python/pyBigWig/pyBigWig-9999.ebuild deleted file mode 100644 index acaca23068a..00000000000 --- a/dev-python/pyBigWig/pyBigWig-9999.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 - -DESCRIPTION="quick access to and creation of bigWig files" -HOMEPAGE="https://github.com/dpryan79/pyBigWig" - -if [[ ${PV} == 9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/dpryan79/pyBigWig" -else - SRC_URI="https://github.com/dpryan79/pyBigWig/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="MIT" -SLOT="0" - -DEPEND="sci-biology/libBigWig" -RDEPEND="${DEPEND}"