From e766bb8c21294c02d7db19f9789fa0c96c772fae Mon Sep 17 00:00:00 2001 From: Eric Dvorsak 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