unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Roel Janssen <roel@gnu.org>
To: 31219@debbugs.gnu.org
Subject: [bug#31219] Fix build for ansible.
Date: Thu, 19 Apr 2018 19:30:02 +0200	[thread overview]
Message-ID: <87k1t3w1d1.fsf@gnu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 130 bytes --]

Dear Guix,

The following two patches fix the build for Ansible:
https://hydra.gnu.org/build/2642846

Kind regards,
Roel Janssen


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-python2-pynacl.patch --]
[-- Type: text/x-patch, Size: 852 bytes --]

From f3eab21e245f804c8e5c5411720d21b8698cfb1d Mon Sep 17 00:00:00 2001
From: Roel Janssen <roel@gnu.org>
Date: Thu, 19 Apr 2018 19:27:05 +0200
Subject: [PATCH 1/2] gnu: Add python2-pynacl.

* gnu/packages/python-crypto.scm (python2-pynacl): New variable.
---
 gnu/packages/python-crypto.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index bf868b14d..9d1c19744 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -618,6 +618,9 @@ Networking and Cryptography library.  These libraries have a stated goal
 of improving usability, security and speed.")
     (license license:asl2.0)))
 
+(define-public python2-pynacl
+  (package-with-python2 python-pynacl))
+
 (define-public python2-pgpdump
   (package
     (name "python2-pgpdump")
-- 
2.17.0


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: 0002-gnu-ansible-Add-python2-bcrypt-and-python2-pynacl-fo.patch --]
[-- Type: text/x-patch, Size: 1259 bytes --]

From d9b75fe1b3977ee304921dbaa71c6ac3cde3de95 Mon Sep 17 00:00:00 2001
From: Roel Janssen <roel@gnu.org>
Date: Thu, 19 Apr 2018 19:27:29 +0200
Subject: [PATCH 2/2] gnu: ansible: Add python2-bcrypt and python2-pynacl for
 running tests.

* gnu/packages/admin.scm (ansible): Add python2-bcrypt and python2-pynacl.
---
 gnu/packages/admin.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 5b47d5fae..161295758 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -1526,11 +1526,13 @@ of supported upstream metrics systems simultaneously.")
        (patches (search-patches "ansible-wrap-program-hack.patch"))))
     (build-system python-build-system)
     (native-inputs
-     `(("python2-pycrypto" ,python2-pycrypto)
+     `(("python2-bcrypt" ,python2-bcrypt)
+       ("python2-pycrypto" ,python2-pycrypto)
        ("python2-httplib2" ,python2-httplib2)
        ("python2-passlib" ,python2-passlib)
        ("python2-nose" ,python2-nose)
        ("python2-mock" ,python2-mock)
+       ("python2-pynacl" ,python2-pynacl)
        ("python2-jinja2" ,python2-jinja2)
        ("python2-pyyaml" ,python2-pyyaml)
        ("python2-paramiko" ,python2-paramiko)))
-- 
2.17.0


             reply	other threads:[~2018-04-19 17:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-19 17:30 Roel Janssen [this message]
2018-04-23 20:32 ` [bug#31219] Fix build for ansible Efraim Flashner

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=87k1t3w1d1.fsf@gnu.org \
    --to=roel@gnu.org \
    --cc=31219@debbugs.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).