diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
commit | 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch) | |
tree | 758c221bad35c9288d0bd6df9c7dfc226728e52c /dev-python/tablib | |
parent | 8d5dbd847cbc704a6a06405856e94b461011afe3 (diff) |
gentoo resync : 28.04.2021
Diffstat (limited to 'dev-python/tablib')
-rw-r--r-- | dev-python/tablib/Manifest | 3 | ||||
-rw-r--r-- | dev-python/tablib/metadata.xml | 19 | ||||
-rw-r--r-- | dev-python/tablib/tablib-3.0.0.ebuild | 36 |
3 files changed, 58 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>marco@scardovi.com</email> + <name>Marco Scardovi</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">tablib</remote-id> + </upstream> +</pkgmetadata> 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 |