Re: [gentoo-dev] [PATCH 0/2] RFC: Introducing ldso switching to BLAS/LAPACK

2019-06-27 Thread Mike Gilbert
On Thu, Jun 27, 2019 at 12:37 PM Benda Xu  wrote:
>
> Mike Gilbert  writes:
>
> > This looks a lot safer than yesterday's patch since there are no
> > ebuild removals here.
>
> Thank you Mike.
>
> > If/when you do want to remove old ebuilds, I suggest creating a github
> > PR, and let the CI bot check reverse dependencies.
>
> Yeah, that would have been a much safer way to remove ebuilds.
>
> > This was actually done for the change that was reverted yesterday, but
> > it seems like the CI results were ignored and the commit was pushed
> > regardless.
>
> Yesterday the original pull requests by Mo did not remove ebuilds.  It
> was only when I started to adopt the PR that I saw
>
> > RepoMan scours the neighborhood...
> >   repo.eapi-deprecated  1
> >virtual/cblas/cblas-1.0.ebuild: 5
>
> after which I impulsively killed it.

Ah, that makes more sense.



[gentoo-dev] Re: Why aren't GSoC projects affecting ::gentoo discussed on regular mls?

2019-06-27 Thread Benda Xu
Hi Marek,

Marek Szuba  writes:

> On 2019-06-27 04:16, Benda Xu wrote:
>
>> Michał, you were overreacting to the word "GSoC" since our original RFC
>> at gentoo-dev.  Please, just ignore GSoC when you are executing your
>> experise of QA.  Gentoo should be developed independently, regardless of
>> whether any development effort is supported by 3rd party.
> [...]
>> Personally I don't regard the GSoC selection and decision process
>> interesting to all the Gentoo devs.
>
> In my opinion Michał has got a very good point regarding potential PR
> consequences of us rejecting GSoC work. 

I agree with you.

> Of course it can be done, I've seen my share of student projects of
> various sort getting binned immediately after implementation - but
> more often than not it shows a lack of of foresight, at best, on
> behalf of institutions which requested manpower for such projects.

Agreed, too.  It is the mentor's duty to facilitate a win-win outcome to
our student, Gentoo and Google, by being more careful on visions and
planning.

> Yes, it is good for you to have eventually brought this to -dev - but
> IMHO it really is too late. In the future, I would STRONGLY advise
> having a general discussion before having even a single line of code
> written.

In retrospect, I was overconfident about my technical judgement.  I will
take your advice.  Thank you, Marek.

Yours,
Benda


Re: [gentoo-dev] [PATCH 0/2] RFC: Introducing ldso switching to BLAS/LAPACK

2019-06-27 Thread Benda Xu
Mike Gilbert  writes:

> This looks a lot safer than yesterday's patch since there are no
> ebuild removals here.

Thank you Mike.

> If/when you do want to remove old ebuilds, I suggest creating a github
> PR, and let the CI bot check reverse dependencies. 

Yeah, that would have been a much safer way to remove ebuilds.

> This was actually done for the change that was reverted yesterday, but
> it seems like the CI results were ignored and the commit was pushed
> regardless.

Yesterday the original pull requests by Mo did not remove ebuilds.  It
was only when I started to adopt the PR that I saw

> RepoMan scours the neighborhood...
>   repo.eapi-deprecated  1
>virtual/cblas/cblas-1.0.ebuild: 5

after which I impulsively killed it.


I should take this lesson and be more careful removing ebuilds.

Yours,
Benda



Re: [gentoo-dev] Re: Why aren't GSoC projects affecting ::gentoo discussed on regular mls?

2019-06-27 Thread Marek Szuba
On 2019-06-27 04:16, Benda Xu wrote:

> Michał, you were overreacting to the word "GSoC" since our original RFC
> at gentoo-dev.  Please, just ignore GSoC when you are executing your
> experise of QA.  Gentoo should be developed independently, regardless of
> whether any development effort is supported by 3rd party.
[...]
> Personally I don't regard the GSoC selection and decision process
> interesting to all the Gentoo devs.

