diff options
author | Daniel Solano Gómez <gentoo@sattvik.com> | 2018-11-07 06:53:48 -0600 |
---|---|---|
committer | Daniel Solano Gómez <gentoo@sattvik.com> | 2018-11-07 06:53:48 -0600 |
commit | 0a883078c877633539647e81471a33970b5fdea0 (patch) | |
tree | c2ff7847c4cdfae0d2bf265efee9deba64db4f01 /dev-python | |
parent | Add awscli-1.16.48 (diff) | |
download | sattvik-0a883078c877633539647e81471a33970b5fdea0.tar.gz sattvik-0a883078c877633539647e81471a33970b5fdea0.tar.bz2 sattvik-0a883078c877633539647e81471a33970b5fdea0.zip |
add botocore-1.12.38
Signed-off-by: Daniel Solano <gentoo@sattvik.com>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/botocore/Manifest | 3 | ||||
-rw-r--r-- | dev-python/botocore/botocore-1.12.38.ebuild | 58 | ||||
-rw-r--r-- | dev-python/botocore/metadata.xml | 12 |
3 files changed, 73 insertions, 0 deletions
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest new file mode 100644 index 0000000..8e1e871 --- /dev/null +++ b/dev-python/botocore/Manifest @@ -0,0 +1,3 @@ +DIST botocore-1.12.38.tar.gz 4909067 BLAKE2B 98caa6037a1b04bcaae5b4430fde2403efce4681c02b997825677e79fc01c025802402ae8253c7e1d6a5da09f686b5b2a0fb4ebfe191f71eec66942ca7707dbd SHA512 41565ded8d9893d67cf40845dabc52ffe52a1020efcd36723bb90e4fa62600e5c97f9587d4204028f24b18934d4aecd45e846caf0f99ead6ad63aa25cb57be33 +EBUILD botocore-1.12.38.ebuild 1494 BLAKE2B 36263e1b3bc056f6a5fc0034e3373d30920976a8e54113bb6f7b3fdc238f6acd6acb76f4026cd5f8302aa6d4ba50191d72883896282f1a2f0b55312cd389ce4c SHA512 ead62975b9cc2ef72e396994d62eb2a3e1c807d6d6a69b82cd07ea7db6b31bb5e88ea4af1fc9e4306c8f5fe84c2469501cf04e790c85ea5067940715049def57 +MISC metadata.xml 375 BLAKE2B 562696aff0128b74dc4c2c0767fe03d53ae116cbc4fdb3a8649e36a8c689dcbd2a90bb5f46dcfa6a3cd71c9150f923281100ec098fe2212dfffa96d74e472d3f SHA512 c369567feea497a744245642a9a307b2a2ec06035fffc3b9b72d9f7ee9fe2f342d62cd1d06a668b47ac1b3187fc28845bcf3c220d942cfb2ac89f72809fc4a86 diff --git a/dev-python/botocore/botocore-1.12.38.ebuild b/dev-python/botocore/botocore-1.12.38.ebuild new file mode 100644 index 0000000..82cc15e --- /dev/null +++ b/dev-python/botocore/botocore-1.12.38.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3." +HOMEPAGE="https://github.com/boto/botocore" +LICENSE="Apache-2.0" +SLOT="0" +IUSE="doc test" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore" + inherit git-r3 +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/jmespath[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] +" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( + dev-python/guzzle_sphinx_theme[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ) + test? ( + ${RDEPEND} + dev-python/mock[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +PATCHES=( "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch" ) + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + PYTHONPATH="${BUILD_DIR}/lib" nosetests -v tests/unit || die "unit tests failed under ${EPYTHON}" + PYTHONPATH="${BUILD_DIR}/lib" nosetests -v tests/functional || die "functional tests failed under ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/build/html/. ) + + distutils-r1_python_install_all +} diff --git a/dev-python/botocore/metadata.xml b/dev-python/botocore/metadata.xml new file mode 100644 index 0000000..b3df2bc --- /dev/null +++ b/dev-python/botocore/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>andrey_utkin@gentoo.org</email> + <name>Andrey Utkin</name> + </maintainer> + <upstream> + <remote-id type="github">boto/botocore</remote-id> + <remote-id type="pypi">botocore</remote-id> + </upstream> +</pkgmetadata> |