public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/requests-cache/
Date: Mon, 27 Sep 2021 11:32:20 +0000 (UTC)	[thread overview]
Message-ID: <1632742265.bc4e6cdfa0d748afb83c1bcd69bd4bdc89e983b3.arthurzam@gentoo> (raw)

commit:     bc4e6cdfa0d748afb83c1bcd69bd4bdc89e983b3
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 27 11:31:05 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> 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 <arthurzam <AT> 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"
+}


             reply	other threads:[~2021-09-27 11:32 UTC|newest]

Thread overview: 98+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-27 11:32 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-11 16:37 [gentoo-commits] repo/gentoo:master commit in: dev-python/requests-cache/ Michał Górny
2024-07-06  6:35 Michał Górny
2024-07-06  6:26 Sam James
2024-06-19  4:36 Michał Górny
2024-03-07 16:24 Michał Górny
2024-03-07 16:24 Michał Górny
2024-03-07 16:22 Michał Górny
2024-02-18  3:36 Michał Górny
2023-12-09 14:04 Michał Górny
2023-12-09 14:00 Michał Górny
2023-11-20 17:03 Michał Górny
2023-11-19 16:01 Michał Górny
2023-10-24 17:51 Michał Górny
2023-10-13 15:27 Arthur Zamarin
2023-10-06 17:44 Arthur Zamarin
2023-10-06 14:52 Sam James
2023-09-10  5:27 WANG Xuerui
2023-08-14 17:57 Jakov Smolić
2023-08-13 16:10 Arthur Zamarin
2023-08-13 16:08 Arthur Zamarin
2023-08-03 17:40 Michał Górny
2023-08-03 15:10 Sam James
2023-07-01  5:22 Michał Górny
2023-04-28 15:57 Arthur Zamarin
2023-04-28 15:55 Arthur Zamarin
2023-04-05  8:19 Michał Górny
2023-04-05  7:39 Arthur Zamarin
2023-03-25  6:39 Michał Górny
2023-03-02 16:49 Michał Górny
2023-03-02  5:13 Michał Górny
2023-02-17  6:21 Michał Górny
2023-02-16 22:50 Sam James
2023-01-14  4:57 Michał Górny
2022-11-30  2:48 Michał Górny
2022-11-29 21:46 Jakov Smolić
2022-10-27 11:30 Andrew Ammerlaan
2022-10-27  4:49 Michał Górny
2022-10-03  6:50 Michał Górny
2022-09-02 17:37 Michał Górny
2022-08-02 20:27 Sam James
2022-06-30  4:27 Michał Górny
2022-05-27 19:45 Michał Górny
2022-05-27 19:45 Michał Górny
2022-05-27  9:07 Jakov Smolić
2022-04-26 10:56 Michał Górny
2022-03-16  8:00 Michał Górny
2022-02-23  8:12 Michał Górny
2022-02-15 23:09 Michał Górny
2022-02-04 10:27 Michał Górny
2022-02-04  9:03 Jakov Smolić
2022-01-27  9:21 Michał Górny
2022-01-15 20:51 Arthur Zamarin
2022-01-02 10:59 Michał Górny
2021-10-11  6:04 Michał Górny
2021-10-11  0:02 Sam James
2021-09-27 20:21 Sam James
2021-09-27 11:01 Arthur Zamarin
2021-09-27 11:00 Arthur Zamarin
2021-09-18 17:18 Sam James
2021-09-15 20:26 Michał Górny
2021-09-15 20:26 Michał Górny
2021-09-07 20:50 Michał Górny
2021-08-29 17:57 Sam James
2021-08-17  7:28 Michał Górny
2021-08-11  6:46 Michał Górny
2021-07-22  7:25 Michał Górny
2021-07-17 13:11 Michał Górny
2021-07-17  7:42 Agostino Sarubbo
2021-07-10 17:46 Michał Górny
2021-06-13  6:10 Michał Górny
2021-06-13  3:45 Sam James
2021-06-06 23:19 Sam James
2021-06-05  8:28 Michał Górny
2021-05-25 11:14 Sam James
2021-05-19 18:21 Michał Górny
2021-04-22  7:36 Michał Górny
2021-04-15  6:32 Michał Górny
2021-04-14  7:19 Michał Górny
2020-10-07 10:16 Michał Górny
2020-09-18 15:43 Michał Górny
2020-09-18 15:11 Agostino Sarubbo
2020-09-08 19:11 Michał Górny
2020-08-05  5:48 Sam James
2020-08-05  5:43 Sam James
2020-08-05  5:43 Sam James
2020-05-07 13:51 Mikle Kolyada
2020-05-07 12:23 Mikle Kolyada
2020-05-07 12:23 Mikle Kolyada
2020-05-06  6:04 Michał Górny
2020-05-06  6:04 Michał Górny
2020-05-06  6:04 Michał Górny
2020-05-05 20:58 Mike Frysinger
2018-06-26 18:09 Pacho Ramos
2017-05-02 14:02 Michał Górny
2017-02-22 16:08 Agostino Sarubbo
2017-02-22 15:06 Agostino Sarubbo
2016-06-29 10:33 Patrick Lauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1632742265.bc4e6cdfa0d748afb83c1bcd69bd4bdc89e983b3.arthurzam@gentoo \
    --to=arthurzam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox