Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 274887 Details for
Bug 368865
remove EMERGE_FROM in EAPI=4
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
make repoman disallow EMERGE_FROM in EAPI 4 (like AA and KV)
repoman-disallow-EMERGE_FROM-in-EAPI-4.patch (text/plain), 1005 bytes, created by
Zac Medico
on 2011-05-28 12:42:14 UTC
(
hide
)
Description:
make repoman disallow EMERGE_FROM in EAPI 4 (like AA and KV)
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2011-05-28 12:42:14 UTC
Size:
1005 bytes
patch
obsolete
>From 581c99da155ee3b7dedc5f1a2c7e5ab791060e38 Mon Sep 17 00:00:00 2001 >From: Zac Medico <zmedico@gentoo.org> >Date: Sat, 28 May 2011 05:34:29 -0700 >Subject: [PATCH] repoman: disallow EMERGE_FROM in EAPI 4 > >We already have the Eapi4GoneVars check for AA and KV which were >removed in EAPI 4, so we can re-use it to disallow EMERGE_FROM. >--- > pym/repoman/checks.py | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/pym/repoman/checks.py b/pym/repoman/checks.py >index bc25cd5..c6ee3e9 100644 >--- a/pym/repoman/checks.py >+++ b/pym/repoman/checks.py >@@ -619,7 +619,7 @@ class Eapi4IncompatibleFuncs(LineCheck): > class Eapi4GoneVars(LineCheck): > repoman_check_name = 'EAPI.incompatible' > ignore_line = re.compile(r'(^\s*#)') >- undefined_vars_re = re.compile(r'.*\$(\{(AA|KV)\}|(AA|KV))') >+ undefined_vars_re = re.compile(r'.*\$(\{(AA|KV|EMERGE_FROM)\}|(AA|KV|EMERGE_FROM))') > > def check_eapi(self, eapi): > return not eapi_exports_AA(eapi) or not eapi_exports_KV(eapi) >-- >1.7.5.rc3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 368865
:
274859
|
274861
|
274863
| 274887 |
274889