dev-python/watchfiles: Fix version number in metadata

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-06-24 20:24:33 +02:00
parent ac3e227881
commit db5b72828b

View File

@@ -96,6 +96,13 @@ QA_FLAGS_IGNORED=".*/_rust_notify.*"
distutils_enable_tests pytest
src_prepare() {
distutils-r1_src_prepare
# fix version number
sed -i -e "/^version/s:0\.0\.0:${PV}:" Cargo.toml || die
}
python_test() {
rm -rf watchfiles || die
epytest