Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 686300 - [HomeAssistantRepo overlay] app-misc/homeassisstant should depend on || ( dev-python/pycryptodome dev-python/pycrypto ) (?)
Summary: [HomeAssistantRepo overlay] app-misc/homeassisstant should depend on || ( dev...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas Billmeier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-19 11:09 UTC by anonymous
Modified: 2019-05-21 23:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description anonymous 2019-05-19 11:09:52 UTC
Since it rejects pycrypto, I cannot install app-misc/homeassisstant::HomeAssistantRepo without removing my applications.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-05-19 11:17:47 UTC
You should definitely fix the ebuild in that HomeAssistantRepo overlay instead.
Comment 2 Andreas Billmeier 2019-05-20 16:03:28 UTC
Dependency was taken from upstream, they say that pycrypto is an "old unmaintained library and is replaced with pycryptodome".

Anyway, I added the requested dependency, i believe it won't hurt anyone, but did not test it. Please let me know if it works.

You will find it in the new version: https://git.edevau.net/onkelbeh/HomeAssistantRepository/src/tag/v0.93.1 or https://github.com/onkelbeh/HomeAssistantRepository/releases/tag/v0.93.1
Comment 3 Andreas Billmeier 2019-05-20 16:57:14 UTC
pycrypto seems to be unmaintained since 2013.
This is quite old for a cryptographic library.
Comment 4 Andreas Billmeier 2019-05-20 17:01:44 UTC
https://github.com/dlitz/pycrypto/issues/285
Comment 5 anonymous 2019-05-21 07:11:01 UTC
app-misc/homeassistant-0.93.1 can be installed, but it downloads pycryptodome into /etc/homeassistant/deps during runtime. Not ideal, but it can be installed.
Comment 6 Andreas Billmeier 2019-05-21 23:18:22 UTC
Expected this behavior. It will work, Home Assistant will use pycryptodome in it's built-in virtual environment. So you got some time to get rid of the old library. As soon as you remove pycrypto the next update will install the correct pycryptodome, after that you can delete /etc/homeassistant/deps again.