[arch-commits] Commit in timescaledb/repos/community-x86_64 (4 files)

George Rawlinson grawlinson at gemini.archlinux.org
Sat Feb 12 01:06:48 UTC 2022


    Date: Saturday, February 12, 2022 @ 01:06:48
  Author: grawlinson
Revision: 1132374

archrelease: copy trunk to community-x86_64

Added:
  timescaledb/repos/community-x86_64/PKGBUILD
    (from rev 1132373, timescaledb/trunk/PKGBUILD)
  timescaledb/repos/community-x86_64/timescaledb.install
    (from rev 1132373, timescaledb/trunk/timescaledb.install)
Deleted:
  timescaledb/repos/community-x86_64/PKGBUILD
  timescaledb/repos/community-x86_64/timescaledb.install

---------------------+
 PKGBUILD            |  158 +++++++++++++++++++++++++-------------------------
 timescaledb.install |   30 ++++-----
 2 files changed, 94 insertions(+), 94 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-12 01:05:59 UTC (rev 1132373)
+++ PKGBUILD	2022-02-12 01:06:48 UTC (rev 1132374)
@@ -1,79 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-# Maintainer: George Rawlinson <grawlinson at archlinux.org>
-# Contributor: Felix Fung <fylixeoi at gmail.com>
-
-pkgname=timescaledb
-_commit=a2530ab5f251ba9680d2c270496d1e2e6fcf6367
-# limit to last 5 releases
-_versions=(
-  2.4.0
-  2.4.1
-  2.4.2
-  2.5.0
-  2.5.1 # current ts version
-)
-pkgver="${_versions[-1]}"
-pkgrel=1
-pkgdesc="An open-source time-series database optimized for fast ingest and complex queries"
-arch=('x86_64')
-url="https://www.timescale.com/"
-license=('Apache' 'custom:Timescale')
-depends=('postgresql' 'postgresql-libs' 'openssl')
-makedepends=('gcc' 'cmake' 'git')
-optdepends=('timescaledb-tune: tune postgresql.conf for better performance')
-install=timescaledb.install
-source=("$pkgname::git+https://github.com/timescale/timescaledb#commit=$_commit")
-sha512sums=('SKIP')
-
-prepare() {
-  mkdir build
-}
-
-build() {
-  for version in "${_versions[@]}"; do
-    cd "$srcdir/$pkgname"
-    git checkout "$version"
-    BUILD_DIR="$srcdir/build/$version" ./bootstrap \
-      -DWARNINGS_AS_ERRORS=OFF \
-      -DREGRESS_CHECKS=OFF \
-      -DTAP_CHECKS=OFF \
-      -DGENERATE_DOWNGRADE_SCRIPT=ON
-
-    # build package or past shared library
-    cd "$srcdir/build/$version"
-
-    # temporarily ensure reproducible builds (value from `lsb_release -r`)
-    # TODO: resolve https://github.com/timescale/timescaledb/issues/3480
-    sed \
-      -e "s:BUILD_OS_VERSION \".*\"$:BUILD_OS_VERSION \"rolling\":" \
-      -i src/config.h
-
-    if [ "$version" == "${_versions[-1]}" ]; then
-      make
-    else
-      make timescaledb timescaledb-tsl sqlfile
-    fi
-  done
-}
-
-package() {
-  cd "$pkgname"
-  # install licenses from latest version
-  git checkout "${_versions[-1]}"
-  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" \
-    LICENSE LICENSE-APACHE tsl/LICENSE-TIMESCALE
-
-  # install package or past shared library
-  for version in "${_versions[@]}"; do
-    cd "$srcdir/build/$version"
-    if [ "$version" == "${_versions[-1]}" ]; then
-      make DESTDIR="$pkgdir/" install
-    else
-      install -vDm644 -t "$pkgdir/usr/lib/postgresql" \
-        "src/$pkgname-$version.so" \
-        "tsl/src/$pkgname-tsl-$version.so"
-      install -Dm644 -t "$pkgdir/usr/share/postgresql/extension" \
-        "sql/timescaledb--$version.sql"
-    fi
-  done
-}

