From 391b5b359a346aff490103da7dddc85047f83830 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 1 Oct 2021 20:54:53 +0100 Subject: gentoo resync : 01.10.2021 --- dev-python/requests-cache/Manifest | 6 +- .../requests-cache/requests-cache-0.7.4.ebuild | 3 +- .../requests-cache/requests-cache-0.7.5.ebuild | 1 + .../requests-cache/requests-cache-0.8.1-r1.ebuild | 67 ++++++++++++++++++++++ .../requests-cache/requests-cache-0.8.1.ebuild | 54 ----------------- 5 files changed, 73 insertions(+), 58 deletions(-) create mode 100644 dev-python/requests-cache/requests-cache-0.8.1-r1.ebuild delete mode 100644 dev-python/requests-cache/requests-cache-0.8.1.ebuild (limited to 'dev-python/requests-cache') diff --git a/dev-python/requests-cache/Manifest b/dev-python/requests-cache/Manifest index 28cd7a5adfe2..1e38bad14b9b 100644 --- a/dev-python/requests-cache/Manifest +++ b/dev-python/requests-cache/Manifest @@ -10,8 +10,8 @@ EBUILD requests-cache-0.6.4.ebuild 1141 BLAKE2B 5d2037be26cba0679666805ce783f1d9 EBUILD requests-cache-0.7.1.ebuild 1306 BLAKE2B faa714931e3f76561f06cc4d96389357cb2443f14ef22fafeb18f1705d2abdf4b855f3d728dc16b265a2e19a36b17746e16d5cc28e777649ff7c15dc5f2ffc44 SHA512 aa000ced99bda3ca2c0bb57da746ed6ab82a599f5add0a3f241153225cc0451539a77d21c8240ad760409212924d2afa457c7027302362eaceedd291c8d20c2a EBUILD requests-cache-0.7.2.ebuild 1306 BLAKE2B faa714931e3f76561f06cc4d96389357cb2443f14ef22fafeb18f1705d2abdf4b855f3d728dc16b265a2e19a36b17746e16d5cc28e777649ff7c15dc5f2ffc44 SHA512 aa000ced99bda3ca2c0bb57da746ed6ab82a599f5add0a3f241153225cc0451539a77d21c8240ad760409212924d2afa457c7027302362eaceedd291c8d20c2a EBUILD requests-cache-0.7.3.ebuild 1381 BLAKE2B 4d94dea5ad279bbfc023e63ce465c0a73a7500b5f2e509f022eaa7920252270afa23cf50fd3e653c45da168390589cb4af16d17f5b8bf83850713906600bd20e SHA512 66b726a60c236dca80c8d69403993e667667a394ba8c0a355cc8b864b7b32280ee5fe8ff4a8fae58ebfee808b0b409cb7474c32588f0acd7dd66f377e80196eb -EBUILD requests-cache-0.7.4.ebuild 1381 BLAKE2B 20ef0c093e5e4b03cf9e400eac7637ffdd67d0e17b457065559944425c141fb6c61d11f22aadc98d9759c68fae1564cfe782ee1567d677965534a2ee41f5a5f9 SHA512 7dbc8a6767b79df253e0d5cd2a004383dca97a59ce5474e90a8efe05a926ddccf875a500804d0b354a5cd02bdf0bf163da46b4ce6b5a13d8f052e563b7b77f07 -EBUILD requests-cache-0.7.5.ebuild 1344 BLAKE2B 0c18397d9bdb8b545257c975d92bbea0cc9f5daec075099bb735b953f977410937cd15e897dc3a057a67c0955944c1f6f8ad58fe06fec8ef38c164b99abf22c7 SHA512 4a40c89dc7d608e83735281f6acdfa9b151209990f9ef7733e9b10f05e11f8550247bd26f5dea60df8a54deff57313066979ae9457e5e44c232f4e33d27de576 +EBUILD requests-cache-0.7.4.ebuild 1417 BLAKE2B 91a9076dca334281c2e1bd93fb4833c0bda261a5cf2ded726b3cb6d6927b3d5649c139f6672f1fdfade46335d451d00a41a7c06a80420145b85641212837ab75 SHA512 dcf597190926ca495d186a303740d15e9c8da072a92f9bc2e1296195140f583400371c97613bdbe0eaef3cb95aa2489905b19e28e983b2f8d27ad5f83d7af275 +EBUILD requests-cache-0.7.5.ebuild 1381 BLAKE2B 000016412bcc86893998e299e13e63054c56711436cdb26bdd07a7a0a3db19a4884b2c8f13d7c35fc49d2569d86dd85eb54209c2b6589df49ab928498ada44b4 SHA512 9b94b94e3db8583fe49c7e212af6face7623bcf8d5caba9ad925b89e716c851ccc1b860e60dc0c13cf819d16a0143c63358355205deb435518dca9e1a1d5dd89 EBUILD requests-cache-0.8.0.ebuild 1344 BLAKE2B 0c18397d9bdb8b545257c975d92bbea0cc9f5daec075099bb735b953f977410937cd15e897dc3a057a67c0955944c1f6f8ad58fe06fec8ef38c164b99abf22c7 SHA512 4a40c89dc7d608e83735281f6acdfa9b151209990f9ef7733e9b10f05e11f8550247bd26f5dea60df8a54deff57313066979ae9457e5e44c232f4e33d27de576 -EBUILD requests-cache-0.8.1.ebuild 1344 BLAKE2B 0c18397d9bdb8b545257c975d92bbea0cc9f5daec075099bb735b953f977410937cd15e897dc3a057a67c0955944c1f6f8ad58fe06fec8ef38c164b99abf22c7 SHA512 4a40c89dc7d608e83735281f6acdfa9b151209990f9ef7733e9b10f05e11f8550247bd26f5dea60df8a54deff57313066979ae9457e5e44c232f4e33d27de576 +EBUILD requests-cache-0.8.1-r1.ebuild 1796 BLAKE2B f23ddb9186b8f0b33e628a8ad7a0ef23f07cc4f070a52247ff0e2fb33e4f3bfa2cbfa9b6795ab4626692d1d644b3f15387b2c736873d5420c65df0273e51b01a SHA512 98b2fecbbb8d59100d6dd9d7f830fd5887527368a4579c1172dc3ca8deee7bc8ccc01da4571f3af8dd091a19e2362c293150f8e2d6c0414a254d3948884a92a8 MISC metadata.xml 470 BLAKE2B 83ea1b65050486c1ff410664b87a19e514102ec030ea0f3d4076d435503f6ad2dd16caf8ff0c947d064c93955a743fe45d14c4d64471613c9de65c33f6708b93 SHA512 54160c5daeea03d90c896e30f35ed6ce8e7a29280a5e1bb1d1b0c04b5899a48ed3261d400762bf9c92bb73ddb554bcaa533b620ecda691e43fe89c1d943b7b54 diff --git a/dev-python/requests-cache/requests-cache-0.7.4.ebuild b/dev-python/requests-cache/requests-cache-0.7.4.ebuild index 0c8b4192cde2..b59956b8c452 100644 --- a/dev-python/requests-cache/requests-cache-0.7.4.ebuild +++ b/dev-python/requests-cache/requests-cache-0.7.4.ebuild @@ -19,7 +19,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" RDEPEND=" dev-python/cattrs[${PYTHON_USEDEP}] @@ -32,6 +32,7 @@ BDEPEND=" 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 diff --git a/dev-python/requests-cache/requests-cache-0.7.5.ebuild b/dev-python/requests-cache/requests-cache-0.7.5.ebuild index 61afa9af0454..81056830ae09 100644 --- a/dev-python/requests-cache/requests-cache-0.7.5.ebuild +++ b/dev-python/requests-cache/requests-cache-0.7.5.ebuild @@ -32,6 +32,7 @@ BDEPEND=" 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 diff --git a/dev-python/requests-cache/requests-cache-0.8.1-r1.ebuild b/dev-python/requests-cache/requests-cache-0.8.1-r1.ebuild new file mode 100644 index 000000000000..b5921df49217 --- /dev/null +++ b/dev-python/requests-cache/requests-cache-0.8.1-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_SETUPTOOLS=pyproject.toml +PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 optfeature + +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/attrs[${PYTHON_USEDEP}] + dev-python/appdirs[${PYTHON_USEDEP}] + dev-python/cattrs[${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 + +python_test() { + local EPYTEST_IGNORE=( + # 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 + ) + local EPYTEST_DESELECT=( + # Requires Internet access + tests/integration/test_compat.py::test_version_upgrade + ) + + 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" +} diff --git a/dev-python/requests-cache/requests-cache-0.8.1.ebuild b/dev-python/requests-cache/requests-cache-0.8.1.ebuild deleted file mode 100644 index 61afa9af0454..000000000000 --- a/dev-python/requests-cache/requests-cache-0.8.1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_SETUPTOOLS=pyproject.toml -PYTHON_COMPAT=( python3_{8..10} ) -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/cattrs[${PYTHON_USEDEP}] - 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/requests-mock[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - dev-python/timeout-decorator[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_IGNORE=( - # 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 - ) - local EPYTEST_DESELECT=( - # Requires Internet access - tests/integration/test_compat.py::test_version_upgrade - ) - - local -x USE_PYTEST_HTTPBIN=true - epytest -} -- cgit v1.2.3