In my opinion Michał has got a very good point regarding potential PR
consequences of us rejecting GSoC work. Of course it can be done, I've
seen my share of student projects of various sort getting binned
immediately after implementation - but more often than not it shows a
lack of of foresight, at best, on behalf of institutions which requested
manpower for such projects. Yes, it is good for you to have eventually
brought this to -dev - but IMHO it really is too late. In the future, I
would STRONGLY advise having a general discussion before having even a
single line of code written.

-- 
MS



Re: [gentoo-dev] [PATCH 0/2] RFC: Introducing ldso switching to BLAS/LAPACK

2019-06-27 Thread Mike Gilbert
On Thu, Jun 27, 2019 at 2:16 AM  wrote:
>
> From: Benda Xu 
>
> The following 2 patches are to introduce the runtime switching
> mechanism to BLAS/LAPACK libraries in Gentoo.
>
> This feature is turned off by default and only the reference
> BLAS/LAPACK is used to satisfy the dependencies.  It can be enabled by
> USE=eselect-ldso.
>
>
> Sorry for the glitch to the tree caused by my mistake yesterday.  I am
> looking forward to your review.  I am cross posting to -dev and -sci
> so as to attract atention from all interested parties.

This looks a lot safer than yesterday's patch since there are no
ebuild removals here.

If/when you do want to remove old ebuilds, I suggest creating a github
PR, and let the CI bot check reverse dependencies. This was actually
done for the change that was reverted yesterday, but it seems like the
CI results were ignored and the commit was pushed regardless.



[gentoo-dev] [PATCH 5/6] acct-user/rtkit: Add 'rtkit' user (UID 133)

2019-06-27 Thread Marek Szuba
Same UID as in Arch Linux.

Signed-off-by: Marek Szuba 
---
 acct-user/rtkit/metadata.xml   |  8 
 acct-user/rtkit/rtkit-0.ebuild | 12 
 2 files changed, 20 insertions(+)
 create mode 100644 acct-user/rtkit/metadata.xml
 create mode 100644 acct-user/rtkit/rtkit-0.ebuild

diff --git a/acct-user/rtkit/metadata.xml b/acct-user/rtkit/metadata.xml
new file mode 100644
index 000..3e5026ee375
--- /dev/null
+++ b/acct-user/rtkit/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   mare...@gentoo.org
+   Marek Szuba
+   
+
diff --git a/acct-user/rtkit/rtkit-0.ebuild b/acct-user/rtkit/rtkit-0.ebuild
new file mode 100644
index 000..0e63e6514a1
--- /dev/null
+++ b/acct-user/rtkit/rtkit-0.ebuild
@@ -0,0 +1,12 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-user
+
+DESCRIPTION="User for the Realtime Policy and Watchdog Daemon"
+ACCT_USER_ID=133
+ACCT_USER_GROUPS=( rtkit )
+
+acct-user_add_deps
-- 
2.21.0




[gentoo-dev] [PATCH 6/6] acct-user/syncthing: Add 'syncthing' user (UID 499)

2019-06-27 Thread Marek Szuba
Signed-off-by: Marek Szuba 
---
 acct-user/syncthing/metadata.xml   |  8 
 acct-user/syncthing/syncthing-0.ebuild | 14 ++
 2 files changed, 22 insertions(+)
 create mode 100644 acct-user/syncthing/metadata.xml
 create mode 100644 acct-user/syncthing/syncthing-0.ebuild

