summaryrefslogtreecommitdiff
path: root/dev-python/tablib/tablib-3.0.0.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-04-22 13:47:00 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-04-22 13:47:00 +0000
commitbcafca73e42bd1ef96f3f3c4491e8c20ee1b198c (patch)
tree689b3f096993cca828d976fa6ba6e9d82071fbd8 /dev-python/tablib/tablib-3.0.0.ebuild
parent62d5ff99acd25651868b2fe111576e69a6d19949 (diff)
downloadbaldeagleos-repo-bcafca73e42bd1ef96f3f3c4491e8c20ee1b198c.tar.gz
baldeagleos-repo-bcafca73e42bd1ef96f3f3c4491e8c20ee1b198c.tar.xz
baldeagleos-repo-bcafca73e42bd1ef96f3f3c4491e8c20ee1b198c.zip
Adding metadata
Diffstat (limited to 'dev-python/tablib/tablib-3.0.0.ebuild')
-rw-r--r--dev-python/tablib/tablib-3.0.0.ebuild36
1 files changed, 36 insertions, 0 deletions
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..64ad1a8b210c
--- /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_{6,7,8,9,10} )
+
+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