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 722EB138350 for ; Tue, 5 May 2020 20:58:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9376FE0C64; Tue, 5 May 2020 20:58:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 79B9FE0C64 for ; Tue, 5 May 2020 20:58:09 +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 25C2434F5D1 for ; Tue, 5 May 2020 20:58:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EB9C21FB for ; Tue, 5 May 2020 20:58:04 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1588711883.cfa5138343ed6df6bf3738326c45f957a446a01a.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/requests-cache/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/requests-cache/requests-cache-0.4.12-r1.ebuild X-VCS-Directories: dev-python/requests-cache/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: cfa5138343ed6df6bf3738326c45f957a446a01a X-VCS-Branch: master Date: Tue, 5 May 2020 20:58:04 +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: 25e01240-986b-47c2-9858-03efa088d047 X-Archives-Hash: 20c5f79e46cb11929ee682bbfee3403d commit: cfa5138343ed6df6bf3738326c45f957a446a01a Author: Mike Frysinger gentoo org> AuthorDate: Tue May 5 20:50:42 2020 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Tue May 5 20:51:23 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfa51383 dev-python/requests-cache: add py3.7 & py3.8 & EAPI=7 Fixes: https://bugs.gentoo.org/719538 Signed-off-by: Mike Frysinger gentoo.org> .../requests-cache/requests-cache-0.4.12-r1.ebuild | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/dev-python/requests-cache/requests-cache-0.4.12-r1.ebuild b/dev-python/requests-cache/requests-cache-0.4.12-r1.ebuild new file mode 100644 index 00000000000..9315a80d30a --- /dev/null +++ b/dev-python/requests-cache/requests-cache-0.4.12-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python2_7 python3_{6,7,8} ) + +inherit distutils-r1 + +HOMEPAGE="https://pypi.org/project/requests-cache/" +DESCRIPTION="Persistent cache for requests library" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +# Portage only has versions of request >= minimum border +RDEPEND=">=dev-python/requests-2.6[${PYTHON_USEDEP}]" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" + +# Testsuite excels in tests connecting to the network via local server daemons +#distutils_enable_tests setup.py + +python_compile_all() { + use doc && emake -C docs html +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all +}