diff --git a/acct-user/syncthing/metadata.xml b/acct-user/syncthing/metadata.xml
new file mode 100644
index 000..3e5026ee375
--- /dev/null
+++ b/acct-user/syncthing/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   mare...@gentoo.org
+   Marek Szuba
+   
+
diff --git a/acct-user/syncthing/syncthing-0.ebuild 
b/acct-user/syncthing/syncthing-0.ebuild
new file mode 100644
index 000..136d34e4cdb
--- /dev/null
+++ b/acct-user/syncthing/syncthing-0.ebuild
@@ -0,0 +1,14 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-user
+
+DESCRIPTION="User for the system-wide net-p2p/syncthing server"
+ACCT_USER_ID=499
+ACCT_USER_HOME=/var/lib/syncthing
+ACCT_USER_HOME_PERMS=0770
+ACCT_USER_GROUPS=( syncthing )
+
+acct-user_add_deps
-- 
2.21.0




[gentoo-dev] [PATCH 3/6] acct-group/syncthing: Add 'syncthing' group (GID 499)

2019-06-27 Thread Marek Szuba
Signed-off-by: Marek Szuba 
---
 acct-group/syncthing/metadata.xml   | 8 
 acct-group/syncthing/syncthing-0.ebuild | 9 +
 2 files changed, 17 insertions(+)
 create mode 100644 acct-group/syncthing/metadata.xml
 create mode 100644 acct-group/syncthing/syncthing-0.ebuild

diff --git a/acct-group/syncthing/metadata.xml 
b/acct-group/syncthing/metadata.xml
new file mode 100644
index 000..3e5026ee375
--- /dev/null
+++ b/acct-group/syncthing/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   mare...@gentoo.org
+   Marek Szuba
+   
+
diff --git a/acct-group/syncthing/syncthing-0.ebuild 
b/acct-group/syncthing/syncthing-0.ebuild
new file mode 100644
index 000..4e7ab771bb4
--- /dev/null
+++ b/acct-group/syncthing/syncthing-0.ebuild
@@ -0,0 +1,9 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-group
+
+DESCRIPTION="Group for the system-wide net-p2p/syncthing server"
+ACCT_GROUP_ID=499
-- 
2.21.0




[gentoo-dev] [PATCH 4/6] acct-user/burp: Add 'burp' user (UID 498)

2019-06-27 Thread Marek Szuba
Signed-off-by: Marek Szuba 
---
 acct-user/burp/burp-0.ebuild | 12 
 acct-user/burp/metadata.xml  |  8 
 2 files changed, 20 insertions(+)
 create mode 100644 acct-user/burp/burp-0.ebuild
 create mode 100644 acct-user/burp/metadata.xml

diff --git a/acct-user/burp/burp-0.ebuild b/acct-user/burp/burp-0.ebuild
new file mode 100644
index 000..f6c78b24856
--- /dev/null
+++ b/acct-user/burp/burp-0.ebuild
@@ -0,0 +1,12 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-user
+
+DESCRIPTION="User for the app-backup/burp server"
+ACCT_USER_ID=498
+ACCT_USER_GROUPS=( burp )
+
+acct-user_add_deps
diff --git a/acct-user/burp/metadata.xml b/acct-user/burp/metadata.xml
new file mode 100644
index 000..3e5026ee375
--- /dev/null
+++ b/acct-user/burp/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   mare...@gentoo.org
+   Marek Szuba
+   
+
-- 
2.21.0




[gentoo-dev] [PATCH 2/6] acct-group/rtkit: Add 'rtkit' group (GID 133)

2019-06-27 Thread Marek Szuba
Same GID as in Arch Linux.

Signed-off-by: Marek Szuba 
---
 acct-group/rtkit/metadata.xml   | 8 
 acct-group/rtkit/rtkit-0.ebuild | 9 +
 2 files changed, 17 insertions(+)
 create mode 100644 acct-group/rtkit/metadata.xml
 create mode 100644 acct-group/rtkit/rtkit-0.ebuild

