[gentoo-dev] [PATCH] eutils.eclass: In EAPI conditionals, replace "has" by case statements.

2015-11-29 Thread Ulrich Mueller
As suggested by mgorny, we could use bash internals instead of the "has" function calls in global scope. The patch below replaces them by case statements. (Unfortunately we cannot use fall-through (&;) because it is a bash 4 feature.) Ulrich From 89e837f5179354aa3dfa454f51282ad9d1143402 Mon

[gentoo-dev] .git folder getting mirrored to rsync mirrors

2015-11-29 Thread Joshua Kinard
Looks like some part of the .git folder got mirrored to the rsync mirrors. I'm seeing this on rsync25.us.gentoo.org. Seems to bugger repoman up if you run "repoman manifest". It sees that .git folder and complains that the portage tree is not a valid git location or such. Deleting the folder

Re: [gentoo-dev] [PATCH 4/8] virtualx.eclass: Ban deprecated functionality in EAPI > 5

2015-11-29 Thread Michał Górny
On Sat, 28 Nov 2015 17:21:00 +0100 Justin Lecher wrote: > Signed-off-by: Justin Lecher > --- > eclass/virtualx.eclass | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass > index 230897b..a5e5457 100644

Re: [gentoo-dev] [PATCHES] bash-completion-r1.eclass: Error handling cleanup + EAPI 6

2015-11-29 Thread Michał Górny
On Fri, 27 Nov 2015 14:53:36 +0100 Michał Górny wrote: > Hi, > > A quick patch set to bash-completion-r1.eclass. Adds missing ||die, > ||return to bashcomp_alias for nonfatal and enables EAPI 6. Please > review. This was trivial. Merged now. -- Best regards, Michał Górny

[gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: app-emulation/xen/

2015-11-29 Thread Michał Górny
On Sun, 29 Nov 2015 07:57:00 + (UTC) "Ian Delaney" wrote: > commit: 8f7e07bb5fc8f742d97e22fa659f044ebd5cc570 > Author: Ian Delaney gentoo org> > AuthorDate: Sun Nov 29 07:53:09 2015 + > Commit: Ian Delaney gentoo org> > CommitDate: Sun Nov 29 07:56:50

Re: [gentoo-dev] [PATCHES] git-r3.eclass: Slight cleanup and support for any ref

2015-11-29 Thread Michał Górny
On Sat, 26 Sep 2015 15:28:56 +0200 Michał Górny wrote: > Hi, > > Small patch set for review. Patch 1 cleans up some comments inside > the eclass, while patch 2 removes unused 'is_branch' variable. Finally, > patch 3 adds support for passing any of the 'refs/*' rather than >

Re: [gentoo-dev] [PATCH 7/8] virtualx.eclass: Ban deprecated functionality in EAPI > 5

2015-11-29 Thread Michał Górny
Dnia 29 listopada 2015 13:24:43 CET, Justin Lecher napisał(a): >Signed-off-by: Justin Lecher >--- > eclass/virtualx.eclass | 17 - > 1 file changed, 16 insertions(+), 1 deletion(-) > >diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass

[gentoo-dev] eutils.eclass: further cleanup for EAPI 6

2015-11-29 Thread Ulrich Mueller
Two patches for eutils.eclass will follow. The first patch disables epatch_user in EAPI 6. There it is mandatory to call eapply_user which replaces epatch_user. The second patch moves all deprecated functions to the end of the eclass, and consolidates several of the EAPI conditionals. Ulrich

[gentoo-dev] [PATCH 2/2] eutils.eclass: Move all deprecated functions to the end.

2015-11-29 Thread Ulrich Müller
--- eclass/eutils.eclass | 423 ++- 1 file changed, 213 insertions(+), 210 deletions(-) diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass index 5481b7f..5c7d1aa 100644 --- a/eclass/eutils.eclass +++ b/eclass/eutils.eclass @@ -20,50 +20,6 @@

[gentoo-dev] [PATCH 1/2] eutils.eclass: Disable epatch_user in EAPI 6.

2015-11-29 Thread Ulrich Müller
Date: Sun, 29 Nov 2015 13:35:08 +0100 EAPI 6 has eapply_user which should be used instead. --- eclass/eutils.eclass | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass index 6457501..5481b7f 100644 ---

[gentoo-dev] [PATCH 1/8] virtualx.eclass: Use case/esac to handle supported EAPIs

2015-11-29 Thread Justin Lecher
Signed-off-by: Justin Lecher --- eclass/virtualx.eclass | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass index 5d27ed9..e9ff3af 100644 --- a/eclass/virtualx.eclass +++ b/eclass/virtualx.eclass @@

[gentoo-dev] [PATCH 2/8] virtualx.eclass: Only source eclass once

2015-11-29 Thread Justin Lecher
Signed-off-by: Justin Lecher --- eclass/virtualx.eclass | 5 + 1 file changed, 5 insertions(+) diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass index e9ff3af..8d66da0 100644 --- a/eclass/virtualx.eclass +++ b/eclass/virtualx.eclass @@ -9,6 +9,8 @@ # Original

[gentoo-dev] [PATCH 4/8] virtualx.eclass: Whitespace cleanup

2015-11-29 Thread Justin Lecher
Signed-off-by: Justin Lecher --- eclass/virtualx.eclass | 1 - 1 file changed, 1 deletion(-) diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass index c2bef68..78f5429 100644 --- a/eclass/virtualx.eclass +++ b/eclass/virtualx.eclass @@ -50,7 +50,6 @@

[gentoo-dev] [PATCH 7/8] virtualx.eclass: Ban deprecated functionality in EAPI > 5

2015-11-29 Thread Justin Lecher
Signed-off-by: Justin Lecher --- eclass/virtualx.eclass | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass index bdecda6..344cd63 100644 --- a/eclass/virtualx.eclass +++ b/eclass/virtualx.eclass

[gentoo-dev] [PATCH 3/8] virtualx.eclass: Use eqawarn instead of ewarn "QA:..."

2015-11-29 Thread Justin Lecher
Signed-off-by: Justin Lecher --- eclass/virtualx.eclass | 24 +--- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass index 8d66da0..c2bef68 100644 --- a/eclass/virtualx.eclass +++

[gentoo-dev] [PATCH 0/8] virtualx.eclass updates version 3

2015-11-29 Thread Justin Lecher
So next try. patches slightly resorted, die message wording adopted. Justin Lecher (8): virtualx.eclass: Use case/esac to handle supported EAPIs virtualx.eclass: Only source eclass once virtualx.eclass: Use eqawarn instead of ewarn "QA:..." virtualx.eclass: Whitespace cleanup

[gentoo-dev] [PATCH 5/8] virtualx.eclass: Add missing die

2015-11-29 Thread Justin Lecher
Signed-off-by: Justin Lecher --- eclass/virtualx.eclass | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass index 78f5429..3df3fe1 100644 --- a/eclass/virtualx.eclass +++ b/eclass/virtualx.eclass @@ -92,9

[gentoo-dev] [PATCH 8/8] virtualx.eclass: Support EAPI=6

2015-11-29 Thread Justin Lecher
Signed-off-by: Justin Lecher --- eclass/virtualx.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass index 344cd63..de1582c 100644 --- a/eclass/virtualx.eclass +++ b/eclass/virtualx.eclass @@ -15,7 +15,7 @@

[gentoo-dev] [PATCH 6/8] virtualx.eclass: Simplify API into single virtx()

2015-11-29 Thread Justin Lecher
The new API runs all specified arguments to virtx() inside an XFVB, instead of defining VIRTUALX_COMMAND and running that in virtualmake. Xemake and Xeconf should be replaced by "virtx emake" and "virtx econf". Signed-off-by: Justin Lecher --- eclass/virtualx.eclass | 47

Re: [gentoo-dev] [PATCH 4/8] virtualx.eclass: Ban deprecated functionality in EAPI > 5

2015-11-29 Thread Justin Lecher (jlec)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 29/11/15 10:57, Michał Górny wrote: > On Sat, 28 Nov 2015 17:21:00 +0100 Justin Lecher > wrote: > >> Signed-off-by: Justin Lecher --- >> eclass/virtualx.eclass | 5 + 1 file changed, 5 insertions(+) >> >>

Re: [gentoo-dev] .git folder getting mirrored to rsync mirrors

2015-11-29 Thread Mike Auty
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hiya, I also experienced this (on 2a01:488:67:1000:b01c:3277:0:1). It will also prevent portage from resyncing because it assumes the portage tree is under revision control (when there's just git directories, no actual data). It looks like infra

Re: [gentoo-dev] [PATCH] eutils.eclass: In EAPI conditionals, replace "has" by case statements.

2015-11-29 Thread Davide Pesavento
On Sun, Nov 29, 2015 at 5:48 PM, Ulrich Mueller wrote: > As suggested by mgorny, we could use bash internals instead of the > "has" function calls in global scope. > > The patch below replaces them by case statements. (Unfortunately we > cannot use fall-through (&;) because it is

[gentoo-dev] impending c++11 clusterfuck?

2015-11-29 Thread Gregory M. Turner
I'm quoting myself from bug #566328 here. These were off-the-cuff remarks that got away from me and became a call-to-arms... (In reply to Michał Górny from comment #7) > This is never this simple. C++11 can change the ABI. So the point kinda is, > we need to ensure that all C++ libraries in a

Re: [gentoo-dev] impending c++11 clusterfuck?

2015-11-29 Thread C Bergström
On Mon, Nov 30, 2015 at 10:56 AM, Gregory M. Turner wrote: > I'm quoting myself from bug #566328 here. These were off-the-cuff > remarks that got away from me and became a call-to-arms... > > (In reply to Michał Górny from comment #7) >> This is never this simple. C++11 can

Re: [gentoo-dev] [PATCH] eutils.eclass: In EAPI conditionals, replace "has" by case statements.

2015-11-29 Thread Ulrich Mueller
> On Mon, 30 Nov 2015, Davide Pesavento wrote: >> The patch below replaces them by case statements. (Unfortunately we >> cannot use fall-through (&;) because it is a bash 4 feature.) > Sounds reasonable, although I'd find an 'if' clause slightly more > readable, since there wouldn't be an

Re: [gentoo-dev] RFD: Replacement for versionator.eclass in PMS (for EAPI 7?)

2015-11-29 Thread Michał Górny
On Mon, 30 Nov 2015 00:23:02 +0100 Peter Stuge wrote: > Ulrich Mueller wrote: > > 1. Will these three functions be sufficient, or have we overlooked > >anything important? > > Something that comes to mind as probably being semi-frequent is to > transform a version number

Re: [gentoo-dev] impending c++11 clusterfuck?

2015-11-29 Thread Michał Górny
On Sun, 29 Nov 2015 19:56:04 -0800 "Gregory M. Turner" wrote: > I'm quoting myself from bug #566328 here. These were off-the-cuff > remarks that got away from me and became a call-to-arms... > > (In reply to Michał Górny from comment #7) > > This is never this simple. C++11

Re: [gentoo-dev] RFD: Replacement for versionator.eclass in PMS (for EAPI 7?)

2015-11-29 Thread Peter Stuge
Ulrich Mueller wrote: > 1. Will these three functions be sufficient, or have we overlooked >anything important? Something that comes to mind as probably being semi-frequent is to transform a version number component into a Gentoo -p number. Or do you suggest doing that by replacing the

[gentoo-dev] Automated Package Removal and Addition Tracker, for the week ending 2015-11-29 23:59 UTC

2015-11-29 Thread Robin H. Johnson
The attached list notes all of the packages that were added or removed from the tree, for the week ending 2015-11-29 23:59 UTC. Removals: dev-db/octopus 20151124-11:55 monsieurp 0c3bcac dev-perl/module-info20151129-19:50 dilfridge ba86eb3 Additions: app-doc/kicad-doc