[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: Merge branch 'master' into python-updates
From: |
Efraim Flashner |
Subject: |
01/01: Merge branch 'master' into python-updates |
Date: |
Tue, 4 Oct 2016 18:41:19 +0000 (UTC) |
efraim pushed a commit to branch python-updates
in repository guix.
commit 8beecd9f698b3bbea02d6a18874388299bbc52fd
Merge: 46c3cbe f75bb2c
Author: Efraim Flashner <address@hidden>
Date: Wed Sep 21 11:13:02 2016 +0300
Merge branch 'master' into python-updates
.dir-locals.el | 3 +
.mailmap | 1 +
HACKING | 10 +-
Makefile.am | 31 +-
NEWS | 358 +++
THANKS | 1 +
TODO | 12 -
build-aux/build-self.scm | 59 +-
config-daemon.ac | 4 +-
configure.ac | 39 +-
doc/contributing.texi | 43 +-
doc/emacs.texi | 6 +-
doc/guix.texi | 924 ++++++-
doc/htmlxref.cnf | 8 +-
emacs/guix-devel.el | 2 +
emacs/guix-main.scm | 20 +-
etc/completion/bash/guix | 41 +-
etc/completion/zsh/_guix | 456 ++++
etc/guix-daemon.service.in | 1 +
gnu/build/activation.scm | 18 +-
gnu/build/file-systems.scm | 34 +-
gnu/build/install.scm | 6 +-
gnu/local.mk | 96 +-
gnu/packages.scm | 14 +-
gnu/packages/admin.scm | 205 +-
gnu/packages/adns.scm | 4 +-
gnu/packages/algebra.scm | 30 +-
gnu/packages/apl.scm | 4 +-
gnu/packages/aspell.scm | 8 +
gnu/packages/astronomy.scm | 109 +
gnu/packages/audacity.scm | 5 +-
gnu/packages/audio.scm | 163 +-
gnu/packages/autotools.scm | 7 +-
gnu/packages/avr.scm | 37 +-
gnu/packages/backup.scm | 80 +-
gnu/packages/base.scm | 244 +-
gnu/packages/bash.scm | 54 +-
gnu/packages/benchmark.scm | 63 +
gnu/packages/bioinformatics.scm | 1290 ++++++++-
gnu/packages/bison.scm | 6 +-
gnu/packages/bittorrent.scm | 8 +-
gnu/packages/boost.scm | 84 +-
gnu/packages/bootstrap.scm | 2 +-
gnu/packages/c.scm | 2 +-
gnu/packages/calendar.scm | 88 +-
gnu/packages/cdrom.scm | 12 +-
gnu/packages/certs.scm | 22 +-
gnu/packages/check.scm | 8 +-
gnu/packages/ci.scm | 17 +-
gnu/packages/cmake.scm | 112 +-
gnu/packages/code.scm | 31 +-
gnu/packages/commencement.scm | 46 +-
gnu/packages/compression.scm | 219 +-
gnu/packages/conky.scm | 10 +-
gnu/packages/cook.scm | 4 +-
gnu/packages/cross-base.scm | 37 +-
gnu/packages/crypto.scm | 248 +-
gnu/packages/cups.scm | 35 +-
gnu/packages/curl.scm | 14 +
gnu/packages/databases.scm | 183 +-
gnu/packages/datastructures.scm | 22 +
gnu/packages/dav.scm | 9 +-
gnu/packages/debug.scm | 80 +-
gnu/packages/dico.scm | 15 +-
gnu/packages/dictionaries.scm | 64 +-
gnu/packages/disk.scm | 113 +-
gnu/packages/display-managers.scm | 249 ++
gnu/packages/django.scm | 195 ++
gnu/packages/djvu.scm | 4 +-
gnu/packages/dns.scm | 80 +-
gnu/packages/docbook.scm | 7 +-
gnu/packages/documentation.scm | 29 +-
gnu/packages/ebook.scm | 20 +-
gnu/packages/ed.scm | 16 +-
gnu/packages/education.scm | 140 +
gnu/packages/elixir.scm | 99 +
gnu/packages/emacs.scm | 648 ++++-
gnu/packages/engineering.scm | 30 +-
gnu/packages/enlightenment.scm | 199 +-
gnu/packages/entr.scm | 4 +-
gnu/packages/finance.scm | 12 +-
gnu/packages/fish.scm | 65 -
gnu/packages/flashing-tools.scm | 4 +-
gnu/packages/flex.scm | 6 +-
gnu/packages/fonts.scm | 15 +-
gnu/packages/fontutils.scm | 20 +-
gnu/packages/freedesktop.scm | 173 +-
gnu/packages/freeipmi.scm | 7 +-
gnu/packages/game-development.scm | 167 +-
gnu/packages/games.scm | 485 +++-
gnu/packages/gcc.scm | 8 +-
gnu/packages/gd.scm | 9 +-
gnu/packages/geeqie.scm | 6 +-
gnu/packages/geo.scm | 5 +-
gnu/packages/gettext.scm | 4 +-
gnu/packages/ghostscript.scm | 61 +-
gnu/packages/gimp.scm | 31 +-
gnu/packages/gl.scm | 143 +-
gnu/packages/gnome.scm | 217 +-
gnu/packages/gnucash.scm | 4 +-
gnu/packages/gnunet.scm | 108 +-
gnu/packages/gnupg.scm | 318 ++-
gnu/packages/gnustep.scm | 2 +-
gnu/packages/gnuzilla.scm | 39 +-
gnu/packages/golang.scm | 158 ++
gnu/packages/gps.scm | 8 +-
gnu/packages/graphics.scm | 35 +-
gnu/packages/graphviz.scm | 4 +-
gnu/packages/grub.scm | 35 +-
gnu/packages/gstreamer.scm | 76 +-
gnu/packages/gtk.scm | 81 +-
gnu/packages/guile-wm.scm | 85 +-
gnu/packages/guile.scm | 287 +-
gnu/packages/gv.scm | 4 +-
gnu/packages/haskell.scm | 7 +-
gnu/packages/{djvu.scm => hexedit.scm} | 30 +-
gnu/packages/hurd.scm | 87 +-
gnu/packages/ibus.scm | 63 +-
gnu/packages/image.scm | 207 +-
gnu/packages/imagemagick.scm | 15 +-
gnu/packages/irc.scm | 97 +
gnu/packages/java.scm | 721 ++++--
gnu/packages/julia.scm | 3 +
gnu/packages/kde-frameworks.scm | 2728 +++++++++++++++++++-
gnu/packages/ld-wrapper.in | 6 +-
gnu/packages/ldc.scm | 16 +-
gnu/packages/libidn.scm | 14 +
gnu/packages/libreoffice.scm | 23 +-
gnu/packages/libupnp.scm | 4 +-
gnu/packages/libusb.scm | 4 +-
gnu/packages/lighting.scm | 75 +
gnu/packages/links.scm | 40 +-
...bre-4.6-i686.conf => linux-libre-4.7-i686.conf} | 145 +-
...4.6-x86_64.conf => linux-libre-4.7-x86_64.conf} | 164 +-
gnu/packages/linux.scm | 624 +++--
gnu/packages/lirc.scm | 55 +-
gnu/packages/lisp.scm | 149 +-
gnu/packages/llvm.scm | 110 +-
gnu/packages/lout.scm | 5 +-
gnu/packages/lsh.scm | 159 --
gnu/packages/lua.scm | 250 +-
gnu/packages/lxde.scm | 14 +-
gnu/packages/machine-learning.scm | 118 +-
gnu/packages/mail.scm | 367 ++-
gnu/packages/make-bootstrap.scm | 4 +-
gnu/packages/man.scm | 31 +-
gnu/packages/markdown.scm | 5 +-
gnu/packages/marst.scm | 9 +-
gnu/packages/maths.scm | 535 ++--
gnu/packages/mcrypt.scm | 13 +-
gnu/packages/messaging.scm | 327 ++-
gnu/packages/microcom.scm | 57 +
gnu/packages/mit-krb5.scm | 38 +-
gnu/packages/mono.scm | 109 +
gnu/packages/moreutils.scm | 11 +-
gnu/packages/mp3.scm | 6 +-
gnu/packages/mpd.scm | 70 +-
gnu/packages/mpi.scm | 21 +-
gnu/packages/multiprecision.scm | 4 +-
gnu/packages/music.scm | 330 ++-
gnu/packages/musl.scm | 50 +
gnu/packages/nano.scm | 5 +-
gnu/packages/ncurses.scm | 48 +-
gnu/packages/netpbm.scm | 117 +-
gnu/packages/networking.scm | 478 +++-
gnu/packages/nfs.scm | 118 +
gnu/packages/ocaml.scm | 43 +-
gnu/packages/ocr.scm | 34 +-
gnu/packages/onc-rpc.scm | 52 +-
gnu/packages/openbox.scm | 8 +-
gnu/packages/openldap.scm | 28 +-
gnu/packages/openstack.scm | 80 +-
gnu/packages/package-management.scm | 23 +-
gnu/packages/parallel.scm | 31 +-
gnu/packages/password-utils.scm | 79 +-
.../patches/automake-test-gzip-warning.patch | 17 +
.../patches/bash-completion-directories.patch | 40 +-
.../patches/beets-image-test-failure.patch | 46 -
gnu/packages/patches/calibre-drop-unrar.patch | 48 +-
.../patches/clang-3.8-libc-search-path.patch | 69 +
gnu/packages/patches/cracklib-CVE-2016-6318.patch | 95 +
gnu/packages/patches/dealii-p4est-interface.patch | 62 -
.../patches/dico-libtool-deterministic.patch | 15 -
.../patches/elixir-disable-failing-tests.patch | 261 ++
.../patches/expat-CVE-2015-1283-refix.patch | 27 +-
gnu/packages/patches/expat-CVE-2015-1283.patch | 89 -
.../patches/fontconfig-CVE-2016-5384.patch | 170 ++
gnu/packages/patches/fossil-test-fixes.patch | 189 --
gnu/packages/patches/gd-fix-gd2-read-test.patch | 14 +
gnu/packages/patches/gd-fix-tests-on-i686.patch | 66 +
gnu/packages/patches/gimp-CVE-2016-4994.patch | 96 -
gnu/packages/patches/glibc-CVE-2015-7547.patch | 559 ----
.../patches/glibc-hurd-extern-inline.patch | 35 -
.../patches/glibc-locale-incompatibility.patch | 23 -
gnu/packages/patches/glibc-locales.patch | 6 +-
gnu/packages/patches/gnupg-fix-expired-test.patch | 78 +
.../gtk2-respect-GUIX_GTK2_IM_MODULE_FILE.patch | 15 +
.../gtk3-respect-GUIX_GTK3_IM_MODULE_FILE.patch | 15 +
gnu/packages/patches/hydra-automake-1.15.patch | 63 -
.../patches/icedtea-remove-overrides.patch | 291 ---
.../patches/jbig2dec-ignore-testtest.patch | 24 +-
gnu/packages/patches/jq-CVE-2015-8863.patch | 45 +
gnu/packages/patches/laby-make-install.patch | 25 +
.../patches/libarchive-CVE-2013-0211.patch | 21 -
.../patches/libarchive-CVE-2016-1541.patch | 67 -
gnu/packages/patches/libarchive-bsdtar-test.patch | 74 -
.../patches/libarchive-fix-lzo-test-case.patch | 83 -
.../libarchive-mtree-filename-length-fix.patch | 18 -
.../patches/libpthread-glibc-preparation.patch | 146 --
gnu/packages/patches/libtiff-CVE-2016-3623.patch | 30 +
gnu/packages/patches/libtiff-CVE-2016-3945.patch | 94 +
gnu/packages/patches/libtiff-CVE-2016-3990.patch | 31 +
gnu/packages/patches/libtiff-CVE-2016-3991.patch | 123 +
gnu/packages/patches/libtiff-CVE-2016-5314.patch | 45 +
gnu/packages/patches/libtiff-CVE-2016-5321.patch | 25 +
gnu/packages/patches/libtiff-CVE-2016-5323.patch | 88 +
gnu/packages/patches/libxslt-CVE-2015-7995.patch | 29 -
gnu/packages/patches/libxslt-generated-ids.patch | 173 ++
gnu/packages/patches/llvm-for-extempore.patch | 118 +
gnu/packages/patches/lua51-pkgconfig.patch | 101 +
gnu/packages/patches/mit-krb5-CVE-2015-8629.patch | 51 -
gnu/packages/patches/mit-krb5-CVE-2015-8630.patch | 81 -
gnu/packages/patches/mit-krb5-CVE-2015-8631.patch | 576 -----
.../mit-krb5-init-context-null-spnego.patch | 49 -
gnu/packages/patches/mupdf-CVE-2016-6265.patch | 30 +
gnu/packages/patches/mupdf-CVE-2016-6525.patch | 21 +
.../patches/mupdf-build-with-openjpeg-2.1.patch | 38 +
gnu/packages/patches/netsurf-about.patch | 26 +
.../patches/onionshare-fix-install-paths.patch | 39 +
gnu/packages/patches/openjpeg-CVE-2016-5157.patch | 96 +
gnu/packages/patches/openjpeg-CVE-2016-7163.patch | 71 +
gnu/packages/patches/openssh-CVE-2015-8325.patch | 31 -
.../patches/openssl-1.1.0-c-rehash-in.patch | 19 +
.../patches/p7zip-remove-unused-code.patch | 959 +++++++
...esolver-programmable-Fix-broken-interface.patch | 30 +
gnu/packages/patches/procps-non-linux.patch | 40 +
.../patches/python-django-fix-testcase.patch | 42 +
.../patches/python-statsmodels-fix-tests.patch | 196 ++
gnu/packages/patches/rapicorn-isnan.patch | 87 +
.../patches/ruby-puma-ignore-broken-test.patch | 24 +-
.../patches/ruby-rack-ignore-failing-test.patch | 13 +
gnu/packages/patches/slock-CVE-2016-6866.patch | 51 +
gnu/packages/patches/steghide-fixes.patch | 71 +
gnu/packages/patches/swish-e-format-security.patch | 33 +
gnu/packages/patches/swish-e-search.patch | 43 +
gnu/packages/patches/tar-d_ino_in_dirent-fix.patch | 33 -
gnu/packages/patches/tuxpaint-stamps-path.patch | 24 +
.../patches/xf86-video-openchrome-glibc-2.20.patch | 15 -
gnu/packages/pcre.scm | 19 +-
gnu/packages/pdf.scm | 205 +-
gnu/packages/perl.scm | 614 ++++-
gnu/packages/photo.scm | 12 +-
gnu/packages/plotutils.scm | 3 +-
gnu/packages/polkit.scm | 2 +-
gnu/packages/popt.scm | 3 +-
gnu/packages/protobuf.scm | 41 +-
gnu/packages/pulseaudio.scm | 22 +-
gnu/packages/python.scm | 2090 +++++++++++----
gnu/packages/qemu.scm | 378 ++-
gnu/packages/qt.scm | 329 ++-
gnu/packages/rails.scm | 8 +-
gnu/packages/rc.scm | 72 -
gnu/packages/rdesktop.scm | 4 +-
gnu/packages/rdf.scm | 10 +-
gnu/packages/readline.scm | 28 +
gnu/packages/regex.scm | 89 +
gnu/packages/ruby.scm | 188 +-
gnu/packages/samba.scm | 83 +-
gnu/packages/scheme.scm | 319 ++-
gnu/packages/screen.scm | 40 +-
gnu/packages/scribus.scm | 9 +-
gnu/packages/scsi.scm | 54 +
gnu/packages/sdl.scm | 26 +-
gnu/packages/search.scm | 93 +-
gnu/packages/serialization.scm | 79 +-
gnu/packages/shells.scm | 271 ++
gnu/packages/shellutils.scm | 76 +-
gnu/packages/skarnet.scm | 229 +-
gnu/packages/skribilo.scm | 3 +-
gnu/packages/slim.scm | 95 -
gnu/packages/smalltalk.scm | 87 +-
gnu/packages/spice.scm | 332 +++
gnu/packages/ssh.scm | 262 +-
gnu/packages/stalonetray.scm | 7 +-
gnu/packages/statistics.scm | 256 +-
gnu/packages/suckless.scm | 90 +-
gnu/packages/swig.scm | 21 +-
gnu/packages/synergy.scm | 6 +-
gnu/packages/tbb.scm | 11 +-
gnu/packages/tcl.scm | 8 +-
gnu/packages/tcsh.scm | 86 -
gnu/packages/telephony.scm | 34 +
gnu/packages/terminals.scm | 140 +-
gnu/packages/tex.scm | 87 +-
gnu/packages/texinfo.scm | 14 +-
gnu/packages/textutils.scm | 2 +-
gnu/packages/tls.scm | 298 ++-
gnu/packages/tor.scm | 108 +-
gnu/packages/tre.scm | 57 -
gnu/packages/u-boot.scm | 136 +
gnu/packages/version-control.scm | 463 ++--
gnu/packages/video.scm | 227 +-
gnu/packages/vim.scm | 20 +-
gnu/packages/w3m.scm | 5 +-
gnu/packages/web.scm | 366 ++-
gnu/packages/webkit.scm | 6 +-
gnu/packages/wine.scm | 4 +-
gnu/packages/wm.scm | 80 +-
gnu/packages/wordnet.scm | 2 +-
gnu/packages/wxwidgets.scm | 8 +-
gnu/packages/xdisorg.scm | 200 +-
gnu/packages/xiph.scm | 4 +-
gnu/packages/xml.scm | 283 +-
gnu/packages/xorg.scm | 232 +-
gnu/packages/zsh.scm | 81 -
gnu/services.scm | 122 +-
gnu/services/avahi.scm | 5 +-
gnu/services/base.scm | 544 ++--
gnu/services/databases.scm | 14 +-
gnu/services/dbus.scm | 52 +-
gnu/services/desktop.scm | 117 +-
gnu/services/dict.scm | 3 +-
gnu/services/herd.scm | 37 +-
gnu/services/lirc.scm | 7 +-
gnu/services/mail.scm | 13 +-
gnu/services/networking.scm | 96 +-
gnu/services/nfs.scm | 54 +
gnu/services/sddm.scm | 318 +++
gnu/services/shepherd.scm | 139 +-
gnu/services/spice.scm | 75 +
gnu/services/ssh.scm | 102 +-
gnu/services/web.scm | 13 +-
gnu/services/xorg.scm | 59 +-
gnu/system.scm | 112 +-
gnu/system/examples/lightweight-desktop.tmpl | 2 +-
gnu/system/file-systems.scm | 19 +-
gnu/system/grub.scm | 17 +-
gnu/system/install.scm | 137 +-
gnu/system/linux-container.scm | 49 +-
gnu/system/linux-initrd.scm | 167 +-
gnu/system/locale.scm | 8 +-
gnu/system/mapped-devices.scm | 87 +-
gnu/system/pam.scm | 61 +
gnu/system/shadow.scm | 74 +-
gnu/system/vm.scm | 155 +-
gnu/tests.scm | 122 +-
gnu/tests/base.scm | 571 ++--
gnu/tests/install.scm | 241 +-
guix/base64.scm | 26 +-
guix/build-system/ant.scm | 2 +-
guix/build/ant-build-system.scm | 2 +-
guix/build/download.scm | 3 +-
guix/build/gnu-build-system.scm | 2 +-
guix/build/graft.scm | 221 +-
guix/build/pull.scm | 39 +-
guix/build/qt-utils.scm | 40 +
guix/build/ruby-build-system.scm | 57 +-
guix/build/syscalls.scm | 180 +-
guix/config.scm.in | 39 +-
guix/cvs-download.scm | 20 +-
guix/derivations.scm | 21 +-
guix/download.scm | 159 +-
guix/gexp.scm | 319 ++-
guix/git-download.scm | 36 +-
guix/gnu-maintenance.scm | 35 +
guix/gnupg.scm | 4 +-
guix/hg-download.scm | 22 +-
guix/import/cpan.scm | 4 +-
guix/import/hackage.scm | 7 +-
guix/import/pypi.scm | 13 +-
guix/import/utils.scm | 26 +-
guix/modules.scm | 155 ++
guix/packages.scm | 272 +-
guix/profiles.scm | 520 ++--
guix/records.scm | 19 +-
guix/scripts.scm | 9 +-
guix/scripts/archive.scm | 2 +-
guix/scripts/build.scm | 34 +-
guix/scripts/challenge.scm | 40 +-
guix/scripts/edit.scm | 13 +-
guix/scripts/environment.scm | 7 +-
guix/scripts/gc.scm | 7 +-
guix/scripts/hash.scm | 27 +-
guix/scripts/import/gnu.scm | 6 +-
guix/scripts/import/nix.scm | 4 +-
guix/scripts/lint.scm | 61 +-
guix/scripts/offload.scm | 4 +-
guix/scripts/package.scm | 145 +-
guix/scripts/publish.scm | 232 +-
guix/scripts/refresh.scm | 8 +-
guix/scripts/size.scm | 11 +-
guix/scripts/substitute.scm | 5 +-
guix/scripts/system.scm | 82 +-
guix/store.scm | 2 +-
guix/svn-download.scm | 22 +-
guix/ui.scm | 31 +-
guix/utils.scm | 6 +
guix/zlib.scm | 245 ++
m4/guix.m4 | 24 +-
po/guix/pl.po | 1368 ++++++----
po/packages/POTFILES.in | 2 +-
tests/cpan.scm | 4 +-
tests/gem.scm | 2 +-
tests/gexp.scm | 153 +-
tests/grafts.scm | 16 +-
tests/guix-build.sh | 6 +
tests/guix-environment-container.sh | 11 +-
tests/guix-environment.sh | 4 +
tests/guix-hash.sh | 16 +
tests/guix-register.sh | 18 +-
tests/guix-system.sh | 4 +-
tests/hackage.scm | 2 +-
tests/lint.scm | 80 +-
tests/modules.scm | 45 +
tests/packages.scm | 103 +-
tests/profiles.scm | 13 +
tests/publish.scm | 132 +-
tests/pypi.scm | 20 +-
tests/records.scm | 29 +-
tests/services.scm | 79 +-
tests/system.scm | 43 +
tests/zlib.scm | 63 +
422 files changed, 33386 insertions(+), 11191 deletions(-)
diff --cc gnu/packages/python.scm
index 9c9d43e,65e6389..2434d13
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@@ -9752,77 -10002,937 +10001,1012 @@@ characters, mouse support, and auto sug
`(("python2-setuptools" ,python2-setuptools)
,@(package-native-inputs base))))))
+(define-public python-imagesize
+ (package
+ (name "python-imagesize")
+ (version "0.7.1")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "imagesize" version))
+ (sha256
+ (base32
+ "0qk07k0z4241lkzzjji7z4da04pcvg7bfc4xz1934zlqhwmwdcha"))))
+ (build-system python-build-system)
+ (synopsis "Calculate the size of an image")
+ (description "This Python module returns the size of an image. It
supports
+the PNG, JPEG, JPEG 2000, and GIF formats.")
+ (home-page "https://github.com/shibukawa/imagesize_py")
+ (license license:expat)
+ (properties `((python2-variant . ,(delay python2-imagesize))))))
+
+(define-public python2-imagesize
+ (let ((base (package-with-python2 (strip-python2-variant
python-imagesize))))
+ (package
+ (inherit base)
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs base))))))
+
- (define-public python-alabaster
+ (define-public ptpython
(package
- (name "python-alabaster")
- (version "0.7.8")
+ (name "ptpython")
+ (version "0.34")
(source (origin
(method url-fetch)
- (uri (pypi-uri "alabaster" version))
+ (uri (pypi-uri "ptpython" version))
(sha256
(base32
- "1zqz9hsvnmpjklmir6g7rxlv2fslrgsnwb91r9sgz4n1zja1pjx1"))))
+ "1mmbiyzf0n8hm7z2a562x7w5cbl6jc0zsk6vp40q1z4cyblv1k13"))))
(build-system python-build-system)
- (synopsis "Default theme for the Sphinx documentation system")
- (description "Alabaster is a responsive and configurable theme for the
- Sphinx documentation system. It is compatible with Python 2 and 3, and it is
- the default Sphinx theme.")
- (home-page "https://github.com/bitprophet/alabaster")
- (license bsd-3)
- (properties `((python2-variant . ,(delay python2-alabaster))))))
+ (inputs
+ `(("python-docopt" ,python-docopt)
+ ("python-jedi" ,python-jedi)
+ ("python-prompt-toolkit" ,python-prompt-toolkit)
+ ("python-pygments" ,python-pygments)
+ ("python-setuptools" ,python-setuptools)))
+ (home-page "https://github.com/jonathanslenders/ptpython")
+ (synopsis "Python Read-Eval-Print-Loop with nice IDE-like features")
+ (description
+ "ptpython is a Python read-eval-print loop with IDE-like features.
+ It supports syntax highlighting, multiline editing, autocompletion, mouse,
+ color schemes, bracketed paste, Vi and Emacs keybindings, Chinese characters
+ etc.")
+ (license license:bsd-3)
+ (properties `((python2-variant . ,(delay ptpython-2))))))
- (define-public python2-alabaster
- (let ((base (package-with-python2 (strip-python2-variant
python-alabaster))))
+ (define-public ptpython-2
+ (let ((base (package-with-python2 (strip-python2-variant ptpython))))
(package
(inherit base)
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (name "ptpython2"))))
- (define-public python-snowballstemmer
+ (define-public python-requests-oauthlib
(package
- (name "python-snowballstemmer")
- (version "1.2.1")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "snowballstemmer" version))
- (sha256
- (base32
- "0a0idq4y5frv7qsg2x62jd7rd272749xk4x99misf5rcifk2d7wi"))))
+ (name "python-requests-oauthlib")
+ (version "0.6.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "requests-oauthlib" version))
+ (sha256
+ (base32
+ "0ykff67sjcl227c23g0rxzfx34rr5bf21kwv0z3zmgk0lfmch7hn"))))
(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.")
- (home-page "https://github.com/shibukawa/snowball_py")
- (license bsd-2)))
+ `(#:phases
+ (modify-phases %standard-phases
+ ;; removes tests that require network access
+ (add-before 'check 'pre-check
+ (lambda _
+ (delete-file "tests/test_core.py")
+ #t)))))
+ (native-inputs
+ `(("python-requests-mock" ,python-requests-mock)
+ ("python-mock" ,python-mock)))
+ (inputs
+ `(("python-oauthlib" ,python-oauthlib)
+ ("python-requests" ,python-requests)))
+ (home-page
+ "https://github.com/requests/requests-oauthlib")
+ (synopsis
+ "OAuthlib authentication support for Requests")
+ (description
+ "Requests-OAuthlib uses the Python Requests and OAuthlib libraries to
+ provide an easy-to-use Python interface for building OAuth1 and OAuth2
clients.")
+ (license license:isc)
+ (properties `((python2-variant . ,(delay python2-requests-oauthlib))))))
- (define-public python2-snowballstemmer
- (package-with-python2 python-snowballstemmer))
+ (define-public python2-requests-oauthlib
+ (let ((base (package-with-python2 (strip-python2-variant
python-requests-oauthlib))))
+ (package
+ (inherit base)
+ (native-inputs `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs base))))))
+
+ (define-public python-stem
+ (package
+ (name "python-stem")
+ (version "1.4.1b")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "stem" version ".tar.bz2"))
+ (sha256
+ (base32
+ "09a3amp1y351nwz088ckiibbp666qi2lxwkyknavswfm400s0ns7"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (zero? (system* "./run_tests.py" "--unit")))))))
+ (native-inputs
+ `(("python-mock" ,python-mock)
+ ("python-pep8" ,python-pep8)
+ ("python-pyflakes" ,python-pyflakes)))
+ (inputs
+ `(("python-pycrypto" ,python-pycrypto)))
+ (home-page "https://stem.torproject.org/")
+ (synopsis
+ "Python controller library that allows applications to interact with
Tor")
+ (description
+ "Stem is a Python controller library for Tor. With it you can use Tor's
+ control protocol to script against the Tor process and read descriptor data
+ relays publish about themselves.")
+ (license license:lgpl3)))
+
+ (define-public python2-stem
+ (package-with-python2 python-stem))
+
+ (define-public python-pyserial
+ (package
+ (name "python-pyserial")
+ (version "3.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pyserial" version))
+ (sha256
+ (base32
+ "0k1nfdrxxkdlv4zgaqsdv8li0pj3gbh2pyxw8q2bsg6f9490amyn"))))
+ (build-system python-build-system)
+ (home-page
+ "https://github.com/pyserial/pyserial")
+ (synopsis "Python Serial Port Bindings")
+ (description "@code{pyserial} provide serial port bindings for Python. It
+ supports different byte sizes, stop bits, parity and flow control with RTS/CTS
+ and/or Xon/Xoff. The port is accessed in RAW mode.")
+ (license license:bsd-3)
+ (properties `((python2-variant . ,(delay python2-pyserial))))))
+
+ (define-public python2-pyserial
+ (let ((base (package-with-python2 (strip-python2-variant python-pyserial))))
+ (package
+ (inherit base)
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs base))))))
+
++(define-public python-alabaster
++ (package
++ (name "python-alabaster")
++ (version "0.7.8")
++ (source (origin
++ (method url-fetch)
++ (uri (pypi-uri "alabaster" version))
++ (sha256
++ (base32
++ "1zqz9hsvnmpjklmir6g7rxlv2fslrgsnwb91r9sgz4n1zja1pjx1"))))
++ (build-system python-build-system)
++ (synopsis "Default theme for the Sphinx documentation system")
++ (description "Alabaster is a responsive and configurable theme for the
++Sphinx documentation system. It is compatible with Python 2 and 3, and it is
++the default Sphinx theme.")
++ (home-page "https://github.com/bitprophet/alabaster")
++ (license license:bsd-3)
++ (properties `((python2-variant . ,(delay python2-alabaster))))))
++
++(define-public python2-alabaster
++ (let ((base (package-with-python2 (strip-python2-variant
python-alabaster))))
++ (package
++ (inherit base)
++ (native-inputs
++ `(("python2-setuptools" ,python2-setuptools)
++ ,@(package-native-inputs base))))))
++
+ (define-public python-kivy
+ (package
+ (name "python-kivy")
+ (version "1.9.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "kivy" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0zk3g1j1z0lzcm9d0k1lprrs95zr8n8k5pdg3p5qlsn26jz4bg19"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f ; Tests require many optional packages
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'build (lambda _ (zero? (system* "make" "force"))))
+ (add-after 'patch-generated-file-shebangs 'set-sdl-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (setenv "KIVY_SDL2_PATH"
+ (string-append (assoc-ref inputs "sdl-union")
+ "/include/SDL2"))
+ #t)))))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("python-cython" ,python-cython)
+ ("gstreamer" ,gstreamer)
+ ("mesa" ,mesa)
+ ("sdl-union"
+ ,(sdl-union (list sdl2 sdl2-image sdl2-mixer sdl2-ttf)))))
+ (home-page "http://kivy.org")
+ (synopsis
+ "Multitouch application framework")
+ (description
+ "A software library for rapid development of
+ hardware-accelerated multitouch applications.")
+ (license license:expat)))
+
+ (define-public python2-kivy
+ (package-with-python2 python-kivy))
+
+ (define-public python-kivy-next
+ (let ((commit "a988c5e7a47da56263ff39514264a3de516ef2fe")
+ (revision "1"))
+ (package (inherit python-kivy)
+ (name "python-kivy-next")
+ (version (string-append "1.9.1-" revision "."
+ (string-take commit 7)))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/kivy/kivy")
+ (commit commit)))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32
+ "0jk92b4a8l7blkvkgkjihk171s0dfnq582cckff5srwc8kal5m0p")))))))
+
+ (define-public python2-kivy-next
+ (package-with-python2 python-kivy-next))
+
+ (define-public python-binaryornot
+ (package
+ (name "python-binaryornot")
+ (version "0.4.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "binaryornot" version))
+ (sha256
+ (base32
+ "1j4f51dxic39mdwf6alj7gd769wy6mhk916v031wjali51xkh3xb"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-chardet" ,python-chardet)
+ ("python-hypothesis" ,python-hypothesis)))
+ (home-page "https://github.com/audreyr/binaryornot")
+ (synopsis "Package to check if a file is binary or text")
+ (description "Ultra-lightweight pure Python package to check if a file is
+ binary or text.")
+ (license license:bsd-3)
+ (properties `((python2-variant . ,(delay python2-binaryornot))))))
+
+ (define-public python2-binaryornot
+ (let ((base (package-with-python2 (strip-python2-variant
python-binaryornot))))
+ (package (inherit base)
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs base)))
+ (inputs
+ `(("python2-enum34" ,python2-enum34)
+ ,@(package-inputs base))))))
+
+ (define-public python-nltk
+ (package
+ (name "python-nltk")
+ (version "3.2.1")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "nltk" version))
+ (sha256
+ (base32
+ "0skxbhnymwlspjkzga0f7x1hg3y50fwpfghs8g8k7fh6f4nknlym"))))
+ (build-system python-build-system)
+ (home-page "http://nltk.org/")
+ (synopsis "Natural Language Toolkit")
+ (description "It provides interfaces to over 50 corpora and lexical
+ resources such as WordNet, along with a suite of text processing libraries
+ for classification, tokenization, stemming, tagging, parsing, and semantic
+ reasoning, wrappers for natural language processing libraries.")
+ (license license:asl2.0)
+ (properties `((python2-variant . ,(delay python2-nltk))))))
+
+ (define-public python2-nltk
+ (let ((base (package-with-python2 (strip-python2-variant python-nltk))))
+ (package (inherit base)
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs base))))))
+
+ (define-public python-pymongo
+ (package
+ (name "python-pymongo")
+ (version "3.3.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "pymongo" version))
+ (sha256
+ (base32
+ "07mra6w86wjqy4lx5fvimidjhhfzd562gfjn8grsnbv2q8pk0i9x"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-certifi" ,python-certifi)))
+ (home-page "http://github.com/mongodb/mongo-python-driver")
+ (synopsis "Python driver for MongoDB")
+ (description "Python driver for MongoDB.")
+ (license license:asl2.0)
+ (properties `((python2-variant . ,(delay python2-pymongo))))))
+
+ (define-public python2-pymongo
+ (let ((base (package-with-python2 (strip-python2-variant python-pymongo))))
+ (package (inherit base)
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs base))))))
+
+ (define-public python-sh
+ (package
+ (name "python-sh")
+ (version "1.11")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "sh" version))
+ (sha256
+ (base32
+ "192r0mpv6dmkysjzhc43ddffiwb5g7c76bgr1mb1z2xz9awbj3sr"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f)) ; no tests
+ (home-page "https://github.com/amoffat/sh")
+ (synopsis "Python subprocess interface")
+ (description "Abstracts process invocation by providing a function
+ interface for programs.")
+ (license license:expat)
+ (properties `((python2-variant . ,(delay python2-sh))))))
+
+ (define-public python2-sh
+ (let ((base (package-with-python2 (strip-python2-variant python-sh))))
+ (package (inherit base)
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs base))))))
+
+ (define-public python-consul
+ (package
+ (name "python-consul")
+ (version "0.6.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "python-consul" version))
+ (sha256
+ (base32
+ "0rfyxcy4cr3x848vhx876ifalxd5ghq6l5x813m49h4vq2d4jiq8"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-pytest" ,python-pytest)
+ ("python-requests" ,python-requests)
+ ("python-six" ,python-six)))
+ (home-page "https://github.com/cablehead/python-consul")
+ (synopsis "Python client for Consul")
+ (description
+ "Python client for @url{http://www.consul.io/,Consul}, a tool for service
+ discovery, monitoring and configuration.")
+ (license license:expat)))
+
+ (define-public python2-consul
+ (let ((consul (package-with-python2 python-consul)))
+ (package (inherit consul)
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs consul))))))
+
+ (define-public python-schematics
+ (package
+ (name "python-schematics")
+ (version "1.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/schematics/schematics/archive/v" version
".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "19v1i69bf3bzarfxmbv0v6ivpcn758x3shvbiy9l2hy0lvqwnp6l"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-six" ,python-six)))
+ (arguments
+ `(#:tests? #f)) ; requires a bunch of not very nice packages with fixed
+ ; version requirements (eg python-coveralls)
+ (home-page "https://github.com/schematics/schematics")
+ (synopsis "Python Data Structures for Humans")
+ (description "Python Data Structures for Humans.")
+ (license license:bsd-3)
+ (properties `((python2-variant . ,(delay python2-schematics))))))
+
+ (define-public python2-schematics
+ (let ((base (package-with-python2 (strip-python2-variant
python-schematics))))
+ (package (inherit base)
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs base))))))
+
+ (define-public python-publicsuffix
+ (package
+ (name "python-publicsuffix")
+ (version "1.1.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "publicsuffix" version))
+ (sha256
+ (base32
+ "1adx520249z2cy7ykwjr1k190mn2888wqn9jf8qm27ly4qymjxxf"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f)) ; tests use the internet
+ (home-page "https://www.tablix.org/~avian/git/publicsuffix.git")
+ (synopsis "Get suffix for a domain name")
+ (description "Get a public suffix for a domain name using the Public
Suffix
+ List.")
+ (license license:expat)
+ (properties `((python2-variant . ,(delay python2-nltk))))))
+
+ (define-public python2-publicsuffix
+ (let ((base (package-with-python2 (strip-python2-variant
python-publicsuffix))))
+ (package (inherit base)
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs base))))))
+
+ (define-public python-publicsuffix2
+ (package
+ (name "python-publicsuffix2")
+ (version "2.20160621")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "publicsuffix2" version ".tar.bz2"))
+ (sha256
+ (base32
+ "06lx603gdwad5hc3hmn763ngq0rq9bzz1ni3ga72nzk5n872arkd"))))
+ (build-system python-build-system)
+ (home-page "https://github.com/pombredanne/python-publicsuffix2")
+ (synopsis "Get a public suffix for a domain name using the Public Suffix
List")
+ (description "Get a public suffix for a domain name using the Public
Suffix
+ List. Forked from and using the same API as the publicsuffix package.")
+ (license (list license:expat license:mpl2.0))
+ (properties `((python2-variant . ,(delay python2-publicsuffix2))))))
+
+ (define-public python2-publicsuffix2
+ (let ((base (package-with-python2 (strip-python2-variant
python-publicsuffix2))))
+ (package (inherit base)
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs base))))))
+
+ (define-public python-url
+ (package
+ (name "python-url")
+ (version "0.2.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "url" version))
+ (sha256
+ (base32
+ "0v879yadcz9qxfl41ak6wkga1kimp9cflla9ddz03hjjvgkqy5ki"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-publicsuffix" ,python-publicsuffix)))
+ (native-inputs
+ `(("python-coverage" ,python-coverage)
+ ("python-nose" ,python-nose)))
+ (arguments
+ `(#:tests? #f)) ; FIXME: tests fail with "ImportError: No module named
'tests'"
+ (home-page "http://github.com/seomoz/url-py")
+ (synopsis "URL Parsing")
+ (description "Library for parsing urls.")
+ (license license:expat)
+ (properties `((python2-variant . ,(delay python2-url))))))
+
+ (define-public python2-url
+ (let ((base (package-with-python2 (strip-python2-variant python-url))))
+ (package (inherit base)
+ (inputs
+ `(("python2-publicsuffix" ,python2-publicsuffix)))
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs base))))))
+
+ (define-public python-freezegun
+ (package
+ (name "python-freezegun")
+ (version "0.3.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "freezegun" version))
+ (sha256
+ (base32
+ "14l19x06v5jkq4rdwbmfyw4x9lrjb2300afrk21r1ash7y1y9a0w"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-mock" ,python-mock)
+ ("python-nose" ,python-nose)
+ ("python-coverage" ,python-coverage)
+ ("python-dateutil-2" ,python-dateutil-2)))
+ (inputs
+ `(("python-six" ,python-six)))
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ ;; The tests are normally executed via `make test`, but the PyPi
+ ;; package does not include the Makefile.
+ (replace 'check
+ (lambda _
+ (zero? (system* "nosetests" "./tests/")))))))
+ (home-page "https://github.com/spulec/freezegun")
+ (synopsis "Test utility for mocking the datetime module")
+ (description
+ "FreezeGun is a library that allows your python tests to travel through
+ time by mocking the datetime module.")
+ (license license:asl2.0)))
+
+ (define-public python2-freezegun
+ (let ((base (package-with-python2 (strip-python2-variant
python-freezegun))))
+ (package (inherit base)
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs base))))))
+
+ (define-public python-odfpy
+ (package
+ (name "python-odfpy")
+ (version "1.3.3")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "odfpy" version))
+ (sha256
+ (base32
+ "1a6ms0w9zfhhkqhvrnynwwbxrivw6hgjc0s5k7j06npc7rq0blxw"))))
+ (arguments
+ `(#:modules ((srfi srfi-1)
+ (guix build python-build-system)
+ (guix build utils))
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ ;; The test runner invokes python2 and python3 for test*.py.
+ ;; To avoid having both in inputs, we replicate it here.
+ (lambda _
+ (every (lambda (test-file)
+ (zero? (system* "python" test-file)))
+ (find-files "tests" "^test.*\\.py$")))))))
+ (build-system python-build-system)
+ (home-page "https://github.com/eea/odfpy")
+ (synopsis "Python API and tools to manipulate OpenDocument files")
+ (description "Collection of libraries and utility programs written in
+ Python to manipulate OpenDocument 1.2 files.")
+ (license
+ ;; The software is mainly dual GPL2+ and ASL2.0, but includes a
+ ;; number of files with other licenses.
+ (list license:gpl2+ license:asl2.0 license:lgpl2.1+
license:cc-by-sa3.0))))
+
+ (define-public python2-odfpy
+ (package-with-python2 python-odfpy))
+
+ (define-public python-cachecontrol
+ (package
+ (name "python-cachecontrol")
+ (version "0.11.6")
+ (source
+ (origin
+ (method url-fetch)
+ ;; Pypi does not have tests.
+ (uri (string-append
+ "https://github.com/ionrock/cachecontrol/archive/v"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0yj60d0f69a2l8p7y86k4zhzzm6rnxpq74sfl240pry9l0lfw2vw"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ ;; Drop test that requires internet access.
+ (delete-file "tests/test_regressions.py")
+ (setenv "PYTHONPATH"
+ (string-append (getcwd) "/build/lib:"
+ (getenv "PYTHONPATH")))
+ (zero? (system* "py.test" "-vv")))))))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)
+ ("python-redis" ,python-redis)
+ ("python-webtest" ,python-webtest)
+ ("python-mock" ,python-mock)))
+ (propagated-inputs
+ `(("python-requests" ,python-requests)
+ ("python-lockfile" ,python-lockfile)))
+ (home-page "https://github.com/ionrock/cachecontrol")
+ (synopsis "The httplib2 caching algorithms for use with requests")
+ (description "CacheControl is a port of the caching algorithms in
+ @code{httplib2} for use with @code{requests} session objects.")
+ (license license:asl2.0)
+ (properties `((python2-variant . ,(delay python2-cachecontrol))))))
+
+ (define-public python2-cachecontrol
+ (let ((base (package-with-python2 (strip-python2-variant
python-cachecontrol))))
+ (package (inherit base)
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs base))))))
+
+ (define-public python-lit
+ (package
+ (name "python-lit")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "lit" version))
+ (sha256
+ (base32
+ "135m2b9cwih85g66rjggavck328z7lj37srgpq3jxszbg0g2b91y"))))
+ (build-system python-build-system)
+ (home-page "http://llvm.org/")
+ (synopsis "LLVM Software Testing Tool")
+ (description "@code{lit} is a portable tool for executing LLVM and Clang
+ style test suites, summarizing their results, and providing indication of
+ failures.")
+ (license license:ncsa)
+ (properties `((python2-variant . ,(delay python2-lit))))))
+
+ (define-public python2-lit
+ (let ((base (package-with-python2 (strip-python2-variant python-lit))))
+ (package
+ (inherit base)
+ (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.")
++ (home-page "https://github.com/shibukawa/snowball_py")
++ (license license:bsd-2)))
++
++(define-public python2-snowballstemmer
++ (package-with-python2 python-snowballstemmer))
++
+ (define-public python-pytest-pep8
+ (package
+ (name "python-pytest-pep8")
+ (version "1.0.6")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-pep8" version))
+ (sha256
+ (base32
+ "06032agzhw1i9d9qlhfblnl3dw5hcyxhagn7b120zhrszbjzfbh3"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f ; Fails with recent pytest and pep8. See upstream issues
#8 and #12.
+ ;; Prevent creation of the egg. This works around
+ ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20765 .
+ #:configure-flags '("--single-version-externally-managed" "--root=/")))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
+ (propagated-inputs
+ `(("python-pep8" ,python-pep8)))
+ (home-page "https://bitbucket.org/pytest-dev/pytest-pep8")
+ (synopsis "Py.test plugin to check PEP8 requirements")
+ (description "Pytest plugin for checking PEP8 compliance.")
+ (license license:expat)
+ (properties `((python2-variant . ,(delay python2-pytest-pep8))))))
+
+ (define-public python2-pytest-pep8
+ (let ((base (package-with-python2 (strip-python2-variant
python-pytest-pep8))))
+ (package (inherit base)
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs base))))))
+
+ (define-public python-pytest-flakes
+ (package
+ (name "python-pytest-flakes")
+ (version "1.0.1")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-flakes" version))
+ (sha256
+ (base32
+ "0flag3n33kbhyjrhzmq990rvg4yb8hhhl0i48q9hw0ll89jp28lw"))))
+ (build-system python-build-system)
+ (arguments
+ `(;; Prevent creation of the egg. This works around
+ ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20765 .
+ #:configure-flags '("--single-version-externally-managed" "--root=/")
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'check)
+ (add-after 'install 'check
+ (lambda _ ; It's easier to run tests after install.
+ (zero? (system* "py.test" "-vv")))))))
+ (native-inputs
+ `(("python-coverage" ,python-coverage)
+ ("python-pytest" ,python-pytest)
+ ("python-pytest-cache" ,python-pytest-cache)
+ ("python-pytest-pep8" ,python-pytest-pep8)))
+ (propagated-inputs
+ `(("python-pyflakes" ,python-pyflakes)))
+ (home-page "https://github.com/fschulze/pytest-flakes")
+ (synopsis "Py.test plugin to check source code with pyflakes")
+ (description "Pytest plugin for checking Python source code with
pyflakes.")
+ (license license:expat)
+ (properties `((python2-variant . ,(delay python2-pytest-flakes))))))
+
+ (define-public python2-pytest-flakes
+ (let ((base (package-with-python2 (strip-python2-variant
python-pytest-flakes))))
+ (package (inherit base)
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs base))))))
+
+ (define-public python-natsort
+ (package
+ (name "python-natsort")
+ (version "5.0.1")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "natsort" version))
+ (sha256
+ (base32
+ "1abld5p4a6n5zjnyw5mi2pv37gqalcybv2brjr2y6l9l2p8v9mja"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'set-cachedir
+ ;; Tests require write access to $HOME by default
+ (lambda _ (setenv "PYTHON_EGG_CACHE" "/tmp") #t)))))
+ (native-inputs
+ `(("python-hypothesis" ,python-hypothesis)
+ ("python-pytest-cache" ,python-pytest-cache)
+ ("python-pytest-cov" ,python-pytest-cov)
+ ("python-pytest-flakes" ,python-pytest-flakes)
+ ("python-pytest-pep8" ,python-pytest-pep8)))
+ (propagated-inputs ; TODO: Add python-fastnumbers.
+ `(("python-pyicu" ,python-pyicu)))
+ (home-page "https://github.com/SethMMorton/natsort")
+ (synopsis "Natural sorting for python and shell")
+ (description
+ "Natsort lets you apply natural sorting on lists instead of
+ lexicographical. If you use the built-in @code{sorted} method in python
+ on a list such as @code{['a20', 'a9', 'a1', 'a4', 'a10']}, it would be
+ returned as @code{['a1', 'a10', 'a20', 'a4', 'a9']}. Natsort provides a
+ function @code{natsorted} that identifies numbers and sorts them separately
+ from strings. It can also sort version numbers, real numbers, mixed types
+ and more, and comes with a shell command @command{natsort} that exposes this
+ functionality in the command line.")
+ (license license:expat)
+ (properties `((python2-variant . ,(delay python2-natsort))))))
+
+ (define-public python2-natsort
+ (let ((base (package-with-python2 (strip-python2-variant python-natsort))))
+ (package (inherit base)
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ("python2-pathlib" ,python2-pathlib)
+ ("python2-mock" ,python2-mock)
+ ("python2-enum34" ,python2-enum34)
+ ,@(package-native-inputs base))))))
+
+ (define-public python-glances
+ (package
+ (name "python-glances")
+ (version "2.7.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "Glances" version))
+ (sha256
+ (base32
+ "11jbq40g8alsbirnd4kiagznqg270247i0m8qhi48ldf2i5xppxg"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-psutil" ,python-psutil)))
+ (home-page
+ "https://github.com/nicolargo/glances")
+ (synopsis
+ "A cross-platform curses-based monitoring tool")
+ (description
+ "Glances is a curses-based monitoring tool for a wide variety of
platforms.
+ Glances uses the PsUtil library to get information from your system. It
monitors
+ CPU, load, memory, network bandwidth, disk I/O, disk use, and more.")
+ (license license:lgpl3+)
+ (properties `((python2-variant . ,(delay python2-glances))))))
+
+ (define-public python2-glances
+ (let ((base (package-with-python2 (strip-python2-variant python-glances))))
+ (package
+ (inherit base)
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs base))))))
+
+ (define-public python-graphql-core
+ (package
+ (name "python-graphql-core")
+ (version "0.5.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "graphql-core" version))
+ (sha256
+ (base32
+ "0rsaarx2sj4xnw9966rhh4haiqaapm4lm2mfqm48ywd51j5vh1a0"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-hardcoded-version
+ (lambda _ (substitute*
+ "setup.py"
+ (("'gevent==1.1rc1'") "'gevent'"))
+ #t)))))
+ (native-inputs
+ `(("python-gevent" ,python-gevent)
+ ("python-mock" ,python-mock)
+ ("python-pytest-mock" ,python-pytest-mock)))
+ (inputs
+ `(("python-promise" ,python-promise)
+ ("python-six" ,python-six)))
+ (home-page "https://github.com/graphql-python/graphql-core")
+ (synopsis "GraphQL implementation for Python")
+ (description
+ "GraphQL implementation for Python. GraphQL is a data query language and
+ runtime designed and used to request and deliver data to mobile and web apps.
+ This library is a port of
@url{https://github.com/graphql/graphql-js,graphql-js}
+ to Python.")
+ (properties `((python2-variant . ,(delay python2-graphql-core))))
+ (license license:expat)))
+
+ (define-public python2-graphql-core
+ (let ((base (package-with-python2
+ (strip-python2-variant python-graphql-core))))
+ (package (inherit base)
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs base))))))
+
+ (define-public python-graphql-relay
+ (package
+ (name "python-graphql-relay")
+ (version "0.4.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "graphql-relay" version))
+ (sha256
+ (base32
+ "04wr9ayshxjjdcg2v21c7ffbz36kif1wjl3604fqd3qignb3fbxi"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
+ (inputs
+ `(("python-graphql-core" ,python-graphql-core)
+ ("python-promise" ,python-promise)
+ ("python-six" ,python-six)))
+ (home-page "https://github.com/graphql-python/graphql-relay-py")
+ (synopsis "Relay implementation for Python")
+ (description
+ "This is a library to allow the easy creation of Relay-compliant servers
+ using the GraphQL Python reference implementation of a GraphQL server. It
+ should be noted that the code is a exact port of the original
+ @url{https://github.com/graphql/graphql-relay-js,graphql-relay js
implementation}
+ from Facebook.")
+ (properties `((python2-variant . ,(delay python2-graphql-relay))))
+ (license license:expat)))
+
+ (define-public python2-graphql-relay
+ (let ((base (package-with-python2
+ (strip-python2-variant python-graphql-relay))))
+ (package (inherit base)
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs base))))))
+
+ (define-public python-graphene
+ (package
+ (name "python-graphene")
+ (version "0.10.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "graphene" version))
+ (sha256
+ (base32
+ "09zhac7igh9ixdz0ay6csy35b40l1jwbf2wrbxmgxwfhy51iy06q"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-django-filter" ,python-django-filter)
+ ("python-mock" ,python-mock)
+ ("python-psycopg2" ,python-psycopg2)
+ ("python-pytest-django" ,python-pytest-django)
+ ("python-sqlalchemy-utils" ,python-sqlalchemy-utils)))
+ (inputs
+ `(("python-graphql-core" ,python-graphql-core)
+ ("python-graphql-relay" ,python-graphql-relay)
+ ("python-iso8601" ,python-iso8601)
+ ("python-promise" ,python-promise)
+ ("python-six" ,python-six)))
+ (home-page "http://graphene-python.org/")
+ (synopsis "GraphQL Framework for Python")
+ (description
+ "Graphene is a Python library for building GraphQL schemas/types.
+ A GraphQL schema describes your data model, and provides a GraphQL server
+ with an associated set of resolve methods that know how to fetch data.")
+ (properties `((python2-variant . ,(delay python2-graphene))))
+ (license license:expat)))
+
+ (define-public python2-graphene
+ (let ((base (package-with-python2
+ (strip-python2-variant python-graphene))))
+ (package (inherit base)
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ("python2-sqlalchemy" ,python2-sqlalchemy)
+ ,@(package-native-inputs base))))))
+
+ (define-public python-nautilus
+ (package
+ (name "python-nautilus")
+ (version "0.4.9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "nautilus" version))
+ (sha256
+ (base32
+ "01hwzjc1zshk4vvxrcghm398fpy4jls66dyz06g07mrwqif8878p"))))
+ (build-system python-build-system)
+ (arguments `(#:tests? #f)) ; fails to import test modules
+ (native-inputs
+ `(("python-setuptools" ,python-setuptools)))
+ (inputs
+ `(("python-bcrypt" ,python-bcrypt)
+ ("python-click" ,python-click)
+ ("python-consul" ,python-consul)
+ ("python-graphql-core" ,python-graphql-core)
+ ("python-graphql-relay" ,python-graphql-relay)
+ ("python-graphene" ,python-graphene)
+ ("python-jinja2" ,python-jinja2)
+ ("python-nose2" ,python-nose2)
+ ("python-peewee" ,python-peewee)
+ ("python-pika" ,python-pika)
+ ("python-pycparser" ,python-pycparser)
+ ("python-requests" ,python-requests)
+ ("python-tornado" ,python-tornado)
+ ("python-wtforms" ,python-wtforms)))
+ (home-page "https://github.com/AlecAivazis/nautilus")
+ (synopsis "Library for creating microservice applications")
+ (description
+ "Nautilus is a framework for flux based microservices that looks to
+ provide extendible implementations of common aspects of a cloud so that you
can
+ focus on building massively scalable web applications.")
+ (license license:expat)))