Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (5326b9edfd4b0165161de78cbc0e937c43783ecd)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Treeve Jelbert <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (5326b9edfd4b0165161de78cbc0e937c43783ecd)
  • Date: Wed, 17 Feb 2016 16:44:49 +0000

GIT changes to master grimoire by Treeve Jelbert <treeve AT sourcemage.org>:

ChangeLog | 3 +++
FUNCTIONS | 12 ++++++++++++
science-libs/eigen3/DETAILS | 7 ++++---
science-libs/eigen3/HISTORY | 3 +++
4 files changed, 22 insertions(+), 3 deletions(-)

New commits:
commit 5326b9edfd4b0165161de78cbc0e937c43783ecd
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>

FUNCTIONS: add chk_space

commit d1f89620c1604647b950d735365f90ca3a2ec23f
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>

eigen3: => 3.2.8

diff --git a/ChangeLog b/ChangeLog
index 8a65a3c..8c0cbaa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2016-02-16 Treeve Jelbert <treeve AT sourcemage.org>
+ * FUNCTIONS: add chk_space function
+
2016-02-07 Thomas Orgis <sobukus AT sourcemage.org>
* FUNCTIONS: brute force fix for self-conflicting Qt5 stuff

diff --git a/FUNCTIONS b/FUNCTIONS
index aedb6fa..7115c44 100755
--- a/FUNCTIONS
+++ b/FUNCTIONS
@@ -912,3 +912,15 @@ function check_dependees_versionjump()
. $GRIMOIRE/glselect.function
. $GRIMOIRE/bzr_download.function
. $GRIMOIRE/hg_download.function
+
+
+# some spells need lots of disk space
+# chk_space looks for $1 GB
+chk_space() {
+SPACE=`df --output=avail,target -l -BG|grep " /$" |cut -dG -f1 |sed "s/ //g"`
+if [[ $SPACE -lt "$1" ]];then
+ echo "${PROBLEM_COLOR}insufficient space on root device. $SPELL requires
>= $1 GB${DEFAULT_COLOR}"
+ return 1
+fi
+return 0
+}
diff --git a/science-libs/eigen3/DETAILS b/science-libs/eigen3/DETAILS
index d185dca..c38c014 100755
--- a/science-libs/eigen3/DETAILS
+++ b/science-libs/eigen3/DETAILS
@@ -1,9 +1,10 @@
SPELL=eigen3
SPELLX=eigen
- VERSION=3.2.7
-
SOURCE_HASH=sha512:6e9beb4fdd69d96a1bb305ea9463547c19cac0072ce908c19bf952d2b7a254c0d674d19a7797a3ba5e8617e1c1bca74dfb7c01971301cb152e467f13eaaed6cc
+ SX=07105f7124f9
+ VERSION=3.2.8
+
SOURCE_HASH=sha512:53c27ba530c985dfef52188e03273eeef33abbc67e3f150cacd3371c8b9ddbd399228730595821c4c56c061d109cf509266c1dab2b8a7c730902cbd6fb18c100
# the following sha must be updated every time
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/eigen-eigen-b30b87236a1b
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/eigen-eigen-$SX
SOURCE=eigen-$VERSION.tar.bz2
SOURCE_URL[0]=https://bitbucket.org/$SPELLX/$SPELLX/get/$VERSION.tar.bz2
WEB_SITE=http://eigen.tuxfamily.org
diff --git a/science-libs/eigen3/HISTORY b/science-libs/eigen3/HISTORY
index dc7fa99..86b8668 100644
--- a/science-libs/eigen3/HISTORY
+++ b/science-libs/eigen3/HISTORY
@@ -1,3 +1,6 @@
+2016-02-16 Treeve Jelbert <treeve AT sourcemage.org>
+ * DETAILS: version 3.2.8
+
2016-01-21 Treeve Jelbert <treeve AT sourcemage.org>
* DETAILS: version 3.2.7




  • [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (5326b9edfd4b0165161de78cbc0e937c43783ecd), Treeve Jelbert, 02/17/2016

Archive powered by MHonArc 2.6.24.

Top of Page