[tradfri] Update pytradfri, simplify dependencies. (#9875)
* Update pytradfri * Process dep links * Process dep links * Process dep links * Install all deps * Update requirements * Exclude aiocoap * Install cython * Remove cython * Exclude DTLSSocket * Add cython
This commit is contained in:
1 parent
9722125234
commit
d9f5398c56
9 files changed
+22
-40
No files matched your search
@@ -26,10 +26,10 @@ RUN virtualization/Docker/setup_docker_prereqs
|
||||
# Install hass component dependencies
|
||||
COPY requirements_all.txt requirements_all.txt
|
||||
|
||||
# Uninstall enum34 because some depenndecies install it but breaks Python 3.4+.
|
||||
# Uninstall enum34 because some dependencies install it but breaks Python 3.4+.
|
||||
# See PR #8103 for more info.
|
||||
RUN pip3 install --no-cache-dir -r requirements_all.txt && \
|
||||
pip3 install --no-cache-dir mysqlclient psycopg2 uvloop cchardet
|
||||
pip3 install --no-cache-dir mysqlclient psycopg2 uvloop cchardet cython
|
||||
|
||||
# BEGIN: Development additions
|
||||
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# Installs a modified coap client with support for dtls for use with IKEA Tradfri
|
||||
|
||||
# Stop on errors
|
||||
set -e
|
||||
|
||||
python3 -m pip install cython
|
||||
|
||||
cd /usr/src/app/
|
||||
mkdir -p build && cd build
|
||||
|
||||
git clone --depth 1 https://git.fslab.de/jkonra2m/tinydtls
|
||||
cd tinydtls
|
||||
autoreconf
|
||||
./configure --with-ecc --without-debug
|
||||
cd cython
|
||||
python3 setup.py install
|
||||
|
||||
cd ../..
|
||||
git clone https://github.com/chrysn/aiocoap
|
||||
cd aiocoap
|
||||
git reset --hard 3286f48f0b949901c8b5c04c0719dc54ab63d431
|
||||
python3 -m pip install .
|
||||
@@ -9,7 +9,6 @@ INSTALL_OPENALPR="${INSTALL_OPENALPR:-yes}"
|
||||
INSTALL_FFMPEG="${INSTALL_FFMPEG:-yes}"
|
||||
INSTALL_LIBCEC="${INSTALL_LIBCEC:-yes}"
|
||||
INSTALL_PHANTOMJS="${INSTALL_PHANTOMJS:-yes}"
|
||||
INSTALL_COAP="${INSTALL_COAP:-yes}"
|
||||
INSTALL_SSOCR="${INSTALL_SSOCR:-yes}"
|
||||
|
||||
# Required debian packages for running hass or components
|
||||
@@ -59,10 +58,6 @@ if [ "$INSTALL_PHANTOMJS" == "yes" ]; then
|
||||
virtualization/Docker/scripts/phantomjs
|
||||
fi
|
||||
|
||||
if [ "$INSTALL_COAP" == "yes" ]; then
|
||||
virtualization/Docker/scripts/aiocoap
|
||||
fi
|
||||
|
||||
if [ "$INSTALL_SSOCR" == "yes" ]; then
|
||||
virtualization/Docker/scripts/ssocr
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user