From: "Clément Lassieur" <clement@lassieur.org>
To: guix-devel@gnu.org
Subject: [PATCH] gnu: Add python-git-review.
Date: Thu, 8 Sep 2016 14:28:44 +0200 [thread overview]
Message-ID: <20160908122844.15194-1-clement@lassieur.org> (raw)
In-Reply-To: <20160908101624.GF12493@macbook42.flashner.co.il>
* gnu/packages/openstack.scm (python-git-review, python2-git-review): New variables.
---
gnu/packages/openstack.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 8474904..4cb38a9 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Cyril Roelandt <tipecaml@gmail.com>
;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016 Clément Lassieur <clement@lassieur.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -20,6 +21,7 @@
(define-module (gnu packages openstack)
#:use-module (gnu packages python)
#:use-module (gnu packages tls)
+ #:use-module (gnu packages version-control)
#:use-module (guix build-system python)
#:use-module (guix download)
#:use-module ((guix licenses)
@@ -781,3 +783,35 @@ permanence.")
("python2-oslosphinx" ,python2-oslosphinx)
,@(fold alist-delete (package-native-inputs swiftclient)
'("python-keystoneclient" "python-oslosphinx")))))))
+
+(define-public python-git-review
+ (package
+ (name "python-git-review")
+ (version "1.25.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "git-review" version))
+ (sha256
+ (base32
+ "07d1jn9ryff5j5ic6qj5pbk10m1ccmpllj0wyalrcms1q9yhlzh8"))))
+ (build-system python-build-system)
+ (arguments `(#:tests? #f)) ; tests require a running Gerrit server
+ (native-inputs
+ `(("python-pbr" ,python-pbr)))
+ (inputs
+ `(("python-requests" ,python-requests)
+ ("git" ,git)))
+ (home-page "http://docs.openstack.org/infra/git-review/")
+ (synopsis "Command-line tool for Gerrit")
+ (description
+ "Git-review is a command-line tool that helps submitting Git branches to
+Gerrit for review, or fetching existing ones.")
+ (license asl2.0)))
+
+(define-public python2-git-review
+ (let ((base (package-with-python2 (strip-python2-variant python-git-review))))
+ (package (inherit base)
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs base))))))
--
2.10.0
next prev parent reply other threads:[~2016-09-08 12:29 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-08 7:06 [PATCH] gnu: Add git-review Clément Lassieur
2016-09-08 7:37 ` Vincent Legoll
2016-09-08 10:16 ` Efraim Flashner
2016-09-08 12:28 ` Clément Lassieur [this message]
2016-09-08 17:45 ` [PATCH] gnu: Add python-git-review Efraim Flashner
2016-09-08 12:28 ` [PATCH] gnu: Add git-review Ben Woodcroft
2016-09-08 17:58 ` Efraim Flashner
2016-09-09 16:24 ` Clément Lassieur
2016-09-09 20:27 ` Clément Lassieur
2016-09-08 18:32 ` Efraim Flashner
2016-09-09 8:23 ` Clément Lassieur
2016-09-09 15:00 ` Efraim Flashner
2016-09-09 16:09 ` Clément Lassieur
2016-09-10 19:05 ` Efraim Flashner
2016-09-10 21:13 ` [PATCH] gnu: python-git-review: Wrap it so 'git', 'ssh' and 'scp' are found Clément Lassieur
2016-09-11 7:05 ` Efraim Flashner
2016-09-10 21:25 ` [PATCH] gnu: Add git-review Clément Lassieur
2016-09-09 18:49 ` Alex Kost
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160908122844.15194-1-clement@lassieur.org \
--to=clement@lassieur.org \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.