From dc13f1c920efc90b9c37ee03afa392701af91043 Mon Sep 17 00:00:00 2001 From: blue-devil Date: Tue, 25 Feb 2020 04:11:14 +0300 Subject: [PATCH] github-cli:first pisi release --- programming/scm/github-cli/actions.py | 20 +++++++++++ programming/scm/github-cli/pspec.xml | 40 +++++++++++++++++++++ programming/scm/github-cli/translations.xml | 8 +++++ 3 files changed, 68 insertions(+) create mode 100644 programming/scm/github-cli/actions.py create mode 100644 programming/scm/github-cli/pspec.xml create mode 100644 programming/scm/github-cli/translations.xml diff --git a/programming/scm/github-cli/actions.py b/programming/scm/github-cli/actions.py new file mode 100644 index 0000000000..cbd3f11a3a --- /dev/null +++ b/programming/scm/github-cli/actions.py @@ -0,0 +1,20 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/copyleft/gpl.txt + +from pisi.actionsapi import shelltools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def build(): + shelltools.system("go build \ + -trimpath \ + -ldflags '-extldflags \"%s\" -X github.com/cli/cli/command.Version=v0.5.7 -X github.com/cli/cli/command.BuildDate=2020-02-24' \ + -o 'bin/gh' ./cmd/gh" % get.LDFLAGS()) + +def install(): + shelltools.cd("../cli-0.5.7") + pisitools.insinto("/usr/bin", "bin/gh") + pisitools.dodoc("LICENSE", "README*") \ No newline at end of file diff --git a/programming/scm/github-cli/pspec.xml b/programming/scm/github-cli/pspec.xml new file mode 100644 index 0000000000..ca7acd5b38 --- /dev/null +++ b/programming/scm/github-cli/pspec.xml @@ -0,0 +1,40 @@ + + + + + github-cli + https://github.com/cli/cli + + Blue Devil + bluedevil@sctzine.com + + programming.scm + MIT + app:console + The GitHub CLI + gh is GitHub on the command line, and it's now available in beta. It brings pull requests, issues, and other GitHub concepts to the terminal next to where you are already working with git and your code. + https://github.com/cli/cli/archive/v0.5.7.tar.gz + + golang + + + + + github-cli + The GitHub CLI + + /usr/bin/gh + /usr/share/doc + + + + + + 2020-02-24 + 0.5.7 + First release + Blue Devil + bluedevil@sctzine.com + + + \ No newline at end of file diff --git a/programming/scm/github-cli/translations.xml b/programming/scm/github-cli/translations.xml new file mode 100644 index 0000000000..e1799706b0 --- /dev/null +++ b/programming/scm/github-cli/translations.xml @@ -0,0 +1,8 @@ + + + + github-cli + Github komut satırı arayüzü. + gh, resmi Github komut satırı arayüzüdür. + + \ No newline at end of file