Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 255487 Details for
Bug 346837
eselect should use cave instead of paludis
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-Use-cave-rather-than-paludis.patch
0001-Use-cave-rather-than-paludis.patch (text/plain), 2.45 KB, created by
Ciaran McCreesh
on 2010-11-26 14:15:46 UTC
(
hide
)
Description:
0001-Use-cave-rather-than-paludis.patch
Filename:
MIME Type:
Creator:
Ciaran McCreesh
Created:
2010-11-26 14:15:46 UTC
Size:
2.45 KB
patch
obsolete
>From 95a6d6462a88493dbda8f784afb606741100fbd6 Mon Sep 17 00:00:00 2001 >From: Ciaran McCreesh <ciaran.mccreesh@googlemail.com> >Date: Fri, 26 Nov 2010 14:09:34 +0000 >Subject: [PATCH] Use cave rather than paludis > >--- > libs/package-manager.bash.in | 17 ++++++++--------- > 1 files changed, 8 insertions(+), 9 deletions(-) > >diff --git a/libs/package-manager.bash.in b/libs/package-manager.bash.in >index 8e68409..94b7e8c 100644 >--- a/libs/package-manager.bash.in >+++ b/libs/package-manager.bash.in >@@ -23,8 +23,7 @@ package_manager() { > portage) > pm=portage ;; > paludis) >- set -- ${PALUDIS_COMMAND:-paludis} >- type "$1" &>/dev/null && pm=paludis ;; >+ pm=paludis ;; > esac > echo "${pm:-portage}" > } >@@ -36,9 +35,9 @@ portageq() { > } > > # run_paludis PRIVATE >-# Run PALUDIS_COMMAND (defaults to "paludis"). Redirect stderr >+# Run CAVE (defaults to "cave"). Redirect stderr > run_paludis() { >- ${PALUDIS_COMMAND:-paludis} "$@" 2>/dev/null >+ ${CAVE:-cave} "$@" 2>/dev/null > } > > # arch >@@ -98,7 +97,7 @@ envvar() { > case $(package_manager) in > # portage does not support per-package envvar lookup > portage) portageq envvar "$2" ;; >- paludis) run_paludis --environment-variable "$1" "$2" ;; >+ paludis) run_paludis print-id-environment-variable --best --variable-name "$2" --format '%v\n' "$1" ;; > esac > } > >@@ -108,7 +107,7 @@ best_version() { > [[ $# -eq 1 ]] || die "best_version expects exactly one argument" > case $(package_manager) in > portage) portageq best_version "${ROOT:-/}" "$1" ;; >- paludis) run_paludis --best-version "$1" ;; >+ paludis) run_paludis print-best-version --format name-version "$1" ;; > esac > } > >@@ -118,7 +117,7 @@ has_version() { > [[ $# -eq 1 ]] || die "has_version expects exactly one argument" > case $(package_manager) in > portage) portageq has_version "${ROOT:-/}" "$1" ;; >- paludis) run_paludis --has-version "$1" ;; >+ paludis) run_paludis has-version "$1" ;; > esac > } > >@@ -127,7 +126,7 @@ has_version() { > get_repositories() { > case $(package_manager) in > portage) portageq get_repos "${ROOT:-/}" ;; >- paludis) run_paludis --list-repositories | cut -d' ' -f 2 ;; >+ paludis) run_paludis print-repositories ;; > esac > } > >@@ -140,7 +139,7 @@ get_repo_news_dir() { > portage) > echo "$(portageq get_repo_path \ > "${ROOT:-/}" "${repo}")/metadata/news" ;; >- paludis) run_paludis --configuration-variable ${repo} newsdir ;; >+ paludis) run_paludis print-repository-metadata ${repo} --raw-name newsdir --format '%v\n' ;; > esac > } > >-- >1.7.3.2 >
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 346837
: 255487