Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836118 - www-apps/cgit: uses variables banned in scope (VariableScope)
Summary: www-apps/cgit: uses variables banned in scope (VariableScope)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: forbidden-variable-use
  Show dependency tree
 
Reported: 2022-03-26 03:43 UTC by Sam James
Modified: 2022-08-14 06:54 UTC (History)
1 user (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 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-26 03:43:06 UTC
This package uses variables banned in some scopes. This may stop working in future versions of Portage.

$ pkgcheck scan -k VariableScope www-apps/cgit
www-apps/cgit
  VariableScope: version 1.2.3-r100: variable 'D' used in 'src_prepare', line 57
  VariableScope: version 1.2.3-r200: variable 'D' used in 'src_prepare', line 64
  VariableScope: version 9999: variable 'D' used in 'src_prepare', line 52
Comment 1 Larry the Git Cow gentoo-dev 2022-07-29 18:57:17 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55ea838a1d3ec050b680856e6788a98ae89750f9

commit 55ea838a1d3ec050b680856e6788a98ae89750f9
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2022-07-29 18:54:51 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2022-07-29 18:57:10 +0000

    www-apps/cgit: Replace src_prepare with src_configure
    
    After we move python_setup to pkg_setup, src_prepare just configuring
    cgit.conf, which seems like an appropriate task for src_configure.
    
    Also add Python 3.11 compatibility, switch to EAPI=8, and move
    doc-generating deps to BDEPEND.
    
    Bug: https://bugs.gentoo.org/836118
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 www-apps/cgit/cgit-1.2.3-r201.ebuild | 108 +++++++++++++++++++++++++++++++++++
 1 file changed, 108 insertions(+)