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 D045A158013 for ; Mon, 27 Sep 2021 11:32:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 223DAE0908; Mon, 27 Sep 2021 11:32:24 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B864FE0908 for ; Mon, 27 Sep 2021 11:32:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8F569342E9E for ; Mon, 27 Sep 2021 11:32:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C1502105 for ; Mon, 27 Sep 2021 11:32:20 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1632742265.bc4e6cdfa0d748afb83c1bcd69bd4bdc89e983b3.arthurzam@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.8.1-r1.ebuild dev-python/requests-cache/requests-cache-0.8.1.ebuild X-VCS-Directories: dev-python/requests-cache/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: bc4e6cdfa0d748afb83c1bcd69bd4bdc89e983b3 X-VCS-Branch: master Date: Mon, 27 Sep 2021 11:32:20 +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: 39fe4682-9cf9-4149-8f1c-c8ae73a9a8de X-Archives-Hash: ef95606922ef694c2a1c6dabad221ee2 commit: bc4e6cdfa0d748afb83c1bcd69bd4bdc89e983b3 Author: Arthur Zamarin gentoo org> AuthorDate: Mon Sep 27 11:31:05 2021 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Mon Sep 27 11:31:05 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc4e6cdf dev-python/requests-cache: cleanup deps - Add optional dependencies - Add missing test deps - Add missing rdeps Signed-off-by: Arthur Zamarin gentoo.org> ...ache-0.8.1.ebuild => requests-cache-0.8.1-r1.ebuild} | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/dev-python/requests-cache/requests-cache-0.8.1.ebuild b/dev-python/requests-cache/requests-cache-0.8.1-r1.ebuild similarity index 71% rename from dev-python/requests-cache/requests-cache-0.8.1.ebuild rename to dev-python/requests-cache/requests-cache-0.8.1-r1.ebuild index 61afa9af045..b5921df4921 100644 --- a/dev-python/requests-cache/requests-cache-0.8.1.ebuild +++ b/dev-python/requests-cache/requests-cache-0.8.1-r1.ebuild @@ -7,7 +7,7 @@ DISTUTILS_USE_SETUPTOOLS=pyproject.toml PYTHON_COMPAT=( python3_{8..10} ) PYTHON_REQ_USE="sqlite" -inherit distutils-r1 +inherit distutils-r1 optfeature HOMEPAGE=" https://pypi.org/project/requests-cache/ @@ -22,16 +22,20 @@ SLOT="0" KEYWORDS="~amd64 ~x86" RDEPEND=" + dev-python/attrs[${PYTHON_USEDEP}] + dev-python/appdirs[${PYTHON_USEDEP}] dev-python/cattrs[${PYTHON_USEDEP}] - dev-python/itsdangerous[${PYTHON_USEDEP}] >=dev-python/requests-2.0.0[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] >=dev-python/url-normalize-1.4[${PYTHON_USEDEP}]" BDEPEND=" test? ( + dev-python/itsdangerous[${PYTHON_USEDEP}] dev-python/pytest-httpbin[${PYTHON_USEDEP}] dev-python/requests-mock[${PYTHON_USEDEP}] dev-python/responses[${PYTHON_USEDEP}] dev-python/timeout-decorator[${PYTHON_USEDEP}] + dev-python/ujson[${PYTHON_USEDEP}] )" distutils_enable_tests pytest @@ -52,3 +56,12 @@ python_test() { local -x USE_PYTEST_HTTPBIN=true epytest } + +pkg_postinst() { + optfeature "redis backend" "dev-python/redis-py" + optfeature "MongoDB backend" "dev-python/pymongo" + + optfeature "JSON serialization" "dev-python/ujson" + optfeature "YAML serialization" "dev-python/pyyaml" + optfeature "signing serialized data" "dev-python/itsdangerous" +}