Re: Guix on a Dell XPS 13 DE - 9350

2016-07-02 Thread Jan Nieuwenhuizen
Ludovic Courtès writes:

> It fails to build here:
>
> starting phase `check'
> make: *** No rule to make target 'check'.  Stop.
> phase `check' failed after 0.0 seconds

Here also.  Weird.  Added

 `(#:test-target "test"

>> +(license gpl2)))
>
> Version 2 only?

Yes, double checked.

> Could you send an updated patch?

Sure, find attached.

>> * gnu/system/linux-initrd.scm (base-initrd): Add nvme to linux-modules.
>
> Applied!

Thanks!

>> From 37ab729322b21acd325b43c97b47c8e217635cd1 Mon Sep 17 00:00:00 2001
>> From: Jan Nieuwenhuizen 
>> Date: Fri, 17 Jun 2016 13:45:28 +0200
>> Subject: [PATCH 3/4] nix: Allow ~ in store names.
>>
>> * nix/libstore/store-api.cc (checkStoreName): Add ~ to validChars.
>
> Nack!  :-)  This looks like a can of worms, so I’d rather change the GRUB
> version name.

Fine! :-)

>>  (name "grub")
>> -(version "2.00")
>> +(version "2.02~beta3")
>
> Could you make it “2.02beta3”?

Okay...

>>  (source (origin
>>   (method url-fetch)
>> - (uri (string-append "mirror://gnu/grub/grub-"
>> - version ".tar.xz"))
>> + (uri (string-append
>> +   "ftp://alpha.gnu.org/gnu/grub/grub-";
>> +   version ".tar.xz"))

> Likewise, add a ‘file-name’ here to avoid “~”.

Ah, that's what I've been missing.  Thanks!

>>  (arguments
>>   '(#:configure-flags '("--disable-werror")
>> +   #:tests? #f ;; fail
>
> That’s cheating.  :-)
>
> Could you explain why/how it fails?  I would rather address it or at
> least make sure we have a good understanding of what’s going on.

Added

+ '(;; two warnings: suggest braces, signed/unsigned comparison
+   #:configure-flags '("--disable-werror")

these seem harmless...

and this one test

+ ;; fails
+ (substitute* "tests/grub_func_test.in"
+   (("set -e") "exit 77\nset -e")))

fails, I haven't looked into whether it's a new test or what it does or
why it may fail.

Greetings,
Jan

>From aa977fad90feb68ecafbfdb377734d91e4203856 Mon Sep 17 00:00:00 2001
From: Jan Nieuwenhuizen 
Date: Thu, 16 Jun 2016 23:58:45 +0200
Subject: [PATCH 1/2] gnu: Add gptfdisk.

* gnu/packages/disk.scm (gptfdisk): New variable.
---
 gnu/packages/disk.scm | 44 
 1 file changed, 44 insertions(+)

diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index c60eacb..d5734be 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -4,6 +4,7 @@
 ;;; Copyright © 2015 Mark H Weaver 
 ;;; Copyright © 2016 Tobias Geerinckx-Rice 
 ;;; Copyright © 2016 Efraim Flashner 
+;;; Copyright © 2016 Jan Nieuwenhuizen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -25,9 +26,12 @@
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix build-system gnu)
+  #:use-module (gnu packages)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages linux)
+  #:use-module (gnu packages ncurses)
   #:use-module (gnu packages perl)
+  #:use-module (gnu packages popt)
   #:use-module (gnu packages python)
   #:use-module (gnu packages readline)
   #:use-module (gnu packages guile)
@@ -97,6 +101,46 @@ fdisk.  fdisk is used for the creation and manipulation of disk partition
 tables, and it understands a variety of different formats.")
 (license gpl3+)))
 
+(define-public gptfdisk
+  (package
+(name "gptfdisk")
+(version "1.0.1")
+(source
+ (origin
+  (method url-fetch)
+  (uri (string-append "mirror://sourceforge/gptfdisk/" version "/"
+  name "-" version ".tar.gz"))
+  (sha256
+   (base32
+"1izazbyv5n2d81qdym77i8mg9m870hiydmq4d0s51npx5vp8lk46"
+(build-system gnu-build-system)
+(inputs
+ `(("gettext" ,gnu-gettext)
+   ("ncurses" ,ncurses)
+   ("popt" ,popt)
+   ("util-linux" ,util-linux))) ; libuuid
+(arguments
+ `(#:test-target "test"
+   #:phases
+   (modify-phases %standard-phases
+ ;; no configure script
+ (delete 'configure)
+ ;; no install target
+ (replace 'install
+   (lambda* (#:key outputs #:allow-other-keys)
+ (let ((bin (string-append (assoc-ref outputs "out") "/bin")))
+   (install-file "gdisk" bin)
+   (install-file "sgdisk" bin)
+   (install-file "cgdisk" bin)
+   (install-file "fixparts" bin)))
+(home-page "http://www.rodsbooks.com/gdisk/";)
+(synopsis "Low-level GPT disk partitioning and formatting")
+(description "GPT fdisk (aka gdisk) is a text-mode partitioning tool that
+works on Globally Unique Identifier (GUID) Partition Table (GPT) disks, rather
+than on the more common (through 2009) Master Boot Record (MBR) partition
+tables.")
+(license gpl2)))
+
 (define-public ddrescue
   (package
 (name "ddrescue")
-- 
2.8.4

>From c86003e7a0f1c48e34effe9a909ce79cd9773fdd Mon Se

Re: [PATCH 3/5] gnu: Add python-snowballstemmer.

2016-07-02 Thread 宋文武
Leo Famulari  writes:

> * gnu/packages/python.scm (python-snowballstemmer, python2-snowballstemmer): 
> New
> variables.
> ---
>  gnu/packages/python.scm | 22 ++
>  1 file changed, 22 insertions(+)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 4eed92f..73312e8 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -9746,3 +9746,25 @@ default Sphinx theme.")
>(native-inputs
> `(("python2-setuptools" ,python2-setuptools)
>   ,@(package-native-inputs base))
> +
> +(define-public python-snowballstemmer
> +  (package
> +(name "python-snowballstemmer")
> +(version "1.2.1")
> +(source (origin
> +  (method url-fetch)
> +  (uri (pypi-uri "snowballstemmer" version))
> +  (sha256
> +   (base32
> +"0a0idq4y5frv7qsg2x62jd7rd272749xk4x99misf5rcifk2d7wi"
> +(build-system python-build-system)
> +(arguments
> + `(#:tests? #f)) ; no test suite
> +(synopsis "Snowball stemming library collection for Python")
> +(description "This package provides 16 stemmer algorithms generated from
> +Snowball algorithms")
Missing period.



Re: [PATCH 0/5] Sphinx reproducibility update

2016-07-02 Thread 宋文武
Leo Famulari  writes:
> [...]
>
> With this change, many Python 2 packages will become reproducible, at
> least on a single machine; the only thing holding them back was the
> manpage timestamps.
Cool!

>
> These changes will require 142 rebuilds, mostly of Python packages, but
> also of libreoffice (libreoffice seems to depend on *everything*) and a
> few others. If the patches are good, should they go to master or to
> another branch?
>
I prefer master, and I guess people who use libreoffice don't update it
frequently (we have a old version, but no one complain so far).



Re: python-pycairo in core-updates (Re: core-updates!)

2016-07-02 Thread Ludovic Courtès
Hi,

iyzs...@member.fsf.org (宋文武) skribis:

> Hi, python-wrapper has a broken `python3-config', which
> output cflags to the wrapper instead of the origin python3,
> leading the build failure of python-pycairo.

So it appears to resolve the CFLAGS it returns relative to its own
argv[0] or /proc/self/exe, right?

Eventually we should fix this and reinstate this commit, but reverting
it was the right thing in the short term.

Thank you!

Ludo’.



Re: gnunet-fs integration

2016-07-02 Thread Ludovic Courtès
Hello,

n...@we.make.ritual.n0.is skribis:

> While I'm still new to guile and guix, one of my main motivations
> since I started contributing to guix was an item on the end of
> the roadmap, using a decentralized system to distribute updates.

I think many of us dream of such a thing.  :-)

> At the moment I assume that the following items and steps are
> what's left to get closer to this system:
>
> 1. an up to date GNUnet
>a. 0.10.1 of gnunet-fs is not compatible to 0.9,
>   gnunet-svn of gnunet-fs is not compatible to 0.10.1
>   https://gnunet.org/bot/log/gnunet/2016-06-23#T1067897

Unfortunately GNUnet hasn’t seen any release since April 2014, which I
find worrying.

It may be worth considering other options such as IPFS and Bittorrent,
even though they obviously have different properties.

> 2. GNUnet system service for shepherd
>a. it needs a basic service to start with, ideally we
>   provide what gnunet-setup does through an extended
>   system-service later on

This would be could.  I discussed it with tg(x) in November but never
took the time to actually do it.

> 3. stitching together the guile GNUnet bindings
>with additions to mechanisms which are
>at least guix {publish,pull,package}.

Note that Rémi, who worked on this for GSoC, posted prototypes for the
publish and substitute code (along with the bindings themselves, which
are available as the ‘guile-gnunet’ package in Guix.)  It’s probably a
good idea to revive them and see how far you can get.

Glad to see more work in this area!

Ludo’.



Re: GIMP: Fix CVE-2016-4994

2016-07-02 Thread Ludovic Courtès
Leo Famulari  skribis:

> GIMP has a use-after-free bug related to XCF file parsing that allows
> arbitrary code execution:
> https://security-tracker.debian.org/tracker/CVE-2016-4994
> https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-4994
>
> This patch cherry-picks the upstream commit from the gimp-2-8 branch:
> https://git.gnome.org/browse/gimp/commit/?h=gimp-2-8&id=e82aaa4b4ee0703c879e35ea9321fff6be3e9b6f

Go for it!

Thank you for taking care of it, as usual!

Ludo’.



Re: [PATCH] midicsv: new package

2016-07-02 Thread Ludovic Courtès
Hi,

John J Foerch  skribis:

> From 15e6c06398fa8d340b70da391f90e6c69e613f70 Mon Sep 17 00:00:00 2001
> From: "John J. Foerch" 
> Date: Fri, 1 Jul 2016 21:26:55 -0400
> Subject: [PATCH] gnu: midicsv: new package
>
> ---
>  gnu/packages/music.scm | 28 
>  1 file changed, 28 insertions(+)

I committed it with a GNU-style commit log, and added a copyright line
for yourself (let me know if I got it wrong).

> +(synopsis "convert MIDI files to and from CSV")
  ^
I also capitalized this.

These are all cosmetic details; you can read about these and other
conventions at
.

Thank you for this patch and welcome!  :-)

Ludo’.



Re: [PATCH 1/2] gnu: Add xfontsel.

2016-07-02 Thread Ludovic Courtès
Alex Kost  skribis:

> * gnu/packages/xorg.scm (xfontsel): New variable.

All good!

Thanks,
Ludo’.



Re: [PATCH 2/2] gnu: Add xfd.

2016-07-02 Thread Ludovic Courtès
Alex Kost  skribis:

> * gnu/packages/xorg.scm (xfd): New variable.

[...]

> +(native-inputs
> + `(("gettext" ,gnu-gettext)

Is Gettext really needed?

Otherwise LGTM, thanks!

Ludo’.



Re: [PATCH] gnu: perl-text-diff: Update perl-text-diff.

2016-07-02 Thread Ludovic Courtès
Alex Sassmannshausen  skribis:

> * gnu/packages/perl.scm (perl-text-diff): Correct URL, update to 1.44.

Applied, thanks!

Ludo’.



CPAN updater

2016-07-02 Thread Ludovic Courtès
Eric Bavier  skribis:

> BTW, I have a WIP cpan updater for 'guix refresh'.  If you're
> interested in trying it out I can post a patch.

Awesome!  Somehow I thought we already had it.

> Home-page/source URL changes seem to be something that happens
> semi-regularly on CPAN, but AFAIK our updater framework cannot handle
> such things.

Indeed.  We could/should change ‘update-package-source’ in (guix
upstream) to update not only the version number and hash, but also the
URL.

Ludo’.



Re: [PATCH 1/2] gnu: Add perl-test-class.

2016-07-02 Thread Ludovic Courtès
Alex Sassmannshausen  skribis:

> * gnu/packages/perl.scm (perl-test-class): New variable.

[...]

> +(description "Test::Class provides a simple way of creating classes and
> +objects to test your code in an xUnit style.
> +
> +Built using Test::Builder, it was designed to work with other Test::Builder
> +based modules (Test::More, Test::Differences, Test::Exception, etc.).")

Applied with @code here and with a copyright line for you, thanks!

Ludo’.



Re: [PATCH 2/2] gnu: Add perl-test-class-most.

2016-07-02 Thread Ludovic Courtès
Alex Sassmannshausen  skribis:

> * gnu/packages/perl.scm (perl-test-class-most): New variable.

Applied, thanks.

Ludo’.



Re: [PATCH 1/3] gnu: Add perl-perlio-utf8_strict.

2016-07-02 Thread Ludovic Courtès
Alex Sassmannshausen  skribis:

> * gnu/packages/perl.scm (perl-perlio-utf8_strict): New variable.

[...]

> +(define-public perl-perlio-utf8_strict
> +  (package
> +(name "perl-perlio-utf8_strict")

I changed the name to use a hyphen instead of an underscore.

> +   (uri (string-append
> + 
> "https://cpan.metacpan.org/authors/id/L/LE/LEONT/PerlIO-utf8_strict-";

I changed this to mirror://cpan.

> +(description "PerlIO::utf8_strict provides a fast and correct UTF-8 
> PerlIO
> +layer.  Unlike perl's default :utf8 layer it checks the input for
> +correctness.")

And some @code here.

Thanks!

Ludo’.



Re: [PATCH 2/3] gnu: Add perl-mixin-linewise.

2016-07-02 Thread Ludovic Courtès
Alex Sassmannshausen  skribis:

> * gnu/packages/perl.scm (perl-mixin-linewise): New variable.

Applied with mirror://cpan and a couple of @code.  Thanks.

Ludo’.



Re: [PATCH 3/3] gnu: Add perl-config-ini.

2016-07-02 Thread Ludovic Courtès
Alex Sassmannshausen  skribis:

> * gnu/packages/perl.scm (perl-config-ini): New variable.

Applied!



Re: gnunet-fs integration

2016-07-02 Thread ng0
Hi,

Ludovic Courtès writes:

> Hello,
>
> n...@we.make.ritual.n0.is skribis:
>
>> While I'm still new to guile and guix, one of my main motivations
>> since I started contributing to guix was an item on the end of
>> the roadmap, using a decentralized system to distribute updates.
>
> I think many of us dream of such a thing.  :-)
>
>> At the moment I assume that the following items and steps are
>> what's left to get closer to this system:
>>
>> 1. an up to date GNUnet
>>a. 0.10.1 of gnunet-fs is not compatible to 0.9,
>>   gnunet-svn of gnunet-fs is not compatible to 0.10.1
>>   https://gnunet.org/bot/log/gnunet/2016-06-23#T1067897
>
> Unfortunately GNUnet hasn’t seen any release since April 2014, which I
> find worrying.

Work is done towards 0.10.2, there are just some bugtickets left
but I can assure you that work is happening regulary and its
alive and well :)
I take the current incompabilities between 0.10.1 and svn in
consideration with the writing of the distributing system. from
what I know, I think it will be fixed with the release of 0.10.2

https://gnunet.org/bugs/roadmap_page.php
I'm fairly positive that 0.10.2 will be released soon, but I'll
ask Christian if there's a new ETA now.
Mantis says for gnunet 303 of 308 issue(s) resolved. Progress
(98%). for gnunet-gtk: 100% for 0.10.2

> It may be worth considering other options such as IPFS and Bittorrent,
> even though they obviously have different properties.

That's true, but I chose gnunet-fs because I have more insight
and participation in gnunet than in bittorrent or ipfs.
For bittorrent I'd even consider the trackerless torrent variant
which is popular now.
But my main motivation is gnunet, which I will base this upon.

>> 2. GNUnet system service for shepherd
>>a. it needs a basic service to start with, ideally we
>>   provide what gnunet-setup does through an extended
>>   system-service later on
>
> This would be could.  I discussed it with tg(x) in November but never
> took the time to actually do it.
>
>> 3. stitching together the guile GNUnet bindings
>>with additions to mechanisms which are
>>at least guix {publish,pull,package}.
>
> Note that Rémi, who worked on this for GSoC, posted prototypes for the
> publish and substitute code (along with the bindings themselves, which
> are available as the ‘guile-gnunet’ package in Guix.)  It’s probably a
> good idea to revive them and see how far you can get.

Oh, I did not read everything of it all yet.
I added one more optional item to my list, which is add a method
for (source (origin)) to make use of the two relevant hash
methods which gnunet-fs uses.

If it was just for me, I'd not use 0.10.1 and go
straight for -svn pinned to a version and switch to 0.10.2 once
it is released, but I'd like to test and look for possibilities
to stay compatible. Maybe an 0.10.2 release happens while I write
this.

> Glad to see more work in this area!
>
> Ludo’.

--
♥Ⓐ  ng0
For non-prism friendly talk find me on
psyced.org / loupsycedyglgamf.onion



Re: [PATCH 0/3] Add miscelanious simple libraries.

2016-07-02 Thread Ludovic Courtès
Alex Sassmannshausen  skribis:

> Finally, for today, here 3 simple perl libraries that I also require for
> packaging bigger and better things :-)
>
> They all seemed simple enough, with no complications for `environment` or 
> `lint`.
>
> perl-guard did not return a license with `import`.  I checked the COPYING
> file, it just says it has the same license as PERL, so I set it to
> (package-license perl), as seems to be convention.

Perfect, that’s the right thing to do.

Ludo’.



Re: [PATCH 1/3] gnu: Add perl-file-zglob.

2016-07-02 Thread Ludovic Courtès
Alex Sassmannshausen  skribis:

> * gnu/packages/perl.scm (perl-file-zglob): New variable.

Applied with cosmetic changes to the synopsis, thanks!

Ludo’.



Re: [PATCH 3/3] gnu: Add perl-ipc-system-simple.

2016-07-02 Thread Ludovic Courtès
Alex Sassmannshausen  skribis:

> * gnu/packages/perl.scm (perl-ipc-system-simple): New variable.

Applied.

Thanks for this whole series!  :-)

Ludo’.



Re: [PATCH 1/3] gnu: mkfontdir: Do not propagate 'mkfontscale'.

2016-07-02 Thread Ludovic Courtès
Alex Kost  skribis:

> * gnu/packages/xorg.scm (mkfontdir)[propagated-inputs]: Move
> 'mkfontscale' to ...
> [inputs]: ... here.
> [arguments]: Add 'wrap-mkfontdir' phase.

LGTM!

Ludo’.



Re: [PATCH 2/3] profiles: Add fonts-dir-file hook.

2016-07-02 Thread Ludovic Courtès
Alex Kost  skribis:

> * guix/profiles.scm (fonts-dir-file): New procedure.
> (%default-profile-hooks): Add it.

[...]

> +(define (fonts-dir-file manifest)
> +  "Return a derivation that builds the @file{fonts.dir} and 
> @file{fonts.scale}
> +files for the truetype fonts of the @var{manifest} entries."
> +  (define mkfontscale
> +(module-ref (resolve-interface '(gnu packages xorg)) 'mkfontscale))
> +
> +  (define mkfontdir
> +(module-ref (resolve-interface '(gnu packages xorg)) 'mkfontdir))
> +
> +  (define build
> +#~(begin
> +(use-modules (srfi srfi-26)
> + (guix build utils)
> + (guix build union))
> +(let ((ttf-dirs (filter file-exists?
> +(map (cut string-append <>
> +  "/share/fonts/truetype")
> + '#$(manifest-inputs manifest)
> +  (mkdir #$output)
> +  (if (null? ttf-dirs)
> +  (exit #t)
> +  (let* ((fonts-dir   (string-append #$output "/share/fonts"))
> + (ttf-dir (string-append fonts-dir "/truetype"))
> + (mkfontscale (string-append #+mkfontscale
> + "/bin/mkfontscale"))
> + (mkfontdir   (string-append #+mkfontdir
> + "/bin/mkfontdir")))
> +(mkdir-p fonts-dir)
> +(union-build ttf-dir ttf-dirs
> + #:log-port (%make-void-port "w"))
> +(with-directory-excursion ttf-dir
> +  (exit (and (zero? (system* mkfontscale))
> + (zero? (system* mkfontdir))
> +
> +  (gexp->derivation "fonts-dir-file" build
> +#:modules '((guix build utils)
> +(guix build union))
> +#:local-build? #t
> +#:substitutable? #f))

A potential problem with this hook is that it pulls mkfontscale and
mkfontdir regardless of whether they are needed; I can’t really think of
a way to avoid it though.

Also, how does it relate to this:

  commit bf9655f57d2442d56661594b80f6d0031ca0ae73
  Author: Eric Bavier 
  Date:   Mon Oct 19 06:44:23 2015 -0500

  font-alias: Install dummy fonts.dir files.

  * gnu/packages/xorg.scm (font-alias)[arguments]: New 'install-fonts-dir'
phase.

?

Thanks,
Ludo’.



Re: [PATCH 3/3] doc: Describe how to make X server find TrueType fonts.

2016-07-02 Thread Ludovic Courtès
Alex Kost  skribis:

> * doc/guix.texi (Application Setup): Document how to add TrueType fonts
> installed in a Guix profile to the X server font path.

[...]

> @@ -1192,6 +1193,24 @@ to display fonts, you have to install fonts with Guix 
> as well.
>  Essential font packages include @code{gs-fonts}, @code{font-dejavu}, and
>  @code{font-gnu-freefont-ttf}.
>  
> +However, some programs do not support Fontconfig and rely on the X
> +server to recognize a font.

What about: “Older programs such as @command{xterm} do not use
Fontconfig and instead rely on server-side font rendering.”?

> Such programs require to specify a full
> +name of a font using XLFD (X Logical Font Description), like this:
> +
> +@example
> +-*-dejavu sans-medium-r-normal-*-*-100-*-*-*-*-*-1
> +@end example
> +
> +To be able to use such full names for the TrueType fonts installed in
> +your Guix profile, you need to extend the font path of the X server:
> +
> +@example
> +xset +fp ~/.guix-profile/share/fonts/truetype
> +@end example
> +
> +After that, you can run @code{xlsfonts} (from @code{xlsfonts} package)
> +to make sure your TrueType fonts are listed there.

OK.

>  To display text written in Chinese languages, Japanese, or Korean in
>  graphical applications, consider installing
>  @code{font-adobe-source-han-sans} or @code{font-wqy-zenhei}.  The former

I would move the new text below the paragraph about Chinese languages
(the paragraph about Chinese languages is about client-side rendering.)

Thanks!

Ludo’.



Re: [PATCH] midicsv: new package

2016-07-02 Thread John J Foerch
l...@gnu.org (Ludovic Courtès) writes:

> Hi,
>
> John J Foerch  skribis:
>
>> From 15e6c06398fa8d340b70da391f90e6c69e613f70 Mon Sep 17 00:00:00 2001
>> From: "John J. Foerch" 
>> Date: Fri, 1 Jul 2016 21:26:55 -0400
>> Subject: [PATCH] gnu: midicsv: new package
>>
>> ---
>>  gnu/packages/music.scm | 28 
>>  1 file changed, 28 insertions(+)
>
> I committed it with a GNU-style commit log, and added a copyright line
> for yourself (let me know if I got it wrong).
>
>> +(synopsis "convert MIDI files to and from CSV")
>   ^
> I also capitalized this.
>
> These are all cosmetic details; you can read about these and other
> conventions at
> .
>
> Thank you for this patch and welcome!  :-)
>
> Ludo’.

Thanks a lot!

--
John Foerch




Re: [PATCH 0/3] Add miscelanious simple libraries.

2016-07-02 Thread Alex Sassmannshausen
Hi Ludo,

Thank you for the reviews and commits!  Will take the feedback into
account for the next batch of patches :-)

Alex

Ludovic Courtès writes:

> Alex Sassmannshausen  skribis:
>
>> Finally, for today, here 3 simple perl libraries that I also require for
>> packaging bigger and better things :-)
>>
>> They all seemed simple enough, with no complications for `environment` or 
>> `lint`.
>>
>> perl-guard did not return a license with `import`.  I checked the COPYING
>> file, it just says it has the same license as PERL, so I set it to
>> (package-license perl), as seems to be convention.
>
> Perfect, that’s the right thing to do.
>
> Ludo’.




Re: [PATCH 2/2] gnu: Add xfd.

2016-07-02 Thread Alex Kost
Ludovic Courtès (2016-07-02 16:31 +0300) wrote:

> Alex Kost  skribis:
>
>> * gnu/packages/xorg.scm (xfd): New variable.
>
> [...]
>
>> +(native-inputs
>> + `(("gettext" ,gnu-gettext)
>
> Is Gettext really needed?

I think so, without gettext the build fails.

-- 
Alex



[PATCH] Fix cpan importer source-url generator.

2016-07-02 Thread Alex Sassmannshausen
Hello,

Currently the CPAN importer correctly replaces metacpan URLs with our mirrors
when the provided metacpan URL is 'http'.  This patch fixes the importer to
also 'fix' the URLs when they are 'https'.

Feedback welcome,

Alex

Alex Sassmannshausen (1):
  import: cpan: Use our mirrors for 'https' URLs.

 guix/import/cpan.scm | 13 +
 tests/cpan.scm   | 11 +++
 2 files changed, 20 insertions(+), 4 deletions(-)

-- 
2.8.4




[PATCH] import: cpan: Use our mirrors for 'https' URLs.

2016-07-02 Thread Alex Sassmannshausen
* guix/import/cpan.scm (fix-source-url): New procedure.
  (cpan-module->sexp): Use it to construct our source-url.
* tests/cpan.scm: Add tests for fix-source-url.
---
 guix/import/cpan.scm | 13 +
 tests/cpan.scm   | 11 +++
 2 files changed, 20 insertions(+), 4 deletions(-)

diff --git a/guix/import/cpan.scm b/guix/import/cpan.scm
index ad61ee7..213a155 100644
--- a/guix/import/cpan.scm
+++ b/guix/import/cpan.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2014 Eric Bavier 
 ;;; Copyright © 2015 Mark H Weaver 
+;;; Copyright © 2016 Alex Sassmannshausen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -99,6 +100,13 @@ or #f on failure.  MODULE should be e.g. \"Test::Script\""
 (define (cpan-home name)
   (string-append "http://search.cpan.org/dist/"; name))
 
+(define (fix-source-url download-url)
+  "Return a new download URL based on DOWNLOAD-URL which now uses our mirrors,
+if the original's domain was metacpan."
+  (regexp-substitute/global #f "http[s]?://cpan.metacpan.org" download-url
+'pre "mirror://cpan" 'post))
+
+
 (define %corelist
   (delay
 (let* ((perl (with-store store
@@ -183,10 +191,7 @@ META."
(list (list guix-name
(list 'quasiquote inputs))
 
-  (define source-url
-(regexp-substitute/global #f "http://cpan.metacpan.org";
-  (assoc-ref meta "download_url")
-  'pre "mirror://cpan" 'post))
+  (define source-url (fix-source-url (assoc-ref meta "download_url")))
 
   (let ((tarball (with-store store
(download-to-store store source-url
diff --git a/tests/cpan.scm b/tests/cpan.scm
index 5d56f0b..898081b 100644
--- a/tests/cpan.scm
+++ b/tests/cpan.scm
@@ -1,5 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2015 Eric Bavier 
+;;; Copyright © 2016 Alex Sassmannshausen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -97,4 +98,14 @@
   (x
(pk 'fail x #f)
 
+(test-equal "source-url-http"
+  ((@@ (guix import cpan) fix-source-url)
+   "http://cpan.metacpan.org/authors/id/T/TE/TEST/Foo-Bar-0.1.tar.gz";)
+  "mirror://cpan/authors/id/T/TE/TEST/Foo-Bar-0.1.tar.gz")
+
+(test-equal "source-url-https"
+  ((@@ (guix import cpan) fix-source-url)
+   "https://cpan.metacpan.org/authors/id/T/TE/TEST/Foo-Bar-0.1.tar.gz";)
+  "mirror://cpan/authors/id/T/TE/TEST/Foo-Bar-0.1.tar.gz")
+
 (test-end "cpan")
-- 
2.8.4




[PATCH 0/3] Add some Perl list modules

2016-07-02 Thread Alex Sassmannshausen
Hello,

The following three patches add 2 list modules, and one dependency.

As before, strict `guix environment`, and `guix lint` pass.

Cheers,

Alex

Alex Sassmannshausen (3):
  gnu: Add perl-io-captureoutput.
  gnu: Add perl-list-compare.
  gnu: Add perl-list-someutils.

 gnu/packages/perl.scm | 82 +++
 1 file changed, 82 insertions(+)

-- 
2.8.4




[PATCH 3/3] gnu: Add perl-list-someutils.

2016-07-02 Thread Alex Sassmannshausen
* gnu/packages/perl.scm (perl-list-someutils): New variable.
---
 gnu/packages/perl.scm | 33 +
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index f169a13..c171af4 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -3059,6 +3059,39 @@ intersections, unions, unique elements, complements and 
many more.")
 functionality on lists which is not going to go into List::Util.")
 (license (package-license perl
 
+(define-public perl-list-someutils
+  (package
+(name "perl-list-someutils")
+(version "0.52")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append
+ "mirror://cpan/authors/id/D/DR/DROLSKY/List-SomeUtils-"
+ version
+ ".tar.gz"))
+   (sha256
+(base32
+ "1b450jyxaa6q2yl0cdhknr3c2a5s7b9b18ccnwac625c681r130y"
+(build-system perl-build-system)
+(native-inputs
+ `(("perl-test-leaktrace" ,perl-test-leaktrace)))
+(inputs
+ `(("perl-exporter-tiny" ,perl-exporter-tiny)
+   ("perl-module-implementation"
+,perl-module-implementation)))
+(home-page "http://search.cpan.org/dist/List-SomeUtils";)
+(synopsis "Provide the stuff missing in List::Util")
+(description "@code{List::SomeUtils} provides some trivial but commonly
+needed functionality on lists which is not going to go into @code{List::Util}.
+
+All of the below functions are implementable in only a couple of lines of Perl
+code.  Using the functions from this module however should give slightly
+better performance as everything is implemented in C.  The pure-Perl
+implementation of these functions only serves as a fallback in case the C
+portions of this module couldn't be compiled on this machine.")
+(license (package-license perl
+
 (define-public perl-memoize-expirelru
   (package
 (name "perl-memoize-expirelru")
-- 
2.8.4




[PATCH 2/3] gnu: Add perl-list-compare.

2016-07-02 Thread Alex Sassmannshausen
* gnu/packages/perl.scm (perl-list-compare): New variable.
---
 gnu/packages/perl.scm | 24 
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 8a39ba8..f169a13 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -3010,6 +3010,30 @@ one: logging, exceptions, and translations.")
 List::Util or List::MoreUtils defines, with preference to List::Util.")
 (license (package-license perl
 
+(define-public perl-list-compare
+  (package
+(name "perl-list-compare")
+(version "0.53")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append
+ "mirror://cpan/authors/id/J/JK/JKEENAN/List-Compare-"
+ version
+ ".tar.gz"))
+   (sha256
+(base32
+ "0l451yqhx1hlm7f2c3bjsl3n8w6l1jngrxzyfm2d8d9iggv4zgzx"
+(build-system perl-build-system)
+(native-inputs
+ `(("perl-io-captureoutput" ,perl-io-captureoutput)))
+(home-page "http://search.cpan.org/dist/List-Compare";)
+(synopsis "Compare elements of two or more lists")
+(description "@code{List::Compare} provides a module to perform
+comparative operations on two or more lists.  Provided operations include
+intersections, unions, unique elements, complements and many more.")
+(license (package-license perl
+
 (define-public perl-list-moreutils
   (package
 (name "perl-list-moreutils")
-- 
2.8.4




[PATCH 1/3] gnu: Add perl-io-captureoutput.

2016-07-02 Thread Alex Sassmannshausen
* gnu/packages/perl.scm (perl-io-captureoutput): New variable.
---
 gnu/packages/perl.scm | 25 +
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 74a47b4..8a39ba8 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -2640,6 +2640,31 @@ dependencies for CPAN distributions.  These dependencies 
get bundled into the
 inc directory within a distribution and are used by Makefile.PL or Build.PL.")
 (license asl2.0)))
 
+(define-public perl-io-captureoutput
+  (package
+(name "perl-io-captureoutput")
+(version "1.1104")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append
+ "mirror://cpan/authors/id/D/DA/DAGOLDEN/IO-CaptureOutput-"
+ version
+ ".tar.gz"))
+   (sha256
+(base32
+ "0c437zvzpqi8f0h3nmblwdi2bvsb92b7g30fndr7my9qnky35izw"
+(build-system perl-build-system)
+(home-page "http://search.cpan.org/dist/IO-CaptureOutput";)
+(synopsis "Capture STDOUT and STDERR from Perl code, subprocesses or XS")
+(description "@code{IO::CaptureOutput} provides routines for capturing
+@code{STDOUT} and @code{STDERR} from perl subroutines, forked system
+calls (e.g. @code{system()}, @code{fork()}) and from XS or C modules.
+
+This module is no longer recommended by its maintainer.  Users are advised to
+try @code{Capture::Tiny} instead.")
+(license (package-license perl
+
 (define-public perl-io-interactive
   (package
 (name "perl-io-interactive")
-- 
2.8.4




Re: [PATCH] gnu: Add alot and python-urwidtrees

2016-07-02 Thread Troy Sankey
On 2016-07-01 17:50:50 -0400, Leo Famulari wrote:
> Thanks for this patch!

Thanks for pointing out all my mistakes! :)

> > +(define-public alot
> 
> > +  (uri (string-append "https://github.com/pazz/alot/archive/";
> > +  version ".tar.gz"))
> 
> When possible, we prefer to use PyPi for downloading Python source code.
> But in this case, I don't see version 0.3.7 on PyPi, so we'll use
> GitHub.

Maybe I'll poke the devs about this.

> > +(synopsis "Commandline MUA using notmuch and urwid")
> 
> How about "Command-line mail client using @code{notmuch} and
> @code{urwid}"? I'm not sure if the synopses support texinfo markup,
> while I know the descriptions do.

  $ guix package --show=alot | grep synopsis
  synopsis: Commandline MUA using @code{notmuch} and @code{urwid}

I guess no markup support in the synopsis, I'll just trim it down to:

  "Commandline MUA using notmuch"

It uses python-urwid inasmuch as it uses python-twisted, but it's (to me)
primarily known for its usage of the notmuch mail indexing system and for being
written in python.  I'll poke the devs and come back with a new patch if
necessary.

> > +(description
> > + "Alot is an experimental terminal MUA based on notmuch mail.  It is
> > +written in python using the urwid toolkit.")
> 
> Can you unpack 'MUA' and wrap notmuch and urwid in texinfo as above?

Still including the 'MUA' abbreviation because I think it is common enough.

Some linting:

  $ 
EVERYTHING_EXCEPT_CVE=description,gnu-description,inputs-should-be-native,patch-file-names,home-page,license,source,source-file-name,derivation,synopsis,formatting
  $ guix lint -c $EVERYTHING_EXCEPT_CVE alot python{2,}-urwidtrees
  $ echo $?
  0

(CVE checker takes too long, I'm using slow wifi from a café)

Finally, I'll say that I do use it, and it does build and work correctly.

Troy


0001-gnu-Add-python-urwidtrees.patch
Description: Binary data


0002-gnu-Add-alot.patch
Description: Binary data


[PATCH] gnu: Add di.

2016-07-02 Thread John J Foerch
Hello,

Here is a package for the program 'di' (df alternative).  Let me know if
anything is amiss, cheers!

John Foerch

>From 4ef5a6edba2e10a59865a6aba134d2f0532c7503 Mon Sep 17 00:00:00 2001
From: "John J. Foerch" 
Date: Sat, 2 Jul 2016 15:08:30 -0400
Subject: [PATCH] gnu: Add di.

* gnu/packages/admin.scm (di): New variable.
---
 gnu/packages/admin.scm | 31 +++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 415a35a..f128f68 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -1708,3 +1708,34 @@ throughput (in the same interval).")
  "The Fuck tries to match a rule for a previous, mistyped command, creates
 a new command using the matched rule, and runs it.")
 (license license:x11)))
+
+(define-public di
+  (package
+(name "di")
+(version "4.42")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append "https://gentoo.com/di/di-"; version ".tar.gz"))
+   (sha256
+(base32 "1i6m9zdnidn8268q1lz9fd8payk7s4pgwh5zlam9rr4dy6h6a67n"
+(build-system gnu-build-system)
+(arguments
+ `(#:phases
+   (modify-phases %standard-phases
+ (delete 'configure)
+ (delete 'check)
+ (add-before 'build 'setup-environment
+   (lambda* (#:key outputs #:allow-other-keys)
+ (setenv "CC" "gcc")
+ (setenv "prefix" (assoc-ref outputs "out"))
+ #t)))
+   #:make-flags (list "-e")))
+(home-page "https://www.gentoo.com/di/";)
+(synopsis "Advanced df like disk information utility")
+(description
+ "'di' is a disk information utility, displaying everything
+(and more) that your 'df' command does.  It features the ability to display
+your disk usage in whatever format you prefer.  It is designed to be highly
+portable.  Great for heterogenous networks.")
+(license license:zlib)))
-- 
2.9.0



Re: [PATCH 2/3] profiles: Add fonts-dir-file hook.

2016-07-02 Thread Alex Kost
Ludovic Courtès (2016-07-02 17:34 +0300) wrote:

> Alex Kost  skribis:
>
>> * guix/profiles.scm (fonts-dir-file): New procedure.
>> (%default-profile-hooks): Add it.
>
> [...]
>
> A potential problem with this hook is that it pulls mkfontscale and
> mkfontdir regardless of whether they are needed; I can’t really think of
> a way to avoid it though.

Yes, I also don't like it.  We have the same problem with
'info-file-dir' hook: it always pulls texinfo and gzip, but not all
profiles include info manuals.

> Also, how does it relate to this:
>
>   commit bf9655f57d2442d56661594b80f6d0031ca0ae73
>   Author: Eric Bavier 
>   Date:   Mon Oct 19 06:44:23 2015 -0500
>
>   font-alias: Install dummy fonts.dir files.
>
>   * gnu/packages/xorg.scm (font-alias)[arguments]: New 'install-fonts-dir'
> phase.
>
> ?

It doesn't relate at all.  This hook generates "fonts.dir" only for
"share/fonts/truetype" directory.  Directories with X fonts are not
touched, because all sub-directories of "share/fonts/X11" already
contain "fonts.dir" files (font-adobe75dpi, font-misc-misc and other X
font packages install "fonts.dir").

'font-alias' package does not contain fonts.dir file because it doesn't
make sense: this package does not provide any font.  It just installs
"fonts.alias" files inside "share/fonts/X11/{75dpi,100dpi,cyrillic,misc}"
directories.  Eric made this commit for one particular case: to make it
possible to use font aliases in the default X server configuration
('xorg-configuration-file' in (gnu services xorg) module).

Just to mention, I think we shouldn't modify 'font-alias' package as it
leads to a bug , and should do some other
workaround.  I have 2 ideas (not sure if they make any sense):

1) To add a special package (font-alias-with-fonts.dir) that will be used
in 'xorg-configuration-file'.

2) To do 'union-build' on packages with X fonts and aliases and to use it
in the X config.  With this, we can revert that Eric's commit, and
everything should just work (I mean the X config will work and the bug
will be fixed).

-- 
Alex



Re: [PATCH 3/3] doc: Describe how to make X server find TrueType fonts.

2016-07-02 Thread Alex Kost
Ludovic Courtès (2016-07-02 17:38 +0300) wrote:

> Alex Kost  skribis:
>
>> * doc/guix.texi (Application Setup): Document how to add TrueType fonts
>> installed in a Guix profile to the X server font path.
>
> [...]
>
>> @@ -1192,6 +1193,24 @@ to display fonts, you have to install fonts
>> with Guix as well.
>>  Essential font packages include @code{gs-fonts}, @code{font-dejavu}, and
>>  @code{font-gnu-freefont-ttf}.
>>  
>> +However, some programs do not support Fontconfig and rely on the X
>> +server to recognize a font.
>
> What about: “Older programs such as @command{xterm} do not use
> Fontconfig and instead rely on server-side font rendering.”?

Sure.

[...]
>>  To display text written in Chinese languages, Japanese, or Korean in
>>  graphical applications, consider installing
>>  @code{font-adobe-source-han-sans} or @code{font-wqy-zenhei}.  The former
>
> I would move the new text below the paragraph about Chinese languages
> (the paragraph about Chinese languages is about client-side rendering.)

Right, will do, thanks!

-- 
Alex



Re: [PATCH] gnurl: Update to 7.48.0.

2016-07-02 Thread Efraim Flashner
On Fri, Jul 01, 2016 at 06:33:01PM +, n...@we.make.ritual.n0.is wrote:
> This updates libgnurl to 7.48.0.
> gnurl included tests all succeded.
> 
> From 0e64b9f5d4d499b8d58321376b69f3ff7f422aa3 Mon Sep 17 00:00:00 2001
> From: ng0 
> Date: Fri, 1 Jul 2016 18:21:45 +
> Subject: [PATCH] gnu: gnurl: Update to 7.48.0.
> 
> * gnu/packages/gnunet.scm (gnurl): Update to 7.48.0.
> ---
>  gnu/packages/gnunet.scm | 7 ---
>  1 file changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm
> index bea05db..285d710 100644
> --- a/gnu/packages/gnunet.scm
> +++ b/gnu/packages/gnunet.scm
> @@ -153,13 +153,14 @@ and support for SSL3 and TLS.")
>  (define-public gnurl
>(package
> (name "gnurl")
> -   (version "7.45.0")
> +   (version "7.48.0")
> (source (origin
>  (method url-fetch)
>  (uri (string-append 
> "https://gnunet.org/sites/default/files/gnurl-";
> -version ".tar.bz2"))
> +"7_48_0.tar.bz2"))

There's actually a method for switching from periods to underscores.
(string-join (string-split version #\.) "_")

>  (sha256
> - (base32 
> "0hd8w4wyjwagd4k6vm6srphqbmysz08rcwf8z7f4b2d6d2yrn3mm"
> + (base32
> +  "14gch4rdibrc8qs4mijsczxvl45dsclf234g17dk6c8nc2s4bm0a"
> (build-system gnu-build-system)
> (inputs `(("gnutls" ,gnutls)
>   ("libidn" ,libidn)
> --
> 2.9.0
> 
> 
> --
> ♥Ⓐ  ng0
> For non-prism friendly talk find me on
> psyced.org / loupsycedyglgamf.onion
> 

I also got an error about a missing name, not sure what that's about.

Applying: This updates libgnurl to 7.48.0.
fatal: empty ident name (for <>) not allowed

-- 
Efraim Flashner  אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted


signature.asc
Description: PGP signature


Re: [PATCH] gnurl: Update to 7.48.0.

2016-07-02 Thread ng0
Efraim Flashner writes:

> On Fri, Jul 01, 2016 at 06:33:01PM +, n...@we.make.ritual.n0.is wrote:
>> This updates libgnurl to 7.48.0.
>> gnurl included tests all succeded.
>> 
>> From 0e64b9f5d4d499b8d58321376b69f3ff7f422aa3 Mon Sep 17 00:00:00 2001
>> From: ng0 
>> Date: Fri, 1 Jul 2016 18:21:45 +
>> Subject: [PATCH] gnu: gnurl: Update to 7.48.0.
>> 
>> * gnu/packages/gnunet.scm (gnurl): Update to 7.48.0.
>> ---
>>  gnu/packages/gnunet.scm | 7 ---
>>  1 file changed, 4 insertions(+), 3 deletions(-)
>> 
>> diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm
>> index bea05db..285d710 100644
>> --- a/gnu/packages/gnunet.scm
>> +++ b/gnu/packages/gnunet.scm
>> @@ -153,13 +153,14 @@ and support for SSL3 and TLS.")
>>  (define-public gnurl
>>(package
>> (name "gnurl")
>> -   (version "7.45.0")
>> +   (version "7.48.0")
>> (source (origin
>>  (method url-fetch)
>>  (uri (string-append 
>> "https://gnunet.org/sites/default/files/gnurl-";
>> -version ".tar.bz2"))
>> +"7_48_0.tar.bz2"))
>
> There's actually a method for switching from periods to underscores.
> (string-join (string-split version #\.) "_")
>
>>  (sha256
>> - (base32 
>> "0hd8w4wyjwagd4k6vm6srphqbmysz08rcwf8z7f4b2d6d2yrn3mm"
>> + (base32
>> +  "14gch4rdibrc8qs4mijsczxvl45dsclf234g17dk6c8nc2s4bm0a"
>> (build-system gnu-build-system)
>> (inputs `(("gnutls" ,gnutls)
>>   ("libidn" ,libidn)
>> --
>> 2.9.0
>> 
>> 
>> --
>> ♥Ⓐ  ng0
>> For non-prism friendly talk find me on
>> psyced.org / loupsycedyglgamf.onion
>> 
>
> I also got an error about a missing name, not sure what that's about.
>
> Applying: This updates libgnurl to 7.48.0.
> fatal: empty ident name (for <>) not allowed

Thanks.

That's strange. Okay, I will fix this and see if I can reproduce
this error.

-- 
♥Ⓐ  ng0
For non-prism friendly talk find me on
psyced.org / loupsycedyglgamf.onion



[PATCH] services: Add rngd service.

2016-07-02 Thread David Craven
* gnu/services/base.scm (rngd-service): New service.
* gnu/packages/linux.scm (rng-tools): New package.
---
 gnu/packages/linux.scm | 76 +++---
 gnu/services/base.scm  | 43 ++--
 2 files changed, 89 insertions(+), 30 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index a0c21d8..f1b2172 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -30,49 +30,49 @@
 ;;; along with GNU Guix.  If not, see .
 
 (define-module (gnu packages linux)
-  #:use-module ((guix licenses) #:prefix license:)
   #:use-module (gnu packages)
+  #:use-module (gnu packages admin)
+  #:use-module (gnu packages algebra)
+  #:use-module (gnu packages attr)
+  #:use-module (gnu packages autotools)
+  #:use-module (gnu packages base)
+  #:use-module (gnu packages bison)
+  #:use-module (gnu packages calendar)
+  #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
-  #:use-module (gnu packages gcc)
+  #:use-module (gnu packages databases)
+  #:use-module (gnu packages docbook)
+  #:use-module (gnu packages documentation)
+  #:use-module (gnu packages elf)
   #:use-module (gnu packages flex)
-  #:use-module (gnu packages bison)
-  #:use-module (gnu packages admin)
+  #:use-module (gnu packages freedesktop)
+  #:use-module (gnu packages gcc)
+  #:use-module (gnu packages gettext)
+  #:use-module (gnu packages glib)
   #:use-module (gnu packages gperf)
+  #:use-module (gnu packages gtk)
   #:use-module (gnu packages libusb)
+  #:use-module (gnu packages maths)
   #:use-module (gnu packages ncurses)
-  #:use-module (gnu packages pciutils)
-  #:use-module (gnu packages databases)
   #:use-module (gnu packages perl)
+  #:use-module (gnu packages pciutils)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages pulseaudio)
   #:use-module (gnu packages python)
+  #:use-module (gnu packages readline)
+  #:use-module (gnu packages rrdtool)
   #:use-module (gnu packages slang)
-  #:use-module (gnu packages algebra)
-  #:use-module (gnu packages gettext)
-  #:use-module (gnu packages glib)
-  #:use-module (gnu packages pulseaudio)
-  #:use-module (gnu packages attr)
-  #:use-module (gnu packages xml)
-  #:use-module (gnu packages autotools)
   #:use-module (gnu packages texinfo)
-  #:use-module (gnu packages check)
-  #:use-module (gnu packages maths)
-  #:use-module (gnu packages base)
-  #:use-module (gnu packages rrdtool)
-  #:use-module (gnu packages elf)
-  #:use-module (gnu packages gtk)
-  #:use-module (gnu packages docbook)
-  #:use-module (gnu packages documentation)
-  #:use-module (gnu packages readline)
-  #:use-module (gnu packages calendar)
   #:use-module (gnu packages tls)
-  #:use-module (gnu packages freedesktop)
-  #:use-module (guix packages)
-  #:use-module (guix download)
-  #:use-module (guix utils)
-  #:use-module (guix build-system gnu)
+  #:use-module (gnu packages xml)
   #:use-module (guix build-system cmake)
+  #:use-module (guix build-system gnu)
   #:use-module (guix build-system python)
   #:use-module (guix build-system trivial)
+  #:use-module (guix download)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix packages)
+  #:use-module (guix utils)
   #:use-module (srfi srfi-1)
   #:use-module (srfi srfi-2)
   #:use-module (srfi srfi-26)
@@ -2726,3 +2726,23 @@ from userspace.")
 commonly found on Microsoft Windows.  It is implemented as a FUSE file system.
 The package provides additional NTFS tools.")
 (license license:gpl2+)))
+
+(define-public rng-tools
+  (package
+(name "rng-tools")
+(version "5")
+(source (origin
+  (method url-fetch)
+  (uri (string-append
+
"http://downloads.sourceforge.net/sourceforge/gkernel/rng-tools-"; version
+".tar.gz"))
+  (sha256
+(base32
+  "13h7lc8wl9khhvkr0i3bl5j9bapf8anhqis1lcnwxg1vc2v058b0"
+(build-system gnu-build-system)
+(synopsis "Random number generator daemon")
+(description
+ "Monitor a hardware random number generator, and supply entropy
+from that to the system kernel's /dev/random machinery.")
+(home-page "http://sourceforge.net/projects/gkernel";)
+(license license:gpl2)))
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index 2780d12..fab287a 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -31,7 +31,7 @@
   #:use-module (gnu system mapped-devices)
   #:use-module (gnu packages admin)
   #:use-module ((gnu packages linux)
-#:select (eudev kbd e2fsprogs lvm2 fuse alsa-utils crda gpm))
+#:select (alsa-utils crda eudev e2fsprogs fuse gpm kbd lvm2 
rng-tools))
   #:use-module ((gnu packages base)
 #:select (canonical-package glibc))
   #:use-module (gnu packages package-management)
@@ -95,6 +95,7 @@
 gpm-service
 
 urandom-seed-service

[PATCH 5/6] gnu: python-pytest-runner: Update to 2.8.

2016-07-02 Thread Leo Famulari
* gnu/packages/python.scm (python-pytest-runner, python2-pytest-runner):
Update to 2.8.
---
 gnu/packages/python.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index c94343b..f9bedba 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1610,14 +1610,14 @@ supports coverage of subprocesses.")
 (define-public python-pytest-runner
   (package
 (name "python-pytest-runner")
-(version "2.6.2")
+(version "2.8")
 (source
  (origin
(method url-fetch)
(uri (pypi-uri "pytest-runner" version))
(sha256
 (base32
- "1nwcqx0l3fv52kv8526wy8ypzghbq96c96di318d98d3wh7a8xg7"
+ "0p0dd3878sjnk59sk17jl6n0j9is9160mi33smgzhld5vbnlvi0y"
 (build-system python-build-system)
 (arguments
  `(#:phases
-- 
2.9.0




[PATCH 3/6] gnu: python-scripttest: Disable tests.

2016-07-02 Thread Leo Famulari
* gnu/packages/python.scm (python-scripttest, python2-scripttest)
[arguments]: Disable tests.
[inputs]: Remove python-pytest.
---
 gnu/packages/python.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 3e71183..28984b0 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1710,9 +1710,10 @@ result back.")
 (base32
  "0f4w84k8ck82syys7yg9maz93mqzc8p5ymis941x034v44jzq74m"
 (build-system python-build-system)
+(arguments
+  '(#:tests? #f)) ; Tests are not included in the PyPi release.
 (inputs
- `(("python-setuptools" ,python-setuptools)
-   ("python-pytest" ,python-pytest)))
+ `(("python-setuptools" ,python-setuptools)))
 (home-page "http://pythonpaste.org/scripttest/";)
 (synopsis "Python library to test command-line scripts")
 (description "Scripttest is a Python helper library for testing
-- 
2.9.0




[PATCH 0/6] Pytest update

2016-07-02 Thread Leo Famulari
The latest version of python-cryptography requires python-pytest >= 2.9 
[0]. So, this patch series updates pytest, and fixes the breakage I was 
able to find.

I tested most of the packages that use pytest, but not all of the 
scientific / statistical computing packages, because they take forever
to build. This is how I found the issues with virtualenv, pip, and 
scripttest.

This release of pytest exits with an error if it can't find a test suite
to run. So, we disable the check phases of virtualenv, pip, and 
scripttest, because their test suites are not distributed via PyPi. If
we want to run their test suites, we should package a source code
snapshot instead of building from the release tarballs.

Pytest-runner must be updated to use the new pytest.

"Building the following 77 packages would ensure 210 dependent packages
are rebuilt"...

[0]
https://github.com/pyca/cryptography/issues/3034

Leo Famulari (6):
  gnu: python-virtualenv: Disable tests.
  gnu: python-pip: Disable tests.
  gnu: python-scripttest: Disable tests.
  gnu: python-pytest: Update to 2.9.2.
  gnu: python-pytest-runner: Update to 2.8.
  gnu: python-cryptopgraphy: Update to 1.4.

 gnu/packages/python.scm | 43 +--
 1 file changed, 17 insertions(+), 26 deletions(-)

-- 
2.9.0




[PATCH 4/6] gnu: python-pytest: Update to 2.9.2.

2016-07-02 Thread Leo Famulari
* gnu/packages/python.scm (python-pytest, python2-pytest): Update to 2.9.2.
[source]: Use pypi-uri.
---
 gnu/packages/python.scm | 8 +++-
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 28984b0..c94343b 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1545,16 +1545,14 @@ code introspection, and logging.")
 (define-public python-pytest
   (package
 (name "python-pytest")
-(version "2.7.3")
+(version "2.9.2")
 (source
  (origin
(method url-fetch)
-   (uri (string-append
- "https://pypi.python.org/packages/source/p/pytest/pytest-";
- version ".tar.gz"))
+   (uri (pypi-uri "pytest" version))
(sha256
 (base32
- "1z4yi986f9n0p8qmzmn21m21m8j1x78hk3505f89baqm6pdw7afm"))
+ "1n6igbc1b138wx1q5gca4pqw1j6nsyicfxds5n0b5989kaxqmh8j"))
(modules '((guix build utils)))
(snippet
 ;; One of the tests involves the /usr directory, so it fails.
-- 
2.9.0




[PATCH 1/6] gnu: python-virtualenv: Disable tests.

2016-07-02 Thread Leo Famulari
* gnu/packages/python.scm (python-virtualenv, python2-virtualenv)
[arguments]: Disable tests.
[inputs]: Remove python-mock, python-pytest.
---
 gnu/packages/python.scm | 9 ++---
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 597ca6a..d646d94 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -2483,14 +2483,9 @@ object.")
  "1p732accxwqfjbdna39k8w8lp9gyw91vr4kzkhm8mgfxikqqxg5a"
 (build-system python-build-system)
 (arguments
- `(#:phases
-   (modify-phases %standard-phases
-(replace 'check
- (lambda _ (zero? (system* "py.test")))
+ `(#:tests? #f)) ; Tests are not included in the PyPi release.
 (inputs
- `(("python-setuptools" ,python-setuptools)
-   ("python-mock" ,python-mock)
-   ("python-pytest" ,python-pytest)))
+ `(("python-setuptools" ,python-setuptools)))
 (home-page "https://virtualenv.pypa.io/";)
 (synopsis "Virtual Python environment builder")
 (description
-- 
2.9.0




[PATCH 2/6] gnu: python-pip: Disable tests.

2016-07-02 Thread Leo Famulari
* gnu/packages/python.scm (python-pip, python2-pip)[arguments]: Disable tests.
[inputs]: Remove python-mock, python-pytest, python-scripttest,
python-virtualenv.
---
 gnu/packages/python.scm | 9 +++--
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index d646d94..3e71183 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6051,13 +6051,10 @@ library.")
 (base32
  "08cm8d4228fj0qnrysy3qv1a6022zr3dcs25amd14lgxil6vvx26"
 (build-system python-build-system)
+(arguments
+ '(#:tests? #f)) ; Tests are not included in the PyPi release.
 (inputs
-  `(("python-setuptools" ,python-setuptools)
-("python-virtualenv" ,python-virtualenv)
-;; Tests
-("python-mock" ,python-mock)
-("python-pytest" ,python-pytest)
-("python-scripttest" ,python-scripttest)))
+  `(("python-setuptools" ,python-setuptools)))
 (home-page "https://pip.pypa.io/";)
 (synopsis
   "Package manager for Python software")
-- 
2.9.0




[PATCH 6/6] gnu: python-cryptopgraphy: Update to 1.4.

2016-07-02 Thread Leo Famulari
* gnu/packages/python.scm (python-cryptography, python2-cryptography):
Update to 1.4.
(python-cryptography-vectors, python2-cryptography-vectors): Update to 1.4.
---
 gnu/packages/python.scm | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index f9bedba..381907e 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -5936,14 +5936,14 @@ responses, rather than doing any computation.")
 (define-public python-cryptography-vectors
   (package
 (name "python-cryptography-vectors")
-(version "1.3.4")
+(version "1.4")
 (source
  (origin
(method url-fetch)
(uri (pypi-uri "cryptography_vectors" version))
(sha256
 (base32
- "15h1iz2klnpb4f8djxy7cpbnyn3wbjp7bnj4pz6s7w6plghbq524"
+ "1sk6yhphk2k2vzshi0djxi0jsxd9a02259bs8gynfgf5y1g82a07"
 (build-system python-build-system)
 (native-inputs
  `(("python-setuptools" ,python-setuptools)))
@@ -5960,14 +5960,14 @@ responses, rather than doing any computation.")
 (define-public python-cryptography
   (package
 (name "python-cryptography")
-(version "1.3.4")
+(version "1.4")
 (source
  (origin
(method url-fetch)
(uri (pypi-uri "cryptography" version))
(sha256
 (base32
- "1a85l548w5vvq3yhz0az7ajg2ijixzp6gagapw6wgrqvq28ghgs2"
+ "0a6i4914ychryj7kqqmf970incynj5lzx57n3cbv5i4hxm09a55v"
 (build-system python-build-system)
 (inputs
  `(("openssl" ,openssl)))
-- 
2.9.0




Re: [PATCH] services: Add rngd service.

2016-07-02 Thread Leo Famulari
On Sun, Jul 03, 2016 at 02:16:23AM +0200, David Craven wrote:
> * gnu/services/base.scm (rngd-service): New service.
> * gnu/packages/linux.scm (rng-tools): New package.

Thanks for taking this on!

Can you split this into 3 separate commits? One to alphabetize the
module imports in linux.scm, one to add rng-tools, and one to add
rngd-service?

Also, can you document the service in doc/guix.texi?

> +(define-public rng-tools

This package looks good to me, although I didn't try to build it yet.

> --- a/gnu/services/base.scm
> +++ b/gnu/services/base.scm
> @@ -31,7 +31,7 @@
>#:use-module (gnu system mapped-devices)
>#:use-module (gnu packages admin)
>#:use-module ((gnu packages linux)
> -#:select (eudev kbd e2fsprogs lvm2 fuse alsa-utils crda gpm))
> +#:select (alsa-utils crda eudev e2fsprogs fuse gpm kbd lvm2 
> rng-tools))
>#:use-module ((gnu packages base)
>  #:select (canonical-package glibc))
>#:use-module (gnu packages package-management)
> @@ -95,6 +95,7 @@
>  gpm-service
>  
>  urandom-seed-service
> +rngd-service

I will let someone with more experience writing services review this
part.



[PATCH 1/3] gnu: Reorder imports alphabetically.

2016-07-02 Thread David Craven
* gnu/packages/linux.scm: Refactor.
---
 gnu/packages/linux.scm | 56 +-
 1 file changed, 28 insertions(+), 28 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index a0c21d8..7799350 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -30,49 +30,49 @@
 ;;; along with GNU Guix.  If not, see .
 
 (define-module (gnu packages linux)
-  #:use-module ((guix licenses) #:prefix license:)
   #:use-module (gnu packages)
+  #:use-module (gnu packages admin)
+  #:use-module (gnu packages algebra)
+  #:use-module (gnu packages attr)
+  #:use-module (gnu packages autotools)
+  #:use-module (gnu packages base)
+  #:use-module (gnu packages bison)
+  #:use-module (gnu packages calendar)
+  #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
-  #:use-module (gnu packages gcc)
+  #:use-module (gnu packages databases)
+  #:use-module (gnu packages docbook)
+  #:use-module (gnu packages documentation)
+  #:use-module (gnu packages elf)
   #:use-module (gnu packages flex)
-  #:use-module (gnu packages bison)
-  #:use-module (gnu packages admin)
+  #:use-module (gnu packages freedesktop)
+  #:use-module (gnu packages gcc)
+  #:use-module (gnu packages gettext)
+  #:use-module (gnu packages glib)
   #:use-module (gnu packages gperf)
+  #:use-module (gnu packages gtk)
   #:use-module (gnu packages libusb)
+  #:use-module (gnu packages maths)
   #:use-module (gnu packages ncurses)
-  #:use-module (gnu packages pciutils)
-  #:use-module (gnu packages databases)
   #:use-module (gnu packages perl)
+  #:use-module (gnu packages pciutils)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages pulseaudio)
   #:use-module (gnu packages python)
+  #:use-module (gnu packages readline)
+  #:use-module (gnu packages rrdtool)
   #:use-module (gnu packages slang)
-  #:use-module (gnu packages algebra)
-  #:use-module (gnu packages gettext)
-  #:use-module (gnu packages glib)
-  #:use-module (gnu packages pulseaudio)
-  #:use-module (gnu packages attr)
-  #:use-module (gnu packages xml)
-  #:use-module (gnu packages autotools)
   #:use-module (gnu packages texinfo)
-  #:use-module (gnu packages check)
-  #:use-module (gnu packages maths)
-  #:use-module (gnu packages base)
-  #:use-module (gnu packages rrdtool)
-  #:use-module (gnu packages elf)
-  #:use-module (gnu packages gtk)
-  #:use-module (gnu packages docbook)
-  #:use-module (gnu packages documentation)
-  #:use-module (gnu packages readline)
-  #:use-module (gnu packages calendar)
   #:use-module (gnu packages tls)
-  #:use-module (gnu packages freedesktop)
-  #:use-module (guix packages)
-  #:use-module (guix download)
-  #:use-module (guix utils)
-  #:use-module (guix build-system gnu)
+  #:use-module (gnu packages xml)
   #:use-module (guix build-system cmake)
+  #:use-module (guix build-system gnu)
   #:use-module (guix build-system python)
   #:use-module (guix build-system trivial)
+  #:use-module (guix download)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix packages)
+  #:use-module (guix utils)
   #:use-module (srfi srfi-1)
   #:use-module (srfi srfi-2)
   #:use-module (srfi srfi-26)
-- 
2.9.0



Re: [PATCH] services: Add rngd service.

2016-07-02 Thread David Craven
Thank you for reviewing my patches. I didn't get it to work with lsh
yet though :/ - need to practice my scheme skills...

On Sun, Jul 3, 2016 at 3:42 AM, Leo Famulari  wrote:
> On Sun, Jul 03, 2016 at 02:16:23AM +0200, David Craven wrote:
>> * gnu/services/base.scm (rngd-service): New service.
>> * gnu/packages/linux.scm (rng-tools): New package.
>
> Thanks for taking this on!
>
> Can you split this into 3 separate commits? One to alphabetize the
> module imports in linux.scm, one to add rng-tools, and one to add
> rngd-service?
>
> Also, can you document the service in doc/guix.texi?
>
>> +(define-public rng-tools
>
> This package looks good to me, although I didn't try to build it yet.
>
>> --- a/gnu/services/base.scm
>> +++ b/gnu/services/base.scm
>> @@ -31,7 +31,7 @@
>>#:use-module (gnu system mapped-devices)
>>#:use-module (gnu packages admin)
>>#:use-module ((gnu packages linux)
>> -#:select (eudev kbd e2fsprogs lvm2 fuse alsa-utils crda 
>> gpm))
>> +#:select (alsa-utils crda eudev e2fsprogs fuse gpm kbd lvm2 
>> rng-tools))
>>#:use-module ((gnu packages base)
>>  #:select (canonical-package glibc))
>>#:use-module (gnu packages package-management)
>> @@ -95,6 +95,7 @@
>>  gpm-service
>>
>>  urandom-seed-service
>> +rngd-service
>
> I will let someone with more experience writing services review this
> part.



[PATCH 3/3] services: Add rngd-service.

2016-07-02 Thread David Craven
* gnu/services/base.scm: New service.
---
 gnu/services/base.scm | 43 +--
 1 file changed, 41 insertions(+), 2 deletions(-)

diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index f304bf8..67f3961 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -31,7 +31,7 @@
   #:use-module (gnu system mapped-devices)
   #:use-module (gnu packages admin)
   #:use-module ((gnu packages linux)
-#:select (eudev kbd e2fsprogs lvm2 fuse alsa-utils crda gpm))
+#:select (alsa-utils crda eudev e2fsprogs fuse gpm kbd lvm2 
rng-tools))
   #:use-module ((gnu packages base)
 #:select (canonical-package glibc))
   #:use-module (gnu packages package-management)
@@ -97,6 +97,7 @@
 
 urandom-seed-service-type
 urandom-seed-service
+rngd-service
 
 %base-services))
 
@@ -486,7 +487,45 @@ stopped before 'kill' is called."
 (define (urandom-seed-service)
   (service urandom-seed-service-type #f))
 
-
+
+;;;
+;;; Add hardware random number generator to entropy pool
+;;;
+
+(define-record-type* 
+  rngd-configuration make-rngd-configuration
+  rngd-configuration?
+  (rng-tools rngd-configuration-rng-tools)
+  (rng-device rngd-configuration-rngd-device))
+
+(define rngd-service-type
+  (shepherd-service-type
+'rngd
+(lambda (config)
+  (define rng-tools (rngd-configuration-rng-tools config))
+  (define rng-device (rngd-configuration-rngd-device config))
+
+  (define rngd-command
+(list #~(string-append #$rng-tools "/sbin/rngd") "-f" "-r" rng-device))
+
+  (shepherd-service
+(documentation "Add TRNG to entropy pool.")
+(requirement '(udev))
+(provision '(trng))
+(start #~(make-forkexec-constructor #$@rngd-command))
+(stop #~(make-kill-destructor))
+
+(define* (rngd-service #:key
+  (rng-tools rng-tools)
+  (rng-device "/dev/hwrng"))
+  "Run the @command{rngd} program from @var{rng-tools} to add @var{rng-device}
+to the kernel's entropy pool."
+  (service rngd-service-type
+(rngd-configuration
+  (rng-tools rng-tools)
+  (rng-device rng-device
+
+
 ;;;
 ;;; System-wide environment variables.
 ;;;
-- 
2.9.0



[PATCH 2/3] gnu: Add rng-tools 5.

2016-07-02 Thread David Craven
* gnu/packages/linux.scm: New package.
---
 gnu/packages/linux.scm | 20 
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 7799350..f1b2172 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -2726,3 +2726,23 @@ from userspace.")
 commonly found on Microsoft Windows.  It is implemented as a FUSE file system.
 The package provides additional NTFS tools.")
 (license license:gpl2+)))
+
+(define-public rng-tools
+  (package
+(name "rng-tools")
+(version "5")
+(source (origin
+  (method url-fetch)
+  (uri (string-append
+
"http://downloads.sourceforge.net/sourceforge/gkernel/rng-tools-"; version
+".tar.gz"))
+  (sha256
+(base32
+  "13h7lc8wl9khhvkr0i3bl5j9bapf8anhqis1lcnwxg1vc2v058b0"
+(build-system gnu-build-system)
+(synopsis "Random number generator daemon")
+(description
+ "Monitor a hardware random number generator, and supply entropy
+from that to the system kernel's /dev/random machinery.")
+(home-page "http://sourceforge.net/projects/gkernel";)
+(license license:gpl2)))
-- 
2.9.0



Re: [PATCH 0/6] Pytest update

2016-07-02 Thread Efraim Flashner
On Sat, Jul 02, 2016 at 09:10:12PM -0400, Leo Famulari wrote:
> The latest version of python-cryptography requires python-pytest >= 2.9 
> [0]. So, this patch series updates pytest, and fixes the breakage I was 
> able to find.
> 
> I tested most of the packages that use pytest, but not all of the 
> scientific / statistical computing packages, because they take forever
> to build. This is how I found the issues with virtualenv, pip, and 
> scripttest.
> 
> This release of pytest exits with an error if it can't find a test suite
> to run. So, we disable the check phases of virtualenv, pip, and 
> scripttest, because their test suites are not distributed via PyPi. If
> we want to run their test suites, we should package a source code
> snapshot instead of building from the release tarballs.
> 
> Pytest-runner must be updated to use the new pytest.
> 
> "Building the following 77 packages would ensure 210 dependent packages
> are rebuilt"...
> 
> [0]
> https://github.com/pyca/cryptography/issues/3034
> 
> Leo Famulari (6):
>   gnu: python-virtualenv: Disable tests.
>   gnu: python-pip: Disable tests.
>   gnu: python-scripttest: Disable tests.
>   gnu: python-pytest: Update to 2.9.2.
>   gnu: python-pytest-runner: Update to 2.8.
>   gnu: python-cryptopgraphy: Update to 1.4.
> 
>  gnu/packages/python.scm | 43 +--
>  1 file changed, 17 insertions(+), 26 deletions(-)
> 
> -- 
> 2.9.0
> 
> 

The patch-set looks good to me. For the curious, I checked python-pytest
and python2-pytest and ended up with 81 packages and 235 dependants, but
some of those are from my WIP tree in GUIX_PACKAGE_PATH

-- 
Efraim Flashner  אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted


signature.asc
Description: PGP signature