diff options
author | 2024-07-19 08:51:36 +0000 | |
---|---|---|
committer | 2024-07-19 14:35:08 +0200 | |
commit | 45eacba59a5cb5bfd342b49cd30677887efac7f0 (patch) | |
tree | 2a4a4cb8f141e8b51b4c60081812f896caf2de6f /dev-python | |
parent | sci-bioloy/gffutils: version bump 0.13; fix tests (diff) | |
download | sci-45eacba59a5cb5bfd342b49cd30677887efac7f0.tar.gz sci-45eacba59a5cb5bfd342b49cd30677887efac7f0.tar.bz2 sci-45eacba59a5cb5bfd342b49cd30677887efac7f0.zip |
dev-python/bedtools: move from sci-biology, version bump 0.10.0
Signed-off-by: Michael Schubert <mschu.dev@gmail.com>
Closes: https://github.com/gentoo/sci/pull/1285
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pybedtools/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pybedtools/metadata.xml | 15 | ||||
-rw-r--r-- | dev-python/pybedtools/pybedtools-0.10.0.ebuild | 41 |
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/pybedtools/Manifest b/dev-python/pybedtools/Manifest new file mode 100644 index 000000000..7db62a4c4 --- /dev/null +++ b/dev-python/pybedtools/Manifest @@ -0,0 +1 @@ +DIST pybedtools-0.10.0.tar.gz 12497095 BLAKE2B d9fb44bd3afcb8748e0cadbe0c4d55c7325911331d0719b79bd04eff264bd6299d407dee7f511bc05a7e12dd46e92a9c25ce0607b8926e6542e4dd652cc9d23f SHA512 cec04464fcfaa12bb660f223d6f656a30ac5822ea9053455dbc5717d2afbc998db9fd4b7424d8458445450a6ce5aafb65463fa1274b2691b26bfda7fe84bef56 diff --git a/dev-python/pybedtools/metadata.xml b/dev-python/pybedtools/metadata.xml new file mode 100644 index 000000000..b80afba97 --- /dev/null +++ b/dev-python/pybedtools/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mschu.dev@gmail.com</email> + <name>Michael Schubert</name> + </maintainer> + <maintainer type="project"> + <email>sci-biology@gentoo.org</email> + <name>Gentoo Biology Project</name> + </maintainer> + <upstream> + <remote-id type="github">daler/pybedtools</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pybedtools/pybedtools-0.10.0.ebuild b/dev-python/pybedtools/pybedtools-0.10.0.ebuild new file mode 100644 index 000000000..ae51c24ce --- /dev/null +++ b/dev-python/pybedtools/pybedtools-0.10.0.ebuild @@ -0,0 +1,41 @@ +# 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 +DISTUTILS_EXT=1 +inherit distutils-r1 + +DESCRIPTION="Use BED and GFF files from python using BEDtools" +HOMEPAGE="https://daler.github.io/pybedtools" +SRC_URI="https://github.com/daler/pybedtools/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + sci-biology/bedtools + sci-biology/pysam[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] +" + +# TODO: fix docs building +# ModuleNotFoundError: No module named 'pybedtools.cbedtools' +# even if pybedtools is installed +#distutils_enable_sphinx docs/source +distutils_enable_tests pytest + +python_test() { + # Requires network + local EPYTEST_DESELECT=( + test/test_helpers.py::test_chromsizes + ) + cd "${T}" || die + epytest --pyargs pybedtools +} |