diff --git a/acct-group/rtkit/metadata.xml b/acct-group/rtkit/metadata.xml
new file mode 100644
index 000..3e5026ee375
--- /dev/null
+++ b/acct-group/rtkit/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   mare...@gentoo.org
+   Marek Szuba
+   
+
diff --git a/acct-group/rtkit/rtkit-0.ebuild b/acct-group/rtkit/rtkit-0.ebuild
new file mode 100644
index 000..9361f86968b
--- /dev/null
+++ b/acct-group/rtkit/rtkit-0.ebuild
@@ -0,0 +1,9 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-group
+
+DESCRIPTION="Group for the Realtime Policy and Watchdog Daemon"
+ACCT_GROUP_ID=133
-- 
2.21.0




[gentoo-dev] [PATCH 1/6] acct-group/burp: Add 'burp' group (GID 498)

2019-06-27 Thread Marek Szuba
Signed-off-by: Marek Szuba 
---
 acct-group/burp/burp-0.ebuild | 9 +
 acct-group/burp/metadata.xml  | 8 
 2 files changed, 17 insertions(+)
 create mode 100644 acct-group/burp/burp-0.ebuild
 create mode 100644 acct-group/burp/metadata.xml

diff --git a/acct-group/burp/burp-0.ebuild b/acct-group/burp/burp-0.ebuild
new file mode 100644
index 000..f9d68d05dab
--- /dev/null
+++ b/acct-group/burp/burp-0.ebuild
@@ -0,0 +1,9 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-group
+
+DESCRIPTION="Group for the app-backup/burp server"
+ACCT_GROUP_ID=498
diff --git a/acct-group/burp/metadata.xml b/acct-group/burp/metadata.xml
new file mode 100644
index 000..3e5026ee375
--- /dev/null
+++ b/acct-group/burp/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   mare...@gentoo.org
+   Marek Szuba
+   
+
-- 
2.21.0




[gentoo-dev] [PATCH v2 0/6] User/group assignment: burp, rtkit, syncthing

2019-06-27 Thread Marek Szuba


Thank you for your feedback, here is the second version of the patch
set.
Changes:
 - shifted the IDs for burp and syncthing into the appropriate LSB range;
   the Wiki page has been updated accordingly.

* * *

Here is the RFC for acct-* packages corresponding to users and groups
created by packages I currently maintain. This is also a request to
reserve the respective UIDs/GIDs, namely:

Groups:
 - burp - 498
 - rtkit - 133
 - syncthing - 499

Users:
 - burp - 498
 - rtkit - 133
 - syncthing - 499





[gentoo-dev] [PATCH 2/2] virtual/{c,}blas: add sci-libs/blis as a candidate.

2019-06-27 Thread heroxbd
From: Benda Xu 

  On ld.so-based systems, runtime library switching is possible.  We
  use 'eselect-ldso' to flag this possibility.  In this case, blis can
  used as a drop-in replacement via an `eselect` call.

  Otherwise If USE eselect-ldso is not set, only reference
  implementation will be pulled in.

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Benda Xu 
---
 virtual/blas/blas-3.8.ebuild   | 5 -
 virtual/cblas/cblas-3.8.ebuild | 5 -
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/virtual/blas/blas-3.8.ebuild b/virtual/blas/blas-3.8.ebuild
index e3807aaa8c4a..45bf1cc03013 100644
--- a/virtual/blas/blas-3.8.ebuild
+++ b/virtual/blas/blas-3.8.ebuild
@@ -9,6 +9,9 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc 
~ppc64 ~s390 ~sparc ~
 IUSE="eselect-ldso"
 
 RDEPEND="
-   >=sci-libs/lapack-3.8.0[eselect-ldso?]
+   !eselect-ldso? ( >=sci-libs/lapack-3.8.0[-eselect-ldso] )
+   eselect-ldso? ( || (
+   >=sci-libs/lapack-3.8.0[eselect-ldso]
+   sci-libs/blis[eselect-ldso] ) )
 "
 DEPEND="${RDEPEND}"
diff --git a/virtual/cblas/cblas-3.8.ebuild b/virtual/cblas/cblas-3.8.ebuild
index 0b295963f8de..440e9fc4a540 100644
--- a/virtual/cblas/cblas-3.8.ebuild
+++ b/virtual/cblas/cblas-3.8.ebuild
@@ -9,6 +9,9 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 
~s390 ~sparc ~x86 ~a
 IUSE="eselect-ldso"
 
 RDEPEND="
