[arch-commits] Commit in gn/repos/extra-x86_64 (4 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Sat Jan 29 22:23:54 UTC 2022
Date: Saturday, January 29, 2022 @ 22:23:54
Author: foutrelis
Revision: 435407
archrelease: copy trunk to extra-x86_64
Added:
gn/repos/extra-x86_64/PKGBUILD
(from rev 435406, gn/trunk/PKGBUILD)
gn/repos/extra-x86_64/chromium-gn-version.sh
(from rev 435406, 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 2022-01-29 22:23:49 UTC (rev 435406)
+++ PKGBUILD 2022-01-29 22:23:54 UTC (rev 435407)
@@ -1,44 +0,0 @@
-# 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:
Copied: gn/repos/extra-x86_64/PKGBUILD (from rev 435406, gn/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-01-29 22:23:54 UTC (rev 435407)
@@ -0,0 +1,44 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+
+pkgname=gn
+pkgver=0.1956.fc295f3a
+_commit=fc295f3ac7ca4fe7acc6cb5fb052d22909ef3a8f
+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 2022-01-29 22:23:49 UTC (rev 435406)
+++ chromium-gn-version.sh 2022-01-29 22:23:54 UTC (rev 435407)
@@ -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 435406, gn/trunk/chromium-gn-version.sh)
===================================================================
--- chromium-gn-version.sh (rev 0)
+++ chromium-gn-version.sh 2022-01-29 22:23:54 UTC (rev 435407)
@@ -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