Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 879131 - dev-python/yamlpath: multiple undocumented hacks and issues not submitted upstream
Summary: dev-python/yamlpath: multiple undocumented hacks and issues not submitted ups...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-02 07:04 UTC by Michał Górny
Modified: 2023-10-27 15:24 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-11-02 07:04:29 UTC
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.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-11-05 11:12:41 UTC
I see the package has been updated once again without addressing any of the problems or replying to this bug report.
Comment 2 Zac Medico gentoo-dev 2022-11-05 21:58:45 UTC
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.
Comment 3 Larry the Git Cow gentoo-dev 2022-11-05 22:18:47 UTC
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(-)