dev-python/anytree: add USE=dot, test dep on six, .gh suffix

- Fix PythonGHDistfileSuffix by adding .gh suffix to source archive.
- Add `USE=dot` to optionally pull in `media-gfx/graphviz`, or otherwise disable
related test.
- Add `dev-python/six` dependency required by `USE=test`.

Closes: https://bugs.gentoo.org/934415
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
This commit is contained in:
Paul Zander
2024-06-17 15:56:23 +02:00
parent da24565f56
commit 21e1950315
3 changed files with 29 additions and 3 deletions

View File

@@ -8,4 +8,7 @@
<remote-id type="github">c0fec0de/anytree</remote-id>
<remote-id type="pypi">Anytree</remote-id>
</upstream>
<use>
<flag name="dot">allow to create dot graphs using <pkg>media-gfx/graphviz</pkg></flag>
</use>
</pkgmetadata>