[gentoo-dev] [PATCH] distutils-r1.eclass: Permit DISTUTILS_USE_SETUPTOOLS=manual

2019-12-20 Thread Michał Górny
Add a new DISTUTILS_USE_SETUPTOOLS option to permit manually setting the dependencies correctly and suppressing the check. Requested by Arfrever. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git

Re: [gentoo-dev] [PATCH 0/3] elisp{,-common}.eclass update for emacs-vcs consolidation

2019-12-20 Thread Ulrich Mueller
> On Fri, 20 Dec 2019, Michael Orlitzky wrote: > Portage seems OK with the missing dependency, but for the overall plan > to work, you have to wait a long time before deleting virtual/emacs; > otherwise the upgrade path is broken. With virtual/emacs-26 installed > and "old" copies of the

Re: [gentoo-dev] [PATCH v2 3/3] elisp.eclass: Depend on app-editors/emacs directly.

2019-12-20 Thread Ulrich Mueller
> -RDEPEND=">=virtual/emacs-${NEED_EMACS:-23}" > +RDEPEND=">=app-editors/emacs-${NEED_EMACS}:*" ... and of course, the slot operator isn't legal in EAPI 4. It is trivial to fix, so I won't send a v3 for this. signature.asc Description: PGP signature

Re: [gentoo-dev] [EAPI 8 RFC] Install-time dependencies

2019-12-20 Thread Michał Górny
On Sat, 2019-12-21 at 08:21 +1300, Kent Fredric wrote: > On Fri, 20 Dec 2019 13:54:44 -0500 > Mike Gilbert wrote: > > > Yes, I think you misunderstand something, but I'm not sure exactly how. > > I think the missing part of my understanding might be that IDEPEND > needs to be satisfied by: > >

Re: [gentoo-dev] [EAPI 8 RFC] Install-time dependencies

