homeassistant-0.83.1, and some more system-wide python libs.

This commit is contained in:
2018-11-30 18:59:41 +01:00
parent d7612f497f
commit 4102cf0f50
38 changed files with 1099 additions and 0 deletions

View File

@@ -1,3 +1,5 @@
AUX 1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch 1056 BLAKE2B ecdf805cd61e337d4152d56952aeb8b78bfdd871b4da060d025ca4e3f974b3b7a907eee71ce6de1bc6cff8130fa81391aeaa2c5537b1baf159ce23500908a5f4 SHA512 c3be1a6457990168c759f03b24de8f78242b9c06f189553e416ce75fee6a77dce68967a551dfd83e1be096db9baeca019b75526c4886c672eca35282e307f229
DIST botocore-1.12.35.tar.gz 4891973 BLAKE2B cce234fb4a33bf5be88d14fcc0b30acc2f13fb422f7a2af9bfcf064b91921115382713f1f371487470de7965ffba2209f578669bccf2af9d6b94b1af5223556c SHA512 9ca6d766a7ef8e32859b33a82fa99457d165ffd1a5b0e1cdc01ca9c28377e6374188e9661fd3d96e94dbab712fe4da3cbda8f9a757cfb11a8efc8e29ca3c007c
DIST botocore-1.12.57.tar.gz 5247450 BLAKE2B 537c14bc8541f597f835611a8bd8f13b4c5f112139788b67650ed5895882fc63327abb92ad4477785fbbae07fe66f28b095b3982b311421bf93b11377b7b4fdd SHA512 703d9d0967fa998112f9057475e11e2f064ffefa2dd90a2baafc5587bf34a7e255a10e69c9dc05e2e53c8c1414cfff18ffefd8a99d2de49ff749d55c24d5fa19
EBUILD botocore-1.12.35.ebuild 1494 BLAKE2B 36263e1b3bc056f6a5fc0034e3373d30920976a8e54113bb6f7b3fdc238f6acd6acb76f4026cd5f8302aa6d4ba50191d72883896282f1a2f0b55312cd389ce4c SHA512 ead62975b9cc2ef72e396994d62eb2a3e1c807d6d6a69b82cd07ea7db6b31bb5e88ea4af1fc9e4306c8f5fe84c2469501cf04e790c85ea5067940715049def57
EBUILD botocore-1.12.57.ebuild 1494 BLAKE2B 36263e1b3bc056f6a5fc0034e3373d30920976a8e54113bb6f7b3fdc238f6acd6acb76f4026cd5f8302aa6d4ba50191d72883896282f1a2f0b55312cd389ce4c SHA512 ead62975b9cc2ef72e396994d62eb2a3e1c807d6d6a69b82cd07ea7db6b31bb5e88ea4af1fc9e4306c8f5fe84c2469501cf04e790c85ea5067940715049def57

View File

@@ -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
}