[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/08: Merge branch 'master' into python-tests
From: |
Marius Bakke |
Subject: |
01/08: Merge branch 'master' into python-tests |
Date: |
Tue, 14 Feb 2017 10:11:29 -0500 (EST) |
mbakke pushed a commit to branch python-tests
in repository guix.
commit 424b1ae76901c538457bd3c30d9d9cf67e79855f
Merge: a50e030 eae2dbd
Author: Marius Bakke <address@hidden>
Date: Mon Feb 13 22:35:05 2017 +0100
Merge branch 'master' into python-tests
.dir-locals.el | 2 +
.gitignore | 3 +-
.mailmap | 11 +-
HACKING | 4 +-
Makefile.am | 7 +-
README | 2 +-
config-daemon.ac | 1 +
configure.ac | 11 +-
doc/contributing.texi | 25 +-
doc/guix.texi | 751 ++++++++++++++++++-
etc/completion/bash/guix | 24 +-
etc/git/pre-push | 22 +-
etc/indent-code.el.in | 114 +++
etc/indent-package.el.in | 53 --
gnu/build/activation.scm | 62 +-
gnu/build/file-systems.scm | 33 +-
gnu/build/linux-container.scm | 40 +-
gnu/build/shepherd.scm | 177 +++++
gnu/local.mk | 67 +-
gnu/packages.scm | 34 +-
gnu/packages/admin.scm | 138 +++-
gnu/packages/algebra.scm | 4 +-
gnu/packages/astronomy.scm | 4 +-
gnu/packages/audacity.scm | 14 +-
gnu/packages/audio.scm | 8 +-
gnu/packages/backup.scm | 28 +-
gnu/packages/bash.scm | 49 +-
gnu/packages/benchmark.scm | 39 +-
gnu/packages/bioinformatics.scm | 648 +++++++++++++++-
gnu/packages/bittorrent.scm | 91 ++-
gnu/packages/bootloaders.scm | 332 +++++++++
gnu/packages/bootstrap.scm | 39 +-
gnu/packages/calendar.scm | 5 +-
gnu/packages/cdrom.scm | 6 +-
gnu/packages/check.scm | 4 +-
gnu/packages/ci.scm | 7 +-
gnu/packages/code.scm | 32 +-
gnu/packages/compression.scm | 133 +++-
gnu/packages/compton.scm | 106 +++
gnu/packages/crypto.scm | 38 +-
gnu/packages/cups.scm | 9 +
gnu/packages/cyrus-sasl.scm | 4 +-
gnu/packages/databases.scm | 264 ++++++-
gnu/packages/datamash.scm | 4 +-
gnu/packages/disk.scm | 18 +-
gnu/packages/django.scm | 4 +-
gnu/packages/dns.scm | 16 +-
gnu/packages/education.scm | 56 +-
gnu/packages/emacs.scm | 283 ++++++-
gnu/packages/engineering.scm | 1 -
gnu/packages/enlightenment.scm | 8 +-
gnu/packages/fcitx.scm | 36 +
gnu/packages/finance.scm | 51 ++
gnu/packages/firmware.scm | 136 +++-
gnu/packages/fonts.scm | 249 ++++++-
gnu/packages/freedesktop.scm | 13 +-
gnu/packages/ftp.scm | 18 +-
gnu/packages/games.scm | 243 ++++--
gnu/packages/gcal.scm | 6 +-
gnu/packages/gd.scm | 29 +-
gnu/packages/gdb.scm | 4 +-
gnu/packages/geo.scm | 93 ++-
gnu/packages/ghostscript.scm | 9 +
gnu/packages/gimp.scm | 5 +-
gnu/packages/gl.scm | 6 +-
gnu/packages/glib.scm | 70 +-
gnu/packages/gnome.scm | 555 ++++++++++----
gnu/packages/gnucash.scm | 4 +-
gnu/packages/gnunet.scm | 36 +-
gnu/packages/gnupg.scm | 85 +--
gnu/packages/gnuzilla.scm | 41 +-
gnu/packages/grub.scm | 161 ----
gnu/packages/gsasl.scm | 2 +-
gnu/packages/gstreamer.scm | 30 +-
gnu/packages/gtk.scm | 86 +--
gnu/packages/guile.scm | 132 ++--
gnu/packages/haskell.scm | 90 ++-
gnu/packages/image-viewers.scm | 59 ++
gnu/packages/image.scm | 6 +-
gnu/packages/imagemagick.scm | 4 +-
gnu/packages/irc.scm | 24 +-
gnu/packages/java.scm | 34 +-
gnu/packages/kde.scm | 21 +-
gnu/packages/kerberos.scm | 187 +++++
gnu/packages/ldc.scm | 210 +++++-
gnu/packages/libevent.scm | 44 +-
gnu/packages/libidn.scm | 7 +-
gnu/packages/libupnp.scm | 6 +-
gnu/packages/linux.scm | 218 +++++-
gnu/packages/lisp.scm | 4 +-
gnu/packages/lua.scm | 65 +-
gnu/packages/lxde.scm | 23 +-
gnu/packages/mail.scm | 229 +++++-
gnu/packages/mate.scm | 2 +-
gnu/packages/maths.scm | 129 +++-
gnu/packages/messaging.scm | 169 ++++-
gnu/packages/mg.scm | 46 +-
gnu/packages/mit-krb5.scm | 86 ---
gnu/packages/mpd.scm | 8 +-
gnu/packages/mtools.scm | 4 +-
gnu/packages/music.scm | 168 +++--
gnu/packages/networking.scm | 73 +-
gnu/packages/nfs.scm | 2 +-
gnu/packages/node.scm | 2 +-
gnu/packages/ocaml.scm | 815 ++++++++++++++++++++-
gnu/packages/onc-rpc.scm | 4 +-
gnu/packages/openbox.scm | 37 +
gnu/packages/orpheus.scm | 2 +-
gnu/packages/package-management.scm | 47 +-
gnu/packages/parallel.scm | 8 +-
gnu/packages/password-utils.scm | 25 +-
.../patches/duplicity-piped-password.patch | 20 -
.../patches/duplicity-test_selection-tmp.patch | 18 -
...dont-pass-linker-flags-via-response-files.patch | 27 +
.../gnupg-test-segfault-on-32bit-arch.patch | 40 -
.../gst-plugins-base-fix-test-on-32bit.patch | 32 +
gnu/packages/patches/httpd-CVE-2016-8740.patch | 36 -
.../patches/khal-disable-failing-tests.patch | 33 -
.../patches/lcms-fix-out-of-bounds-read.patch | 34 +
.../patches/ldc-1.1.0-disable-dmd-tests.patch | 35 +
.../patches/ldc-1.1.0-disable-phobos-tests.patch | 414 +++++++++++
...event-2.0-evdns-fix-remote-stack-overread.patch | 42 ++
...t-2.0-evdns-fix-searching-empty-hostnames.patch | 40 +
.../libevent-2.0-evutil-fix-buffer-overflow.patch | 42 ++
gnu/packages/patches/libevent-2.1-dns-tests.patch | 26 +
.../patches/libevent-2.1-skip-failing-test.patch | 24 +
gnu/packages/patches/libtiff-CVE-2017-5225.patch | 86 +++
gnu/packages/patches/libupnp-CVE-2016-6255.patch | 50 --
gnu/packages/patches/libupnp-CVE-2016-8863.patch | 72 --
gnu/packages/patches/libvpx-CVE-2016-2818.patch | 21 +-
.../patches/mupdf-mujs-CVE-2016-10132.patch | 188 +++++
.../patches/mupdf-mujs-CVE-2016-10133.patch | 36 +
gnu/packages/patches/ntfs-3g-CVE-2017-0358.patch | 42 ++
.../patches/omake-fix-non-determinism.patch | 41 ++
.../openjpeg-CVE-2016-9572-CVE-2016-9573.patch | 233 ++++++
gnu/packages/patches/p7zip-CVE-2016-9296.patch | 24 +
gnu/packages/patches/qemu-CVE-2016-10155.patch | 49 ++
gnu/packages/patches/qemu-CVE-2017-2615.patch | 52 ++
gnu/packages/patches/qemu-CVE-2017-5525.patch | 55 ++
gnu/packages/patches/qemu-CVE-2017-5526.patch | 58 ++
gnu/packages/patches/qemu-CVE-2017-5552.patch | 44 ++
gnu/packages/patches/qemu-CVE-2017-5578.patch | 39 +
gnu/packages/patches/qemu-CVE-2017-5579.patch | 44 ++
gnu/packages/patches/qemu-CVE-2017-5667.patch | 46 ++
gnu/packages/patches/qemu-CVE-2017-5856.patch | 68 ++
gnu/packages/patches/qemu-CVE-2017-5898.patch | 44 ++
gnu/packages/patches/qemu-CVE-2017-5931.patch | 55 ++
gnu/packages/patches/screen-CVE-2017-5618.patch | 40 +
.../patches/shadow-4.4-su-snprintf-fix.patch | 31 +
.../slurm-configure-remove-nonfree-contribs.patch | 22 +-
gnu/packages/patches/spice-CVE-2016-9577.patch | 33 +
gnu/packages/patches/spice-CVE-2016-9578-1.patch | 33 +
gnu/packages/patches/spice-CVE-2016-9578-2.patch | 38 +
gnu/packages/patches/tipp10-fix-compiling.patch | 213 ++++++
.../patches/tipp10-remove-license-code.patch | 332 +++++++++
gnu/packages/patches/totem-debug-format-fix.patch | 11 -
gnu/packages/patches/upower-builddir.patch | 2 +-
.../patches/vsearch-unbundle-cityhash.patch | 73 ++
.../patches/xf86-video-glint-remove-mibstore.patch | 24 -
.../patches/xf86-video-nv-remove-mibstore.patch | 72 --
gnu/packages/patches/xinetd-CVE-2013-4342.patch | 36 +
gnu/packages/patches/xinetd-fix-fd-leak.patch | 26 +
gnu/packages/pdf.scm | 36 +-
gnu/packages/perl.scm | 4 +-
gnu/packages/photo.scm | 12 +-
gnu/packages/plotutils.scm | 4 +-
gnu/packages/polkit.scm | 26 +
gnu/packages/popt.scm | 14 +-
gnu/packages/python.scm | 462 ++++++++++--
gnu/packages/qemu.scm | 15 +-
gnu/packages/rdesktop.scm | 73 +-
gnu/packages/re2c.scm | 47 ++
gnu/packages/regex.scm | 7 +-
gnu/packages/ruby.scm | 79 +-
gnu/packages/rust.scm | 3 +
gnu/packages/scheme.scm | 1 -
gnu/packages/screen.scm | 10 +-
gnu/packages/sdl.scm | 42 +-
gnu/packages/search.scm | 34 +-
gnu/packages/security-token.scm | 6 +-
gnu/packages/serialization.scm | 86 ++-
gnu/packages/shells.scm | 66 +-
gnu/packages/shellutils.scm | 4 +-
gnu/packages/shishi.scm | 70 --
gnu/packages/simh.scm | 96 +++
gnu/packages/spice.scm | 26 +-
gnu/packages/ssh.scm | 4 +-
gnu/packages/statistics.scm | 203 ++++-
gnu/packages/suckless.scm | 463 +++++++++++-
gnu/packages/sync.scm | 48 ++
gnu/packages/telephony.scm | 11 +-
gnu/packages/terminals.scm | 68 ++
gnu/packages/text-editors.scm | 102 ++-
gnu/packages/tls.scm | 66 +-
gnu/packages/tor.scm | 86 ++-
gnu/packages/tv.scm | 8 +-
gnu/packages/u-boot.scm | 136 ----
gnu/packages/version-control.scm | 84 ++-
gnu/packages/video.scm | 99 ++-
gnu/packages/vim.scm | 84 ++-
gnu/packages/vpn.scm | 5 +-
gnu/packages/web.scm | 122 ++-
gnu/packages/webkit.scm | 4 +-
gnu/packages/wget.scm | 8 +-
gnu/packages/wine.scm | 4 +-
gnu/packages/wm.scm | 71 +-
gnu/packages/xdisorg.scm | 26 +-
gnu/packages/xfce.scm | 7 +-
gnu/packages/xiph.scm | 4 +-
gnu/packages/xorg.scm | 344 ++++-----
gnu/services.scm | 36 +-
gnu/services/base.scm | 194 ++---
gnu/services/cuirass.scm | 16 +-
gnu/services/cups.scm | 2 +
gnu/services/mail.scm | 2 +
gnu/services/messaging.scm | 6 +-
gnu/services/networking.scm | 379 +++++++---
gnu/services/shepherd.scm | 2 +
gnu/services/spice.scm | 5 +-
gnu/services/ssh.scm | 3 +
gnu/services/vpn.scm | 494 +++++++++++++
gnu/services/web.scm | 97 ++-
gnu/system.scm | 5 +-
gnu/system/examples/bare-bones.tmpl | 2 +-
gnu/system/examples/desktop.tmpl | 2 +-
gnu/system/examples/lightweight-desktop.tmpl | 2 +-
gnu/system/file-systems.scm | 94 ++-
gnu/system/grub.scm | 8 +-
gnu/system/install.scm | 4 +-
gnu/system/linux-container.scm | 21 +-
gnu/system/mapped-devices.scm | 2 +-
gnu/system/shadow.scm | 38 +-
gnu/system/vm.scm | 2 +-
gnu/tests/base.scm | 119 ++-
gnu/tests/install.scm | 65 +-
gnu/tests/messaging.scm | 194 +++++
gnu/tests/web.scm | 146 ++++
guix/build-system/dub.scm | 147 ++++
guix/build-system/gnu.scm | 51 +-
guix/build-system/python.scm | 89 ++-
guix/build/bournish.scm | 11 +-
guix/build/dub-build-system.scm | 125 ++++
guix/build/r-build-system.scm | 3 +-
guix/build/syscalls.scm | 137 +++-
guix/combinators.scm | 18 +-
guix/derivations.scm | 89 ++-
guix/download.scm | 43 +-
guix/git-download.scm | 43 +-
guix/gnu-maintenance.scm | 111 +--
guix/grafts.scm | 58 +-
guix/http-client.scm | 26 +-
guix/import/cran.scm | 4 +-
guix/import/elpa.scm | 3 +-
guix/import/github.scm | 25 +-
guix/import/hackage.scm | 24 +-
guix/import/json.scm | 3 +-
guix/import/pypi.scm | 19 +-
guix/import/stackage.scm | 135 ++++
guix/licenses.scm | 10 +-
guix/memoization.scm | 114 +++
guix/modules.scm | 25 +-
guix/packages.scm | 70 +-
guix/profiles.scm | 27 +-
guix/scripts/build.scm | 22 +-
guix/scripts/challenge.scm | 185 +++--
guix/scripts/container/exec.scm | 13 +-
guix/scripts/copy.scm | 4 +-
guix/scripts/environment.scm | 33 +-
guix/scripts/graph.scm | 15 +-
guix/scripts/import.scm | 3 +-
guix/scripts/import/stackage.scm | 115 +++
guix/scripts/lint.scm | 25 +-
guix/scripts/refresh.scm | 1 +
guix/serialization.scm | 12 +-
guix/store.scm | 71 +-
guix/ui.scm | 52 +-
guix/utils.scm | 11 +-
nix/libstore/builtins.cc | 6 +
nix/libstore/worker-protocol.hh | 2 +-
nix/nix-daemon/guix-daemon.cc | 5 +-
nix/nix-daemon/nix-daemon.cc | 16 +-
tests/bournish.scm | 12 +
tests/challenge.scm | 62 +-
tests/containers.scm | 27 +
tests/cpan.scm | 2 +-
tests/crate.scm | 2 +-
tests/file-systems.scm | 32 +-
tests/gem.scm | 2 +-
tests/grafts.scm | 118 ++-
tests/guix-daemon.sh | 29 +-
tests/guix-environment.sh | 7 +-
tests/pypi.scm | 20 +-
tests/store.scm | 32 +-
tests/syscalls.scm | 23 +-
294 files changed, 16200 insertions(+), 3378 deletions(-)
diff --cc gnu/packages/admin.scm
index 687cfad,b2207a1..e12cfd2
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@@ -1714,9 -1704,9 +1715,12 @@@ throughput (in the same interval)."
("python-psutil" ,python-psutil)
("python-six" ,python-six)))
(native-inputs
- ;; Requires setuptools >= 17.1 due to some features used, while our
- ;; python currently only includes 12.0. TODO: Remove this input.
- `(("python-setuptools" ,python-setuptools)))
+ `(("python-mock" ,python-mock)
+ ("python-pytest" ,python-pytest)
- ("python-pytest-mock" ,python-pytest-mock)))
++ ("python-pytest-mock" ,python-pytest-mock)
++ ;; Requires setuptools >= 17.1 due to some features used, while our
++ ;; python currently only includes 12.0. TODO: Remove this input.
++ ("python-setuptools" ,python-setuptools)))
(home-page "https://github.com/nvbn/thefuck")
(synopsis "Correct mistyped console command")
(description
diff --cc gnu/packages/python.scm
index fd423d3,22a4c59..1492e0f
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@@ -1076,10 -1061,10 +1078,10 @@@ Python file, so it can be easily copie
(define-public python2-six
(package-with-python2 python-six))
-(define-public python-dateutil-2
+(define-public python-dateutil
(package
(name "python-dateutil")
- (version "2.5.2")
+ (version "2.5.3")
(source
(origin
(method url-fetch)
@@@ -5678,10 -5557,8 +5724,10 @@@ Python style, together with a fast and
(method url-fetch)
(uri (pypi-uri "seaborn" version))
(sha256
- (base32 "0ibi3xsfm2kysph61mnfy0pf8d5rkgxgrdb0z9nbizgcgdsb5a0m"))))
+ (base32 "0pawrqc3mxpwd5g9pvi9gba02637bh5c8ldpp8izfwpfn52469zs"))))
(build-system python-build-system)
+ (arguments
+ '(#:tests? #f)) ; Tests requires a running X11 server.
(propagated-inputs
`(("python-pandas" ,python-pandas)
("python-matplotlib" ,python-matplotlib)
@@@ -8493,10 -8352,10 +8615,10 @@@ processes across test runs."
(uri (pypi-uri "icalendar" version))
(sha256
(base32
- "1bvi7rzh7scl4nmgj2n2cy7k0v3p29y15cqy2hcdnfq9mnhdr63y"))))
+ "17rcy6rb9kqjf4p707ivmx7phjq7ngcz3bf7zriwxrqgrjagj7ag"))))
(build-system python-build-system)
(propagated-inputs
- `(("python-dateutil-2" ,python-dateutil-2)
+ `(("python-dateutil" ,python-dateutil)
("python-pytz" ,python-pytz)))
(synopsis "Python library for parsing iCalendar files")
(description "The icalendar package is a parser/generator of iCalendar
@@@ -12780,48 -12498,190 +12902,236 @@@ Features
@end enumerate")
(license (license:x11-style "file://LICENSE"))))
+(define-public python-dulwich
+ (package
+ (name "python-dulwich")
+ (version "0.16.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (list (string-append "https://www.dulwich.io/releases/"
+ "dulwich-" version ".tar.gz")
+ (pypi-uri "dulwich" version)))
+ (sha256
+ (base32 "0fl47vzfgc3w3rmhn8naii905cjqcp0vc68iyvymxp7567hh6als"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'fix-tests
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; The tests use Popen with a custom environment which doesn't
+ ;; include PATH.
+ (substitute* "dulwich/tests/compat/utils.py"
+ (("'git'") (string-append "'"
+ (which "git")
+ "'")))
+ (substitute* '("dulwich/tests/test_repository.py"
+ "dulwich/tests/test_hooks.py")
+ (("#!/bin/sh") (string-append "#!" (which "sh"))))
+ (setenv "TEST_RUNNER" "unittest")
+ (setenv "PYTHONHASHSEED" "random")
+ #t)))))
+ (propagated-inputs
+ `(("python-fastimport" ,python-fastimport)))
+ (native-inputs
+ `(("python-mock" ,python-mock)
+ ("python-geventhttpclient" ,python-geventhttpclient)
+ ("git" ,git)))
+ (home-page "https://www.dulwich.io/")
+ (synopsis "Git implementation in Python")
+ (description "Dulwich is an implementation of the Git file formats and
+protocols written in pure Python.")
+ ;; Can be used with either license.
+ (license (list license:asl2.0 license:gpl2+))))
+
+(define-public python2-dulwich
+ (package-with-python2 python-dulwich))
++
+ (define-public python-pbkdf2
+ (package
+ (name "python-pbkdf2")
+ (version "1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pbkdf2" version))
+ (sha256
+ (base32
+ "0yb99rl2mbsaamj571s1mf6vgniqh23v98k4632150hjkwv9fqxc"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-pycrypto" ,python-pycrypto))) ; optional
+ (home-page "http://www.dlitz.net/software/python-pbkdf2/")
+ (synopsis "Password-based key derivation")
+ (description "This module implements the password-based key derivation
+ function, PBKDF2, specified in RSA PKCS#5 v2.0.
+
+ PKCS#5 v2.0 Password-Based Key Derivation is a key derivation function which
+ is part of the RSA Public Key Cryptography Standards series. The provided
+ implementation takes a password or a passphrase and a salt value (and
+ optionally a iteration count, a digest module, and a MAC module) and provides
+ a file-like object from which an arbitrarly-sized key can be read.")
+ (license license:expat)))
+
+ (define-public python2-pbkdf2
+ (package-with-python2 python-pbkdf2))
+
+ (define-public python-qrcode
+ (package
+ (name "python-qrcode")
+ (version "5.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "qrcode" version))
+ (sha256
+ (base32
+ "0kljfrfq0c2rmxf8am57333ia41kd0snbm2rnqbdy816hgpcq5a1"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-lxml" ,python-lxml) ; for SVG output
+ ("python-pillow" ,python-pillow) ; for PNG output
+ ("python-six" ,python-six)))
+ (home-page "https://github.com/lincolnloop/python-qrcode")
+ (synopsis "QR Code image generator")
+ (description "This package provides a pure Python QR Code generator
+ module. It uses the Python Imaging Library (PIL) to allow for the generation
+ of QR Codes.
+
+ In addition this package provides a command line tool to generate QR codes and
+ either write these QR codes to a file or do the output as ascii art at the
+ console.")
+ (license license:bsd-3)))
+
+ (define-public python2-qrcode
+ (package-with-python2 python-qrcode))
+
+ ;; SlowAES isn't compatible with Python 3.
+ (define-public python2-slowaes
+ (package
+ (name "python2-slowaes")
+ (version "0.1a1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "slowaes" version))
+ (sha256
+ (base32
+ "02dzajm83a7lqgxf6r3hgj64wfmcxz8gs4nvgxpvj5n19kjqlrc3"))))
+ (build-system python-build-system)
+ (arguments `(#:python ,python-2))
+ (home-page "http://code.google.com/p/slowaes/")
+ (synopsis "Implementation of AES in Python")
+ (description "This package contains an implementation of AES in Python.
+ This implementation is slow (hence the project name) but still useful when
+ faster ones are not available.")
+ (license license:asl2.0)))
+
+ (define-public python-rst2ansi
+ (package
+ (name "python-rst2ansi")
+ (version "0.1.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "rst2ansi" version))
+ (sha256
+ (base32
+ "0vzy6gd60l79ff750scl0sz48r1laalkl6md6dwzah4dcadgn5qv"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-docutils" ,python-docutils)))
+ (home-page "https://github.com/Snaipe/python-rst-to-ansi")
+ (synopsis "Convert RST to ANSI-decorated console output")
+ (description
+ "Python module dedicated to rendering RST (reStructuredText) documents
+ to ansi-escaped strings suitable for display in a terminal.")
+ (license license:expat)))
+
+ (define-public python-ddt
+ (package
+ (name "python-ddt")
+ (version "1.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "ddt" version))
+ (sha256
+ (base32
+ "1c00ikkxr7lha97c81k938bzhgd4pbwamkjn0h4nkhr3xk00zp6n"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-mock" ,python-mock)
+ ("python-nose" ,python-nose)))
+ (propagated-inputs
+ `(("python-six" ,python-six)
+ ("python-pyyaml" ,python-pyyaml)))
+ (home-page "https://github.com/txels/ddt")
+ (synopsis "Data-Driven Tests")
+ (description
+ "DDT (Data-Driven Tests) allows you to multiply one test case by running
+ it with different test data, and make it appear as multiple test cases.")
+ (license license:expat)))
+
+ (define-public python2-ddt
+ (package-with-python2 python-ddt))
+
+ (define-public python-pycosat
+ (package
+ (name "python-pycosat")
+ (version "0.6.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pycosat" version))
+ (sha256
+ (base32
+ "1kl3wh1f47rc712n4bmwplbx3fqz3x9i1b587jrbpmvdva4c8f6l"))))
+ ;; TODO: Unundle picosat. http://fmv.jku.at/picosat/
+ (build-system python-build-system)
+ (home-page "https://github.com/ContinuumIO/pycosat")
+ (synopsis "Bindings to picosat (a SAT solver)")
+ (description
+ "This package provides efficient Python bindings to @code{picosat} on
+ the C level. When importing pycosat, the @code{picosat} solver becomes part
+ of the Python process itself. @code{picosat} is a @dfn{Boolean Satisfiability
+ Problem} (SAT) solver.")
+ (license license:expat)))
+
+ (define-public python2-pycosat
+ (package-with-python2 python-pycosat))
+
+ (define-public python2-ruamel.ordereddict
+ (package
+ (name "python2-ruamel.ordereddict")
+ (version "0.4.9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "ruamel.ordereddict" version))
+ (sha256
+ (base32
+ "1xmkl8v9l9inm2pyxgc1fm5005yxm7fkd5gv74q7lj1iy5qc8n3h"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:python ,python-2
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'check)
+ (add-after 'install 'check
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (add-installed-pythonpath inputs outputs)
+ (zero? (system* "python" "test/testordereddict.py")))))))
+ (home-page "https://bitbucket.org/ruamel/ordereddict")
+ (synopsis "Version of dict that keeps keys in insertion order")
+ (description
+ "This is an implementation of an ordered dictionary with @dfn{Key
+ Insertion Order} (KIO: updates of values do not affect the position of the
+ key), @dfn{Key Value Insertion Order} (KVIO, an existing key's position is
+ removed and put at the back). The standard library module @code{OrderedDict},
+ implemented later, implements a subset of @code{ordereddict} functionality.
+ Sorted dictionaries are also provided. Currently only with @dfn{Key Sorted
+ Order} (KSO, no sorting function can be specified, but a transform can be
+ specified to apply on the key before comparison (e.g. @code{string.lower})).")
+ (license license:expat)))
- branch python-tests updated (a50e030 -> 619bfd8), Marius Bakke, 2017/02/14
- 02/08: gnu: python-trollius-redis: Disable tests., Marius Bakke, 2017/02/14
- 04/08: gnu: python-oslosphinx: Disable tests., Marius Bakke, 2017/02/14
- 08/08: gnu: awscli: Explicitly disable tests., Marius Bakke, 2017/02/14
- 05/08: gnu: python-openid-cla: Disable tests., Marius Bakke, 2017/02/14
- 06/08: gnu: python-openid-teams: Disable tests., Marius Bakke, 2017/02/14
- 03/08: gnu: python-pygit2: Skip tests requiring network access., Marius Bakke, 2017/02/14
- 07/08: gnu: python-mako: Fix tests., Marius Bakke, 2017/02/14
- 01/08: Merge branch 'master' into python-tests,
Marius Bakke <=