diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-05-28 00:41:03 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-05-28 00:41:03 +0000 |
| commit | d2214c00e92a08af8b1641594fbaa690df5a6bb6 (patch) | |
| tree | a39302fb66b29ca4ac0bc2d0edae2f655522dce4 /dev-python/requests-cache | |
| parent | c1d3c6f981284f50ea5321da36b7639bfa802082 (diff) | |
| download | baldeagleos-repo-d2214c00e92a08af8b1641594fbaa690df5a6bb6.tar.gz baldeagleos-repo-d2214c00e92a08af8b1641594fbaa690df5a6bb6.tar.xz baldeagleos-repo-d2214c00e92a08af8b1641594fbaa690df5a6bb6.zip | |
Adding metadata
Diffstat (limited to 'dev-python/requests-cache')
| -rw-r--r-- | dev-python/requests-cache/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/requests-cache/requests-cache-0.9.3-r1.ebuild | 81 | ||||
| -rw-r--r-- | dev-python/requests-cache/requests-cache-0.9.4.ebuild | 4 |
3 files changed, 2 insertions, 84 deletions
diff --git a/dev-python/requests-cache/Manifest b/dev-python/requests-cache/Manifest index 960b9aff9981..6e8e1ee627e8 100644 --- a/dev-python/requests-cache/Manifest +++ b/dev-python/requests-cache/Manifest @@ -1,2 +1 @@ -DIST requests-cache-0.9.3.gh.tar.gz 1541517 BLAKE2B a6096e8db01ccc7e6afa94ca35460ad79bbc503fe32fb272c3b43bb3344cb4a4e3c6f9240dc8d26a49b2ae4b564de72be22553b40847480487c150b192aa9490 SHA512 d413fbed156bd3fca48db8b153b01a883ee72d62f6e8982d490a5378dc188c19d0b3af5e37e6f47d19ed0ba11b3c0e01489720d56df12afcf1b47088e1541221 DIST requests-cache-0.9.4.gh.tar.gz 1541821 BLAKE2B 90f3ffe8f4213a47d19c1190f1201bb484473a4ee2fae82dff59c9e80bc8c154739e99f5024aa55b436f9e620d5594441df61e2db44e3cbb381d394c1b6b4a0b SHA512 66023dc8b153070a532f160af58ac2102f6b9d536a0045c4c62ad1d4175f59df6e7db5a25422f5610a2f17049270ad0b63c6023ddddf64235432a63d2cce9b91 diff --git a/dev-python/requests-cache/requests-cache-0.9.3-r1.ebuild b/dev-python/requests-cache/requests-cache-0.9.3-r1.ebuild deleted file mode 100644 index c9f3e65b25a7..000000000000 --- a/dev-python/requests-cache/requests-cache-0.9.3-r1.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{7,8,9,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 - -PATCHES=( - "${FILESDIR}"/${P}-cattrs-22.patch -) - -src_prepare() { - # unpin the dep - sed -i -e '/cattrs/s:\^:>=:' pyproject.toml || die - distutils-r1_src_prepare -} - -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.9.4.ebuild b/dev-python/requests-cache/requests-cache-0.9.4.ebuild index b28d7c639272..a42f5a7cd25e 100644 --- a/dev-python/requests-cache/requests-cache-0.9.4.ebuild +++ b/dev-python/requests-cache/requests-cache-0.9.4.ebuild @@ -11,11 +11,11 @@ inherit distutils-r1 optfeature HOMEPAGE=" https://pypi.org/project/requests-cache/ - https://github.com/reclosedev/requests-cache/ + https://github.com/requests-cache/requests-cache/ " DESCRIPTION="Persistent cache for requests library" SRC_URI=" - https://github.com/reclosedev/requests-cache/archive/v${PV}.tar.gz + https://github.com/requests-cache/requests-cache/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz " |
