public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/requests-cache/
Date: Sun, 13 Jun 2021 06:10:09 +0000 (UTC)	[thread overview]
Message-ID: <1623564606.c7b91b8c83404ba255623b71b0be5137f957b8cb.mgorny@gentoo> (raw)

commit:     c7b91b8c83404ba255623b71b0be5137f957b8cb
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 13 06:05:49 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jun 13 06:10:06 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7b91b8c

dev-python/requests-cache: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/requests-cache/Manifest                 |  4 --
 .../requests-cache/requests-cache-0.5.2.ebuild     | 70 ----------------------
 .../requests-cache/requests-cache-0.6.0.ebuild     | 68 ---------------------
 .../requests-cache/requests-cache-0.6.1.ebuild     | 49 ---------------
 .../requests-cache/requests-cache-0.6.2.ebuild     | 49 ---------------
 5 files changed, 240 deletions(-)

diff --git a/dev-python/requests-cache/Manifest b/dev-python/requests-cache/Manifest
index 01307336593..c504192b964 100644
--- a/dev-python/requests-cache/Manifest
+++ b/dev-python/requests-cache/Manifest
@@ -1,6 +1,2 @@
-DIST requests-cache-0.5.2.tar.gz 31159 BLAKE2B 4fca146a751064baf70954a71df64dbb7f8c9a4e27fec5dbea3620496ce78e7ccfb3785fb63705f513ff6fa938376b0c6acc4a2f584856060b1bc8388517df46 SHA512 355cc571a46b768615606a907a69ed065b3c4b5e74bb6c311abc7a28d9406f32fdea1db0dfd2b1c32dcdc82ed817ef7e0b30086c069de57307254617604c5177
-DIST requests-cache-0.6.0.tar.gz 52342 BLAKE2B 12af89721fcf1ae2e4ab14d7ac377f119ef312c64d3b9e5d80a36f26f3a9a798cf090835ee2c9bf886d0baa9b472f4c439d5a032573d442feecbbad930c239fd SHA512 b5b32b9cb99ec51cee67defde715df66b7c50a26f4124cbaf893685048fe188af0cf664232150e3b4fafe3b7a927716966efafadd711be01118d67ad802acef6
-DIST requests-cache-0.6.1.gh.tar.gz 47919 BLAKE2B 022fd94a332feae043cf646cefc368fdb6ca1833dcd58621a07425bfb0d7bcb5ff9913c8b53f2bc0769fd23e8f364c437ee10f16fd37d1d340e8c46bcba9d53e SHA512 f8bea03b05b2f1e55fe6c975b5f5caacff55250d81f41cf953052c77101fc726ff39f9d95e1fd2829ddb59215226026bdddfd93918feb478395375ac0e0a4439
-DIST requests-cache-0.6.2.gh.tar.gz 47962 BLAKE2B f0597f3c5f4a678b94f3b15023e3aba5247de3d79043e7e1cbd4ab0f2d4457e2f5feab130665129ae87baba56576312b1420ae16c2a34b44dc780bf05351615c SHA512 c97119127b1e80e6eec02938b2e0e8de785875f46d348215e05ee2d668feb77ed40f0dad4ed4a3ae53fb8e6708c8d7b13788e54694a38cef3ce22e83f13f97e2
 DIST requests-cache-0.6.3.gh.tar.gz 50303 BLAKE2B e8507a19f3883c050e1d819bf9ce8ebf720a5c6517e4004ecf745f5a197a8feac9cbca18ffa99001be0baffbad41d2ebfba5b63d90b55eda1d754d279242bbc6 SHA512 1fa801f60623dce0a5cd834272a74acf80b6ae52a602ae81fbd7e3653467800d9a58fb8220e30d53ef1b896aa01f2017f93dcbc2dacfd685ee9ae286f47077f5
 DIST requests-cache-0.6.4.gh.tar.gz 50322 BLAKE2B c9a6cae957604bdfa6057621e028fad83476e5d918bbf9c58e73f09f8615398946f3cf6e3737c9ff916cba68d82ed66a674557fb733c74b874b0f68e2430d9a0 SHA512 31e2217e54892d8ec5fc9fcf60f650960621b1f97029c90deca925b9a1be9eb5a3ddb6ae68e581c805f20136f93eefa70d51e7e9f086ecbae76f8e550bbe3f1a

