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

Evangelos Foutras foutrelis at gemini.archlinux.org
Fri Nov 12 21:35:24 UTC 2021


    Date: Friday, November 12, 2021 @ 21:35:23
  Author: foutrelis
Revision: 427951

archrelease: copy trunk to extra-x86_64

Added:
  gn/repos/extra-x86_64/PKGBUILD
    (from rev 427950, gn/trunk/PKGBUILD)
  gn/repos/extra-x86_64/chromium-gn-version.sh
    (from rev 427950, 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-11-12 21:35:19 UTC (rev 427950)
+++ PKGBUILD	2021-11-12 21:35:23 UTC (rev 427951)
@@ -1,44 +0,0 @@
-# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
-
-pkgname=gn
-pkgver=0.1938.0153d369b
-_commit=0153d369bbccc908f4da4993b1ba82728055926a
-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 427950, gn/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-12 21:35:23 UTC (rev 427951)
@@ -0,0 +1,44 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+
+pkgname=gn
+pkgver=0.1938.0153d369
+_commit=0153d369bbccc908f4da4993b1ba82728055926a
+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=8 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-11-12 21:35:19 UTC (rev 427950)
+++ chromium-gn-version.sh	2021-11-12 21:35:23 UTC (rev 427951)
@@ -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 427950, gn/trunk/chromium-gn-version.sh)
===================================================================
--- chromium-gn-version.sh	                        (rev 0)
+++ chromium-gn-version.sh	2021-11-12 21:35:23 UTC (rev 427951)
@@ -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