From: Oleg Pykhalov <go.wigust@gmail.com>
To: Leo Famulari <leo@famulari.name>
Cc: 27913@debbugs.gnu.org
Subject: [bug#27913] [PATCH 2/2] gnu: Add python-ghp-import.
Date: Sun, 20 Aug 2017 00:20:03 +0300 [thread overview]
Message-ID: <8760dj8dbw.fsf_-_@gmail.com> (raw)
In-Reply-To: <87k21z8di7.fsf_-_@gmail.com> (Oleg Pykhalov's message of "Sun, 20 Aug 2017 00:16:16 +0300")
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: [PATCH 2/2] gnu: Add python-ghp-import. --]
[-- Type: text/x-patch, Size: 2210 bytes --]
From 68ae12d2aaf08e23d48bd6ed785704ffaa3d4da6 Mon Sep 17 00:00:00 2001
From: Oleg Pykhalov <go.wigust@gmail.com>
Date: Sun, 20 Aug 2017 00:05:15 +0300
Subject: [PATCH 2/2] gnu: Add python-ghp-import.
* gnu/packages/version-control.scm (python-ghp-import, python2-ghp-import):
New variable.
---
gnu/packages/version-control.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 2e17201a5..da2961e20 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -520,6 +520,40 @@ collaboration using typical untrusted file hosts or services.")
a built-in cache to decrease server I/O pressure.")
(license license:gpl2)))
+(define-public python-ghp-import
+ (package
+ (name "python-ghp-import")
+ (version "0.5.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/davisp/ghp-import/archive/"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0x887v690xsac2hzjkpbvp3a6crh3m08mqbk3nb4xwc9dnk869q7"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ (add-after 'install 'install-documentation
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (doc (string-append out "/share/doc"))
+ (licenses (string-append out "/share/licenses")))
+ (install-file "README.md" doc)
+ (install-file "LICENSE" licenses)))))))
+ (home-page "https://github.com/davisp/ghp-import")
+ (synopsis "Copy directory to the gh-pages branch")
+ (description "Script that copies a directory to the gh-pages branch (by
+default) of the repository.")
+ (license license:tumbolia)))
+
+(define-public python2-ghp-import
+ (package-with-python2
+ (strip-python2-variant python-ghp-import)))
+
(define-public shflags
(package
(name "shflags")
--
2.14.1
next prev parent reply other threads:[~2017-08-19 21:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-02 3:38 [bug#27913] [PATCH] gnu: Add python-ghp-import Oleg Pykhalov
[not found] ` <handler.27913.B.150164512919572.ack@debbugs.gnu.org>
2017-08-02 16:15 ` [bug#27913] Acknowledgement ([PATCH] gnu: Add python-ghp-import.) Oleg Pykhalov
2017-08-02 20:01 ` Leo Famulari
2017-08-03 18:48 ` Oleg Pykhalov
2017-08-19 21:16 ` [bug#27913] [PATCH 0/2] Add python-ghp-import Oleg Pykhalov
2017-08-19 21:19 ` [bug#27913] [PATCH 1/2] licenses: Add tumbolia license Oleg Pykhalov
2017-08-19 21:20 ` Oleg Pykhalov [this message]
2017-09-04 13:25 ` bug#27913: [PATCH 2/2] gnu: Add python-ghp-import Ludovic Courtès
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=8760dj8dbw.fsf_-_@gmail.com \
--to=go.wigust@gmail.com \
--cc=27913@debbugs.gnu.org \
--cc=leo@famulari.name \
/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.