Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/tabulate/
Date: Thu, 30 Jul 2020 06:03:11
Message-Id: 1596088974.48d22240202d03906cede0ee562ed75f6432cbcd.mgorny@gentoo
1 commit: 48d22240202d03906cede0ee562ed75f6432cbcd
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 30 05:55:27 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 30 06:02:54 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48d22240
7
8 dev-python/tabulate: Bump to 0.8.7
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/tabulate/Manifest | 1 +
13 dev-python/tabulate/tabulate-0.8.7.ebuild | 37 +++++++++++++++++++++++++++++++
14 2 files changed, 38 insertions(+)
15
16 diff --git a/dev-python/tabulate/Manifest b/dev-python/tabulate/Manifest
17 index aff256b1942..76b3c67e164 100644
18 --- a/dev-python/tabulate/Manifest
19 +++ b/dev-python/tabulate/Manifest
20 @@ -1 +1,2 @@
21 DIST tabulate-0.8.6.tar.gz 39420 BLAKE2B 28cd8c175b258b56a406a78d7891919a49c867d848843365605ccdcb8ba0b307f1448967a124d57b0f6264169104c9cccc84982fea666a035a265a3c9f10cc43 SHA512 ec4d7a7f20db306be1a460276e0b1b1e63fd1ca14b208a45a297508bddbc07b034e03fcb5ff67fe5e2b9419f308900675994a6dccef755c975ad0b1e9124072f
22 +DIST tabulate-0.8.7.tar.gz 40800 BLAKE2B 4e15ef79d152ed6a01fcc88496aed81462e2ac5c5aea1a9977eca955d3c6d743019f8c56a48ef268217cdd7c2780505c4837020ff8cb1bda442304d82e560a5c SHA512 77eb619d3115bbd574ff72b82d55e09f1e2bfe29da0b937b72930b3e65423135722bdc54bed818adf2e25cb49a58f8f85d0ca3b3ed0fcfcfda34a25e54781d0c
23
24 diff --git a/dev-python/tabulate/tabulate-0.8.7.ebuild b/dev-python/tabulate/tabulate-0.8.7.ebuild
25 new file mode 100644
26 index 00000000000..0a33126ae8f
27 --- /dev/null
28 +++ b/dev-python/tabulate/tabulate-0.8.7.ebuild
29 @@ -0,0 +1,37 @@
30 +# Copyright 1999-2020 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +DISTUTILS_USE_SETUPTOOLS=rdepend
36 +PYTHON_COMPAT=( python3_{6..9} pypy3 )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Pretty-print tabular data"
41 +HOMEPAGE="https://pypi.org/project/tabulate/ https://github.com/astanin/python-tabulate"
42 +SRC_URI="https://github.com/astanin/python-${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 +S="${WORKDIR}/python-${P}"
44 +
45 +SLOT="0"
46 +LICENSE="MIT"
47 +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
48 +IUSE="test"
49 +RESTRICT="!test? ( test )"
50 +
51 +RDEPEND="
52 + dev-python/wcwidth[${PYTHON_USEDEP}]"
53 +BDEPEND="
54 + test? (
55 + ${RDEPEND}
56 + $(python_gen_impl_dep 'sqlite')
57 + dev-python/colorclass[${PYTHON_USEDEP}]
58 + $(python_gen_cond_dep 'dev-python/numpy[${PYTHON_USEDEP}]' 'python3*')
59 + )
60 +"
61 +
62 +PATCHES=(
63 + "${FILESDIR}/tabulate-0.8.6-avoid-pandas-dep.patch"
64 +)
65 +
66 +distutils_enable_tests nose