dev-python/tablib - 9999 (nest)

Search

Install

Install this version:

emerge -a =dev-python/tablib-9999

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

autounmask =dev-python/tablib-9999

Or alternatively:

emerge --autounmask-write -a =dev-python/tablib-9999

Package Information

Description:
Format-agnostic tabular dataset library
Homepage:
https://github.com/jazzband/tablib
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
9999 8 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..14} )

inherit distutils-r1 git-r3

DESCRIPTION="Format-agnostic tabular dataset library"
HOMEPAGE="https://github.com/jazzband/tablib"
EGIT_REPO_URI="https://github.com/jazzband/${PN}.git"

LICENSE="MIT"
SLOT="0"
IUSE="cli ods pandas xls xlsx yaml"
REQUIRED_USE="test? ( cli ods pandas xls xlsx yaml )"

RDEPEND="cli? ( dev-python/tabulate[${PYTHON_USEDEP}] )
	ods? ( dev-python/odfpy[${PYTHON_USEDEP}] )
	pandas? ( dev-python/pandas[${PYTHON_USEDEP}] )
	xls? ( dev-python/xlrd[${PYTHON_USEDEP}]
		dev-python/xlwt[${PYTHON_USEDEP}] )
	xlsx? ( dev-python/openpyxl[${PYTHON_USEDEP}] )
	yaml? ( dev-python/pyyaml[${PYTHON_USEDEP}] )"
BDEPEND="dev-python/setuptools-scm[${PYTHON_USEDEP}]"

distutils_enable_tests pytest

python_prepare_all() {
	# disable pytest options
	sed -i '/addopts/d' pytest.ini || die "sed failed for pytest.ini"

	distutils-r1_python_prepare_all
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-python/tablib | euse -E <flag> -p dev-python/tablib | euse -D <flag> -p dev-python/tablib

Global/Standard Flags

cli
ods
xls

Inherited Eclasses

Dependencies

RDEPEND

cli? ( dev-python/tabulate[] )
	ods? ( dev-python/odfpy[] )
	pandas? ( dev-python/pandas[] )
	xls? ( dev-python/xlrd[]
		dev-python/xlwt[] )
	xlsx? ( dev-python/openpyxl[] )
	yaml? ( dev-python/pyyaml[] )

BDEPEND

dev-python/setuptools-scm[]