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
+2
View File
@@ -1,3 +1,5 @@
AUX urllib3-1.23-tornado5.patch 2878 BLAKE2B 7d64d012de5f0d83043ca5c6262d4e395faa888b582cc2c094c82c90aad3bb7e3e7bf835c002bcc72339974d06b5b211d22571a0470b44e453024626e47ee507 SHA512 c4c1facce9e90a8c8b845e4ca9b5c1b4bd1400fa9b2841172bd8a721ed96fac36cdead6014bf33ec841237f7cd4cb0994283f1a62840e22f829f9f0234d1cfde
DIST urllib3-1.24.1.tar.gz 229688 BLAKE2B ee72e61d417ef266af43b5c4d3eb0b154eac41a392b0a7e9d19523fdb00786b60f8067a8e876c1b7813b127431b1625b1480d9812d623a6d3c540a8ecf646242 SHA512 4c12d08076b0f260727d5aac780f5e9a24e0164755ff05b02a1f5a697876741ff13ba278fdd6e46ef678e8e1146bc39de1fc49ee10ee839229a70540a9424a99
DIST urllib3-1.24.tar.gz 229200 BLAKE2B 7a1943ce14b9fd88b7b8a86a1ecbd9fd1baa2f7a5eedc64c7989062eef192467e722db480f9667c9390b289a1f3f999c7a6e554f7d013e958d9e60753532e74b SHA512 557e3fa616f064e4447faf9cbbcc9ca14c29077e70871d8bfa7d7271acc3ae012bf4c0dae76ddc8760195c31da90b204168dbf5c99bcf5a1b72158d460a3bcdf
EBUILD urllib3-1.24.1.ebuild 1779 BLAKE2B 5dff6de83e055f2adc07c5e291387abc817ac40aa68fade2a8095973fbb8fe82cc9065dfbbabc8c296e6601d486ae0c1cf93388872e2f9f54373b0ba585fb3a6 SHA512 d9ecb43626d9cb0a82f2726013bdc63ec6e30ffcb42aa1ce8ec45dae1671dc6bfed76fc254aa0a44cf426c42c8e880376cee79722e1c25fe45e22ff25d29a044
EBUILD urllib3-1.24.ebuild 1779 BLAKE2B 5dff6de83e055f2adc07c5e291387abc817ac40aa68fade2a8095973fbb8fe82cc9065dfbbabc8c296e6601d486ae0c1cf93388872e2f9f54373b0ba585fb3a6 SHA512 d9ecb43626d9cb0a82f2726013bdc63ec6e30ffcb42aa1ce8ec45dae1671dc6bfed76fc254aa0a44cf426c42c8e880376cee79722e1c25fe45e22ff25d29a044
+67
View File
@@ -0,0 +1,67 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy{,3} )
PYTHON_REQ_USE="ssl(+)"
inherit distutils-r1
DESCRIPTION="HTTP library with thread-safe connection pooling, file post, and more"
HOMEPAGE="https://github.com/shazow/urllib3"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="doc test"
#RESTRICT="test"
RDEPEND="
>=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}]
!~dev-python/PySocks-1.5.7[${PYTHON_USEDEP}]
<dev-python/PySocks-2.0[${PYTHON_USEDEP}]
dev-python/certifi[${PYTHON_USEDEP}]
>=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}]
>=dev-python/pyopenssl-0.14[${PYTHON_USEDEP}]
>=dev-python/idna-2.0.0[${PYTHON_USEDEP}]
virtual/python-ipaddress[${PYTHON_USEDEP}]
"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
${RDEPEND}
>=www-servers/tornado-4.2.1[$(python_gen_usedep 'python*')]
dev-python/pytest[${PYTHON_USEDEP}]
)
doc? (
dev-python/mock[${PYTHON_USEDEP}]
dev-python/sphinx[${PYTHON_USEDEP}]
)
"
# Testsuite written requiring mock to be installed under all Cpythons
python_prepare_all() {
# skip appengine tests
rm -r test/appengine || die
distutils-r1_python_prepare_all
}
python_compile_all() {
use doc && emake -C docs SPHINXOPTS= html
}
python_test() {
# FIXME: get tornado ported
if [[ ${EPYTHON} == python* ]]; then
py.test -v || die "Tests fail with ${EPYTHON}"
fi
}
python_install_all() {
use doc && local HTML_DOCS=( docs/_build/html/. )
distutils-r1_python_install_all
}