-   >=sci-libs/lapack-3.8.0[eselect-ldso?]
+   !eselect-ldso? ( >=sci-libs/lapack-3.8.0[-eselect-ldso] )
+   eselect-ldso? ( || (
+   >=sci-libs/lapack-3.8.0[eselect-ldso]
+   sci-libs/blis[eselect-ldso] ) )
 "
 DEPEND="${RDEPEND}"
-- 
2.17.0




[gentoo-dev] [PATCH 0/2] RFC: Introducing ldso switching to BLAS/LAPACK

2019-06-27 Thread heroxbd
From: Benda Xu 

The following 2 patches are to introduce the runtime switching
mechanism to BLAS/LAPACK libraries in Gentoo.

This feature is turned off by default and only the reference
BLAS/LAPACK is used to satisfy the dependencies.  It can be enabled by
USE=eselect-ldso.


Sorry for the glitch to the tree caused by my mistake yesterday.  I am
looking forward to your review.  I am cross posting to -dev and -sci
so as to attract atention from all interested parties.

Cheers,
Benda

Benda Xu (2):
  virtual/{blas,cblas,lapack,lapacke}: add virtual packages.
  virtual/{c,}blas: add sci-libs/blis as a candidate.

 virtual/blas/blas-3.8.ebuild   | 17 +
 virtual/blas/metadata.xml  | 10 +++---
 virtual/cblas/cblas-3.8.ebuild | 17 +
 virtual/cblas/metadata.xml | 10 +++---
 virtual/lapack/lapack-3.8.ebuild   | 14 ++
 virtual/lapack/metadata.xml| 10 +++---
 virtual/lapacke/lapacke-3.8.ebuild | 14 ++
 virtual/lapacke/metadata.xml   | 16 
 8 files changed, 99 insertions(+), 9 deletions(-)
 create mode 100644 virtual/blas/blas-3.8.ebuild
 create mode 100644 virtual/cblas/cblas-3.8.ebuild
 create mode 100644 virtual/lapack/lapack-3.8.ebuild
 create mode 100644 virtual/lapacke/lapacke-3.8.ebuild
 create mode 100644 virtual/lapacke/metadata.xml

-- 
2.17.0




[gentoo-dev] [PATCH 1/2] virtual/{blas,cblas,lapack,lapacke}: add virtual packages.

2019-06-27 Thread heroxbd
From: Benda Xu 

  These virtual packages are used by the BLAS/LAPACK runtime switching
  mechanism.

Closes: https://github.com/gentoo/gentoo/pull/12323
Closes: https://bugs.gentoo.org/373613
Closes: https://bugs.gentoo.org/381801
Closes: https://bugs.gentoo.org/498490
Closes: https://bugs.gentoo.org/563674
Closes: https://bugs.gentoo.org/564546
Closes: https://bugs.gentoo.org/565776
Closes: https://bugs.gentoo.org/646316
Closes: https://bugs.gentoo.org/657984
Closes: https://bugs.gentoo.org/659014
Closes: https://bugs.gentoo.org/659264
Closes: https://bugs.gentoo.org/669644

Signed-off-by: Mo Zhou 
Signed-off-by: Benda Xu 
---
 virtual/blas/blas-3.8.ebuild   | 14 ++
 virtual/blas/metadata.xml  | 10 +++---
 virtual/cblas/cblas-3.8.ebuild | 14 ++
 virtual/cblas/metadata.xml | 10 +++---
 virtual/lapack/lapack-3.8.ebuild   | 14 ++
 virtual/lapack/metadata.xml| 10 +++---
 virtual/lapacke/lapacke-3.8.ebuild | 14 ++
 virtual/lapacke/metadata.xml   | 16 
 8 files changed, 93 insertions(+), 9 deletions(-)
 create mode 100644 virtual/blas/blas-3.8.ebuild
 create mode 100644 virtual/cblas/cblas-3.8.ebuild
 create mode 100644 virtual/lapack/lapack-3.8.ebuild
 create mode 100644 virtual/lapacke/lapacke-3.8.ebuild
 create mode 100644 virtual/lapacke/metadata.xml

