diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-01-31 10:45:41 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-01-31 11:43:12 +0100 |
commit | 934e30bc6dd848c40d4e3cd69058210ddc8de929 (patch) | |
tree | c93fab8b207efc2f566fc028d75e5789d6f91d88 /dev-python/cachecontrol | |
parent | dev-python/cheroot: Add pypy3 love (diff) | |
download | gentoo-934e30bc6dd848c40d4e3cd69058210ddc8de929.tar.gz gentoo-934e30bc6dd848c40d4e3cd69058210ddc8de929.tar.bz2 gentoo-934e30bc6dd848c40d4e3cd69058210ddc8de929.zip |
dev-python/cachecontrol: New package, bundled dep of pip, v0.12.10
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/cachecontrol')
-rw-r--r-- | dev-python/cachecontrol/Manifest | 1 | ||||
-rw-r--r-- | dev-python/cachecontrol/cachecontrol-0.12.10.ebuild | 36 | ||||
-rw-r--r-- | dev-python/cachecontrol/metadata.xml | 13 |
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/cachecontrol/Manifest b/dev-python/cachecontrol/Manifest new file mode 100644 index 000000000000..fb7a8d106e67 --- /dev/null +++ b/dev-python/cachecontrol/Manifest @@ -0,0 +1 @@ +DIST cachecontrol-0.12.10.gh.tar.gz 39944 BLAKE2B a760db75384a48a21506d7bcc9edc63dd5b8f7b09ba4ff7afb968c7df3a505a9c6e5eece6e275ec1c9d49763a36124f7221123739fe07695ac2b0bbfb62e948c SHA512 3374a2b0cd42d6f3975b42de46e7aaf92a15403b65aaf53ba14102d6ce68bad85dc4d8f0eaa294604b54ee3e2b1d7d3c56c1dac8e717de41cc7be6d880afc1e7 diff --git a/dev-python/cachecontrol/cachecontrol-0.12.10.ebuild b/dev-python/cachecontrol/cachecontrol-0.12.10.ebuild new file mode 100644 index 000000000000..5b23427d63cd --- /dev/null +++ b/dev-python/cachecontrol/cachecontrol-0.12.10.ebuild @@ -0,0 +1,36 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="httplib2 caching for requests" +HOMEPAGE=" + https://pypi.org/project/CacheControl/ + https://github.com/ionrock/cachecontrol/ +" +SRC_URI=" + https://github.com/ionrock/cachecontrol/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/msgpack-0.5.2[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/cherrypy[${PYTHON_USEDEP}] + dev-python/lockfile[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/cachecontrol/metadata.xml b/dev-python/cachecontrol/metadata.xml new file mode 100644 index 000000000000..a98e88cd3529 --- /dev/null +++ b/dev-python/cachecontrol/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">ionrock/cachecontrol</remote-id> + <remote-id type="pypi">CacheControl</remote-id> + </upstream> +</pkgmetadata> |