commit:     68f5f806a26ddee80ee9b50d57d36f44fdd14080
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 13 09:37:01 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Nov 13 09:37:01 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68f5f806

sci-mathematics/sha1-polyml: Make var declaration globally

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=565650

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 sci-mathematics/sha1-polyml/metadata.xml             | 12 ++++++------
 sci-mathematics/sha1-polyml/sha1-polyml-5.5.0.ebuild |  6 +++---
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/sci-mathematics/sha1-polyml/metadata.xml 
b/sci-mathematics/sha1-polyml/metadata.xml
index c3a2e90..50a414f 100644
--- a/sci-mathematics/sha1-polyml/metadata.xml
+++ b/sci-mathematics/sha1-polyml/metadata.xml
@@ -1,12 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-<maintainer>
-  <email>gie...@gentoo.org</email>
-  <name>Mark Wright</name>
-</maintainer>
-<herd>sci-mathematics</herd>
-<longdescription lang='en'>
+  <maintainer>
+    <email>gie...@gentoo.org</email>
+    <name>Mark Wright</name>
+  </maintainer>
+  <herd>sci-mathematics</herd>
+  <longdescription lang="en">
 sci-mathematics/sha1-polyml is the implementation of SHA1 taken from
 the GNU coreutils package as described in the sci-mathematics/sha1-polyml
 README.  It is required by sci-mathematics/isabelle.

diff --git a/sci-mathematics/sha1-polyml/sha1-polyml-5.5.0.ebuild 
b/sci-mathematics/sha1-polyml/sha1-polyml-5.5.0.ebuild
index a5d6856..1aaf428 100644
--- a/sci-mathematics/sha1-polyml/sha1-polyml-5.5.0.ebuild
+++ b/sci-mathematics/sha1-polyml/sha1-polyml-5.5.0.ebuild
@@ -60,11 +60,11 @@ src_prepare() {
 }
 
 src_compile() {
-       local arch=$(uname -m)
-       local uos=$(uname)
+       arch=$(uname -m)
+       uos=$(uname)
        # Switch to ,, when we switch to EAPI=6.
        #local los=${uos,,}
-       local los=$(tr '[:upper:]' '[:lower:]' <<<"${uos}")
+       los=$(tr '[:upper:]' '[:lower:]' <<<"${uos}")
        ./build "${arch}-${los}" || die "build failed"
 }
 

Reply via email to