diff --git a/virtual/blas/blas-3.8.ebuild b/virtual/blas/blas-3.8.ebuild
new file mode 100644
index ..e3807aaa8c4a
--- /dev/null
+++ b/virtual/blas/blas-3.8.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+DESCRIPTION="Virtual for FORTRAN 77 BLAS implementation"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos ~sparc-solaris"
+IUSE="eselect-ldso"
+
+RDEPEND="
+   >=sci-libs/lapack-3.8.0[eselect-ldso?]
+"
+DEPEND="${RDEPEND}"
diff --git a/virtual/blas/metadata.xml b/virtual/blas/metadata.xml
index 1b4d6e817c05..35dd50fb4450 100644
--- a/virtual/blas/metadata.xml
+++ b/virtual/blas/metadata.xml
@@ -6,7 +6,11 @@
 Gentoo Science Project
   
   
-Gentoo virtual package for the Basic Linear Algebra Subprograms
-FORTRAN 77 implementation.
-
+Gentoo virtual package for the Basic Linear Algebra Subprograms
+FORTRAN 77 implementation.
+  
+  
+Enable runtime library switching by
+eselect and ld.so.
+  
 
diff --git a/virtual/cblas/cblas-3.8.ebuild b/virtual/cblas/cblas-3.8.ebuild
new file mode 100644
index ..0b295963f8de
--- /dev/null
+++ b/virtual/cblas/cblas-3.8.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+DESCRIPTION="Virtual for BLAS C implementation"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="eselect-ldso"
+
+RDEPEND="
+   >=sci-libs/lapack-3.8.0[eselect-ldso?]
+"
+DEPEND="${RDEPEND}"
diff --git a/virtual/cblas/metadata.xml b/virtual/cblas/metadata.xml
index 9aac1c20c93f..204ea7552ca9 100644
--- a/virtual/cblas/metadata.xml
+++ b/virtual/cblas/metadata.xml
@@ -6,7 +6,11 @@
 Gentoo Science Project
   
   
-Gentoo virtual package for the Basic Linear Algebra Subprograms
-C implementation.
-
+Gentoo virtual package for the Basic Linear Algebra Subprograms
+C implementation.
+  
+  
+Enable runtime library switching by
+eselect and ld.so.
+  
 
diff --git a/virtual/lapack/lapack-3.8.ebuild b/virtual/lapack/lapack-3.8.ebuild
new file mode 100644
index ..93ddd49d8b79
--- /dev/null
+++ b/virtual/lapack/lapack-3.8.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Virtual for Linear Algebra Package FORTRAN 77 (LAPACK) 
implementation"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="eselect-ldso"
+
+RDEPEND="
+   >=sci-libs/lapack-3.8.0[eselect-ldso?]
+"
+DEPEND="${RDEPEND}"
diff --git a/virtual/lapack/metadata.xml b/virtual/lapack/metadata.xml
index ccb7a1fa1fad..0b91d851efe1 100644
--- a/virtual/lapack/metadata.xml
+++ b/virtual/lapack/metadata.xml
@@ -6,7 +6,11 @@
 Gentoo Science Project
   
   
-Gentoo virtual package for the Linear Algebra PACKAge
-FORTRAN 77 implementation.
-
+Gentoo virtual package for the Linear Algebra PACKAge
+FORTRAN 77 implementation.
+  
+  
+Enable runtime library switching by
+eselect and ld.so.
+  
 
diff --git a/virtual/lapacke/lapacke-3.8.ebuild 
b/virtual/lapacke/lapacke-3.8.ebuild
new file mode 100644
index ..fc61bf733e2e
---