commit:     acafe6e0405a9bcd41829884a04736f8d94e4d8c
Author:     Michael Schubert <mschu.dev <AT> gmail <DOT> com>
AuthorDate: Fri Jul 12 11:44:16 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Jul 19 12:35:07 2024 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=acafe6e0

sci-bioloy/gffutils: version bump 0.13; fix tests

Signed-off-by: Michael Schubert <mschu.dev <AT> gmail.com>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sci-biology/gffutils/gffutils-0.11.1.ebuild | 42 -----------------------------
 sci-biology/gffutils/gffutils-0.13.ebuild   | 32 ++++++++++++++++++++++
 sci-biology/gffutils/metadata.xml           |  4 ---
 3 files changed, 32 insertions(+), 46 deletions(-)

diff --git a/sci-biology/gffutils/gffutils-0.11.1.ebuild 
b/sci-biology/gffutils/gffutils-0.11.1.ebuild
deleted file mode 100644
index 8ee8fd4b5..000000000
--- a/sci-biology/gffutils/gffutils-0.11.1.ebuild
+++ /dev/null
@@ -1,42 +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} )
-
-inherit distutils-r1
-
-DESCRIPTION="GFF and GTF file manipulation and interconversion"
-HOMEPAGE="https://gffutils.readthedocs.io/en/latest/";
-SRC_URI="https://github.com/daler/gffutils/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-# Nose tests no longer supported, migration on next release
-#RESTRICT="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-       dev-python/simplejson[${PYTHON_USEDEP}]
-       dev-python/argh[${PYTHON_USEDEP}]
-       dev-python/argcomplete[${PYTHON_USEDEP}]
-       sci-biology/biopython[${PYTHON_USEDEP}]
-       sci-biology/pybedtools[${PYTHON_USEDEP}]
-       sci-biology/pyfaidx[${PYTHON_USEDEP}]
-"
-DEPEND="${RDEPEND}"
-
-python_prepare_all() {
-       if use test; then
-               sed -i -e "s:/tmp/gffutils-test:${T}:g" gffutils/test/test.py 
|| die
-       fi
-       distutils-r1_python_prepare_all
-}
-
-python_test() {
-       distutils_install_for_testing
-       nosetests -v -x --with-doctest -a '!slow' || die
-}

diff --git a/sci-biology/gffutils/gffutils-0.13.ebuild 
b/sci-biology/gffutils/gffutils-0.13.ebuild
new file mode 100644
index 000000000..fbd90b6d9
--- /dev/null
+++ b/sci-biology/gffutils/gffutils-0.13.ebuild
@@ -0,0 +1,32 @@
+# 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="GFF and GTF file manipulation and interconversion"
+HOMEPAGE="https://gffutils.readthedocs.io/en/latest/";
+SRC_URI="https://github.com/daler/gffutils/archive/v${PV}.tar.gz -> 
${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+       dev-python/simplejson[${PYTHON_USEDEP}]
+       dev-python/argh[${PYTHON_USEDEP}]
+       dev-python/argcomplete[${PYTHON_USEDEP}]
+       dev-python/pyfaidx[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+
+# https://github.com/daler/gffutils/issues/233 + cli not installed yet
+EPYTEST_DESELECT=(
+       gffutils/test/test_biopython_integration.py::test_roundtrip
+       gffutils/test/test_cli.py::test_issue_224
+)
+
+distutils_enable_tests pytest

diff --git a/sci-biology/gffutils/metadata.xml 
b/sci-biology/gffutils/metadata.xml
index c9fe23ced..dc2c60220 100644
--- a/sci-biology/gffutils/metadata.xml
+++ b/sci-biology/gffutils/metadata.xml
@@ -5,10 +5,6 @@
                <email>mschu....@gmail.com</email>
                <name>Michael Schubert</name>
        </maintainer>
-       <maintainer type="project">
-               <email>sci-biol...@gentoo.org</email>
-               <name>Gentoo Biology Project</name>
-       </maintainer>
        <upstream>
                <remote-id type="github">daler/gffutils</remote-id>
        </upstream>

Reply via email to