From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C236013835A for ; Wed, 18 Nov 2020 09:35:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EAB4AE09F7; Wed, 18 Nov 2020 09:35:10 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D44A3E09F7 for ; Wed, 18 Nov 2020 09:35:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EBB9D340C5B for ; Wed, 18 Nov 2020 09:35:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6FB7F462 for ; Wed, 18 Nov 2020 09:35:06 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1605691868.4ab9c0022d2a5dcc25b57edea80e86773bb9c57e.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/prettytable/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/prettytable/Manifest dev-python/prettytable/metadata.xml dev-python/prettytable/prettytable-2.0.0.ebuild X-VCS-Directories: dev-python/prettytable/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 4ab9c0022d2a5dcc25b57edea80e86773bb9c57e X-VCS-Branch: master Date: Wed, 18 Nov 2020 09:35:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 829811b1-915a-4271-bba4-21c0e86356ca X-Archives-Hash: bcf5cd4e9b570d977eee90e608d404b4 commit: 4ab9c0022d2a5dcc25b57edea80e86773bb9c57e Author: Wim Muskee gmail com> AuthorDate: Sat Oct 31 07:28:55 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Nov 18 09:31:08 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ab9c002 dev-python/prettytable: version bump to 2.0.0, add pypy3 PYTHON_COMPAT and update metadata Signed-off-by: Wim Muskee gmail.com> Closes: https://github.com/gentoo/gentoo/pull/18087 Signed-off-by: Michał Górny gentoo.org> dev-python/prettytable/Manifest | 1 + dev-python/prettytable/metadata.xml | 3 ++- dev-python/prettytable/prettytable-2.0.0.ebuild | 33 +++++++++++++++++++++++++ 3 files changed, 36 insertions(+), 1 deletion(-) diff --git a/dev-python/prettytable/Manifest b/dev-python/prettytable/Manifest index aba68b89708..2c9448eed92 100644 --- a/dev-python/prettytable/Manifest +++ b/dev-python/prettytable/Manifest @@ -1 +1,2 @@ DIST prettytable-0.7.2.tar.bz2 21755 BLAKE2B 385d5bd6d4ab75a8c7ae96abc9d9e98a66a196265853113e7fb59073876e9f5e9c6c4fba9a30d80cc726a5184e78fb6451ff9a553909704fcc5022b6a08413f4 SHA512 f3a3fe6fa29f4ef090ff6cac06549ebd9db8b387e7b25fc64c4e37c8444586f50355c5573f38caabc72360aa68054aa189a67aa37f0bd13b872862ecd9151e71 +DIST prettytable-2.0.0.tar.gz 43072 BLAKE2B 2293d0377f0bbef925014812cf0cd3702ef4f651927302012df44e829dd9ea249d03ddaee32f9313f3d001900e92df9a3be8812c8fc573624d308fa5c40a858a SHA512 b7c47df7d85a91e9518dea8dafcb27037e5cde81f59dd2b9e9468ae44b18431dd7d943fed487d5713e2c5aa25df76a8eb6587d045f73b8f25f53715a8a2085fc diff --git a/dev-python/prettytable/metadata.xml b/dev-python/prettytable/metadata.xml index 567af444478..39f76486a1e 100644 --- a/dev-python/prettytable/metadata.xml +++ b/dev-python/prettytable/metadata.xml @@ -11,6 +11,7 @@ prettytable - PrettyTable + prettytable + jazzband/prettytable diff --git a/dev-python/prettytable/prettytable-2.0.0.ebuild b/dev-python/prettytable/prettytable-2.0.0.ebuild new file mode 100644 index 00000000000..9ac1fd588c7 --- /dev/null +++ b/dev-python/prettytable/prettytable-2.0.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} pypy3 ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Easily displaying tabular data in a visually appealing ASCII table format" +HOMEPAGE="https://github.com/jazzband/prettytable https://pypi.org/project/prettytable" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-python/wcwidth[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + $(python_gen_impl_dep sqlite) + )" + +distutils_enable_tests pytest + +python_test() { + distutils_install_for_testing + pytest -vv || die "Tests failed with ${EPYTHON}" +}