[gentoo-dev] [PATCH] bzr.eclass: Support EAPI 7.

2018-05-03 Thread Ulrich Müller
--- eclass/bzr.eclass | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/eclass/bzr.eclass b/eclass/bzr.eclass index 710b64db28c0..7cfe73a70268 100644 --- a/eclass/bzr.eclass +++ b/eclass/bzr.eclass @@ -20,19 +20,20 @@ EBZR="bzr.eclass" +if [[ ${EBZR_REPO_URI%%:

[gentoo-dev] [RFC] arm64 stable profiles

2018-05-03 Thread Mart Raudsepp
Hello, I intend to mark the following profiles stable within a week or so: default/linux/arm64/17.0 default/linux/arm64/17.0/systemd arm64 (AArch64) is becoming a rather major architecture in the computer industry, from small single board computers to very beefy servers. It is about time to grac

Re: [gentoo-dev] [PATCH 0/7] Initial support for EAPI 7 for python-r1 suite

2018-05-03 Thread Mike Gilbert
On Thu, May 3, 2018 at 10:12 AM, Michał Górny wrote: > Hi, > > Here are the initial EAPI 7 patches. Note that they do not provide > real cross support since we never did provide one. Looks ok to me.

[gentoo-dev] [PATCH 7/7] distutils-r1.eclass: Enable EAPI 7 support

2018-05-03 Thread Michał Górny
Support EAPI 7. Move PYTHON_DEPS from DEPEND to BDEPEND. Fix trailing slash uses for D/ED. --- eclass/distutils-r1.eclass | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 26fa0069a73d..975383acc09b 10

[gentoo-dev] [PATCH 6/7] distutils-r1.eclass: Call python via ${EPYTHON}, not full path

2018-05-03 Thread Michał Górny
--- eclass/distutils-r1.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index ede30b280863..26fa0069a73d 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -231,7 +231,7 @@ fi # @USAGE:

[gentoo-dev] [PATCH 5/7] distutils-r1.eclass: Remove xdg_environment_reset in EAPI 7

2018-05-03 Thread Michał Górny
Limit xdg_environment_reset call to EAPIs 5 & 6. It should no longer be necessary with ENV_UNSET done in EAPI 7. --- eclass/distutils-r1.eclass | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index dd0c429d50fc..ed

[gentoo-dev] [PATCH 4/7] python-r1.eclass: Enable EAPI 7 (no changes)

2018-05-03 Thread Michał Górny
--- eclass/python-r1.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass index 5ec23d23d8cc..8a8adb449cc3 100644 --- a/eclass/python-r1.eclass +++ b/eclass/python-r1.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Fo

[gentoo-dev] [PATCH 3/7] python-single-r1.eclass: Enable EAPI 7 (no changes)

2018-05-03 Thread Michał Górny
--- eclass/python-single-r1.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/python-single-r1.eclass b/eclass/python-single-r1.eclass index 3762d3d6e990..8c45c391ebb0 100644 --- a/eclass/python-single-r1.eclass +++ b/eclass/python-single-r1.eclass @@ -1,4 +1,4

[gentoo-dev] [PATCH 2/7] python-any-r1.eclass: Enable EAPI 7 (no changes)

2018-05-03 Thread Michał Górny
--- eclass/python-any-r1.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/python-any-r1.eclass b/eclass/python-any-r1.eclass index e4d2d46bc706..6f23109cf8d7 100644 --- a/eclass/python-any-r1.eclass +++ b/eclass/python-any-r1.eclass @@ -1,4 +1,4 @@ -# Copyright

[gentoo-dev] [PATCH 1/7] python-utils-r1.eclass: Initial EAPI 7 support

2018-05-03 Thread Michał Górny
Add initial EAPI 7 support. Handle trailing slash in D/ED correctly. Support new has_version switches. This does not provide proper cross support. In particular, the PYTHON variable (full path to the interpreter) is used both in contexts of BDEPEND and DEPEND, so we need to clean the uses first.

[gentoo-dev] [PATCH 0/7] Initial support for EAPI 7 for python-r1 suite

2018-05-03 Thread Michał Górny
Hi, Here are the initial EAPI 7 patches. Note that they do not provide real cross support since we never did provide one. -- Best regards, Michał Górny Michał Górny (7): python-utils-r1.eclass: Initial EAPI 7 support python-any-r1.eclass: Enable EAPI 7 (no changes) python-single-r1.eclass

[gentoo-dev] [PATCH 8/8] multilib-minimal.eclass: Enable EAPI 7 (no changes)

2018-05-03 Thread Michał Górny
--- eclass/multilib-minimal.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/multilib-minimal.eclass b/eclass/multilib-minimal.eclass index de46762ca61a..ae40eeb25895 100644 --- a/eclass/multilib-minimal.eclass +++ b/eclass/multilib-minimal.eclass @@ -1,4 +1,4

[gentoo-dev] [PATCH 7/8] scons-utils.eclass: Support EAPI 7

2018-05-03 Thread Michał Górny
Enable EAPI 7 support. Move dev-util/scons to BDEPEND in EAPI 7 since it needs to run on the build host. --- eclass/scons-utils.eclass | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/eclass/scons-utils.eclass b/eclass/scons-utils.eclass index 41a86adfa14a..02c906

[gentoo-dev] [PATCH 5/8] ninja-utils.eclass: Enable EAPI 7 (no changes)

2018-05-03 Thread Michał Górny
--- eclass/ninja-utils.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/ninja-utils.eclass b/eclass/ninja-utils.eclass index 69216176ba61..0a390ed89612 100644 --- a/eclass/ninja-utils.eclass +++ b/eclass/ninja-utils.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2017

[gentoo-dev] [PATCH 6/8] out-of-source.eclass: Enable EAPI 7 (no changes)

2018-05-03 Thread Michał Górny
--- eclass/out-of-source.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/out-of-source.eclass b/eclass/out-of-source.eclass index 4d9c8d05fd64..951a20adaca4 100644 --- a/eclass/out-of-source.eclass +++ b/eclass/out-of-source.eclass @@ -1,4 +1,4 @@ -# Copyright

[gentoo-dev] [PATCH 4/8] multilib-build.eclass: Enable EAPI 7 support

2018-05-03 Thread Michał Górny
Enable EAPI 7. Correct all ${ED} references to account both for trailing slash being present and absent. --- eclass/multilib-build.eclass | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/eclass/multilib-build.eclass b/eclass/multilib-build.eclass index

[gentoo-dev] [PATCH 3/8] multibuild.eclass: Enable EAPI 7 (no changes)

2018-05-03 Thread Michał Górny
--- eclass/multibuild.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/multibuild.eclass b/eclass/multibuild.eclass index 0f89e4ec0b83..9574e3debadb 100644 --- a/eclass/multibuild.eclass +++ b/eclass/multibuild.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gent

[gentoo-dev] [PATCH 1/8] bash-completion-r1.eclass: Allow EAPI 7 (no changes)

2018-05-03 Thread Michał Górny
--- eclass/bash-completion-r1.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/bash-completion-r1.eclass b/eclass/bash-completion-r1.eclass index eb2dfce4c7fe..eff5e68c437e 100644 --- a/eclass/bash-completion-r1.eclass +++ b/eclass/bash-completion-r1.eclass @@

[gentoo-dev] [PATCH 2/8] git-r3.eclass: Support EAPI 7

2018-05-03 Thread Michał Górny
Enable support for EAPI 7. Use BDEPEND for dev-vcs/git dependency since git is run at build time. Update has_version logic appropriately. --- eclass/git-r3.eclass | 39 +++ 1 file changed, 27 insertions(+), 12 deletions(-) diff --git a/eclass/git-r3.eclass b/

[gentoo-dev] [PATCH 0/8] EAPI 7 in my eclasses, part one

2018-05-03 Thread Michał Górny
Hi, Here's quick batch of patches that enable EAPI 7 support in most of my eclasses. Only git-r3, multilib-build and scons-utils eclasses ask for specific changes -- the remaining cases required just confirming that things work. I have intentionally skipped llvm.eclass here as I need to figure o

[gentoo-dev] [PATCH v2] profiles/base: Set initial ENV_UNSET (EAPI 7)

2018-05-03 Thread Michał Górny
Now that EAPI 7 is accepted and implemented in Portage, provide the initial environment blacklist for coming EAPI 7 ebuilds. The list is based on existing eclasses, xdg-utils mostly. Rationale is provided in the comment above ENV_UNSET. --- profiles/base/make.defaults | 12 1 file c

Re: [gentoo-dev] [RFC PATCH] profiles/base: Set initial ENV_UNSET (EAPI 7)

2018-05-03 Thread Michał Górny
W dniu czw, 03.05.2018 o godzinie 15∶03 +0800, użytkownik Jason Zaman napisał: > On Wed, May 02, 2018 at 05:42:19PM +0200, Michał Górny wrote: > > Now that EAPI 7 is accepted and implemented in Portage, provide > > the initial environment blacklist for coming EAPI 7 ebuilds. The list > > is based

Re: [gentoo-dev] [RFC PATCH] profiles/base: Set initial ENV_UNSET (EAPI 7)

2018-05-03 Thread Jason Zaman
On Wed, May 02, 2018 at 05:42:19PM +0200, Michał Górny wrote: > Now that EAPI 7 is accepted and implemented in Portage, provide > the initial environment blacklist for coming EAPI 7 ebuilds. The list > is based on existing eclasses, xdg-utils mostly. Rationale is provided > in the comment above E