Summary: | webapp.eclass: ebeep is used with EAPI=4 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nico Baggus <mlspamcb> |
Component: | New packages | Assignee: | Gentoo Web Application Packages Maintainers <web-apps> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 377943 |
Description
Nico Baggus
2011-10-09 17:21:02 UTC
Actually webapp.eclass was never supposed to work with EAPI>1... (In reply to comment #1) > Actually webapp.eclass was never supposed to work with EAPI>1... Well it should probably block that case then. (In reply to comment #2) > (In reply to comment #1) > > Actually webapp.eclass was never supposed to work with EAPI>1... > > Well it should probably block that case then. Or I could just remove ebeep and move towards making webapp.eclass EAPI=4 compat. (In reply to comment #3) > (In reply to comment #2) > > (In reply to comment #1) > > > Actually webapp.eclass was never supposed to work with EAPI>1... > > > > Well it should probably block that case then. > > Or I could just remove ebeep and move towards making webapp.eclass EAPI=4 > compat. That's what I would prefer as well. I committed the following fix to resolve this. This doesn't mean I want to maintain this eclass, it just means it was a simple fix. diff -u -B -r1.70 webapp.eclass --- webapp.eclass 27 Dec 2011 17:55:12 -0000 1.70 +++ webapp.eclass 15 Jul 2012 22:43:54 -0000 @@ -413,7 +413,9 @@ ewarn "This ebuild may be overwriting important files." ewarn echo - ebeep 10 + if has "${EAPI:-0}" 0 1 2 3; then + ebeep 10 + fi elif [[ "$(echo ${my_output} | awk '{ print $1 }')" != "${PN}" ]]; then echo eerror "You already have ${my_output} installed in ${my_dir}" (In reply to comment #4) > (In reply to comment #3) > > (In reply to comment #2) > > > (In reply to comment #1) > > > > Actually webapp.eclass was never supposed to work with EAPI>1... > > > > > > Well it should probably block that case then. > > > > Or I could just remove ebeep and move towards making webapp.eclass EAPI=4 > > compat. > > That's what I would prefer as well. I committed the following fix to resolve > this. This doesn't mean I want to maintain this eclass, it just means it was > a simple fix. > NP. I'm kinda sorta maintaining the eclass because I'm maintaining webapp-config, but it needs more work than I have time for. Every bit of help is welcome. Actually I get: * QA Notice: ebeep is not defined in EAPI=3, please file a bug at http://bugs.gentoo.org So I'm going to change to if has "${EAPI:-0}" 0 1 2; then I think this bug is done. Please reopen if there's any more problems. |