Since day one, the ebuild carries a number of hackfixes: - some seds on setup.py - installing additional files in src_install() - removing "tests" package The ebuild has no explanation why these things are done. I don't see a single issue or patch submitted upstream, even though at least "tests" is an entirely valid problem and upstream seems active. Unfortunately, this seems like yet another case of drive-by package added to ::gentoo with minimal effort and minimal interest in maintenance.
I see the package has been updated once again without addressing any of the problems or replying to this bug report.
Thank you @mgorny for sending the find_packages(exclude=["tests"]) fix upstream in https://github.com/wwkimball/yamlpath/pull/199. I will take your example and try to send fixes like this upstream in the future.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5323a97084e4366eedd90244d03889fcaebe946a commit 5323a97084e4366eedd90244d03889fcaebe946a Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2022-11-05 22:06:21 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2022-11-05 22:18:42 +0000 dev-python/yamlpath: drop obsolete python_install hack Bug: https://bugs.gentoo.org/879131 Signed-off-by: Zac Medico <zmedico@gentoo.org> dev-python/yamlpath/yamlpath-3.6.7.ebuild | 11 ----------- dev-python/yamlpath/yamlpath-3.6.8.ebuild | 11 ----------- dev-python/yamlpath/yamlpath-3.6.9.ebuild | 11 ----------- 3 files changed, 33 deletions(-)