2019-12-20 Thread Kent Fredric
On Fri, 20 Dec 2019 13:54:44 -0500 Mike Gilbert wrote: > Yes, I think you misunderstand something, but I'm not sure exactly how. I think the missing part of my understanding might be that IDEPEND needs to be satisfied by: - Packages installing binpkg's ( which don't need src_fetch, unpack, etc

Re: [gentoo-dev] [EAPI 8 RFC] Install-time dependencies

2019-12-20 Thread Mike Gilbert
On Fri, Dec 20, 2019 at 1:41 PM Kent Fredric wrote: > > On Thu, 19 Dec 2019 20:40:26 +0100 > Michał Górny wrote: > > > The proposal is to add a new dependency type (codename: IDEPEND) which > > indicates dependencies used for pkg_*inst (and pkg_*rm?) phases > > Given the nature of this, I

Re: [gentoo-dev] [PATCH] virtualx.eclass: Append RESTRICT="!test? ( test )" by default

2019-12-20 Thread Kent Fredric
On Fri, 13 Dec 2019 12:50:00 +0100 Alexis Ballier wrote: > Seems a good candidate for a future EAPI In theory, there are packages that can execute src_test when USE="test" is not satisfied. Just I don't tend to see this in practice. pgpOyg14m2iTZ.pgp Description: OpenPGP digital signature

Re: [gentoo-dev] [EAPI 8 RFC] Install-time dependencies

2019-12-20 Thread Kent Fredric
On Thu, 19 Dec 2019 20:40:26 +0100 Michał Górny wrote: > The proposal is to add a new dependency type (codename: IDEPEND) which > indicates dependencies used for pkg_*inst (and pkg_*rm?) phases Given the nature of this, I somewhat expect this to cover dependencies required for src_unpack and

Re: [gentoo-dev] [EAPI 8 RFC] Install-time dependencies

2019-12-20 Thread Alexis Ballier
On Fri, 2019-12-20 at 18:55 +0100, Ulrich Mueller wrote: > > > > > > On Fri, 20 Dec 2019, Alexis Ballier wrote: > > Should we use this to drop RDEPEND from pkg_*inst/rm phases ? > > PMS states "RDEPEND (unless the particular dependency results in a > > circular dependency, in which case it may be

Re: [gentoo-dev] [EAPI 8 RFC] Install-time dependencies

2019-12-20 Thread Ulrich Mueller
> On Fri, 20 Dec 2019, Alexis Ballier wrote: > Should we use this to drop RDEPEND from pkg_*inst/rm phases ? > PMS states "RDEPEND (unless the particular dependency results in a > circular dependency, in which case it may be installed later)" which is > kind of "maybe maybe not" and I'm not

Re: [gentoo-dev] [EAPI 8 RFC] Install-time dependencies

2019-12-20 Thread Alexis Ballier
On Thu, 2019-12-19 at 20:40 +0100, Michał Górny wrote: > Hello, > > Here's another potential EAPI 8 feature I'd like to discuss. Please > note that this is about *new dependency type*, so please don't hijack > it > into the big 'let's steal Exherbo syntax' debate. > > Bug:

Re: [gentoo-dev] [EAPI 8 RFC] Install-time dependencies

2019-12-20 Thread Mike Gilbert
On Thu, Dec 19, 2019 at 2:40 PM Michał Górny wrote: > > Hello, > > Here's another potential EAPI 8 feature I'd like to discuss. Please > note that this is about *new dependency type*, so please don't hijack it > into the big 'let's steal Exherbo syntax' debate. > > Bug:

Re: [gentoo-dev] Needs ideas: Upcoming circular dependency: expat <> CMake

2019-12-20 Thread Rich Freeman
On Fri, Dec 20, 2019 at 8:41 AM Gerion Entrup wrote: > > Am Donnerstag, 19. Dezember 2019, 19:43:37 CET schrieb Sebastian Pipping: > > On 19.12.19 18:37, Michał Górny wrote: > > > We have a better alternative that lets us limit the impact on the users. > > > Why not use it? > > > > Which one?

[gentoo-dev] [PATCH v2 3/3] elisp.eclass: Depend on app-editors/emacs directly.

2019-12-20 Thread Ulrich Müller
This replaces the indirect dependency on virtual/emacs. Update pkg_setup() to call elisp-check-emacs-version instead of the now deprecated elisp-need-emacs. Signed-off-by: Ulrich Müller --- eclass/elisp.eclass | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git

[gentoo-dev] [PATCH v2 1/3] elisp-common.eclass: New function elisp-check-emacs-version.

2019-12-20 Thread Ulrich Müller
Tests if the Emacs version is at least the (full) version specified by NEED_EMACS, otherwise dies. Intended as a replacement for function elisp-need-emacs, which did only a simple numeric comparison of the major version. Call the new function before doing any actual work in elisp-compile() and

[gentoo-dev] [PATCH v2 2/3] elisp-common.eclass: Update documentation.

2019-12-20 Thread Ulrich Müller
After the package split between emacs and emacs-vcs is gone, packages can depend on app-editors/emacs directly. Deprecate function elisp-need-emacs; ebuilds should assign variable NEED_EMACS instead. Signed-off-by: Ulrich Müller --- eclass/elisp-common.eclass | 45

Re: [gentoo-dev] Needs ideas: Upcoming circular dependency: expat <> CMake

2019-12-20 Thread Gerion Entrup
Am Donnerstag, 19. Dezember 2019, 19:43:37 CET schrieb Sebastian Pipping: > On 19.12.19 18:37, Michał Górny wrote: > > We have a better alternative that lets us limit the impact on the users. > > Why not use it? > > Which one? The CMake bootstrap copy? The adding to stage3 one? Is it possible

Re: [gentoo-dev] [EAPI 8 RFC] Selective fetch/mirror (un-)restriction

2019-12-20 Thread Ulrich Mueller
> On Fri, 20 Dec 2019, Michał Górny wrote: >>> Example 3: removing fetch restriction while leaving mirror >>> restriction >>> RESTRICT="fetch" >>> SRC_URI="https://example.com/you-cant-fetch-this.zip >>> fetch+https://example.com/you-cant-mirror-this.tar.bz2; >> I had already asked this in

[gentoo-dev] [PATCH 2/2] acct-user/xrootd: new user for UID 469

2019-12-20 Thread Marek Szuba
enewuser in net-libs/xrootd ebuilds has set the home directory to "${EPREFIX}"/var/spool/xrootd but as far as I can recall from my personal experience or see in the documentation, it isn't really necessary for that user to have a home directory. Package-Manager: Portage-2.3.79, Repoman-2.3.16

[gentoo-dev] [PATCH 1/2] acct-group/xrootd: new group for GID 469

2019-12-20 Thread Marek Szuba
Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Marek Szuba --- acct-group/xrootd/metadata.xml| 8 acct-group/xrootd/xrootd-0.ebuild | 9 + 2 files changed, 17 insertions(+) create mode 100644 acct-group/xrootd/metadata.xml create mode 100644

Re: [gentoo-dev] RFC: Introducing VIDEO_CARDS=iris to virtual/opencl

2019-12-20 Thread Marek Szuba
On 2019-12-17 21:21, Matt Turner wrote: >> What do you think, guys? > > I don't love it. > > I don't like the mess that has become VIDEO_CARDS=... either. radeon > vs radeonsi vs amdgpu. [...] I hear you and very much agree, especially regarding the Radeon mess. That said, it seems what we are

[gentoo-portage-dev] [PATCH] emerge --with-test-deps: allow circular deps

2019-12-20 Thread Zac Medico
When USE=test is not enabled, allow circular test dependencies by treating them like PDEPEND. When USE=test is enabled, circular dependencies are still not allowed, as shown in unit tests. Suggested-by: Michał Górny Bug: https://bugs.gentoo.org/703348 Signed-off-by: Zac Medico ---

Re: [gentoo-dev] [EAPI 8 RFC] Selective fetch/mirror (un-)restriction

2019-12-20 Thread Michał Górny
Dnia December 16, 2019 1:16:12 PM UTC, Ulrich Mueller napisał(a): >> On Mon, 16 Dec 2019, Michał Górny wrote: > >> Proposed solution >> = >> The current proposal is based on extending the current URI syntax to >> permit excluding individual files from the restriction. The