diff --git a/dev-python/requests-cache/requests-cache-0.5.2.ebuild b/dev-python/requests-cache/requests-cache-0.5.2.ebuild
deleted file mode 100644
index a64e64005f9..00000000000
--- a/dev-python/requests-cache/requests-cache-0.5.2.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-PYTHON_REQ_USE="sqlite"
-
-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}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-RDEPEND="dev-python/requests[${PYTHON_USEDEP}]"
-
-distutils_enable_sphinx docs
-distutils_enable_tests pytest
-
-src_prepare() {
-	# Ships with incorrect mock import
-	sed -e 's/import mock/import unittest.mock as mock/' -i tests/test_cache.py || die
-	default
-}
-
-python_test() {
-	local skipped_tests=(
-		# Slew of tests that violate network-sandbox
-		tests/test_cache.py::CacheTestCase::test_attr_from_cache_in_hook
-		tests/test_cache.py::CacheTestCase::test_cache_unpickle_errors
-		tests/test_cache.py::CacheTestCase::test_close_response
-		tests/test_cache.py::CacheTestCase::test_content_and_cookies
-		tests/test_cache.py::CacheTestCase::test_delete_urls
-		tests/test_cache.py::CacheTestCase::test_disabled
-		tests/test_cache.py::CacheTestCase::test_enabled
-		tests/test_cache.py::CacheTestCase::test_expire_cache
-		tests/test_cache.py::CacheTestCase::test_from_cache_attribute
-		tests/test_cache.py::CacheTestCase::test_get_parameters_normalization
-		tests/test_cache.py::CacheTestCase::test_get_params_as_argument
-		tests/test_cache.py::CacheTestCase::test_gzip_response
-		tests/test_cache.py::CacheTestCase::test_headers_in_get_query
-		tests/test_cache.py::CacheTestCase::test_hooks
-		tests/test_cache.py::CacheTestCase::test_https_support
-		tests/test_cache.py::CacheTestCase::test_ignore_parameters_get
-		tests/test_cache.py::CacheTestCase::test_ignore_parameters_post
-		tests/test_cache.py::CacheTestCase::test_ignore_parameters_post_json
-		tests/test_cache.py::CacheTestCase::test_ignore_parameters_post_raw
-		tests/test_cache.py::CacheTestCase::test_post
-		tests/test_cache.py::CacheTestCase::test_post_data
-		tests/test_cache.py::CacheTestCase::test_post_parameters_normalization
-		tests/test_cache.py::CacheTestCase::test_post_params
-		tests/test_cache.py::CacheTestCase::test_remove_expired_entries
-		tests/test_cache.py::CacheTestCase::test_response_history
-		tests/test_cache.py::CacheTestCase::test_response_history_simple
-		tests/test_cache.py::CacheTestCase::test_return_old_data_on_error
-		tests/test_cache.py::CacheTestCase::test_stream_requests_support
-		tests/test_monkey_patch.py::MonkeyPatchTestCase::test_requests_from_cache
-
-		# This throws many errors with network-sandbox, but doesn't fail the
-		# build
-		tests/test_thread_safety::test_thread_safety
-	)
-
-	# Redis tests need a redis server running
-	pytest -vv --ignore tests/test_redisdict.py ${skipped_tests[@]/#/--deselect } || die "Tests fail with ${EPYTHON}"
-}

diff --git a/dev-python/requests-cache/requests-cache-0.6.0.ebuild b/dev-python/requests-cache/requests-cache-0.6.0.ebuild
deleted file mode 100644
index cfb8a2d6b04..00000000000
--- a/dev-python/requests-cache/requests-cache-0.6.0.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-PYTHON_REQ_USE="sqlite"
-
-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}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-	dev-python/itsdangerous[${PYTHON_USEDEP}]
-	>=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
-	>=dev-python/url-normalize-1.4[${PYTHON_USEDEP}]"
-BDEPEND="
-	test? (
-		$(python_gen_any_dep '
-			dev-python/httpbin[${PYTHON_USEDEP}]
-			www-servers/gunicorn[${PYTHON_USEDEP}]
-		')
-	)"
-
-distutils_enable_tests pytest
-
-PATCHES=(
-	"${FILESDIR}"/${P}-test-install.patch
-)
-
-python_check_deps() {
-	use test || return 0
-
-	has_version -b "dev-python/httpbin[${PYTHON_USEDEP}]" &&
-		has_version -b "www-servers/gunicorn[${PYTHON_USEDEP}]"
-}
-
-src_test() {
-	local hostport="127.0.0.1:23125"
-	python_setup
-	einfo "Starting httpbin on ${hostport}"
-	gunicorn -b "${hostport}" -D -p gunicorn.pid httpbin:app || die
-
-	local -x HTTPBIN_URL="http://${hostport}/"
-	distutils-r1_src_test
-	kill $(<gunicorn.pid) || die
-}
-
-python_test() {
-	local skipped_tests=(
-		# These require extra servers running
-		tests/integration/test_dynamodb.py
-		tests/integration/test_gridfs.py
-		tests/integration/test_mongodb.py
-		tests/integration/test_redis.py
-
-		# TODO
-		'tests/integration/test_cache.py::test_all_response_formats[json]'
-	)
-
-	epytest ${skipped_tests[@]/#/--deselect }
-}

diff --git a/dev-python/requests-cache/requests-cache-0.6.1.ebuild b/dev-python/requests-cache/requests-cache-0.6.1.ebuild
deleted file mode 100644
index dcaf77d008d..00000000000
--- a/dev-python/requests-cache/requests-cache-0.6.1.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-PYTHON_REQ_USE="sqlite"
-
-inherit distutils-r1
-
-HOMEPAGE="
-	https://pypi.org/project/requests-cache/
-	https://github.com/reclosedev/requests-cache/"
-DESCRIPTION="Persistent cache for requests library"
-SRC_URI="
-	https://github.com/reclosedev/requests-cache/archive/v${PV}.tar.gz
-		-> ${P}.gh.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-	dev-python/itsdangerous[${PYTHON_USEDEP}]
-	>=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
-	>=dev-python/url-normalize-1.4[${PYTHON_USEDEP}]"
-BDEPEND="
-	test? (
-		dev-python/pytest-httpbin[${PYTHON_USEDEP}]
-		dev-python/timeout-decorator[${PYTHON_USEDEP}]
-	)"
-
-distutils_enable_tests pytest
-
-python_test() {
-	local skipped_tests=(
-		# These require extra servers running
-		tests/integration/test_dynamodb.py
-		tests/integration/test_gridfs.py
-		tests/integration/test_mongodb.py
-		tests/integration/test_redis.py
-
-		# TODO
-#		'tests/integration/test_cache.py::test_all_response_formats[json]'
-	)
-
-	local -x USE_PYTEST_HTTPBIN=true
-	epytest ${skipped_tests[@]/#/--deselect }
-}

diff --git a/dev-python/requests-cache/requests-cache-0.6.2.ebuild b/dev-python/requests-cache/requests-cache-0.6.2.ebuild
deleted file mode 100644
index dcaf77d008d..00000000000
--- a/dev-python/requests-cache/requests-cache-0.6.2.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-PYTHON_REQ_USE="sqlite"
-
-inherit distutils-r1
-
-HOMEPAGE="
-	https://pypi.org/project/requests-cache/
-	https://github.com/reclosedev/requests-cache/"
-DESCRIPTION="Persistent cache for requests library"
-SRC_URI="
-	https://github.com/reclosedev/requests-cache/archive/v${PV}.tar.gz
-		-> ${P}.gh.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-	dev-python/itsdangerous[${PYTHON_USEDEP}]
-	>=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
-	>=dev-python/url-normalize-1.4[${PYTHON_USEDEP}]"
-BDEPEND="
-	test? (
-		dev-python/pytest-httpbin[${PYTHON_USEDEP}]
-		dev-python/timeout-decorator[${PYTHON_USEDEP}]
-	)"
-
-distutils_enable_tests pytest
-
-python_test() {
-	local skipped_tests=(
-		# These require extra servers running
-		tests/integration/test_dynamodb.py
-		tests/integration/test_gridfs.py
-		tests/integration/test_mongodb.py
-		tests/integration/test_redis.py
-
-		# TODO
-#		'tests/integration/test_cache.py::test_all_response_formats[json]'
-	)
-
-	local -x USE_PYTEST_HTTPBIN=true
-	epytest ${skipped_tests[@]/#/--deselect }
-}


             reply	other threads:[~2021-06-13  6:10 UTC|newest]

Thread overview: 98+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-13  6:10 Michał Górny [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:32 Arthur Zamarin
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  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=1623564606.c7b91b8c83404ba255623b71b0be5137f957b8cb.mgorny@gentoo \
    --to=mgorny@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