dev-python/pyfaidx - 0.9.1.1 (science)

Search

Install

Install this version:

emerge -a =dev-python/pyfaidx-0.9.1.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/pyfaidx-0.9.1.1

Or alternatively:

emerge --autounmask-write -a =dev-python/pyfaidx-0.9.1.1

Package Information

Description:
Efficient pythonic random access to fasta subsequences
Homepage:
https://github.com/mdshw5/pyfaidx https://pypi.org/project/pyfaidx/
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
0.9.1.1 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..15} )
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}

inherit distutils-r1

DESCRIPTION="Efficient pythonic random access to fasta subsequences"
HOMEPAGE="
	https://github.com/mdshw5/pyfaidx
	https://pypi.org/project/pyfaidx/
"
SRC_URI="https://github.com/mdshw5/pyfaidx/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"

RDEPEND="dev-python/packaging[${PYTHON_USEDEP}]"
BDEPEND="dev-python/setuptools-scm[${PYTHON_USEDEP}]"

EPYTEST_PLUGINS=()
distutils_enable_tests pytest

python_test() {
	# The remaining tests require genome data downloaded separately by upstream
	epytest -o addopts= \
		tests/test_bed_non_data.py \
		tests/test_bgzfblock.py \
		'tests/test_faidx.py::test_faidx_cli_transform_chromsizes[False]' \
		tests/test_feature_comments.py \
		tests/test_feature_spliced_seq.py \
		tests/test_long_fasta_entry.py \
		tests/test_sequence_class.py \
		tests/test_wrap_sequence_newline.py
}

Inherited Eclasses

Dependencies

RDEPEND

dev-python/packaging[]

BDEPEND

dev-python/setuptools-scm[]

Manifest for 0.9.1.1

Type File Size Source URLs
DIST pyfaidx-0.9.1.1.gh.tar.gz 64537 bytes https://github.com/mdshw5/pyfaidx/archive/v0.9.1.1.tar.gz