[arch-commits] Commit in gn/repos/extra-x86_64 (4 files)

Evangelos Foutras foutrelis at archlinux.org
Thu May 27 04:37:26 UTC 2021


    Date: Thursday, May 27, 2021 @ 04:37:25
  Author: foutrelis
Revision: 416513

archrelease: copy trunk to extra-x86_64

Added:
  gn/repos/extra-x86_64/PKGBUILD
    (from rev 416512, gn/trunk/PKGBUILD)
  gn/repos/extra-x86_64/chromium-gn-version.sh
    (from rev 416512, gn/trunk/chromium-gn-version.sh)
Deleted:
  gn/repos/extra-x86_64/PKGBUILD
  gn/repos/extra-x86_64/chromium-gn-version.sh

------------------------+
 PKGBUILD               |   88 +++++++++++++++++++++++------------------------
 chromium-gn-version.sh |   42 +++++++++++-----------
 2 files changed, 65 insertions(+), 65 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-27 04:37:03 UTC (rev 416512)
+++ PKGBUILD	2021-05-27 04:37:25 UTC (rev 416513)
@@ -1,44 +0,0 @@
-# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
-
-pkgname=gn
-pkgver=0.1891.dfcbc6fe
-_commit=dfcbc6fed0a8352696f92d67ccad54048ad182b3
-pkgrel=1
-pkgdesc="Meta-build system that generates build files for Ninja"
-arch=('x86_64')
-url="https://gn.googlesource.com/gn/"
-license=('BSD')
-depends=('gcc-libs')
-makedepends=('clang' 'ninja' 'python' 'git')
-source=(git+https://gn.googlesource.com/gn#commit=$_commit)
-sha256sums=('SKIP')
-
-pkgver() {
-  cd $pkgname
-  echo 0.$(git rev-list --count initial-commit..).$(git rev-parse --short HEAD)
-}
-
-build() {
-  cd $pkgname
-  ./build/gen.py
-  ninja -C out
-}
-
-check() {
-  cd $pkgname
-  ./out/gn_unittests
-}
-
-package() {
-  cd $pkgname
-  install -D out/gn "$pkgdir/usr/bin/gn"
-  install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" docs/*
-  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
-
-  mkdir -p "$pkgdir/usr/share/vim/vimfiles"
-  cp -r misc/vim/{autoload,ftdetect,ftplugin,syntax} \
-    "$pkgdir/usr/share/vim/vimfiles/"
-  install -Dm644 -t "$pkgdir/usr/share/emacs/site-lisp" misc/emacs/gn-mode.el
-}
-
-# vim:set ts=2 sw=2 et:

Copied: gn/repos/extra-x86_64/PKGBUILD (from rev 416512, gn/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-27 04:37:25 UTC (rev 416513)
@@ -0,0 +1,44 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+
+pkgname=gn
+pkgver=0.1897.dba01723
+_commit=dba01723a441c358d843a575cb7720d54ddcdf92
+pkgrel=1
+pkgdesc="Meta-build system that generates build files for Ninja"
+arch=('x86_64')
+url="https://gn.googlesource.com/gn/"
+license=('BSD')
+depends=('gcc-libs')
+makedepends=('clang' 'ninja' 'python' 'git')
+source=(git+https://gn.googlesource.com/gn#commit=$_commit)
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  echo 0.$(git rev-list --count initial-commit..).$(git rev-parse --short HEAD)
+}
+
+build() {
+  cd $pkgname
+  ./build/gen.py
+  ninja -C out
+}
+
+check() {
+  cd $pkgname
+  ./out/gn_unittests
+}
+
+package() {
+  cd $pkgname
+  install -D out/gn "$pkgdir/usr/bin/gn"
+  install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" docs/*
+  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+
+  mkdir -p "$pkgdir/usr/share/vim/vimfiles"
+  cp -r misc/vim/{autoload,ftdetect,ftplugin,syntax} \
+    "$pkgdir/usr/share/vim/vimfiles/"
+  install -Dm644 -t "$pkgdir/usr/share/emacs/site-lisp" misc/emacs/gn-mode.el
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: chromium-gn-version.sh
===================================================================
--- chromium-gn-version.sh	2021-05-27 04:37:03 UTC (rev 416512)
+++ chromium-gn-version.sh	2021-05-27 04:37:25 UTC (rev 416513)
@@ -1,21 +0,0 @@
-#!/bin/bash
-
-set -eo pipefail
-
-readonly CURL='curl -s --compressed'
-
-gn_revision_from_chrome_version() {
-  $CURL "https://chromium.googlesource.com/chromium/src/+/$1/DEPS?format=TEXT" \
-    | base64 -d | grep -Po "'gn_version': 'git_revision:\K[^']*"
-}
-
-{
-  echo channel version gn_revision
-  echo ------- ------- -----------
-  while read -r channel version; do
-    echo "$channel $version $(gn_revision_from_chrome_version "$version")"
-  done < <(
-    $CURL https://omahaproxy.appspot.com/json \
-      | jq -r '.[] | select ( .os == "linux" ) | .versions | .[] | "\(.channel) \(.version)"'
-  )
-} | column -t

Copied: gn/repos/extra-x86_64/chromium-gn-version.sh (from rev 416512, gn/trunk/chromium-gn-version.sh)
===================================================================
--- chromium-gn-version.sh	                        (rev 0)
+++ chromium-gn-version.sh	2021-05-27 04:37:25 UTC (rev 416513)
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+set -eo pipefail
+
+readonly CURL='curl -s --compressed'
+
+gn_revision_from_chrome_version() {
+  $CURL "https://chromium.googlesource.com/chromium/src/+/$1/DEPS?format=TEXT" \
+    | base64 -d | grep -Po "'gn_version': 'git_revision:\K[^']*"
+}
+
+{
+  echo channel version gn_revision
+  echo ------- ------- -----------
+  while read -r channel version; do
+    echo "$channel $version $(gn_revision_from_chrome_version "$version")"
+  done < <(
+    $CURL https://omahaproxy.appspot.com/json \
+      | jq -r '.[] | select ( .os == "linux" ) | .versions | .[] | "\(.channel) \(.version)"'
+  )
+} | column -t



More information about the arch-commits mailing list