From 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 28 Apr 2021 20:21:43 +0100 Subject: gentoo resync : 28.04.2021 --- dev-python/tablib/Manifest | 3 +++ dev-python/tablib/metadata.xml | 19 ++++++++++++++++++ dev-python/tablib/tablib-3.0.0.ebuild | 36 +++++++++++++++++++++++++++++++++++ 3 files changed, 58 insertions(+) create mode 100644 dev-python/tablib/Manifest create mode 100644 dev-python/tablib/metadata.xml create mode 100644 dev-python/tablib/tablib-3.0.0.ebuild (limited to 'dev-python/tablib') diff --git a/dev-python/tablib/Manifest b/dev-python/tablib/Manifest new file mode 100644 index 000000000000..bc9215c5a702 --- /dev/null +++ b/dev-python/tablib/Manifest @@ -0,0 +1,3 @@ +DIST tablib-3.0.0.tar.gz 95049 BLAKE2B 6c7c39f4ba6d8ad08264d3ed6c848ca37d8e2c834aea863a1f79fdcac783ef5fe25779f7d83d38b07c4e2fa47184964e732bb35a8094a98e1350812c2f6bbc6f SHA512 32deac7a05663da9d96f4ef7dc5c4b5e3b8fc4b7a0477c1a807ae83322035e8a99d4f709dfa11ec19af69ac75d7044a469c1b360cdcde3311cdf97d0f584b0e6 +EBUILD tablib-3.0.0.ebuild 999 BLAKE2B 22d35ea9f59c14890f9819d9d30b55dc7f65084a3283fd249afbfd1128eb247cfe82b6a62ef76b7ef83a0df4e885246e887bd584e5666309b46c41313ada44eb SHA512 a6b9abb2b6e1c0d27cc54732b47b2d7683e9c029b9b1f092145e21761c5f60b5fc24d619deb15f6a2adfa67019b92ff03d9bdd02a3d5244f2ae6439fc268fe39 +MISC metadata.xml 565 BLAKE2B c6e792a6ac13ad9d1c75f1da4dbb2bb96a623b9ef8c2aeb97e2aeb13dd68fc1a61039142cca84d42bce8e0975f796c103c36643e2c5705a48c4bb4b1476676c4 SHA512 59a57cd0a1db682043bc4e6ca07c0daee75c0083ab161dc9ee07e46bc3e5c64ffc6e9d6d16f0e3a7d06c2fcaee15ed53a12d07dd4d1b0cadd0db587a77a4e0c1 diff --git a/dev-python/tablib/metadata.xml b/dev-python/tablib/metadata.xml new file mode 100644 index 000000000000..42b7a01d6459 --- /dev/null +++ b/dev-python/tablib/metadata.xml @@ -0,0 +1,19 @@ + + + + + marco@scardovi.com + Marco Scardovi + + + proxy-maint@gentoo.org + Proxy Maintainers + + + python@gentoo.org + Python + + + tablib + + diff --git a/dev-python/tablib/tablib-3.0.0.ebuild b/dev-python/tablib/tablib-3.0.0.ebuild new file mode 100644 index 000000000000..4957b25fea3e --- /dev/null +++ b/dev-python/tablib/tablib-3.0.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) + +inherit distutils-r1 + +DESCRIPTION="Format-agnostic tabular dataset library" +HOMEPAGE="https://pypi.org/project/tablib/ https://github.com/jazzband/tablib/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="BSD-2" +KEYWORDS="~amd64" + +BDEPEND=" + test? ( + dev-python/markuppy[${PYTHON_USEDEP}] + dev-python/odfpy[${PYTHON_USEDEP}] + dev-python/openpyxl[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/tabulate[${PYTHON_USEDEP}] + dev-python/xlrd[${PYTHON_USEDEP}] + dev-python/xlwt[${PYTHON_USEDEP}] + ) +" + +src_prepare() { + sed -i -e 's:addopts = -rsxX --showlocals --tb=native --cov=tablib --cov=tests --cov-report xml --cov-report term --cov-report html:addopts = -rsxX --showlocals --tb=native:' pytest.ini || die + distutils-r1_src_prepare +} + +distutils_enable_tests pytest -- cgit v1.2.3