summaryrefslogtreecommitdiff
path: root/dev-python/cachecontrol/cachecontrol-0.12.12.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-09-16 00:42:57 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-09-16 00:42:57 +0000
commit2ce9c865ecfb79e712a04c75b4fb8669b6c3111b (patch)
tree74eec7832ed2aa4ebf38070fd070427b82d18176 /dev-python/cachecontrol/cachecontrol-0.12.12.ebuild
parent35b3ebb397fa64d40c57c8eec6ccd1271d60b086 (diff)
downloadbaldeagleos-repo-2ce9c865ecfb79e712a04c75b4fb8669b6c3111b.tar.gz
baldeagleos-repo-2ce9c865ecfb79e712a04c75b4fb8669b6c3111b.tar.xz
baldeagleos-repo-2ce9c865ecfb79e712a04c75b4fb8669b6c3111b.zip
Adding metadata
Diffstat (limited to 'dev-python/cachecontrol/cachecontrol-0.12.12.ebuild')
-rw-r--r--dev-python/cachecontrol/cachecontrol-0.12.12.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/cachecontrol/cachecontrol-0.12.12.ebuild b/dev-python/cachecontrol/cachecontrol-0.12.12.ebuild
new file mode 100644
index 000000000000..f23e7001fd33
--- /dev/null
+++ b/dev-python/cachecontrol/cachecontrol-0.12.12.ebuild
@@ -0,0 +1,42 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 )
+
+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 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+RDEPEND="
+ >=dev-python/msgpack-0.5.2[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/cherrypy[${PYTHON_USEDEP}]
+ dev-python/filelock[${PYTHON_USEDEP}]
+ dev-python/mock[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ sed -e 's/setuptools.find_packages(/&exclude=["tests", "tests.*"]/' -i setup.py || die
+ distutils-r1_src_prepare
+}