diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-09-27 13:48:49 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-09-27 13:48:49 +0000 |
| commit | 7d00580e8c2e64dedd0659f2818b487caa1bbff9 (patch) | |
| tree | 42be6aa9c7ac819bc17fe61634ba31ff19a5e210 /dev-python/requests-cache | |
| parent | 8cb3cd1ca74433a633be0773a1bfeb3b42fab6b4 (diff) | |
| download | baldeagleos-repo-7d00580e8c2e64dedd0659f2818b487caa1bbff9.tar.gz baldeagleos-repo-7d00580e8c2e64dedd0659f2818b487caa1bbff9.tar.xz baldeagleos-repo-7d00580e8c2e64dedd0659f2818b487caa1bbff9.zip | |
Adding metadata
Diffstat (limited to 'dev-python/requests-cache')
| -rw-r--r-- | dev-python/requests-cache/requests-cache-0.7.4.ebuild | 1 | ||||
| -rw-r--r-- | dev-python/requests-cache/requests-cache-0.7.5.ebuild | 1 | ||||
| -rw-r--r-- | dev-python/requests-cache/requests-cache-0.8.1-r1.ebuild (renamed from dev-python/requests-cache/requests-cache-0.8.1.ebuild) | 17 |
3 files changed, 17 insertions, 2 deletions
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 ea739200c353..41344c1c4ae0 100644 --- a/dev-python/requests-cache/requests-cache-0.7.4.ebuild +++ b/dev-python/requests-cache/requests-cache-0.7.4.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.7.5.ebuild b/dev-python/requests-cache/requests-cache-0.7.5.ebuild index 5c2349760cbf..179fec38db95 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.ebuild b/dev-python/requests-cache/requests-cache-0.8.1-r1.ebuild index 5c2349760cbf..2cc1d5bc1409 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_{6,7,8,9,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" +} |
