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 58ED01382C5 for ; Thu, 21 Jan 2021 01:05:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 94BA8E0828; Thu, 21 Jan 2021 01:05:10 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 6E2A5E0828 for ; Thu, 21 Jan 2021 01:05:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 783C933BE0D for ; Thu, 21 Jan 2021 01:05:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 918914A5 for ; Thu, 21 Jan 2021 01:05:06 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1611191103.7467c4b861b1d139821cac07568ce11c32765f7d.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/humanfriendly/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/humanfriendly/Manifest dev-python/humanfriendly/humanfriendly-9.1.ebuild X-VCS-Directories: dev-python/humanfriendly/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 7467c4b861b1d139821cac07568ce11c32765f7d X-VCS-Branch: master Date: Thu, 21 Jan 2021 01:05: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: a822575a-1cf1-4981-a52d-287fe4ccf2eb X-Archives-Hash: b15f20e10f46a359d41fa8c6e4594a3d commit: 7467c4b861b1d139821cac07568ce11c32765f7d Author: Sam James gentoo org> AuthorDate: Thu Jan 21 01:01:43 2021 +0000 Commit: Sam James gentoo org> CommitDate: Thu Jan 21 01:05:03 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7467c4b8 dev-python/humanfriendly: bump to 9.1 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> dev-python/humanfriendly/Manifest | 1 + dev-python/humanfriendly/humanfriendly-9.1.ebuild | 36 +++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/dev-python/humanfriendly/Manifest b/dev-python/humanfriendly/Manifest index f3681458fa1..e5765ca7382 100644 --- a/dev-python/humanfriendly/Manifest +++ b/dev-python/humanfriendly/Manifest @@ -1 +1,2 @@ DIST humanfriendly-8.2.tar.gz 358747 BLAKE2B bc5824e94ea94df6ee93ea44d273ccb856f50b69e52ae6293afaedf06c9f00c67e064f0c85edd88be9954bb258334b1b9af4ab88efc5b352f3efe8d322fc55c1 SHA512 123d8592e6613a70421740648bb8998733b118927a0bd6182af848612e46eec8e35cae95168219c9b7672bed8e18e1c4a493a80248eabe47f8a4cb1813c8b591 +DIST humanfriendly-9.1.tar.gz 359616 BLAKE2B c67ca9498ff4a0dac237c8f1c81ae88882a7ab162e2cfd663cd50a066dbcfe045424bdf4dcc1df473f5fc41f0c1b8c0f2aca9883aa21915281618ba332c579a3 SHA512 859a9ff01abe0671a23a63e73c9c09c0f92151e96ec38dd5695c75f99fa436e186835cb8a16f59b82d5216b9c427ea0abd419b470b067f8032fe984776f02a8f diff --git a/dev-python/humanfriendly/humanfriendly-9.1.ebuild b/dev-python/humanfriendly/humanfriendly-9.1.ebuild new file mode 100644 index 00000000000..9ba2dcee001 --- /dev/null +++ b/dev-python/humanfriendly/humanfriendly-9.1.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=( pypy3 python3_{7..9} ) +PYTHON_REQ_USE="threads(+)" +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Human friendly output for text interfaces using Python" +HOMEPAGE="https://pypi.org/project/humanfriendly/ + https://github.com/xolox/python-humanfriendly/ + https://humanfriendly.readthedocs.io/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" + +BDEPEND=" + test? ( + dev-python/capturer[${PYTHON_USEDEP}] + dev-python/coloredlogs[${PYTHON_USEDEP}] + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs + +python_test() { + pytest -vv ${PN}/tests.py || die "Tests fail with ${EPYTHON}" +}