From: Eric Dvorsak <yenda1@gmail.com>
To: guix-devel@gnu.org
Subject: [PATCH] python2-ansible, python-ccm and dependencies
Date: Fri, 24 Jul 2015 18:21:17 +0200 [thread overview]
Message-ID: <CAC9VnsKE1L-XaWmoNA2KjPC1KJ6HDEP25PrSdkBh=BSAFoOa2g@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 337 bytes --]
I added the following package definitions to python.scm :
- python2-ansible
- python-passlib
- python-py-bcrypt
- python-paramiko
- python-httplib2
- python-ecdsa
- python-ccm
This is my first commit ever so if I did something wrong or missed a step
in the process please let me know so I can improve for the next ones.
Eric Dvorsak.
[-- Attachment #1.2: Type: text/html, Size: 498 bytes --]
[-- Attachment #2: 0002-Add-python-ccm-python2-ansible-and-dependencies.patch --]
[-- Type: text/x-patch, Size: 7254 bytes --]
From e766bb8c21294c02d7db19f9789fa0c96c772fae Mon Sep 17 00:00:00 2001
From: Eric Dvorsak <yenda1@gmail.com>
Date: Fri, 24 Jul 2015 18:09:48 +0200
Subject: [PATCH 2/2] Add python-ccm, python2-ansible and dependencies
---
gnu/packages/python.scm | 213 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 213 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 7709fbd..9ac997d 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -297,6 +297,219 @@ pidof, tty, taskset, pmap.")
(define-public python2-psutil
(package-with-python2 python-psutil))
+(define-public python2-ansible
+ (package
+ (name "python2-ansible")
+ (version "1.9.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/source/a/ansible/ansible-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "007fzgsqaahb0y4gjdxxmir9kcni7wph2z14jhqgpz88idrz8pn2"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python2-httplib2" ,python2-httplib2)
+ ("python2-passlib" ,python2-passlib)
+ ("python2-nose" ,python2-nose)
+ ("python2-mock" ,python2-mock)
+ ("python2-jinja2" ,python2-jinja2)
+ ("python2-pyyaml" ,python2-pyyaml)
+ ("python2-paramiko" ,python2-paramiko)))
+ (inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ("python2-jinja2" ,python2-jinja2)
+ ("python2-pyyaml" ,python2-pyyaml)
+ ("python2-paramiko" ,python2-paramiko)))
+ (arguments
+ `(#:python ,python-2)) ; incompatible with Python 3
+ (home-page "http://ansible.com/")
+ (synopsis "Radically simple IT automation")
+ (description "Radically simple IT automation")
+ (license gpl3)))
+
+(define-public python-passlib
+ (package
+ (name "python-passlib")
+ (version "1.6.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/source/p/passlib/passlib-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0b9rd161b3mmiwd7nx1v599yh9sp07mlfwac65sjy9qn1l0gd1z9"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-nose" ,python-nose)
+ ("python-py-bcrypt" ,python-py-bcrypt)
+ ("python-setuptools" ,python-setuptools)))
+ (arguments
+ `(#:phases
+ (alist-cons-before
+ 'check 'set-PYTHON_EGG_CACHE
+ ;; some tests require access to "$HOME/.cython"
+ (lambda* _ (setenv "PYTHON_EGG_CACHE" "/tmp"))
+ %standard-phases)))
+ (home-page "http://passlib.googlecode.com")
+ (synopsis
+ "Comprehensive password hashing framework supporting over 30 schemes")
+ (description
+ "Comprehensive password hashing framework supporting over 30 schemes")
+ (license bsd-3))
+ )
+
+(define-public python2-passlib
+ (package-with-python2 python-passlib))
+
+(define-public python-py-bcrypt
+ (package
+ (name "python-py-bcrypt")
+ (version "0.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/source/p/py-bcrypt/py-bcrypt-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0y6smdggwi5s72v6p1nn53dg6w05hna3d264cq6kas0lap73p8az"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-setuptools" ,python-setuptools)))
+ (home-page "https://code.google.com/p/py-bcrypt")
+ (synopsis
+ "Bcrypt password hashing and key derivation")
+ (description
+ "Bcrypt password hashing and key derivation")
+ (license bsd-3)))
+
+(define-public python2-py-bcrypt
+ (package-with-python2 python-py-bcrypt))
+
+
+(define-public python-paramiko
+ (package
+ (name "python-paramiko")
+ (version "1.15.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/source/p/paramiko/paramiko-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0mbfzm9zlrz6mla9xakrm8wkll3x035f9rj3c5pbgjzfldqscmjg"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-ecdsa" ,python-ecdsa)
+ ("python-pycrypto" ,python-pycrypto)
+ ("python-setuptools" ,python-setuptools)))
+ (propagated-inputs
+ `(("python2-pycrypto" ,python2-pycrypto)))
+ (home-page
+ "https://github.com/paramiko/paramiko/")
+ (synopsis "SSH2 protocol library")
+ (description "SSH2 protocol library")
+ (license lgpl2.1)))
+
+(define-public python2-paramiko
+ (package-with-python2 python-paramiko))
+
+
+(define-public python-httplib2
+ (package
+ (name "python-httplib2")
+ (version "0.9.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/source/h/httplib2/httplib2-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1xc3clbrf77r0600kja71j7hk1218sjiq0gfmb8vjdajka8kjqxw"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-setuptools" ,python-setuptools)))
+ (home-page
+ "https://github.com/jcgregorio/httplib2")
+ (synopsis "Comprehensive HTTP client library")
+ (description
+ "A comprehensive HTTP client library.")
+ (license license:expat)))
+
+(define-public python2-httplib2
+ (package-with-python2 python-httplib2))
+
+(define-public python-ecdsa
+ (package
+ (name "python-ecdsa")
+ (version "0.13")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/source/e/ecdsa/ecdsa-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1yj31j0asmrx4an9xvsaj2icdmzy6pw0glfpqrrkrphwdpi1xkv4"))))
+ (build-system python-build-system)
+ (inputs
+ `(("openssl" ,openssl)
+ ("python-setuptools" ,python-setuptools)))
+ (home-page
+ "http://github.com/warner/python-ecdsa")
+ (synopsis
+ "ECDSA cryptographic signature library (pure python)")
+ (description
+ "ECDSA cryptographic signature library (pure python)")
+ (license license:expat)))
+
+(define-public python2-ecdsa
+ (package-with-python2 python-ecdsa))
+
+(define-public python-ccm
+ (package
+ (name "python-ccm")
+ (version "2.0.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/source/c/ccm/ccm-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "199jw221albs2iv6xczczq88fxnh0aw8hzmys8qkbzkd99dssng9"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-pyyaml" ,python-pyyaml)
+ ("python-six" ,python-six)
+ ("python-setuptools" ,python-setuptools)))
+ (home-page "https://github.com/pcmanus/ccm")
+ (synopsis "Cassandra Cluster Manager")
+ (description "Cassandra Cluster Manager")
+ (license asl2.0)))
+
+(define-public python2-ccm
+ (package-with-python2 python-ccm))
(define-public python-pytz
(package
(name "python-pytz")
--
2.4.3
[-- Attachment #3: 0001-gnu-git-modes-Add-file-name-field-to-source-origin.patch --]
[-- Type: text/x-patch, Size: 946 bytes --]
From 8fd3c1ff6e9ca0084d4ac6c2c515da093b2a7664 Mon Sep 17 00:00:00 2001
From: Mark H Weaver <mhw@netris.org>
Date: Wed, 22 Jul 2015 03:33:36 -0400
Subject: [PATCH 1/2] gnu: git-modes: Add file-name field to source origin.
* gnu/packages/emacs.scm (git-modes)[source]: Add 'file-name' field.
---
gnu/packages/emacs.scm | 1 +
1 file changed, 1 insertion(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index d393e69..5074ab7 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -272,6 +272,7 @@ when typing parentheses directly or commenting out code line by line.")
(uri (string-append
"https://github.com/magit/git-modes/archive/"
version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1biiss75bswx4alk85k3g9p0a3q3sc9i74h4mnrxc2rsk2iwhws0"))))
--
2.4.3
next reply other threads:[~2015-07-24 16:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-24 16:21 Eric Dvorsak [this message]
2015-07-25 9:28 ` [PATCH] python2-ansible, python-ccm and dependencies Alex Kost
2015-07-25 10:07 ` Ricardo Wurmus
2015-07-25 19:58 ` Eric Dvorsak
2015-07-26 9:56 ` Alex Kost
2015-07-26 12:05 ` Eric Dvorsak
2015-07-29 9:51 ` Alex Kost
2015-07-31 8:06 ` 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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAC9VnsKE1L-XaWmoNA2KjPC1KJ6HDEP25PrSdkBh=BSAFoOa2g@mail.gmail.com' \
--to=yenda1@gmail.com \
--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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).