From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35020) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0WTV-0005se-JP for guix-patches@gnu.org; Mon, 26 Mar 2018 14:04:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0WTS-0000Xl-Er for guix-patches@gnu.org; Mon, 26 Mar 2018 14:04:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:46811) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f0WTS-0000XW-AJ for guix-patches@gnu.org; Mon, 26 Mar 2018 14:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f0WTR-0004zw-Qv for guix-patches@gnu.org; Mon, 26 Mar 2018 14:04:01 -0400 Subject: [bug#30933] [PATCH 2/2] gnu: translate-shell: Update to 0.9.6.7-1.bb9f32d. Resent-Message-ID: From: Marius Bakke In-Reply-To: <20180325095706.4508-2-go.wigust@gmail.com> References: <20180325095706.4508-1-go.wigust@gmail.com> <20180325095706.4508-2-go.wigust@gmail.com> Date: Mon, 26 Mar 2018 20:03:18 +0200 Message-ID: <87tvt2iujd.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Oleg Pykhalov , 30933@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Oleg Pykhalov writes: > * gnu/packages/dictionaries.scm (translate-shell): Update to > 0.9.6.7-1.bb9f32d. > [arguments](make-flags): Add "NETWORK_ACCESS=3Dno test". > [phases]: Add 'change-file-permissions' phase. [...] =20=20 > (define-public translate-shell > - (package > - (name "translate-shell") > - (version "0.9.6.4") > - (source > - (origin > - (method url-fetch) > - (uri (string-append "https://github.com/soimort/" name "/archive= /v" > - version ".tar.gz")) > - (sha256 > - (base32 > - "1fg6nf1plvgimc57fsdr9rcjbf7jvmk5jrlj5ya509vpdcdgvj2s")) > - (file-name (string-append name "-" version ".tar.gz")))) > - (build-system gnu-build-system) > - (arguments > - `(#:phases > - (modify-phases %standard-phases > - (delete 'configure) ; no configure phase > - (add-after 'install 'emacs-install > - (lambda* (#:key inputs outputs #:allow-other-keys) > - (let* ((out (assoc-ref outputs "out")) > - (dest (string-append out "/share/emacs/site-lisp")) > - (emacs (string-append (assoc-ref inputs "emacs") "/b= in/emacs"))) > - (install-file "google-translate-mode.el" dest) > - (emacs-generate-autoloads ,name dest))))) > - #:make-flags (list (string-append "PREFIX=3D" %output)) > - #:imported-modules (,@%gnu-build-system-modules (guix build emacs= -utils)) > - #:modules ((guix build gnu-build-system) > - (guix build emacs-utils) > - (guix build utils)) > - #:test-target "test")) > - (propagated-inputs > - `(("curl" ,curl) > - ("fribidi" ,fribidi) > - ("rlwrap" ,rlwrap))) > - (native-inputs > - `(("emacs" ,emacs-minimal) > - ("util-linux" ,util-linux))) ; hexdump, for the test > - (home-page "https://www.soimort.org/translate-shell/") > - (synopsis "Translations from the command line") > - (description > - "Translate Shell (formerly Google Translate CLI) is a command-line > + (let ((commit "bb9f32d3145125ba664b6b05bf0a2fd34108e9d2")) > + (package > + (name "translate-shell") > + (version (git-version "0.9.6.7" "1" commit)) There are only five commits since this version. I assume the git checkout is because of the patch that adds "NETWORK_ACCESS"? The patch itself is smaller than the reindent from the let binding, so I would prefer to simply add it. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlq5NeYACgkQoqBt8qM6 VPoK9AgAk9z2Tye5C8atlU1vZJUiHOSvMmnj20ywfOcY+WDuXpwTYQ3pKFcuS2Af WHAFLtEVhBK3wzL2Cno4ueWE9QfW0i8ZCAofEqIojQ38o7xoS3lSw0jnAh0ONvkO ND/nKm3BrJIo5gw+3hcXPLG+eCtCl1BjFXwMeT78OoqdFZjchvmKt1Ruojru3x8n FK9X+M7CS+m+mnI5aVgHTyXq0NhLLnifftNvEHCDIPZpJiiyAtI+Hzok4qnUV9Yd 3Va4mdKNjOCc83no4vWnXY56xnQzWc0Hq7h8aO/CY5vrnvbvduU9OsL7LNFHScXN EGT5Ab3pIZVgpf5GTK3yLBw09uydow== =BF3E -----END PGP SIGNATURE----- --=-=-=--