dev-python/zm-py: fix dynamic versioning

Closes: onkelbeh/HomeAssistantRepository#2363
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier (@STR/VW3) 2023-11-03 09:45:07 +01:00 committed by Andreas Billmeier
parent ed7d6edcd5
commit 668b556746
Signed by untrusted user: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,3 @@
DIST zm-py-0.5.2.tar.gz 12746 BLAKE2B 10905456f5e06addac22c3cf72eb2ec7c3425a2597305c369363c40055c17391d778d270ef508e2a886f0ec3af8d15e92a396844e8997bb5420ca8b0eed7dbd8 SHA512 4946c02d2e3a230d3113f68bddec7bd03da5f6b3e8334b84c5fcc943e5856089488dc1692e9e13f3e149d299e52887c02cc8a9b95615e336ed1588291193ef90
EBUILD zm-py-0.5.2.ebuild 924 BLAKE2B dab88beeab0dca174ac33f67b54be113c8bed2146e0dfac51bb48edfb7f7fc4c78afcea5c9750ba525824c3dc8f6980033f903257923ad27c2172400f457965a SHA512 2cb2850ba11d963238d8ee548c6da24875d9282ef9ea4cbf0a8f0a6d1b26e9b4e37965202de95a68e7079bc7c9b8c5491b53a64c0d2253cb8ec5c03e1779fa7c
EBUILD zm-py-0.5.2-r1.ebuild 1047 BLAKE2B f171540bfe78d78cb5856c1e7e552ab388ea449cd934e766b980253e1ebf3db6a00e98f3598aee1b0286c80dad7481bf60318384bdd77e4d38cbef00dd4d690c SHA512 eeab1de5f4b94500503e57b81021ca11872d8e23d8dd1a6fa1b0e012b6a12af984d4c3a67db2fe13b842002f635fcdb6cc005fbaeeb1df811d2a23e37e07be44
MISC metadata.xml 513 BLAKE2B a4d74212b4290f137adfd71271a532e97255c129586b1e56dc5694406247d04db710c28f226d6bc726c2639e7f07bef75dde851ed2d0b1cf987eeef18e67cff2 SHA512 c6b5fbca9fa6b81c0263441675ca4aae95f845612e990e1392d6e080ba2d08beb658a6579c990b2c30854508d0c31fd33f5b51d68880ca2d7ccaf3623a691aae

View File

@ -31,6 +31,12 @@ BDEPEND="
dev-python/pylint[${PYTHON_USEDEP}]
)"
src_prepare() {
# remove unsupported dynamic-versioning
sed 's/0.1.0/'${PV}'/g' -i pyproject.toml || die
eapply_user
}
python_test() {
py.test -v -v || die
}