-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes: https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/3463 Signed-off-by: Andreas Billmeier <[email protected]>
- Loading branch information
Showing
5 changed files
with
43 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
DIST youless_api-1.0.1.tar.gz 7784 BLAKE2B 61661c06ec04752d6d88f13a1850dc889ad333b475e26d91350f2707fded17f50d231b80e86d0c6b7778ceab3ed6433b7768742268badf5326f377d97617de11 SHA512 9571c7e31d0417bb0ae4a6cf4b294e2a404ac55d61afb5e04b048036568cbea2c1dbaf61f48768ef1bb893bc09bc65fcab24821884c166f69dfa9637f316a3d1 | ||
EBUILD youless-api-1.0.1.ebuild 959 BLAKE2B 8ea7b99cac0fa6427c781246b42509d90f6d0c3b445259ac3731735130d4c19e18c5e7b668eb4b413ac21e23b1ffa4b4a8d404cfab1d3736058f494b45242de3 SHA512 25174bab0db6a3b0ece4c00556079e9184660044531cccbc9b0ce745be24030fec8abc97f332a28963492f0bf2e64da0d6a82867f0cb32f74f71f92232378b5c | ||
MISC metadata.xml 408 BLAKE2B 6ba07122197befe079e1f0baa10bacd7a5840a7c17f18c7e4061fc03c65580574a335bce3a25ad842dbce218c0217ddbb3ca5f8ecb384e704b82c475dc97f8e4 SHA512 af31fc1ad27ddb6745ccb8ddaddd9e3166b5d3f8a75614e88544780529567d9aadabf459f96beef2a59e441b86138c4a0eef898e17b4e1a6fcd52a47df715dae | ||
DIST youless_api-1.1.1.tar.gz 7707 BLAKE2B cefca702377a9e112b77c61ba5ec272e76afbaa68a629ce6d4fa68c3c8463d3ca41563469eddc7e4f2628d91d1d506c249bff00bab73c9fd3e92f76a21e9c1e1 SHA512 0f8a7b123a947e0d6ff06db96af7c2ab8e377acc15c8601155fc29bf91daae48ad2eb21632a03b8393a4f5d060bad306c3f08b6830665cfcb6cab1dbfa3ee787 | ||
EBUILD youless-api-1.0.1.ebuild 959 BLAKE2B 7c08e6f8c714f2f3b14bf79a859d6b32e3569125bdd700d911982b25b96a94add20b10fdbbe6981b7e6ea7fe027bc82921a03c7e21a2b551602d064e1225af06 SHA512 676de8a83acf6af825333320f92f357c691cbc5a021c96f5be40ae07b331ff6b4146e8b6957441e3256420f7ff8056424280e82a3a3c6a909db67520de545a1e | ||
EBUILD youless-api-1.1.1.ebuild 767 BLAKE2B 6ced3e121d7432a11f286d9120ab811c95111cdc336cf951211a2fb7f4883a4961810cd7b64bb68d3ae634f12105719f06f7c522d9de22885ace2e5720463e1c SHA512 da975fb5aabec65937a32fc1515a9c8c095ba254e40dde18ca937d79b92d0c9021f64bef683c322ba4fa40e8c1fb31d01a4298c847a1de838404334a43508ef4 | ||
MISC metadata.xml 399 BLAKE2B 589ede74267af0cddd1211dfec3928bb17e2e678f3b1d10a84b90a7a8606e5aa6d92cb3af13a233a179f935c6e6629fe9d658edbc55394908239fdac9857457e SHA512 ac5e205de1f29022a36811af19e0c822bb0c05bd452cd54647b0ca89ed0b4401330f6aa8daa72aee62e0946a7b53bb625918a4d15cb02601577aa24f156e19c8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Copyright 1999-2024 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
PYTHON_COMPAT=( python3_{11..13} ) | ||
DISTUTILS_USE_PEP517=setuptools | ||
inherit distutils-r1 pypi | ||
|
||
DESCRIPTION="A bridge for python to the YouLess sensor" | ||
HOMEPAGE="https://github.com/gjong/youless-python-bridge/ https://pypi.org/project/youless-api/" | ||
|
||
LICENSE="MIT" | ||
SLOT="0" | ||
KEYWORDS="amd64 arm arm64 x86" | ||
IUSE="test" | ||
RESTRICT="!test? ( test )" | ||
|
||
DOCS="README.md" | ||
|
||
RDEPEND="dev-python/requests[${PYTHON_USEDEP}]" | ||
|
||
src_prepare() { | ||
# Make it easy, this guy pins everything | ||
cut -d "=" -f1 < requirements.txt > requirements_new.txt | ||
mv requirements_new.txt requirements.txt | ||
eapply_user | ||
} | ||
|
||
python_test() { | ||
py.test -v -v || die | ||
} | ||
|
||
distutils_enable_tests pytest |