sci-libs/blis: fix unmatched keywords and maintainer type.
authorMo Zhou <cdluminate@gmail.com>
Thu, 11 Jul 2019 02:37:54 +0000 (02:37 +0000)
committerBenda Xu <heroxbd@gentoo.org>
Thu, 11 Jul 2019 11:40:15 +0000 (19:40 +0800)
Closes: https://github.com/gentoo/gentoo/pull/12420
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Mo Zhou <cdluminate@gmail.com>
Signed-off-by: Benda Xu <heroxbd@gentoo.org>
sci-libs/blis/blis-0.5.2.ebuild
sci-libs/blis/blis-0.6.0.ebuild
sci-libs/blis/metadata.xml

index 939d0b608d6563496198451904a8958c0eb426a5..785210e5b5a9f62656e010a30bad4b24c7ae5357 100644 (file)
@@ -15,7 +15,7 @@ IUSE="openmp pthread serial static-libs eselect-ldso doc 64bit-index"
 REQUIRED_USE="?? ( openmp pthread serial ) ?? ( eselect-ldso 64bit-index )"
 
 RDEPEND="eselect-ldso? ( !app-eselect/eselect-cblas
-                                  >=app-eselect/eselect-blas-0.2 )"
+                         >=app-eselect/eselect-blas-0.2 )"
 
 DEPEND="${RDEPEND}
        dev-lang/python
@@ -91,8 +91,8 @@ pkg_postinst() {
 
        # check blas
        eselect blas add ${libdir} "${EROOT}"/usr/${libdir}/blas/${me} ${me}
-       local current_blas=$(eselect blas show ${libdir})
-       if [[ ${current_blas} == blis || -z ${current_blas} ]]; then
+       local current_blas=$(eselect blas show ${libdir} | cut -d' ' -f2)
+       if [[ ${current_blas} == "${me}" || -z ${current_blas} ]]; then
                eselect blas set ${libdir} ${me}
                elog "Current eselect: BLAS/CBLAS ($libdir) -> [${current_blas}]."
        else
index fd8ccbe5c4ca3890c29df2b5efdcac39e3c838b1..ccb44fdd6824861f183ef6b0ce2916c738380425 100644 (file)
@@ -15,7 +15,7 @@ IUSE="openmp pthread serial static-libs eselect-ldso doc 64bit-index"
 REQUIRED_USE="?? ( openmp pthread serial ) ?? ( eselect-ldso 64bit-index )"
 
 RDEPEND="eselect-ldso? ( !app-eselect/eselect-cblas
-                                  >=app-eselect/eselect-blas-0.2 )"
+                                                >=app-eselect/eselect-blas-0.2 )"
 
 DEPEND="${RDEPEND}
        dev-lang/python
@@ -62,8 +62,8 @@ src_configure () {
 
 src_compile() {
        DEB_LIBBLAS=libblas.so.3 DEB_LIBCBLAS=libcblas.so.3 \
-               LDS_BLAS="${FILESDIR}"/blas.lds LDS_CBLAS="${FILESDIR}"/cblas.lds \
-               default
+                          LDS_BLAS="${FILESDIR}"/blas.lds LDS_CBLAS="${FILESDIR}"/cblas.lds \
+                          default
 }
 
 src_test () {
@@ -90,8 +90,8 @@ pkg_postinst() {
 
        # check blas
        eselect blas add ${libdir} "${EROOT}"/usr/${libdir}/blas/${me} ${me}
-       local current_blas=$(eselect blas show ${libdir})
-       if [[ ${current_blas} == blis || -z ${current_blas} ]]; then
+       local current_blas=$(eselect blas show ${libdir} | cut -d' ' -f2)
+       if [[ ${current_blas} == "${me}" || -z ${current_blas} ]]; then
                eselect blas set ${libdir} ${me}
                elog "Current eselect: BLAS/CBLAS ($libdir) -> [${current_blas}]."
        else
index a27c6853409d08402c68969ab63de01ca30d3341..21ba26e3bdd6ffcf91788fd6d99cffbecd22efb9 100644 (file)
@@ -5,7 +5,7 @@
     <bugs-to>https://github.com/flame/blis/issues/</bugs-to>
     <doc>https://github.com/flame/blis</doc>
   </upstream>
-  <maintainer type="project">
+  <maintainer type="person">
     <name>Mo Zhou</name>
     <email>lumin@debian.org</email>
   </maintainer>