[arch-commits] Commit in rethinkdb/trunk (PKGBUILD rethinkdb.install)

Anatol Pomozov anatolik at archlinux.org
Sun Feb 1 00:34:54 UTC 2015


    Date: Sunday, February 1, 2015 @ 01:34:54
  Author: anatolik
Revision: 126894

upgpkg: rethinkdb 1.16.0-1

Modified:
  rethinkdb/trunk/PKGBUILD
  rethinkdb/trunk/rethinkdb.install

-------------------+
 PKGBUILD          |   14 ++++++++------
 rethinkdb.install |    7 -------
 2 files changed, 8 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-01 00:28:13 UTC (rev 126893)
+++ PKGBUILD	2015-02-01 00:34:54 UTC (rev 126894)
@@ -4,7 +4,7 @@
 # Contributor: Sigmund Lahn <sigmund at lahn.no>
 
 pkgname=rethinkdb
-pkgver=1.15.3
+pkgver=1.16.0
 _tag=rethinkdb-$pkgver-1
 pkgrel=1
 pkgdesc='An open-source distributed database built with love.'
@@ -22,7 +22,7 @@
   rethinkdb.service
   boost_1.56_compat.patch
 )
-sha256sums=('c51c5838344dde2d3f2c14e0b717bda2b0efa94ede6cb8e7d8e1af74d0642bc2'
+sha256sums=('6a761f286bac181b942c76db7a5b4ba1f45c265a85d61d22b71f2ecbc6d7ec00'
             '656d3a42e75d087e723f71aa320fdd91cbbb82071ef72eb11fd3e4a619b429a4'
             'e56bffa2b9ebc3a00ef566ab2be0719a633c89d961a2461dfa2d9ffdb258c1a2'
             '1c55b12df452ceb2470d3ec48dde21bcdc2785be371f6f0858af034e282b1f21')
@@ -29,15 +29,17 @@
 
 prepare() {
   cd $_tag
-  # boost 1.56 workaround https://github.com/rethinkdb/rethinkdb/issues/3044
-  rm src/unittest/print_secondary.cc
-  patch -p1 < ../boost_1.56_compat.patch
+
+  sed \
+    -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \
+    -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
+    -i scripts/*.py
 }
 
 build() {
   cd $_tag
   export PYTHON=/usr/bin/python2
-  ./configure CXXFLAGS="-DBOOST_VARIANT_DO_NOT_USE_VARIADIC_TEMPLATES" --fetch v8 --dynamic all --enable-precompiled-web --prefix=/usr --sysconfdir=/etc
+  ./configure CXXFLAGS="-DBOOST_VARIANT_DO_NOT_USE_VARIADIC_TEMPLATES" --fetch v8 --fetch jemalloc --dynamic all --enable-precompiled-web --prefix=/usr --sysconfdir=/etc
   make
 }
 

Modified: rethinkdb.install
===================================================================
--- rethinkdb.install	2015-02-01 00:28:13 UTC (rev 126893)
+++ rethinkdb.install	2015-02-01 00:34:54 UTC (rev 126894)
@@ -18,13 +18,6 @@
 }
 
 post_upgrade() {
-  IFS='.' read -a new_version <<< "$1"
-  IFS='.' read -a old_version <<< "$2"
-
-  if [ "${old_version[0]}" != "${new_version[0]}" -o "${old_version[1]}" != "${new_version[1]}" ]; then
-    echo "This release changed data storage format. Please upgrade your data using following information http://rethinkdb.com/docs/migration/"
-  fi
-
   getent group rethinkdb >/dev/null 2>&1 || groupadd rethinkdb &>/dev/null
   getent passwd rethinkdb >/dev/null 2>&1 || useradd -g rethinkdb -d /var/lib/rethinkdb -s /bin/false rethinkdb &>/dev/null
 }



More information about the arch-commits mailing list