mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-25 07:08:13 -07:00
dev-python/watchfiles: Fix version number in metadata
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user