Received: (at 30924) by debbugs.gnu.org; 26 Mar 2018 17:55:58 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 26 13:55:58 2018 Received: from localhost ([127.0.0.1]:54691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1f0WLe-0004ms-9O for submit <at> debbugs.gnu.org; Mon, 26 Mar 2018 13:55:58 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:47061) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <mbakke@HIDDEN>) id 1f0WLc-0004mk-UD for 30924 <at> debbugs.gnu.org; Mon, 26 Mar 2018 13:55:57 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id B98C6216A8; Mon, 26 Mar 2018 13:55:56 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Mon, 26 Mar 2018 13:55:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=rbBCiDR1ZrcE1zK91lKomFBqcMmceTeaJYUtGqsG/ME=; b=VeU5oBlN uBiUneH+zTExxwjE5EvrnKbYWR9X4665kACmBfq3zyHXVL9fkeu7M6lqHhLWjbgF 8W1IBJt5nry7GoNp+AjfPD6RTBp1kdsPAt4yo88UfklGB2n+oR0ktDs5k7RdUFkI hafk1Yvq1LdpWyGdsxMS3KjI4QnZBpS32eYGZeyuITaeE7F+5HaHXH4T2EeBLFKM DcsReuR6Dfe7J6eeCaPF9ow/JXyVlr6U0EIBoNJfnDaTPiRlCeN5pogn+AAUnQUB vNAdNE6p/TIQAkpo4FmzSOxZlE0OdzEbRkLNMRnqt/meWB2KN4TYuVvFcfedz/Ai qmdvPGN0sqke/A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=rbBCiDR1ZrcE1zK91lKomFBqcMmce TeaJYUtGqsG/ME=; b=WcPmu5iRRvpLctgPcEHhCjMQ4Zq+p6BjRSpOqDz+AsFbx hQJST2Nrgj4VFY34591z14lHqhIs+QvNjyF42757ma6c2H+wNwDx9JS7gGG1fx8M w7ZwibmbPQVOzKyDZ6hZB6BWQSKOShG0goazHvoSNnyDr49iCrOosjQ8OT8zfJnA 7RTTUNilG+f5lDNp7wtCIKW9oMaABlbLPwqI6x9xZamMloVOXCUIvol1hmP0i0Mq TNc8T1aRTk5DGj5DNr5k2lgwsPgJ//9jlpNP4R4uBqhSk/xtZUbv0mXfpuRr0Kd6 uCEB/ruDLq/DNVI73lKzKbtPsuxY4W41js/ds758Q== X-ME-Sender: <xms:LDS5Wl6VtMruf-l2EnjCDkTnetgDLW--EVoGGqSQihFZ5D5YYNrauQ> Received: from localhost (ti0089a400-2222.bb.online.no [88.89.166.190]) by mail.messagingengine.com (Postfix) with ESMTPA id 4773810251; Mon, 26 Mar 2018 13:55:56 -0400 (EDT) From: Marius Bakke <mbakke@HIDDEN> To: Christopher Baines <mail@HIDDEN>, 30924 <at> debbugs.gnu.org Subject: Re: [bug#30924] [PATCH] gnu: Add cloud-foundry-cli. In-Reply-To: <20180324160404.1759-1-mail@HIDDEN> References: <87vadl344t.fsf@HIDDEN> <20180324160404.1759-1-mail@HIDDEN> User-Agent: Notmuch/0.26 (https://notmuchmail.org) Emacs/25.3.1 (x86_64-pc-linux-gnu) Date: Mon, 26 Mar 2018 19:55:54 +0200 Message-ID: <87zi2uiuvp.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30924 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain Christopher Baines <mail@HIDDEN> writes: > * gnu/packages/cloud-foundry.scm: New file. [...] > + (build-system go-build-system) > + (arguments > + '(#:import-path "code.cloudfoundry.org/cli" > + #:phases > + (modify-phases %standard-phases > + ;; This should be redundant once the vendor directory is removed from > + ;; this package > + (add-before 'reset-gzip-timestamps 'remove-readonly-gzip-files > + (lambda* (#:key outputs #:allow-other-keys) > + (for-each delete-file > + (find-files > + (assoc-ref outputs "out") > + ".*\\.gz")))) 'for-each' has an unspecified return value, so please add #t here. > + (add-after 'install 'rename-binary > + (lambda* (#:key outputs #:allow-other-keys) > + (let ((out (assoc-ref outputs "out"))) > + (rename-file (string-append out "/bin/cli") > + (string-append out "/bin/cf")))))))) Ditto for 'rename-file'. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlq5NCoACgkQoqBt8qM6 VPrXSQgAkSe4lJhYrGFfbsqTUWkP3D2S0gLcOrmWavGw5VK+JM+p0IuxBN0Acjps vCSDYhHvUSWM1f+0iWyPNHDWK3JQRTzdPIQdmAQBtioK7dWSEpKFjPgQehq+ZG45 wx6OlGYYbq1IyyBYn04j7YibjdtjTQLXCkxITAo7i6Fl8FT8AyrkbzjTTGs2OuUu /GajaVP5Sl+5Y9GtISLO3Wn6DsARRyTYOsH8c/ci+xBZCnXDrQI4VrlunBI3h9xW FtCi21Daw31a14b0V9j9/1ePCZ8F+petRtiTEApS0pE7LVZolyTUr4kYqDGqf60O E5pLDDxFweB25RardeUO5jP90TCh1Q== =aqbH -----END PGP SIGNATURE----- --=-=-=--
guix-patches@HIDDEN
:bug#30924
; Package guix-patches
.
Full text available.Received: (at 30924) by debbugs.gnu.org; 24 Mar 2018 16:04:09 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 24 12:04:09 2018 Received: from localhost ([127.0.0.1]:51620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ezleK-0002dr-Th for submit <at> debbugs.gnu.org; Sat, 24 Mar 2018 12:04:09 -0400 Received: from li622-129.members.linode.com ([212.71.249.129]:44274 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <mail@HIDDEN>) id 1ezleI-0002di-N0 for 30924 <at> debbugs.gnu.org; Sat, 24 Mar 2018 12:04:07 -0400 Received: by mira.cbaines.net (Postfix, from userid 113) id 7947513D067; Sat, 24 Mar 2018 16:04:05 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 0EBBD13D064 for <30924 <at> debbugs.gnu.org>; Sat, 24 Mar 2018 16:04:05 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 738eb2cb for <30924 <at> debbugs.gnu.org>; Sat, 24 Mar 2018 16:04:04 +0000 (UTC) From: Christopher Baines <mail@HIDDEN> To: 30924 <at> debbugs.gnu.org Subject: [PATCH] gnu: Add cloud-foundry-cli. Date: Sat, 24 Mar 2018 16:04:04 +0000 Message-Id: <20180324160404.1759-1-mail@HIDDEN> X-Mailer: git-send-email 2.16.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 30924 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) * gnu/packages/cloud-foundry.scm: New file. --- gnu/packages/cloud-foundry.scm | 61 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 gnu/packages/cloud-foundry.scm diff --git a/gnu/packages/cloud-foundry.scm b/gnu/packages/cloud-foundry.scm new file mode 100644 index 000000000..b1327a6dc --- /dev/null +++ b/gnu/packages/cloud-foundry.scm @@ -0,0 +1,61 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2018 Christopher Baines <mail@HIDDEN> +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. + +(define-module (gnu packages cloud-foundry) + #:use-module (guix build-system go) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix git-download) + #:use-module (guix licenses)) + +(define-public cloud-foundry-cli + (package + (name "cloud-foundry-cli") + (version "6.34.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/cloudfoundry/cli.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1kq6d0sysi4r7wz9zjgbyj7m5a4lkybgj8a91q1vxs7r44yns8y6")))) + (build-system go-build-system) + (arguments + '(#:import-path "code.cloudfoundry.org/cli" + #:phases + (modify-phases %standard-phases + ;; This should be redundant once the vendor directory is removed from + ;; this package + (add-before 'reset-gzip-timestamps 'remove-readonly-gzip-files + (lambda* (#:key outputs #:allow-other-keys) + (for-each delete-file + (find-files + (assoc-ref outputs "out") + ".*\\.gz")))) + (add-after 'install 'rename-binary + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (rename-file (string-append out "/bin/cli") + (string-append out "/bin/cf")))))))) + (synopsis "Client for the Cloud Foundry application platform") + (description + "This package contains the official command line client for Cloud Foundry +application platform.") + (home-page "https://github.com/cloudfoundry/cli") + (license asl2.0))) -- 2.16.2
guix-patches@HIDDEN
:bug#30924
; Package guix-patches
.
Full text available.Received: (at submit) by debbugs.gnu.org; 24 Mar 2018 15:59:05 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 24 11:59:05 2018 Received: from localhost ([127.0.0.1]:51609 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ezlZR-0002UR-C5 for submit <at> debbugs.gnu.org; Sat, 24 Mar 2018 11:59:05 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <mail@HIDDEN>) id 1ezlZP-0002Tv-4Z for submit <at> debbugs.gnu.org; Sat, 24 Mar 2018 11:59:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <mail@HIDDEN>) id 1ezlYG-000766-1K for submit <at> debbugs.gnu.org; Sat, 24 Mar 2018 11:58:58 -0400 Received: from lists.gnu.org ([2001:4830:134:3::11]:60304) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <mail@HIDDEN>) id 1ezlYF-00075J-TF for submit <at> debbugs.gnu.org; Sat, 24 Mar 2018 11:57:51 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37192) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <mail@HIDDEN>) id 1ezlU6-0005td-9p for guix-patches@HIDDEN; Sat, 24 Mar 2018 11:57:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <mail@HIDDEN>) id 1ezlSz-0003H3-EF for guix-patches@HIDDEN; Sat, 24 Mar 2018 11:53:31 -0400 Received: from li622-129.members.linode.com ([212.71.249.129]:38572 helo=mira.cbaines.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <mail@HIDDEN>) id 1ezkk1-0004cw-PQ for guix-patches@HIDDEN; Sat, 24 Mar 2018 11:05:57 -0400 Received: by mira.cbaines.net (Postfix, from userid 113) id 27C8913D067; Sat, 24 Mar 2018 15:05:57 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 0608113D064 for <guix-patches@HIDDEN>; Sat, 24 Mar 2018 15:05:57 +0000 (GMT) Received: from giedi (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id b9d03790 for <guix-patches@HIDDEN>; Sat, 24 Mar 2018 15:05:56 +0000 (UTC) User-agent: mu4e 1.0; emacs 25.3.1 From: Christopher Baines <mail@HIDDEN> To: guix-patches@HIDDEN Subject: [PATCH] Add cloud-foundry-cli. Date: Sat, 24 Mar 2018 15:05:54 +0000 Message-ID: <87vadl344t.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -4.0 (----) --=-=-= Content-Type: text/plain Tags: moreinfo I had a need to use the cloud-foundry-cli recently, so I made a Guix package. Unfortunately even though this builds, it needs a bit more work to strip out the third party source code, and package this separately. Christopher Baines (1): gnu: Add cloud-foundry-cli. gnu/packages/cloud-foundry.scm | 61 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 gnu/packages/cloud-foundry.scm --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlq2aVJfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9Xc2KA//eGx9NnaJEko8FcZ34PoLrSXqVo6CfxyFX4JAZHaXkyeiCn/tFdU/FIOS cemJrWY+nwz6olO8lZFRHE4ZHbs7uwmRYH3WWGUSjDm0t2HQzLiPPIqyC0oZo1yB /4Jb4SDXK17MoVFtFi8IkumcxuGnDmbhqawQldw9n5uiKLlI+eHwxFFmCaL4JDLt TqzWC8Ke5OJ8rhEhr3KELfAm7Q/CfyCatyA2R5o6sVemaEYpDP0SjmlHuo1lD7hT ofsSKm4ENKPjh0VlRtx6tpXWKo3Ru70e/CHnsaXtfovtxFr6bE3M5qZIOtX96lyl sX+EaLPIlv0tBrOkJJBzHhvjLpiFc9aVZ75mFNwBM4z89iQNi3AMO9APRWWloEYW 4Y3BO5pr90mcPeIBXIR/K7U0KKVporxK6h1Ttc7ueJzmvG9IjUF5/i7pNlAUpAPg 8iMZyHSu3RXa8XFcC0e1pipmmnx3SbcwIAKeTEnDlkh1s8sF2xIxd77kYzr2rAHM AAoKc1bFYcur5wpUz+MozkDIt/OVd6GEYsixuBx7OhVS2MJlEa4iAd2CJhREMyyt F7W2NXAcdvMKnXMmIvaWoHt2HJmJJDF0LvCFoIApLShqmzR6ceP+y9tQaRoIkDRu F2/fHfzrahNJ9nkmLWWCjuwPwwtT6lekxhx7qDvnAOvVvUjR0Bo= =fRVj -----END PGP SIGNATURE----- --=-=-=--
Christopher Baines <mail@HIDDEN>
:guix-patches@HIDDEN
.
Full text available.guix-patches@HIDDEN
:bug#30924
; Package guix-patches
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.