commit: f2411733979be971ad2dcaf4975cce35b6b4758d Author: Michael Schubert <mschu.dev <AT> gmail <DOT> com> AuthorDate: Mon Feb 17 18:48:45 2025 +0000 Commit: Nowa Ammerlaan <nowa <AT> gentoo <DOT> org> CommitDate: Wed Feb 26 13:50:59 2025 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=f2411733
dev-python/py2bit: version bump 0.3.3; remove live ebuild Signed-off-by: Michael Schubert <mschu.dev <AT> gmail.com> Closes: https://github.com/gentoo/sci/pull/1324 Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org> dev-python/py2bit/files/py2bit-0.3.1-gcc14.patch | 13 --------- dev-python/py2bit/py2bit-0.3.1.ebuild | 34 ------------------------ dev-python/py2bit/py2bit-0.3.3.ebuild | 28 +++++++++++++++++++ dev-python/py2bit/py2bit-9999.ebuild | 34 ------------------------ 4 files changed, 28 insertions(+), 81 deletions(-) diff --git a/dev-python/py2bit/files/py2bit-0.3.1-gcc14.patch b/dev-python/py2bit/files/py2bit-0.3.1-gcc14.patch deleted file mode 100644 index 7fe1a84f6..000000000 --- a/dev-python/py2bit/files/py2bit-0.3.1-gcc14.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/py2bit.c b/py2bit.c -index dc24535..a9080c3 100644 ---- a/py2bit.c -+++ b/py2bit.c -@@ -32,7 +32,7 @@ static PyObject *py2bitOpen(PyObject *self, PyObject *args, PyObject *kwds) { - } - - PyObject *py2bitEnter(pyTwoBit_t *self, PyObject *args) { -- pyTwoBit_t *pytb = self->tb; -+ pyTwoBit_t *pytb = self; - - if(!pytb) { - PyErr_SetString(PyExc_RuntimeError, "The 2bit file handle is not open!"); diff --git a/dev-python/py2bit/py2bit-0.3.1.ebuild b/dev-python/py2bit/py2bit-0.3.1.ebuild deleted file mode 100644 index decc59666..000000000 --- a/dev-python/py2bit/py2bit-0.3.1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) -DISTUTILS_USE_PEP517=setuptools - -inherit distutils-r1 - -DESCRIPTION="Python library for accessing 2bit files" -HOMEPAGE="https://github.com/dpryan79/py2bit" - -if [[ ${PV} == 9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/deeptools/py2bit" -else - SRC_URI="https://github.com/deeptools/py2bit/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="MIT" -SLOT="0" - -DEPEND="sci-libs/lib2bit" -RDEPEND="${DEPEND}" - -PATCHES=( "${FILESDIR}/${PN}-0.3.1-gcc14.patch" ) - -distutils_enable_tests pytest - -python_test() { - epytest "py2bitTest/test.py" -} diff --git a/dev-python/py2bit/py2bit-0.3.3.ebuild b/dev-python/py2bit/py2bit-0.3.3.ebuild new file mode 100644 index 000000000..96177adeb --- /dev/null +++ b/dev-python/py2bit/py2bit-0.3.3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +inherit distutils-r1 + +DESCRIPTION="Python library for accessing 2bit files" +HOMEPAGE="https://github.com/deeptools/py2bit" +SRC_URI="https://github.com/deeptools/py2bit/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="sci-libs/lib2bit" +RDEPEND="${DEPEND}" + +distutils_enable_tests pytest + +python_test() { + epytest py2bitTest/test.py +} diff --git a/dev-python/py2bit/py2bit-9999.ebuild b/dev-python/py2bit/py2bit-9999.ebuild deleted file mode 100644 index decc59666..000000000 --- a/dev-python/py2bit/py2bit-9999.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) -DISTUTILS_USE_PEP517=setuptools - -inherit distutils-r1 - -DESCRIPTION="Python library for accessing 2bit files" -HOMEPAGE="https://github.com/dpryan79/py2bit" - -if [[ ${PV} == 9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/deeptools/py2bit" -else - SRC_URI="https://github.com/deeptools/py2bit/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="MIT" -SLOT="0" - -DEPEND="sci-libs/lib2bit" -RDEPEND="${DEPEND}" - -PATCHES=( "${FILESDIR}/${PN}-0.3.1-gcc14.patch" ) - -distutils_enable_tests pytest - -python_test() { - epytest "py2bitTest/test.py" -}