Copied: timescaledb/repos/community-x86_64/PKGBUILD (from rev 1132373, timescaledb/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-02-12 01:06:48 UTC (rev 1132374)
@@ -0,0 +1,79 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: Felix Fung <fylixeoi at gmail.com>
+
+pkgname=timescaledb
+_commit=6794b140bde142702d65d5a482ddf542a8ff99be
+# limit to last 5 releases
+_versions=(
+  2.4.1
+  2.4.2
+  2.5.0
+  2.5.1
+  2.5.2 # current ts version
+)
+pkgver="${_versions[-1]}"
+pkgrel=1
+pkgdesc="An open-source time-series database optimized for fast ingest and complex queries"
+arch=('x86_64')
+url="https://www.timescale.com/"
+license=('Apache' 'custom:Timescale')
+depends=('postgresql' 'postgresql-libs' 'openssl')
+makedepends=('gcc' 'cmake' 'git')
+optdepends=('timescaledb-tune: tune postgresql.conf for better performance')
+install=timescaledb.install
+source=("$pkgname::git+https://github.com/timescale/timescaledb#commit=$_commit")
+sha512sums=('SKIP')
+
+prepare() {
+  mkdir build
+}
+
+build() {
+  for version in "${_versions[@]}"; do
+    cd "$srcdir/$pkgname"
+    git checkout "$version"
+    BUILD_DIR="$srcdir/build/$version" ./bootstrap \
+      -DWARNINGS_AS_ERRORS=OFF \
+      -DREGRESS_CHECKS=OFF \
+      -DTAP_CHECKS=OFF \
+      -DGENERATE_DOWNGRADE_SCRIPT=ON
+
+    # build package or past shared library
+    cd "$srcdir/build/$version"
+
+    # temporarily ensure reproducible builds (value from `lsb_release -r`)
+    # TODO: resolve https://github.com/timescale/timescaledb/issues/3480
+    sed \
+      -e "s:BUILD_OS_VERSION \".*\"$:BUILD_OS_VERSION \"rolling\":" \
+      -i src/config.h
+
+    if [ "$version" == "${_versions[-1]}" ]; then
+      make
+    else
+      make timescaledb timescaledb-tsl sqlfile
+    fi
+  done
+}
+
+package() {
+  cd "$pkgname"
+  # install licenses from latest version
+  git checkout "${_versions[-1]}"
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" \
+    LICENSE LICENSE-APACHE tsl/LICENSE-TIMESCALE
+
+  # install package or past shared library
+  for version in "${_versions[@]}"; do
+    cd "$srcdir/build/$version"
+    if [ "$version" == "${_versions[-1]}" ]; then
+      make DESTDIR="$pkgdir/" install
+    else
+      install -vDm644 -t "$pkgdir/usr/lib/postgresql" \
+        "src/$pkgname-$version.so" \
+        "tsl/src/$pkgname-tsl-$version.so"
+      install -Dm644 -t "$pkgdir/usr/share/postgresql/extension" \
+        "sql/timescaledb--$version.sql"
+    fi
+  done
+}

Deleted: timescaledb.install
===================================================================
--- timescaledb.install	2022-02-12 01:05:59 UTC (rev 1132373)
+++ timescaledb.install	2022-02-12 01:06:48 UTC (rev 1132374)
@@ -1,15 +0,0 @@
-post_install() {
-    echo "To use TimescaleDB as PostgreSQL extension,"
-    echo "put in /var/lib/postgres/data/postgresql.conf:"
-    echo "'shared_preload_libraries = \"timescaledb\"'"
-    echo "If multiple libraries are required, separate them with comma."
-    echo "Then restart postgresql:"
-    echo "$ systemctl restart postgresql"
-}
-
-post_remove() {
-    echo "Remove 'timescaledb' from 'shared_preload_libraries'"
-    echo "In /var/lib/postgres/data/postgresql.conf"
-    echo "Then restart postgresql:"
-    echo "$ systemctl restart postgresql"
-}

Copied: timescaledb/repos/community-x86_64/timescaledb.install (from rev 1132373, timescaledb/trunk/timescaledb.install)
===================================================================
--- timescaledb.install	                        (rev 0)
+++ timescaledb.install	2022-02-12 01:06:48 UTC (rev 1132374)
@@ -0,0 +1,15 @@
+post_install() {
+    echo "To use TimescaleDB as PostgreSQL extension,"
+    echo "put in /var/lib/postgres/data/postgresql.conf:"
+    echo "'shared_preload_libraries = \"timescaledb\"'"
+    echo "If multiple libraries are required, separate them with comma."
+    echo "Then restart postgresql:"
+    echo "$ systemctl restart postgresql"
+}
+
+post_remove() {
+    echo "Remove 'timescaledb' from 'shared_preload_libraries'"
+    echo "In /var/lib/postgres/data/postgresql.conf"
+    echo "Then restart postgresql:"
+    echo "$ systemctl restart postgresql"
+}



More information about the arch-commits mailing list