[SCM] guix source archive branch, master, updated. v0.1-249-g712e6e6

2013-03-19 Thread Cyril Roelandt
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project guix source archive.

The branch, master has been updated
   via  712e6e684cdab33edafa293cf1484b3866b23098 (commit)
  from  84a3e3b7767fbd9336c7ca704fe956e79c20a6bc (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit 712e6e684cdab33edafa293cf1484b3866b23098
Author: Cyril Roelandt tipec...@gmail.com
Date:   Fri Mar 15 05:41:12 2013 +0100

gnu: Add lua.

* gnu/packages/lua.scm: New file.
* Makefile.am: add it.

---

Summary of changes:
 Makefile.am  |1 +
 gnu/packages/lua.scm |   63 ++
 2 files changed, 64 insertions(+), 0 deletions(-)
 create mode 100644 gnu/packages/lua.scm


hooks/post-receive
-- 
guix source archive



[SCM] guix source archive branch, master, updated. v0.1-265-gc6bded8

2013-03-28 Thread Cyril Roelandt
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project guix source archive.

The branch, master has been updated
   via  c6bded8a296d5593e31f6f860948ca2c2cdd43d4 (commit)
  from  bb90ad83b1030c283100bd618ec46423f2fd071e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit c6bded8a296d5593e31f6f860948ca2c2cdd43d4
Author: Cyril Roelandt tipec...@gmail.com
Date:   Tue Mar 26 22:14:24 2013 +0100

Add (guix build-system cmake).

* guix/build/cmake-build-system.scm, guix/build-system/cmake.scm: New files.
* Makefile.am (MODULES): Add them.

---

Summary of changes:
 Makefile.am   |2 +
 guix/build-system/{perl.scm = cmake.scm} |   84 ++---
 guix/build/cmake-build-system.scm |   63 +
 3 files changed, 117 insertions(+), 32 deletions(-)
 copy guix/build-system/{perl.scm = cmake.scm} (51%)
 create mode 100644 guix/build/cmake-build-system.scm


hooks/post-receive
-- 
guix source archive



[SCM] guix source archive branch, master, updated. v0.1-277-g4f7d8d7

2013-04-07 Thread Cyril Roelandt
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project guix source archive.

The branch, master has been updated
   via  4f7d8d7ee4c3a2f92cd12d7e1e2a03725f406012 (commit)
  from  0f41c26f9b9c981d5d5ecaa8c2ccda4f4c6ab147 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit 4f7d8d7ee4c3a2f92cd12d7e1e2a03725f406012
Author: Cyril Roelandt tipec...@gmail.com
Date:   Sat Apr 6 00:28:39 2013 +0200

gnu: Python: fix the compilation of some modules from the standard library.

This commit enables the bz2, dbm, readline, ssl and zlib modules.

* gnu/packages/gdbm.scm: Enable the compatibility mode.
* gnu/packages/python.scm: Enable a few modules from the standard library.
* gnu/packages/patches/python-fix-dbm.patch: New file.
* Makefile.am: Add it.

---

Summary of changes:
 Makefile.am   |1 +
 gnu/packages/gdbm.scm |1 +
 gnu/packages/patches/python-fix-dbm.patch |   20 +
 gnu/packages/python.scm   |   33 ++--
 4 files changed, 52 insertions(+), 3 deletions(-)
 create mode 100644 gnu/packages/patches/python-fix-dbm.patch


hooks/post-receive
-- 
guix source archive



[SCM] guix source archive branch, master, updated. v0.2-55-g842ded3

2013-05-28 Thread Cyril Roelandt
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project guix source archive.

The branch, master has been updated
   via  842ded334fdf4019e04d08d2bd5a272327d256bf (commit)
  from  9b222abe0349701280d48e4830f98aa07c947517 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit 842ded334fdf4019e04d08d2bd5a272327d256bf
Author: Cyril Roelandt tipec...@gmail.com
Date:   Thu May 23 03:38:43 2013 +0200

python-build-system: add a check phase.

* guix/build/python-build-system.scm (check): New procedure.
  (%standard-phases): Use it.

---

Summary of changes:
 guix/build/python-build-system.scm |   16 +---
 1 files changed, 13 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
guix source archive



GNU Guixguix source archive branch, master, updated. v0.3-24-g1b50671

2013-08-15 Thread Cyril Roelandt
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project guix source archive.

The branch, master has been updated
   via  1b50671ee18d3412251980c7d8a4528b10f18e73 (commit)
   via  2ad6bfaba8189256f6eb75913c9f24f0135184db (commit)
  from  0938cd27315cc9d0a6591c398c222415b18ca4fc (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit 1b50671ee18d3412251980c7d8a4528b10f18e73
Author: Cyril Roelandt tipec...@gmail.com
Date:   Thu Aug 15 17:19:57 2013 +0200

list-packages: remove useless language attribute of script element

See http://www.w3.org/TR/html5-diff/#changed-attributes for more 
information.

* build-aux/list-packages.html (insert-js): remove language attribute, 
useless for the
  script element.

commit 2ad6bfaba8189256f6eb75913c9f24f0135184db
Author: Cyril Roelandt tipec...@gmail.com
Date:   Thu Aug 15 17:12:44 2013 +0200

list-packages: remove deprecated height attribute on td element.

See http://www.w3.org/TR/html5-diff/#obsolete-attributes for more 
information.

* build-aux/list-packages.html(package-sxml)[description-id]: remove 
height
  attribute for td elements.

---

Summary of changes:
 build-aux/list-packages.scm |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
guix source archive



GNU Guixguix source archive branch, master, updated. v0.3-25-ge12b3eb

2013-08-15 Thread Cyril Roelandt
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project guix source archive.

The branch, master has been updated
   via  e12b3eb93eb8746438c8e74569c8196f2552f1d4 (commit)
  from  1b50671ee18d3412251980c7d8a4528b10f18e73 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit e12b3eb93eb8746438c8e74569c8196f2552f1d4
Author: Cyril Roelandt tipec...@gmail.com
Date:   Thu Aug 15 21:03:32 2013 +0200

Make guix -h work as guix --help.

* guix/ui.scm (guix-main): have the same behaviour for the -h and --help
  options.

---

Summary of changes:
 guix/ui.scm |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
guix source archive



GNU Guixguix source archive branch, master, updated. v0.4-24-g9ceb630

2013-09-29 Thread Cyril Roelandt
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project guix source archive.

The branch, master has been updated
   via  9ceb630c587beb187b52243f751e3ebc2b437a32 (commit)
  from  ecfb69938aef0f90b6c395de452e3b501a71c2e2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit 9ceb630c587beb187b52243f751e3ebc2b437a32
Author: Cyril Roelandt tipec...@gmail.com
Date:   Sun Sep 29 17:24:31 2013 +0200

gnu: Add gobject-introspection.

* gnu/packages/glib.scm (gobject-introspection): New variable.

---

Summary of changes:
 gnu/packages/glib.scm |   46 ++
 1 files changed, 46 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
guix source archive



GNU Guixguix source archive branch, master, updated. v0.4-178-ga18e583

2013-11-02 Thread Cyril Roelandt
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project guix source archive.

The branch, master has been updated
   via  a18e58336c4421ecb9da92e386250bfece06192d (commit)
  from  13ed095c50e248d265ffec6c98559abf3f023be8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit a18e58336c4421ecb9da92e386250bfece06192d
Author: Cyril Roelandt tipec...@gmail.com
Date:   Sat Nov 2 22:17:08 2013 +0100

gnu: cmake: Bump to 2.8.12

* gnu/packages/cmake.scm: bump to 2.8.12

---

Summary of changes:
 gnu/packages/cmake.scm |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
guix source archive



GNU Guixguix source archive branch, master, updated. v0.5-495-g6050a1f

2014-03-31 Thread Cyril Roelandt
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project guix source archive.

The branch, master has been updated
   via  6050a1fb30378b46bf443efd8e99ac310f8356eb (commit)
  from  e4687a5e68fce458685dd33bfa240758c816b3a2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit 6050a1fb30378b46bf443efd8e99ac310f8356eb
Author: Cyril Roelandt tipec...@gmail.com
Date:   Mon Mar 31 20:18:52 2014 +0200

gnu: Add guile-json.

* gnu/packages/guile.scm (guile-json): New variable.

---

Summary of changes:
 gnu/packages/guile.scm |   24 
 1 files changed, 24 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
guix source archive



GNU Guixguix source archive branch, master, updated. v0.6-617-g2aa6efb

2014-07-21 Thread Cyril Roelandt
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project guix source archive.

The branch, master has been updated
   via  2aa6efb0b9952595853c05294450b4254f64521e (commit)
   via  9c0fc27968c2359c49c324c5f89b38436aa2eb49 (commit)
  from  a4f51df98aaf849daf1a8302b6b7069c76a69ba9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit 2aa6efb0b9952595853c05294450b4254f64521e
Author: Cyril Roelandt tipec...@gmail.com
Date:   Thu Jul 17 02:36:09 2014 +0200

guix package: add a show option.

* doc/guix.texi: Update the documentation.
* guix/scripts/package.scm: Add a show option.
* tests/guix-package.sh: Add a test for the show option.

commit 9c0fc27968c2359c49c324c5f89b38436aa2eb49
Author: Cyril Roelandt tipec...@gmail.com
Date:   Wed Jul 16 15:38:34 2014 +0200

ui: add the dependencies field to package-recutils:

* guix/ui.scm (package-recutils): Print the dependencies of the package.

---

Summary of changes:
 doc/guix.texi|   24 
 guix/scripts/package.scm |   15 +++
 guix/ui.scm  |8 
 tests/guix-package.sh|3 +++
 4 files changed, 50 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
guix source archive



GNU Guixguix source archive branch, master, updated. v0.7-531-gdd7c013

2014-10-15 Thread Cyril Roelandt
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project guix source archive.

The branch, master has been updated
   via  dd7c013d4be0fea8db61c909f5ba6f877c143fd3 (commit)
  from  51861587c670c390b3420f0da6a86111b386f750 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit dd7c013d4be0fea8db61c909f5ba6f877c143fd3
Author: Cyril Roelandt tipec...@gmail.com
Date:   Sun Oct 12 01:58:29 2014 +0200

guix lint: add the --checkers option.

* guix/scripts/lint.scm: add the --checkers option.
* doc/guix.texi (Invoking guix lint): Document it.
* tests/guix-lint.sh: New file
* Makefile.am (SCM_TESTS): Add it.

---

Summary of changes:
 Makefile.am   |3 +-
 doc/guix.texi |5 ++
 guix/scripts/lint.scm |  122 +++-
 tests/guix-lint.sh|   75 ++
 4 files changed, 151 insertions(+), 54 deletions(-)
 create mode 100644 tests/guix-lint.sh


hooks/post-receive
-- 
guix source archive



branch master updated (e1e2773 - c9815b5)

2015-02-09 Thread Cyril Roelandt
steap pushed a change to branch master
in repository guix.

  from  e1e2773   gnu: Add ltrace.
   new  c9815b5   lint: handle FTP URIs.

The 1 revisions listed above as new are entirely new to this
repository and will be described in separate emails.  The revisions
listed as adds were already present in the repository and have only
been added to this reference.


Summary of changes:
 guix/scripts/lint.scm |   32 ++--
 1 files changed, 30 insertions(+), 2 deletions(-)



01/01: lint: handle FTP URIs.

2015-02-09 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit c9815b5deb66337756e1b7dacb3e9ca97d182cda
Author: Cyril Roelandt tipec...@gmail.com
Date:   Wed Jan 28 19:49:53 2015 +0100

lint: handle FTP URIs.

* guix/scripts/lint.scm (probe-uri): handle FTP URIs.
---
 guix/scripts/lint.scm |   32 ++--
 1 files changed, 30 insertions(+), 2 deletions(-)

diff --git a/guix/scripts/lint.scm b/guix/scripts/lint.scm
index 9d5c689..fef0563 100644
--- a/guix/scripts/lint.scm
+++ b/guix/scripts/lint.scm
@@ -21,6 +21,7 @@
 (define-module (guix scripts lint)
   #:use-module (guix base32)
   #:use-module (guix download)
+  #:use-module (guix ftp-client)
   #:use-module (guix packages)
   #:use-module (guix records)
   #:use-module (guix ui)
@@ -254,8 +255,29 @@ response from URI, and additional details, such as the 
actual HTTP response.
   (values key args))
  (else
   (apply throw key args))
+  ('ftp
+   (catch #t
+ (lambda ()
+   (let ((port (ftp-open (uri-host uri) 21)))
+ (define response
+   (dynamic-wind
+ (const #f)
+ (lambda ()
+   (ftp-chdir port (dirname (uri-path uri)))
+   (ftp-size port (basename (uri-path uri
+ (lambda ()
+   (ftp-close port
+ (values 'ftp-response #t)))
+ (lambda (key . args)
+   (case key
+ ((or ftp-error)
+  (values 'ftp-response #f))
+ ((getaddrinfo-error system-error gnutls-error)
+  (values key args))
+ (else
+  (apply throw key args))
   (_
-   (values 'not-http #f)
+   (values 'unknown-protocol #f)
 
 (define (validate-uri uri package field)
   Return #t if the given URI can be reached, otherwise emit a
@@ -272,6 +294,12 @@ warning for PACKAGE mentionning the FIELD.
  (response-code argument)
  (response-reason-phrase argument))
  field)))
+  ((ftp-response)
+   (when (not argument)
+ (emit-warning package
+   (format #f
+   (_ URI ~a not reachable)
+   (uri-string uri)
   ((getaddrinfo-error)
(emit-warning package
  (format #f
@@ -293,7 +321,7 @@ warning for PACKAGE mentionning the FIELD.
   ((invalid-http-response gnutls-error)
;; Probably a misbehaving server; ignore.
#f)
-  ((not-http) ;nothing we can do
+  ((unknown-protocol) ;nothing we can do
#f)
   (else
(error internal linter error status)



01/01: Remove leftover patches.

2015-05-09 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 8fda1b797063af19bda898e41dcf6a8369d8aed5
Author: Cyril Roelandt tipec...@gmail.com
Date:   Fri May 8 19:37:05 2015 +0200

Remove leftover patches.

* gnu/packages/patches/guix-test-networking.patch: Delete it.
* gnu/packages/patches/libtool-skip-tests.patch: Delete it.
* gnu/packages/patches/python-sqlite-3.8.4-test-fix.patch: Delete it.
* gnu/packages/patches/udev-gir-libtool.patch: Delete it.
* gnu-system.am (dist_patch_DATA): Remove them as well.
---
 gnu-system.am  |4 --
 gnu/packages/patches/guix-test-networking.patch|   15 -
 gnu/packages/patches/libtool-skip-tests.patch  |   55 
 .../patches/python-sqlite-3.8.4-test-fix.patch |   15 -
 gnu/packages/patches/udev-gir-libtool.patch|   17 --
 5 files changed, 0 insertions(+), 106 deletions(-)

diff --git a/gnu-system.am b/gnu-system.am
index d3e91ed..f5649f1 100644
--- a/gnu-system.am
+++ b/gnu-system.am
@@ -448,7 +448,6 @@ dist_patch_DATA =   
\
   gnu/packages/patches/guile-default-utf8.patch\
   gnu/packages/patches/guile-linux-syscalls.patch  \
   gnu/packages/patches/guile-relocatable.patch \
-  gnu/packages/patches/guix-test-networking.patch  \
   gnu/packages/patches/gtkglext-disable-disable-deprecated.patch \
   gnu/packages/patches/hop-bigloo-4.0b.patch   \
   gnu/packages/patches/hop-linker-flags.patch  \
@@ -466,7 +465,6 @@ dist_patch_DATA =   
\
   gnu/packages/patches/liboop-mips64-deplibs-fix.patch \
   gnu/packages/patches/libmad-mips-newgcc.patch\
   gnu/packages/patches/libtheora-config-guess.patch\
-  gnu/packages/patches/libtool-skip-tests.patch\
   gnu/packages/patches/libtool-skip-tests2.patch   \
   gnu/packages/patches/libssh-CVE-2014-0017.patch  \
   gnu/packages/patches/libvpx-fix-armhf-link.patch \
@@ -524,7 +522,6 @@ dist_patch_DATA =   
\
   gnu/packages/patches/pyqt-configure.patch\
   gnu/packages/patches/python-fix-tests.patch  \
   gnu/packages/patches/python-libffi-mips-n32-fix.patch\
-  gnu/packages/patches/python-sqlite-3.8.4-test-fix.patch  \
   gnu/packages/patches/python2-rdflib-drop-sparqlwrapper.patch \
   gnu/packages/patches/python2-sqlite-3.8.4-test-fix.patch \
   gnu/packages/patches/python2-pygobject-2-gi-info-type-error-domain.patch \
@@ -550,7 +547,6 @@ dist_patch_DATA =   
\
   gnu/packages/patches/teckit-cstdio.patch \
   gnu/packages/patches/texi2html-document-encoding.patch   \
   gnu/packages/patches/texi2html-i18n.patch\
-  gnu/packages/patches/udev-gir-libtool.patch  \
   gnu/packages/patches/unzip-CVE-2014-8139.patch   \
   gnu/packages/patches/unzip-CVE-2014-8140.patch   \
   gnu/packages/patches/unzip-CVE-2014-8141.patch   \
diff --git a/gnu/packages/patches/guix-test-networking.patch 
b/gnu/packages/patches/guix-test-networking.patch
deleted file mode 100644
index a8d1f4f..000
--- a/gnu/packages/patches/guix-test-networking.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Skip that test when the network is unreachable.
-
-diff --git a/tests/packages.scm b/tests/packages.scm
-index 04e3b0b..6ac215b 100644
 a/tests/packages.scm
-+++ b/tests/packages.scm
-@@ -139,6 +139,8 @@
- (and (direct-store-path? source)
-  (string-suffix? utils.scm source
- 
-+(unless (false-if-exception (getaddrinfo www.gnu.org 80 AI_NUMERICSERV))
-+  (test-skip 1))
- (test-equal package-source-derivation, snippet
-   OK
-   (let* ((file   (search-bootstrap-binary guile-2.0.9.tar.xz
diff --git a/gnu/packages/patches/libtool-skip-tests.patch 
b/gnu/packages/patches/libtool-skip-tests.patch
deleted file mode 100644
index 9191d40..000
--- a/gnu/packages/patches/libtool-skip-tests.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-Because our GCC 'lib' spec automatically adds '-rpath' for each '-L'
-and a couple more '-rpath, there are two test failures:
-one in demo.test, and one in destdir.at.  Disable these.
-
-Also skip the nopic test on ARM and MIPS systems.
-
 libtool-2.4.6/tests/demo.at.orig   2015-01-16 13:52:04.0 -0500
-+++ libtool-2.4.6/tests/demo.at2015-02-16 10:48:51.435851966 -0500
-@@ -510,7 +510,7 @@
- AT_SETUP([force non-PIC objects])
- 
- AT_CHECK([case $host in
--hppa*|x86_64*|s390*)
-+hppa*|x86_64*|s390*|arm*|mips*)
-   # These hosts cannot use non-PIC shared libs
-   exit 77 ;;
- *-solaris*|*-sunos*)
 libtool-2.4.6/tests/testsuite.orig 2015-02-15 11:15:25.0 -0500
-+++ libtool-2.4.6

branch master updated (dd51caa - 8fda1b7)

2015-05-09 Thread Cyril Roelandt
steap pushed a change to branch master
in repository guix.

  from  dd51caa   doc: Show both the bare-bones and the desktop 
configurations.
   new  8fda1b7   Remove leftover patches.

The 1 revisions listed above as new are entirely new to this
repository and will be described in separate emails.  The revisions
listed as adds were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu-system.am  |4 --
 gnu/packages/patches/guix-test-networking.patch|   15 -
 gnu/packages/patches/libtool-skip-tests.patch  |   55 
 .../patches/python-sqlite-3.8.4-test-fix.patch |   15 -
 gnu/packages/patches/udev-gir-libtool.patch|   17 --
 5 files changed, 0 insertions(+), 106 deletions(-)
 delete mode 100644 gnu/packages/patches/guix-test-networking.patch
 delete mode 100644 gnu/packages/patches/libtool-skip-tests.patch
 delete mode 100644 gnu/packages/patches/python-sqlite-3.8.4-test-fix.patch
 delete mode 100644 gnu/packages/patches/udev-gir-libtool.patch



branch master updated (eae5b3f - ff98689)

2015-06-24 Thread Cyril Roelandt
steap pushed a change to branch master
in repository guix.

  from  eae5b3f   linux-initrd: Produce cpio archives with zeroed 
timestamps, etc.
   new  ff98689   import: pypi: Detect inputs.

The 1 revisions listed above as new are entirely new to this
repository and will be described in separate emails.  The revisions
listed as adds were already present in the repository and have only
been added to this reference.


Summary of changes:
 guix/import/pypi.scm |  160 --
 tests/pypi.scm   |   42 +
 2 files changed, 158 insertions(+), 44 deletions(-)



01/01: scripts: environment: Return the exit status of the command.

2015-07-02 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit d2cef629fd5856540f6e1edf8f9d2131ec7a6942
Author: Cyril Roelandt tipec...@gmail.com
Date:   Wed Jul 1 22:55:47 2015 +0200

scripts: environment: Return the exit status of the command.

* guix/scripts/environment.scm (guix-environment): Return the exit
  status of the command.
---
 guix/scripts/environment.scm |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/guix/scripts/environment.scm b/guix/scripts/environment.scm
index c6cac46..ecdbc7a 100644
--- a/guix/scripts/environment.scm
+++ b/guix/scripts/environment.scm
@@ -281,4 +281,4 @@ OUTPUT) tuples, using the build options in OPTS.
  (return #t))
 (else
  (create-environment inputs paths pure?)
- (return (system command)))
+ (return (exit (status:exit-val (system 
command)



branch master updated (08fa45b - d2cef62)

2015-07-02 Thread Cyril Roelandt
steap pushed a change to branch master
in repository guix.

  from  08fa45b   gnu: gnupg: Enable TLS support.
   new  d2cef62   scripts: environment: Return the exit status of the 
command.

The 1 revisions listed above as new are entirely new to this
repository and will be described in separate emails.  The revisions
listed as adds were already present in the repository and have only
been added to this reference.


Summary of changes:
 guix/scripts/environment.scm |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)



branch master updated (fe36d84 - e8df8f4)

2015-06-29 Thread Cyril Roelandt
steap pushed a change to branch master
in repository guix.

  from  fe36d84   doc: Add 'guix environment' examples.
   new  d889e6c   gnu: Add python-pep8.
   new  e31d7f4   gnu: Add python-pyflakes.
   new  a59e017   gnu: Add python-mccabe.
   new  e8df8f4   gnu: Add python-flake8.

The 4 revisions listed above as new are entirely new to this
repository and will be described in separate emails.  The revisions
listed as adds were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/packages/python.scm |  148 +++
 1 files changed, 148 insertions(+), 0 deletions(-)



04/04: gnu: Add python-flake8.

2015-06-29 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit e8df8f476e4a87b41278e2d358be612286fa6a6f
Author: Cyril Roelandt tipec...@gmail.com
Date:   Sat Jun 27 00:18:55 2015 +0200

gnu: Add python-flake8.

* gnu/packages/python.scm (python-flake8, python2-flake8): New variables.
---
 gnu/packages/python.scm |   70 +++
 1 files changed, 70 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index fd3fede..c62184b 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -3980,3 +3980,73 @@ complexity of Python source code.)
 
 (define-public python2-mccabe
   (package-with-python2 python-mccabe))
+
+;; Flake8 2.4.1 requires an older version of pep8.
+;; This should be removed ASAP.
+(define-public python-pep8-1.5.7
+  (package (inherit python-pep8)
+(version 1.5.7)
+(source
+  (origin
+(method url-fetch)
+(uri (string-append
+   https://pypi.python.org/packages/source/p/pep8/pep8-;
+   version
+   .tar.gz))
+(sha256
+  (base32
+12b9bbdbwnspxgak14xg58c130x2n0blxzlms5jn2dszn8qj3d0m))
+
+(define-public python2-pep8-1.5.7
+  (package-with-python2 python-pep8-1.5.7))
+
+;; Flake8 2.4.1 requires an older version of pyflakes.
+;; This should be removed ASAP.
+(define-public python-pyflakes-0.8.1
+  (package (inherit python-pyflakes)
+(version 0.8.1)
+(source
+  (origin
+(method url-fetch)
+(uri (string-append
+   https://pypi.python.org/packages/source/p/pyflakes/pyflakes-;
+   version
+   .tar.gz))
+(sha256
+  (base32
+0sbpq6pqm1i9wqi41mlfrsc5rk92jv4mskvlyxmnhlbdnc80ma1z))
+
+(define-public python2-pyflakes-0.8.1
+  (package-with-python2 python-pyflakes))
+
+(define-public python-flake8
+  (package
+(name python-flake8)
+(version 2.4.1)
+(source
+  (origin
+(method url-fetch)
+(uri (string-append
+   https://pypi.python.org/packages/source/f/flake8/flake8-;
+   version
+   .tar.gz))
+(sha256
+  (base32
+0dvmrpv7x98xkzffjz1z7lqr90sp5zdz16bdwckfd1cckpjvnzif
+(build-system python-build-system)
+(inputs
+  `((python-setuptools ,python-setuptools)
+(python-pep8 ,python-pep8-1.5.7)
+(python-pyflakes ,python-pyflakes-0.8.1)
+(python-mccabe ,python-mccabe)
+(python-mock ,python-mock)
+(python-nose ,python-nose)))
+(home-page https://gitlab.com/pycqa/flake8;)
+(synopsis
+  The modular source code checker: pep8, pyflakes and co)
+(description
+  Flake8 is a wrapper around PyFlakes, pep8 and python-mccabe.)
+(license license:expat)))
+
+(define-public python2-flake8
+  (package-with-python2 python-flake8))



01/04: gnu: Add python-pep8.

2015-06-29 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit d889e6c4d9af68701be3e8a12bc377369d1c8625
Author: Cyril Roelandt tipec...@gmail.com
Date:   Fri Jun 26 22:31:41 2015 +0200

gnu: Add python-pep8.

* gnu/packages/python.scm (python-pep8, python2-pep8): New variables.
---
 gnu/packages/python.scm |   27 +++
 1 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 1b3934b..0bcaf5d 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -3902,3 +3902,30 @@ applications.)
 
 (define-public python2-pyzmq
   (package-with-python2 python-pyzmq))
+
+(define-public python-pep8
+  (package
+(name python-pep8)
+(version 1.6.2)
+(source
+  (origin
+(method url-fetch)
+(uri (string-append
+   https://pypi.python.org/packages/source/p/pep8/pep8-;
+   version
+   .tar.gz))
+(sha256
+  (base32
+1zybkcdw1sx84dvkfss96nhykqg9bc0cdpwpl4k9wlxm61bf7dxq
+(build-system python-build-system)
+(inputs
+  `((python-setuptools ,python-setuptools)))
+(home-page http://pep8.readthedocs.org/;)
+(synopsis Python style guide checker)
+(description
+ This tools checks Python code against some of the style conventions in
+PEP 8.)
+(license license:expat)))
+
+(define-public python2-pep8
+  (package-with-python2 python-pep8))



03/04: gnu: Add python-mccabe.

2015-06-29 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit a59e017cb14ac4b30b46fbd7f2a76b29004d25f4
Author: Cyril Roelandt tipec...@gmail.com
Date:   Sat Jun 27 00:30:07 2015 +0200

gnu: Add python-mccabe.

* gnu/packages/python.scm (python-mccabe, python2-mccabe): New variables.
---
 gnu/packages/python.scm |   27 +++
 1 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index cf9d3ca..fd3fede 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -3953,3 +3953,30 @@ PEP 8.)
 (description
   Pyflakes statically checks Python source code for common errors.)
 (license license:expat)))
+
+(define-public python-mccabe
+  (package
+(name python-mccabe)
+(version 0.3.1)
+(source
+  (origin
+(method url-fetch)
+(uri (string-append
+   https://pypi.python.org/packages/source/m/mccabe/mccabe-;
+   version
+   .tar.gz))
+(sha256
+  (base32
+05ix3vdv5hjk4irl97n2n3c4g1vqvz7dbmkzs13f3bx97bxsczjz
+(build-system python-build-system)
+(inputs
+  `((python-setuptools ,python-setuptools)))
+(home-page https://github.com/flintwork/mccabe;)
+(synopsis McCabe checker, plugin for flake8)
+(description
+  This package provides a Flake8 plug-in to compute the McCabe cyclomatic
+complexity of Python source code.)
+(license expat)))
+
+(define-public python2-mccabe
+  (package-with-python2 python-mccabe))



02/04: gnu: Add python-pyflakes.

2015-06-29 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit e31d7f44203595e6c1b14dfadc9064693f921bd0
Author: Cyril Roelandt tipec...@gmail.com
Date:   Sat Jun 27 00:29:29 2015 +0200

gnu: Add python-pyflakes.

* gnu/packages/python.scm (python-pyflakes, python2-pyflakes): New 
variables.
---
 gnu/packages/python.scm |   24 
 1 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 0bcaf5d..cf9d3ca 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -3929,3 +3929,27 @@ PEP 8.)
 
 (define-public python2-pep8
   (package-with-python2 python-pep8))
+
+(define-public python-pyflakes
+  (package
+(name python-pyflakes)
+(version 0.9.2)
+(source
+  (origin
+(method url-fetch)
+(uri (string-append
+   https://pypi.python.org/packages/source/p/pyflakes/pyflakes-;
+   version
+   .tar.gz))
+(sha256
+  (base32
+0pvawddspdq0y22dbraq5gld9qr6rwa7zhmpfhl2b7v9rqiiqs82
+(build-system python-build-system)
+(inputs
+  `((python-setuptools ,python-setuptools)))
+(home-page
+  https://github.com/pyflakes/pyflakes;)
+(synopsis Passive checker of Python programs)
+(description
+  Pyflakes statically checks Python source code for common errors.)
+(license license:expat)))



01/01: gnu: Bump python-six to 1.9.0.

2015-08-09 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 98bdee6725a83c7f6d3011cca2e87e31165adb57
Author: Cyril Roelandt tipec...@gmail.com
Date:   Wed Jul 15 00:35:10 2015 +0200

gnu: Bump python-six to 1.9.0.

* gnu/packages/python.scm (python-six): Bump to 1.9.0.
---
 gnu/packages/python.scm |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 92e2768..940efec 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -783,7 +783,7 @@ password storage.)
 (define-public python-six
   (package
 (name python-six)
-(version 1.7.2)
+(version 1.9.0)
 (source
  (origin
   (method url-fetch)
@@ -791,7 +791,7 @@ password storage.)
   six/six- version .tar.gz))
   (sha256
(base32
-164rns26aqfqx2hwi0qq3scl50s69japn0fvgvrjsbyg7r1mxf67
+1mci5i8mjqmljmv33h0q3d4djc13zk1kfmb3fbvd3yy43x0m4h72
 (build-system python-build-system)
 (inputs
  `((python-setuptools ,python-setuptools)))



branch master updated (465b61f -> bab020d)

2015-11-03 Thread Cyril Roelandt
steap pushed a change to branch master
in repository guix.

  from  465b61f   gnu: Add python-tempest-lib.
   new  bab020d   import: pypi: add updater

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 doc/guix.texi|2 +
 guix/import/pypi.scm |   50 +-
 guix/scripts/refresh.scm |4 ++-
 3 files changed, 54 insertions(+), 2 deletions(-)



01/01: import: pypi: add updater

2015-11-03 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit bab020d7ca50e4153cf24832d119389a37fa8f63
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Tue Nov 3 22:38:49 2015 +0100

import: pypi: add updater

* guix/import/pypi.scm (guix-package->pypi-name,
  latest-release): New procedures.
  (%pypi-updater): New variable.
* guix/scripts/refresh.scm (%updaters): Add %PYPI-UPDATER.
* doc/guix.texi (Invoking guix refresh): Mention PyPI
---
 doc/guix.texi|2 +
 guix/import/pypi.scm |   50 +-
 guix/scripts/refresh.scm |4 ++-
 3 files changed, 54 insertions(+), 2 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 996192c..23f9c3c 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -4291,6 +4291,8 @@ the updater for GNU packages;
 the updater for @uref{http://elpa.gnu.org/, ELPA} packages;
 @item cran
 the updater fro @uref{http://cran.r-project.org/, CRAN} packages.
+@item pypi
+the updater fro @uref{https://pypi.python.org, PyPI} packages.
 @end table
 
 For instance, the following commands only checks for updates of Emacs
diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm
index 647ef61..f1988a7 100644
--- a/guix/import/pypi.scm
+++ b/guix/import/pypi.scm
@@ -30,12 +30,16 @@
   #:use-module (guix ui)
   #:use-module (guix utils)
   #:use-module (guix import utils)
+  #:use-module ((guix download) #:prefix download:)
   #:use-module (guix import json)
   #:use-module (guix packages)
+  #:use-module (guix upstream)
   #:use-module (guix licenses)
   #:use-module (guix build-system python)
+  #:use-module (gnu packages)
   #:use-module (gnu packages python)
-  #:export (pypi->guix-package))
+  #:export (pypi->guix-package
+%pypi-updater))
 
 (define (pypi-fetch name)
   "Return an alist representation of the PyPI metadata for the package NAME,
@@ -60,6 +64,16 @@ package."
   (snake-case name)
   (string-append "python-" (snake-case name
 
+(define (guix-package->pypi-name package)
+  "Given a Python PACKAGE built from pypi.python.org, return the name of the
+package on PyPI."
+  (let ((source-url (and=> (package-source package) origin-uri)))
+;; The URL has the form:
+;; 'https://pypi.python.org/packages/source/' +
+;; first letter of the package name +
+;; '/' + package name + '/' + ...
+(substring source-url 42 (string-rindex source-url #\/
+
 (define (maybe-inputs package-inputs)
   "Given a list of PACKAGE-INPUTS, tries to generate the 'inputs' field of a
 package definition."
@@ -190,3 +204,37 @@ VERSION, SOURCE-URL, HOME-PAGE, SYNOPSIS, DESCRIPTION, and 
LICENSE."
(license (string->license (assoc-ref* package "info" 
"license"
(make-pypi-sexp name version release home-page synopsis
description license)
+
+(define (pypi-package? package)
+  "Return true if PACKAGE is a Python package from PyPI."
+
+  (define (pypi-url? url)
+(string-prefix? "https://pypi.python.org/; url))
+
+  (let ((source-url (and=> (package-source package) origin-uri))
+(fetch-method (and=> (package-source package) origin-method)))
+(and (eq? fetch-method download:url-fetch)
+ (match source-url
+   ((? string?)
+(pypi-url? source-url))
+   ((source-url ...)
+(any pypi-url? source-url))
+
+(define (latest-release guix-package)
+  "Return an  for the latest release of GUIX-PACKAGE."
+  (let* ((pypi-name (guix-package->pypi-name
+ (specification->package guix-package)))
+ (metadata (pypi-fetch pypi-name))
+ (version (assoc-ref* metadata "info" "version"))
+ (url (assoc-ref (latest-source-release metadata) "url")))
+(upstream-source
+ (package guix-package)
+ (version version)
+ (urls (list url)
+
+(define %pypi-updater
+  (upstream-updater
+   (name 'pypi)
+   (description "Updater for PyPI packages")
+   (pred pypi-package?)
+   (latest latest-release)))
diff --git a/guix/scripts/refresh.scm b/guix/scripts/refresh.scm
index 0df4121..3984a0b 100644
--- a/guix/scripts/refresh.scm
+++ b/guix/scripts/refresh.scm
@@ -30,6 +30,7 @@
   #:use-module ((guix gnu-maintenance) #:select (%gnu-updater))
   #:use-module (guix import elpa)
   #:use-module (guix import cran)
+  #:use-module (guix import pypi)
   #:use-module (guix gnupg)
   #:use-module (gnu packages)
   #:use-module ((gnu packages commencement) #:select (%final-inputs))
@@ -152,7 +153,8 @@ specified with `--select'.\n"))
   ;; List of "updaters" used by default.  They are consulted in this order.
   (list %gnu-updater
 %elpa-updater
-%cran-updater))
+%cran-updater
+%pypi-updater))
 
 (define (lookup-updater name)
   "Return the updater called NAME."



03/12: gnu: Update python-requests.

2015-11-03 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit cbaa6a1e41178fa96c6911eb503e6ae1cc191eac
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Sun Oct 11 05:16:28 2015 +0200

gnu: Update python-requests.

* gnu/packages/python.scm (python-requests, python2-requests): Bump to 
2.8.0.
---
 gnu/packages/python.scm |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 1055c6f..70b297d 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -2073,7 +2073,7 @@ with sensible defaults out of the box.")
 (define-public python-requests
   (package
 (name "python-requests")
-(version "2.4.0")
+(version "2.8.0")
 (source (origin
  (method url-fetch)
  (uri
@@ -2082,7 +2082,7 @@ with sensible defaults out of the box.")
version ".tar.gz"))
  (sha256
   (base32
-   "0gknlfx1wakrrm1zi8gi03x2lzj4dsns0vjw0nsmgqvkphyf01vh"
+   "0yrvj8hfnabrdxds59w6d6887sn5j0jlgpmcq04lk4k0kdc07w5j"
 (build-system python-build-system)
 (inputs
  `(("python-setuptools" ,python-setuptools)



branch master updated (f8ae32a -> 465b61f)

2015-11-03 Thread Cyril Roelandt
steap pushed a change to branch master
in repository guix.

  from  f8ae32a   gnu: Add esmtp.
   new  3009334   guix: Add a "pypi-uri" helper method.
   new  d8bdd38   import: pypi: Use "pypi-uri" instead of building the URL 
manually.
   new  cbaa6a1   gnu: Update python-requests.
   new  7477fbb   gnu: Add python-mccabe 0.2.1
   new  abf21ef   gnu: Add python-flake8-2.2.4
   new  2ac9ba6   gnu: Add python-hacking.
   new  f4c7dc5   gnu: Add python-oslosphinx.
   new  2931f46   gnu: Add python-os-testr.
   new  a3fc12d   gnu: paramiko: Move python-pycrypto to the propagated 
inputs.
   new  aee6412   gnu: Add python-oslo.log.
   new  39d3f2e   gnu: python-oslotest: move mox3 to the propagated-inputs
   new  465b61f   gnu: Add python-tempest-lib.

The 12 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/packages/openstack.scm   |  186 +-
 gnu/packages/python.scm  |   46 ++-
 guix/build-system/python.scm |   10 ++-
 guix/import/pypi.scm |2 +-
 tests/pypi.scm   |3 +-
 5 files changed, 238 insertions(+), 9 deletions(-)



02/12: import: pypi: Use "pypi-uri" instead of building the URL manually.

2015-11-03 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit d8bdd38201328b95d849dc95073f842db6eb3b8d
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Mon Oct 12 01:03:25 2015 +0200

import: pypi: Use "pypi-uri" instead of building the URL manually.

* guix/import/pypi.scm (make-pypi-sexp): Use "pypi-uri".
* tests/pypi.scm: Update the tests accordingly.
---
 guix/import/pypi.scm |2 +-
 tests/pypi.scm   |3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm
index d04a685..647ef61 100644
--- a/guix/import/pypi.scm
+++ b/guix/import/pypi.scm
@@ -165,7 +165,7 @@ VERSION, SOURCE-URL, HOME-PAGE, SYNOPSIS, DESCRIPTION, and 
LICENSE."
  (version ,version)
  (source (origin
(method url-fetch)
-   (uri (string-append ,@(factorize-uri source-url 
version)))
+   (uri (pypi-uri ,name version))
(sha256
 (base32
  ,(guix-hash-url temp)
diff --git a/tests/pypi.scm b/tests/pypi.scm
index c772474..960b8cd 100644
--- a/tests/pypi.scm
+++ b/tests/pypi.scm
@@ -84,8 +84,7 @@ baz > 13.37")
  ('version "1.0.0")
  ('source ('origin
 ('method 'url-fetch)
-('uri ('string-append "https://example.com/foo-;
-  'version ".tar.gz"))
+('uri (pypi-uri "foo" version))
 ('sha256
  ('base32
   (? string? hash)



09/12: gnu: paramiko: Move python-pycrypto to the propagated inputs.

2015-11-03 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit a3fc12daa7ee35d78180c21fa5d62616108fef53
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Mon Oct 12 02:31:38 2015 +0200

gnu: paramiko: Move python-pycrypto to the propagated inputs.

* gnu/packages/python.scm (python-paramiko): Move python-pycrypto to the
  propagated-inputs.
---
 gnu/packages/python.scm |5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index ce42467..4e54ef9 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -413,9 +413,10 @@ John the Ripper).")
 (build-system python-build-system)
 (native-inputs
  `(("python-setuptools" ,python-setuptools)))
+(propagated-inputs
+ `(("python-pycrypto" ,python-pycrypto)))
 (inputs
- `(("python-ecdsa" ,python-ecdsa)
-   ("python-pycrypto" ,python-pycrypto)))
+ `(("python-ecdsa" ,python-ecdsa)))
 (home-page "http://www.paramiko.org/;)
 (synopsis "SSHv2 protocol library")
 (description "Paramiko is a python implementation of the SSHv2 protocol,



05/12: gnu: Add python-flake8-2.2.4

2015-11-03 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit abf21efcae3bb52b463c6b92f7b9132ba1c0bfa8
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Sun Oct 11 05:21:12 2015 +0200

gnu: Add python-flake8-2.2.4

* gnu/packages/python.scm (python-flake8-2.2.4,
  python2-flake8-2.2.4): New variables.
---
 gnu/packages/python.scm |   23 +++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index e6b66f0..ce42467 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4979,6 +4979,29 @@ complexity of Python source code.")
 (define-public python2-flake8
   (package-with-python2 python-flake8))
 
+;; This will only be needed by the python-hacking package and will not be
+;; necessary once python-hacking > 0.10.2 is released.
+(define-public python-flake8-2.2.4
+  (package (inherit python-flake8)
+(inputs
+  `(("python-setuptools" ,python-setuptools)
+("python-pep8" ,python-pep8-1.5.7)
+("python-pyflakes" ,python-pyflakes-0.8.1)
+("python-mccabe" ,python-mccabe-0.2.1)
+("python-mock" ,python-mock)
+("python-nose" ,python-nose)))
+(version "2.2.4")
+(source
+  (origin
+(method url-fetch)
+(uri (pypi-uri "flake8" version))
+(sha256
+  (base32
+"1r9wsry4va45h1rck5hxd3vzsg2q3y6lnl6pym1bxvz8ry19jwx8"))
+
+(define-public python2-flake8-2.2.4
+  (package-with-python2 python-flake8-2.2.4))
+
 (define-public python-mistune
   (package
 (name "python-mistune")



10/12: gnu: Add python-oslo.log.

2015-11-03 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit aee6412ad8525f25b7dabe02ef5af23485f1e196
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Mon Oct 12 23:27:16 2015 +0200

gnu: Add python-oslo.log.

* gnu/packages/openstack.scm (python-oslo.log,
  python2-oslo.log): New variables.
---
 gnu/packages/openstack.scm |   41 +
 1 files changed, 41 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index d8f3bd3..7581e6a 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -460,6 +460,47 @@ in an application or library.")
 (define-public python2-oslo.i18n
   (package-with-python2 python-oslo.i18n))
 
+(define-public python-oslo.log
+  (package
+  (name "python-oslo.log")
+  (version "1.6.0")
+  (source
+(origin
+  (method url-fetch)
+  (uri (string-append
+ "https://pypi.python.org/packages/source/o/oslo.log/oslo.log-;
+ version
+ ".tar.gz"))
+  (sha256
+(base32
+  "1fhy6yvbd565nv4x4i3ppyrlbmz3yy9d0xsvw5nkqsa7g43nmf8z"
+  (build-system python-build-system)
+  (propagated-inputs
+   `(("python-debtcollector" ,python-debtcollector)
+ ("python-oslo.config" ,python-oslo.config)
+ ("python-oslo.context" ,python-oslo.context)
+ ("python-oslo.i18n" ,python-oslo.i18n)
+ ("python-oslo.utils" ,python-oslo.utils)
+ ("python-oslo.serialization" ,python-oslo.serialization)
+ ("python-six" ,python-six)))
+  (inputs
+`(("python-babel" ,python-babel)
+  ("python-iso8601" ,python-iso8601)
+  ("python-mock" ,python-mock)
+  ("python-oslotest" ,python-oslotest)
+  ("python-pbr" ,python-pbr)
+  ("python-setuptools" ,python-setuptools)))
+  (home-page "http://launchpad.net/oslo;)
+  (synopsis "Python logging library of the Oslo project")
+  (description
+"The oslo.log (logging) configuration library provides standardized
+configuration for all OpenStack projects.  It also provides custom formatters,
+handlers and support for context specific logging (like resource id’s etc).")
+  (license asl2.0)))
+
+(define-public python2-oslo.log
+  (package-with-python2 python-oslo.log))
+
 (define-public python-oslo.serialization
   (package
 (name "python-oslo.serialization")



07/12: gnu: Add python-oslosphinx.

2015-11-03 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit f4c7dc5582d02de79fcec640046486b86024bf1d
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Mon Oct 12 00:48:40 2015 +0200

gnu: Add python-oslosphinx.

* gnu/packages/openstack.scm (python-oslosphinx,
  python2-oslosphinx): New variables.
---
 gnu/packages/openstack.scm |   30 ++
 1 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index fc86881..34e482b 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -465,6 +465,36 @@ in transmittable and storable formats, such as JSON and 
MessagePack.")
 (define-public python2-oslo.serialization
   (package-with-python2 python-oslo.serialization))
 
+(define-public python-oslosphinx
+  (package
+(name "python-oslosphinx")
+(version "3.1.0")
+(source
+ (origin
+   (method url-fetch)
+   (uri (pypi-uri "oslosphinx" version))
+   (sha256
+(base32
+ "0zcshdc9s1f7hnvg0fm2ps5rak3dpnm8kqg4i21lknhmsvb7p5cb"
+(build-system python-build-system)
+(propagated-inputs
+  `(("python-requests" ,python-requests)))
+(inputs
+  `(("python-pbr" ,python-pbr)
+("python-docutils" ,python-docutils)
+("python-hacking" ,python-hacking)
+("python-setuptools" ,python-setuptools)
+("python-sphinx" ,python-sphinx)))
+(home-page "http://www.openstack.org/;)
+(synopsis "OpenStack sphinx extensions and theme")
+(description
+  "This package provides themes and extensions for Sphinx documentation
+from the OpenStack project.")
+(license asl2.0)))
+
+(define-public python2-oslosphinx
+  (package-with-python2 python-oslosphinx))
+
 (define-public python-oslotest
   (package
 (name "python-oslotest")



01/12: guix: Add a "pypi-uri" helper method.

2015-11-03 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 3009334e3b3c148d7a36c76952fbb32addfa2c07
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Sat Oct 10 22:50:34 2015 +0200

guix: Add a "pypi-uri" helper method.

* guix/download.scm (mirrors): New "pypi" mirror.
* guix/build-system/python.scm (pypi-uri): New method.
---
 guix/build-system/python.scm |   10 +-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/guix/build-system/python.scm b/guix/build-system/python.scm
index aeb04c8..1a5d9df 100644
--- a/guix/build-system/python.scm
+++ b/guix/build-system/python.scm
@@ -31,7 +31,8 @@
   #:export (%python-build-system-modules
 package-with-python2
 python-build
-python-build-system))
+python-build-system
+pypi-uri))
 
 ;; Commentary:
 ;;
@@ -40,6 +41,13 @@
 ;;
 ;; Code:
 
+(define (pypi-uri name version)
+  "Return a URI string for the Python package hosted on the Python Package
+Index (PyPI) corresponding to NAME and VERSION."
+  (string-append "https://pypi.python.org/packages/source/;
+ (string-take name 1) "/" name "/"
+ name "-" version ".tar.gz"))
+
 (define %python-build-system-modules
   ;; Build-side modules imported by default.
   `((guix build python-build-system)



08/12: gnu: Add python-os-testr.

2015-11-03 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 2931f46454c3755b8c478db8dbb45e48928080cd
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Mon Oct 12 02:06:30 2015 +0200

gnu: Add python-os-testr.

* gnu/packages/openstack.scm (python-ostestr,
  python2-ostestr): New variables.
---
 gnu/packages/openstack.scm |   34 ++
 1 files changed, 34 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 34e482b..d8f3bd3 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -206,6 +206,40 @@ tested on Python version 3.2, 2.7 and 2.6.")
 (define-public python2-mox3
   (package-with-python2 python-mox3))
 
+(define-public python-os-testr
+  (package
+(name "python-os-testr")
+(version "0.4.2")
+(source
+ (origin
+   (method url-fetch)
+   (uri (pypi-uri "os-testr" version))
+   (sha256
+(base32
+ "0474z0mxb7y3vfk4s097wf1mzji5d135vh27cvlh9q17rq3x9r3w"
+(build-system python-build-system)
+(arguments
+ ;; os-testr uses itself to run the tests. It seems like pbr writes the
+ ;; exectuable in the virtualenv when using tox. Not sure how to do this
+ ;; when building the package. Skip the tests for now.
+ `(#:tests? #f))
+(propagated-inputs
+ `(("python-pbr" ,python-pbr)
+   ("python-subunit" ,python-subunit)
+   ("python-testtools" ,python-testtools)))
+(inputs
+  `(("python-babel" ,python-babel)
+("python-setuptools" ,python-setuptools)))
+(home-page "http://www.openstack.org/;)
+(synopsis "Testr wrapper to provide functionality for OpenStack projects")
+(description
+  "Os-testr provides developers with a testr wrapper and an output filter
+  for subunit.")
+(license asl2.0)))
+
+(define-public python2-os-testr
+  (package-with-python2 python-os-testr))
+
 (define-public python-pbr
   (package
 (name "python-pbr")



12/12: gnu: Add python-tempest-lib.

2015-11-03 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 465b61fcd638e9dffe2cdd6d52f36bd692fab9a9
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Mon Oct 12 23:33:52 2015 +0200

gnu: Add python-tempest-lib.

* gnu/packages/openstack.scm (python-tempest-lib,
  python2-tempest-lib): New variables.
---
 gnu/packages/openstack.scm |   45 
 1 files changed, 45 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 308590e..daec050 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -354,6 +354,51 @@ extensions.")
 (define-public python2-stevedore
   (package-with-python2 python-stevedore))
 
+(define-public python-tempest-lib
+  (package
+(name "python-tempest-lib")
+(version "0.9.0")
+(source
+ (origin
+  (method url-fetch)
+  (uri (pypi-uri "tempest-lib" version))
+  (sha256
+   (base32
+"1s32rpxw86p41ip9nr7zbqxd60mw1cqz2isirby36rh4vl68bfhx"
+(build-system python-build-system)
+(arguments
+ `(#:phases
+   (modify-phases %standard-phases
+ (add-before
+  'check 'pre-check
+  (lambda _
+(substitute* "tempest_lib/tests/cli/test_execute.py"
+  (("/bin/ls") (which "ls"
+(propagated-inputs
+  `(("python-fixtures" ,python-fixtures)
+("python-httplib2" ,python-httplib2)
+("python-iso8601" ,python-iso8601)
+("python-jsonschema" ,python-jsonschema)
+("python-oslo.log" ,python-oslo.log)
+("python-paramiko" ,python-paramiko)
+("python-pbr" ,python-pbr)
+("python-six" ,python-six)))
+(inputs
+  `(("python-babel" ,python-babel)
+("python-mock" ,python-mock)
+("python-os-testr" ,python-os-testr)
+("python-oslotest" ,python-oslotest)
+("python-setuptools" ,python-setuptools)))
+(home-page "http://www.openstack.org/;)
+(synopsis "OpenStack functional testing library")
+(description
+  "Tempest-lib is a functional testing library for OpenStack.  It provides
+common features used in Tempest.")
+(license asl2.0)))
+
+(define-public python2-tempest-lib
+  (package-with-python2 python-tempest-lib))
+
 ;; Packages from the Oslo library
 (define-public python-oslo.config
   (package



04/12: gnu: Add python-mccabe 0.2.1

2015-11-03 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 7477fbb1bed276b9cf2252126ad9ae9b2ed7e669
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Sun Oct 11 05:20:08 2015 +0200

gnu: Add python-mccabe 0.2.1

* gnu/packages/python.scm (python-mccabe-0.2.1,
  python2-mccabe-0.2.1): New variables.
---
 gnu/packages/python.scm |   14 ++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 70b297d..e6b66f0 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4895,6 +4895,20 @@ complexity of Python source code.")
 (define-public python2-mccabe
   (package-with-python2 python-mccabe))
 
+(define-public python-mccabe-0.2.1
+  (package (inherit python-mccabe)
+(version "0.2.1")
+(source
+  (origin
+(method url-fetch)
+(uri (pypi-uri "mccabe" version))
+(sha256
+  (base32
+"0fi4a81kr5bcv5p4xgibqr595hyj5dafkqgsmfk96mfy8w71fajs"))
+
+(define-public python2-mccabe-0.2.1
+  (package-with-python2 python-mccabe-0.2.1))
+
 ;; Flake8 2.4.1 requires an older version of pep8.
 ;; This should be removed ASAP.
 (define-public python-pep8-1.5.7



06/12: gnu: Add python-hacking.

2015-11-03 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 2ac9ba6a2914c73ff83dbd7b4ba7b47333476685
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Mon Oct 12 00:47:16 2015 +0200

gnu: Add python-hacking.

* gnu/packages/openstack.scm (python-hacking,
  python2-hacking): New variables.
---
 gnu/packages/openstack.scm |   34 ++
 1 files changed, 34 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 4fd1c80..fc86881 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -100,6 +100,40 @@ manner.")
 (define-public python2-debtcollector
   (package-with-python2 python-debtcollector))
 
+(define-public python-hacking
+  (package
+(name "python-hacking")
+(version "0.10.2")
+(source
+ (origin
+   (method url-fetch)
+   (uri (pypi-uri "hacking" version))
+   (sha256
+(base32
+ "1a310k3dv04jg7zvmk37h2ql7y9kf4hvdxb74bjlwdxgmy6h4wap"
+(build-system python-build-system)
+(propagated-inputs
+  `(("python-flake8-2.2.4" ,python-flake8-2.2.4)
+("python-mccabe-0.2.1" ,python-mccabe-0.2.1)
+("python-pbr" ,python-pbr)
+("python-pep8-1.5.7" ,python-pep8-1.5.7)
+("python-pyflakes-0.8.1" ,python-pyflakes-0.8.1)
+("python-six" ,python-six)))
+(inputs
+  `(("python-setuptools" ,python-setuptools)
+;; Tests
+("python-testscenarios" ,python-testscenarios)))
+(home-page "http://github.com/openstack-dev/hacking;)
+(synopsis "OpenStack hacking guideline enforcement")
+(description
+  "Python-hacking is a set of flake8 plugins that test and enforce the
+@uref{http://docs.openstack.org/developer/hacking/, OpenStack style
+guidelines}.")
+(license asl2.0)))
+
+(define-public python2-hacking
+  (package-with-python2 python-hacking))
+
 (define-public python-mox3
   (package
 (name "python-mox3")



11/12: gnu: python-oslotest: move mox3 to the propagated-inputs

2015-11-03 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 39d3f2edce74247f09e7461f79e98a24ce18f89e
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Wed Oct 28 02:30:51 2015 +0100

gnu: python-oslotest: move mox3 to the propagated-inputs

* gnu/packages/openstack.scm (python-oslotest): move mox3 to the propagated
  inputs.
---
 gnu/packages/openstack.scm |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 7581e6a..308590e 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -588,10 +588,10 @@ from the OpenStack project.")
 (propagated-inputs
   `(("python-fixtures" ,python-fixtures)
 ("python-mock" ,python-mock)
+("python-mox3" ,python-mox3)
 ("python-six" ,python-six)))
 (inputs
   `(("python-pbr" ,python-pbr)
-("python-mox3" ,python-mox3)
 ("python-os-client-config" ,python-os-client-config)
 ("python-setuptools" ,python-setuptools)
 ("python-subunit" ,python-subunit)



03/03: gnu: Add python-bandit.

2015-10-09 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit f5a21dc4cfe24a97d6af19683af4dc21f20916af
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Tue Sep 22 00:19:29 2015 +0200

gnu: Add python-bandit.

* gnu/packages/openstack.scm (python-bandit, python2-bandit): New variables.
---
 gnu/packages/openstack.scm |   40 
 1 files changed, 40 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 39584d5..4fd1c80 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -25,6 +25,46 @@
 #:select (asl2.0))
   #:use-module (guix packages))
 
+(define-public python-bandit
+  (package
+(name "python-bandit")
+(version "0.13.2")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append
+ "https://pypi.python.org/packages/source/b/bandit/bandit-;
+ version ".tar.gz"))
+   (sha256
+(base32
+ "03g3cflvrc99ncjd611iy5nnnscsc2vgnrx4mjaqyx8glbfw8y7g"
+(build-system python-build-system)
+(propagated-inputs
+  `(("python-appdirs" ,python-appdirs)
+("python-pyyaml" ,python-pyyaml)
+("python-six" ,python-six)
+("python-stevedore" ,python-stevedore)))
+(inputs
+  `(("python-pbr" ,python-pbr)
+("python-setuptools" ,python-setuptools)
+;; Tests
+("python-fixtures" ,python-fixtures)
+("python-mock" ,python-mock)
+("python-testrepository" ,python-testrepository)
+("python-testscenarios" ,python-testscenarios)
+("python-testtools" ,python-testtools)))
+(home-page "https://wiki.openstack.org/wiki/Security/Projects/Bandit;)
+(synopsis "Security oriented static analyser for python code.")
+(description
+  "Bandit is a tool designed to find common security issues in Python code.
+To do this Bandit processes each file, builds an AST from it, and runs
+appropriate plugins against the AST nodes.  Once Bandit has finished scanning
+all the files it generates a report.")
+(license asl2.0)))
+
+(define-public python2-bandit
+  (package-with-python2 python-bandit))
+
 (define-public python-debtcollector
   (package
 (name "python-debtcollector")



01/03: gnu: Add python-pip.

2015-10-09 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 643725a1557539c09aa28784e219005ced2330c7
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Mon Sep 21 02:56:26 2015 +0200

gnu: Add python-pip.

* gnu/packages/python.scm (python-pip, python2-pip): New variables.
---
 gnu/packages/python.scm |   32 
 1 files changed, 32 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index e94a2eb..c5e0b32 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -5251,3 +5251,35 @@ library.")
`(("python2-cryptography" ,python2-cryptography)
  ,@(alist-delete "python-cryptography"
  (package-propagated-inputs pyopenssl)))
+
+(define-public python-pip
+  (package
+(name "python-pip")
+(version "7.1.2")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append
+ "https://pypi.python.org/packages/source/p/pip/pip-;
+ version ".tar.gz"))
+   (sha256
+(base32
+ "0xx4aypfgchxdknxq7gyqghd8wb221zrzyqlbabzm32jy237j16a"
+(build-system python-build-system)
+(inputs
+  `(("python-setuptools" ,python-setuptools)
+("python-virtualenv" ,python-virtualenv)
+;; Tests
+("python-mock" ,python-mock)
+("python-pytest" ,python-pytest)
+("python-scripttest" ,python-scripttest)))
+(home-page "https://pip.pypa.io/;)
+(synopsis
+  "Package manager for Python software")
+(description
+  "Pip is a package manager for Python software, that finds packages on the
+Python Package Index (PyPI).")
+(license license:expat)))
+
+(define-public python2-pip
+  (package-with-python2 python-pip))



branch master updated (28eb956 -> f5a21dc)

2015-10-09 Thread Cyril Roelandt
steap pushed a change to branch master
in repository guix.

  from  28eb956   Thank Chris.
   new  643725a   gnu: Add python-pip.
   new  7787ef7   gnu: Update python-fixtures
   new  f5a21dc   gnu: Add python-bandit.

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/packages/openstack.scm |   40 
 gnu/packages/python.scm|  107 +++-
 2 files changed, 145 insertions(+), 2 deletions(-)



branch master updated (db6e5e2 - 0e88cbf)

2015-07-07 Thread Cyril Roelandt
steap pushed a change to branch master
in repository guix.

  from  db6e5e2   utils: Add call-with-temporary-directory.
   new  0e88cbf   gnu: python-testtools: make python-mimeparse a propagated 
input

The 1 revisions listed above as new are entirely new to this
repository and will be described in separate emails.  The revisions
listed as adds were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/packages/python.scm |3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)



02/05: gnu: Add python-pbr.

2015-09-01 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 7c4810a1e543a66bc7aa53f971e70bf1f9d41b08
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Sun Aug 16 16:31:24 2015 +0200

gnu: Add python-pbr.

* gnu/packages/openstack.scm: New file.
* gnu-system.am: Add it.
---
 gnu-system.am  |1 +
 gnu/packages/openstack.scm |   68 
 2 files changed, 69 insertions(+), 0 deletions(-)

diff --git a/gnu-system.am b/gnu-system.am
index 3e6ee15..56dc084 100644
--- a/gnu-system.am
+++ b/gnu-system.am
@@ -239,6 +239,7 @@ GNU_SYSTEM_MODULES =\
   gnu/packages/onc-rpc.scm \
   gnu/packages/openbox.scm \
   gnu/packages/openldap.scm\
+  gnu/packages/openstack.scm   \
   gnu/packages/orpheus.scm \
   gnu/packages/ots.scm \
   gnu/packages/package-management.scm  \
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
new file mode 100644
index 000..98619b1
--- /dev/null
+++ b/gnu/packages/openstack.scm
@@ -0,0 +1,68 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2015 Cyril Roelandt <tipec...@gmail.com>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages openstack)
+  #:use-module (gnu packages python)
+  #:use-module (gnu packages version-control)
+  #:use-module (guix build-system python)
+  #:use-module (guix download)
+  #:use-module ((guix licenses)
+#:select (asl2.0))
+  #:use-module (guix packages))
+
+(define-public python-pbr
+  (package
+(name "python-pbr")
+(version "1.2.0")
+(source
+  (origin
+(method url-fetch)
+(uri (string-append
+   "https://pypi.python.org/packages/source/p/pbr/pbr-;
+   version
+   ".tar.gz"))
+(sha256
+  (base32
+"1l2mls8wnwpkqj6hxsphq7xibbbsf40gg37wc30nj4r600zgqhqm"
+(build-system python-build-system)
+(arguments
+ `(#:tests? #f)) ;; Most tests seem to use the Internet.
+(propagated-inputs
+  `(("python-testrepository" ,python-testrepository)
+("git" ,git))) ;; pbr actually uses the "git" binary.
+(inputs
+  `(("python-fixtures" ,python-fixtures)
+("python-mimeparse" ,python-mimeparse)
+("python-mock" ,python-mock)
+("python-setuptools" ,python-setuptools)
+("python-six" ,python-six)
+("python-sphinx" ,python-sphinx)
+("python-testrepository" ,python-testrepository)
+("python-testresources" ,python-testresources)
+("python-testscenarios" ,python-testscenarios)
+("python-testtools" ,python-testtools)
+("python-virtualenv" ,python-virtualenv)))
+(home-page "https://launchpad.net/pbr;)
+(synopsis "Change the default behavior of Python’s setuptools")
+(description
+  "Python Build Reasonableness (PBR) is a library that injects some useful
+and sensible default behaviors into your setuptools run.")
+(license asl2.0)))
+
+(define-public python2-pbr
+  (package-with-python2 python-pbr))



branch master updated (44fd099 -> 2053949)

2015-09-01 Thread Cyril Roelandt
steap pushed a change to branch master
in repository guix.

  from  44fd099   gnu: guile-ssh: Update to 0.8.0.
   new  7e7b27d   gnu: add python-appdirs.
   new  7c4810a   gnu: Add python-pbr.
   new  35f1ebe   gnu: Add python-mox3.
   new  1edd421   gnu: Add python-os-client-config
   new  2053949   gnu: Add python-oslotest

The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu-system.am  |1 +
 gnu/packages/openstack.scm |  179 
 gnu/packages/python.scm|   28 +++
 3 files changed, 208 insertions(+), 0 deletions(-)
 create mode 100644 gnu/packages/openstack.scm



01/05: gnu: add python-appdirs.

2015-09-01 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 7e7b27d9060420a5dad8e082d71f46c0fea4a7d9
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Sun Aug 16 16:18:09 2015 +0200

gnu: add python-appdirs.

* gnu/packages/python.scm (python-appdirs, python2-appdirs): New variables.
---
 gnu/packages/python.scm |   28 
 1 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 75f285f..19dcf5a 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4652,3 +4652,31 @@ or create documents in LilyPond format.  A command line 
program ly is also
 provided that can be used to do various manipulations with LilyPond files.")
 (home-page "https://pypi.python.org/pypi/python-ly;)
 (license gpl2+)))
+
+(define-public python-appdirs
+  (package
+(name "python-appdirs")
+(version "1.4.0")
+(source
+  (origin
+(method url-fetch)
+(uri (string-append
+   "https://pypi.python.org/packages/source/a/appdirs/appdirs-;
+   version
+   ".tar.gz"))
+(sha256
+  (base32
+"1iddva7v3fq0aqzsahkazxr7vpw28mqcrsy818z4wyiqnkplbhlg"
+(build-system python-build-system)
+(inputs
+  `(("python-setuptools" ,python-setuptools)))
+(home-page "http://github.com/ActiveState/appdirs;)
+(synopsis
+  "Determine platform-specific dirs, e.g. a \"user data dir\"")
+(description
+  "This module provides a portable way of finding out where user data
+should be stored on various operating systems.")
+(license license:expat)))
+
+(define-public python2-appdirs
+  (package-with-python2 python-appdirs))



03/05: gnu: Add python-mox3.

2015-09-01 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 35f1ebeb2acb06dd920baffc7b3a184b7c45cd15
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Sun Aug 16 16:35:36 2015 +0200

gnu: Add python-mox3.

* gnu/packages/openstack.scm (python-mox3, python2-mox3): New variables.
---
 gnu/packages/openstack.scm |   33 +
 1 files changed, 33 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 98619b1..48bc716 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -25,6 +25,39 @@
 #:select (asl2.0))
   #:use-module (guix packages))
 
+(define-public python-mox3
+  (package
+(name "python-mox3")
+(version "0.8.0")
+(source
+  (origin
+(method url-fetch)
+(uri (string-append
+   "https://pypi.python.org/packages/source/m/mox3/mox3-;
+   version
+   ".tar.gz"))
+(sha256
+  (base32
+"1dwj9lkifdqvrcympqa47bj55l0n0j9jhzv2gj03h0dpzg6mgfkj"
+(build-system python-build-system)
+(inputs
+  `(("python-fixtures" ,python-fixtures)
+("python-pbr" ,python-pbr)
+("python-setuptools" ,python-setuptools)
+("python-six" ,python-six)
+("python-testtools" ,python-testtools)))
+(home-page "http://www.openstack.org/;)
+(synopsis "Mock object framework for Python")
+(description
+  "Mox3 is an unofficial port of the Google mox framework
+(http://code.google.com/p/pymox/) to Python 3. It was meant to be as compatible
+with mox as possible, but small enhancements have been made. The library was
+tested on Python version 3.2, 2.7 and 2.6.")
+(license asl2.0)))
+
+(define-public python2-mox3
+  (package-with-python2 python-mox3))
+
 (define-public python-pbr
   (package
 (name "python-pbr")



04/05: gnu: Add python-os-client-config

2015-09-01 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 1edd421ba51e89cbcfa536c65437da24d52ce237
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Sun Aug 16 16:38:06 2015 +0200

gnu: Add python-os-client-config

* gnu/packages/openstack.scm (python-os-client-config,
  python2-os-client-config): New variables.
---
 gnu/packages/openstack.scm |   39 +++
 1 files changed, 39 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 48bc716..f3b47ae 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -55,6 +55,45 @@ with mox as possible, but small enhancements have been made. 
The library was
 tested on Python version 3.2, 2.7 and 2.6.")
 (license asl2.0)))
 
+(define-public python-os-client-config
+  (package
+(name "python-os-client-config")
+(version "1.4.0")
+(source
+  (origin
+(method url-fetch)
+(uri (string-append
+   
"https://pypi.python.org/packages/source/o/os-client-config/os-client-config-;
+   version
+   ".tar.gz"))
+(sha256
+  (base32
+"14png6ml3zbbilh8bihav24f8vig9lyijwynnjcvazdxxrzvwq9j"
+(build-system python-build-system)
+(arguments
+ `(#:tests? #f)) ;; Circular dependency with python-oslotest
+(inputs
+  `(("python-appdirs" ,python-appdirs)
+("python-fixtures" ,python-fixtures)
+("python-mimeparse" ,python-mimeparse)
+("python-pbr" ,python-pbr)
+("python-pyyaml" ,python-pyyaml)
+("python-testrepository" ,python-testrepository)
+("python-setuptools" ,python-setuptools)
+("python-testscenarios" ,python-testscenarios)
+("python-testtools" ,python-testtools)))
+(home-page "http://www.openstack.org/;)
+(synopsis
+  "OpenStack Client Configuration Library")
+(description
+  "The OpenStack Client Configuration Library is a library for collecting
+  client configuration for using an OpenStack cloud in a consistent and
+  comprehensive manner.")
+(license asl2.0)))
+
+(define-public python2-os-client-config
+  (package-with-python2 python-os-client-config))
+
 (define-public python2-mox3
   (package-with-python2 python-mox3))
 



05/05: gnu: Add python-oslotest

2015-09-01 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 2053949a9e7c508ba40ea9000827306cbc912a56
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Sun Aug 16 16:39:57 2015 +0200

gnu: Add python-oslotest

* gnu/packages/openstack.scm (python-oslotest, python2-olsotest): New 
variables.
---
 gnu/packages/openstack.scm |   39 +++
 1 files changed, 39 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index f3b47ae..ddd2f50 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -138,3 +138,42 @@ and sensible default behaviors into your setuptools run.")
 
 (define-public python2-pbr
   (package-with-python2 python-pbr))
+
+;; Packages from the Oslo library
+(define-public python-oslotest
+  (package
+(name "python-oslotest")
+(version "1.8.0")
+(source
+  (origin
+(method url-fetch)
+(uri (string-append
+   "https://pypi.python.org/packages/source/o/oslotest/oslotest-;
+   version
+   ".tar.gz"))
+(sha256
+  (base32
+"175dln2zxjvvh4b23f2hln6zwfy2v5f1blg7mxbwl4r3130zvs2k"
+(build-system python-build-system)
+(propagated-inputs
+  `(("python-fixtures" ,python-fixtures)
+("python-mock" ,python-mock)
+("python-six" ,python-six)))
+(inputs
+  `(("python-pbr" ,python-pbr)
+("python-mox3" ,python-mox3)
+("python-os-client-config" ,python-os-client-config)
+("python-setuptools" ,python-setuptools)
+("python-subunit" ,python-subunit)
+("python-testrepository" ,python-testrepository)
+("python-testscenarios" ,python-testscenarios)
+("python-testtools" ,python-testtools)))
+(home-page "http://launchpad.net/oslo;)
+(synopsis "Oslo test framework")
+(description
+  "The Oslo Test framework provides common fixtures, support for debugging,
+and better support for mocking results.")
+(license asl2.0)))
+
+(define-public python2-oslotest
+  (package-with-python2 python-oslotest))



01/02: gnu: python-testtools: fix propagated inputs.

2015-09-07 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 05de40c5d342232fae86e7839baec1ebffeac022
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Tue Sep 1 23:57:22 2015 +0200

gnu: python-testtools: fix propagated inputs.

* gnu/packages/python.scm (python-testools): turn python-fixtures and
  python-testtools into propagated inputs.
---
 gnu/packages/python.scm |5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 313c625..f9ad951 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1714,11 +1714,12 @@ Python tests.")
 (base32
  "1ssqb07c277010i6gzzkbdd46gd9mrj0bi0i8vn560n2k2y4j93m"
 (build-system python-build-system)
+(propagated-inputs
+ `(("python-fixtures" ,python-fixtures)
+   ("python-testtools" ,python-testtools)))
 (inputs
  `(("python-setuptools" ,python-setuptools)
-   ("python-testtools" ,python-testtools)
("python-subunit" ,python-subunit)
-   ("python-fixtures" ,python-fixtures)
("python-mimeparse" ,python-mimeparse)))
 (home-page "https://launchpad.net/testrepository;)
 (synopsis "Database for Python test results")



02/02: gnu: Add oslo.i18n.

2015-09-07 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 8531b326f166403298f238817db728c2d8df6bb9
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Wed Sep 2 00:59:42 2015 +0200

gnu: Add oslo.i18n.

* gnu/packages/openstack.scm (python-oslo.i18n, python2-oslo.i18n): New
  variables.
---
 gnu/packages/openstack.scm |   37 +
 1 files changed, 37 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index a534147..1641476 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -140,6 +140,43 @@ and sensible default behaviors into your setuptools run.")
   (package-with-python2 python-pbr))
 
 ;; Packages from the Oslo library
+(define-public python-oslo.i18n
+  (package
+(name "python-oslo.i18n")
+(version "2.5.0")
+(source
+  (origin
+(method url-fetch)
+(uri (string-append
+   "https://pypi.python.org/packages/source/o/oslo.i18n/oslo.i18n-;
+   version
+   ".tar.gz"))
+(sha256
+  (base32
+"1kg72mqldlri3x0bhxai7j979czrd7mf8s3iflvvv0x9kn9ah4cw"
+(build-system python-build-system)
+(propagated-inputs
+  `(("python-babel" ,python-babel)
+("python-six" ,python-six)))
+(inputs
+  `(("python-pbr" ,python-pbr)
+("python-setuptools" ,python-setuptools)
+;; Tests
+("python-mock" ,python-mock)
+("python-mox3" ,python-mox3)
+("python-oslotest" ,python-oslotest)
+("python-testscenarios" ,python-testscenarios)))
+(home-page "http://launchpad.net/oslo;)
+(synopsis "Oslo internationalization (i18n) library")
+(description
+  "The oslo.i18n library contain utilities for working with
+internationalization (i18n) features, especially translation for text strings
+in an application or library.")
+(license asl2.0)))
+
+(define-public python2-oslo.i18n
+  (package-with-python2 python-oslo.i18n))
+
 (define-public python-oslotest
   (package
 (name "python-oslotest")



branch master updated (ea8e40d -> 8531b32)

2015-09-07 Thread Cyril Roelandt
steap pushed a change to branch master
in repository guix.

  from  ea8e40d   gnu: pbr: Update to 1.6.0
   new  05de40c   gnu: python-testtools: fix propagated inputs.
   new  8531b32   gnu: Add oslo.i18n.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/packages/openstack.scm |   37 +
 gnu/packages/python.scm|5 +++--
 2 files changed, 40 insertions(+), 2 deletions(-)



01/01: gnu: pbr: Update to 1.6.0

2015-09-07 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit ea8e40d031c3295805dc9357098c2c13aa516e1a
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Sun Sep 6 23:07:16 2015 +0200

gnu: pbr: Update to 1.6.0

* gnu/packages/openstack.scm (python-pbr): Update to 1.6.0.
---
 gnu/packages/openstack.scm |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index ddd2f50..a534147 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -100,7 +100,7 @@ tested on Python version 3.2, 2.7 and 2.6.")
 (define-public python-pbr
   (package
 (name "python-pbr")
-(version "1.2.0")
+(version "1.6.0")
 (source
   (origin
 (method url-fetch)
@@ -110,7 +110,7 @@ tested on Python version 3.2, 2.7 and 2.6.")
".tar.gz"))
 (sha256
   (base32
-"1l2mls8wnwpkqj6hxsphq7xibbbsf40gg37wc30nj4r600zgqhqm"
+"1lg1klrczvzfan89y3bl9ykrknl3nb01vvai37fkww24apzyibjf"
 (build-system python-build-system)
 (arguments
  `(#:tests? #f)) ;; Most tests seem to use the Internet.



branch master updated (6f96706 -> 5a4849e)

2015-09-08 Thread Cyril Roelandt
steap pushed a change to branch master
in repository guix.

  from  6f96706   gnu: sqlite: Switch to alternate source URL.
   new  5a4849e   gnu: oslotest: Update to 1.10.0

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/packages/openstack.scm |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)



01/01: gnu: oslotest: Update to 1.10.0

2015-09-08 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 5a4849e11cfd26c9ba8322bf7cdb9042d2b97cdb
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Tue Sep 8 23:17:27 2015 +0200

gnu: oslotest: Update to 1.10.0

* gnu/packages/openstack.scm (python-oslotest): Update to 1.10.0.
---
 gnu/packages/openstack.scm |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 1641476..9168644 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -180,7 +180,7 @@ in an application or library.")
 (define-public python-oslotest
   (package
 (name "python-oslotest")
-(version "1.8.0")
+(version "1.10.0")
 (source
   (origin
 (method url-fetch)
@@ -190,7 +190,7 @@ in an application or library.")
".tar.gz"))
 (sha256
   (base32
-"175dln2zxjvvh4b23f2hln6zwfy2v5f1blg7mxbwl4r3130zvs2k"
+"0l3ny48ddz5xbf0v4r0jv1yhbdzinc2vy0lybhdkmx3xy0b886fs"
 (build-system python-build-system)
 (propagated-inputs
   `(("python-fixtures" ,python-fixtures)



08/08: gnu: Add python-oslo.utils.

2015-09-13 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 27cc9f2544295659fd6cca0572841cd3aa5e9456
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Wed Sep 9 01:33:40 2015 +0200

gnu: Add python-oslo.utils.

* gnu/packages/openstack.scm (python-oslo.utils, python2-oslo.utils): New 
variables.
---
 gnu/packages/openstack.scm |   49 
 1 files changed, 49 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index c099846..a9db3f2 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -327,3 +327,52 @@ and better support for mocking results.")
 
 (define-public python2-oslotest
   (package-with-python2 python-oslotest))
+
+(define-public python-oslo.utils
+  (package
+(name "python-oslo.utils")
+(version "2.5.0")
+(source
+  (origin
+(method url-fetch)
+(uri (string-append
+   
"https://pypi.python.org/packages/source/o/oslo.utils/oslo.utils-;
+   version
+   ".tar.gz"))
+(sha256
+  (base32
+"11b073gblhzkxhi1j6sqk3apq2ll8xhi9h9g9kxzx9dycqdq0qp0"))
+(snippet
+ '(begin
+;; FIXME: setuptools fails to import this file during the test
+;; phase.
+(delete-file "oslo_utils/tests/test_netutils.py")
+(build-system python-build-system)
+(propagated-inputs
+  `(("python-debtcollector" ,python-debtcollector)
+("python-oslo.i18n" ,python-oslo.i18n)
+("python-iso8601" ,python-iso8601)
+("python-monotonic" ,python-monotonic)
+("python-netaddr" ,python-netaddr)
+("python-netifaces" ,python-netifaces)
+("python-pytz" ,python-pytz)
+("python-six" ,python-six)))
+(inputs
+  `(("python-babel" ,python-babel)
+("python-pbr" ,python-pbr)
+("python-setuptools" ,python-setuptools)
+;; Tests.
+("python-oslotest" ,python-oslotest)
+("python-mock" ,python-mock)
+("python-mox3" ,python-mox3)
+("python-testscenarios" ,python-testscenarios)))
+(home-page "http://launchpad.net/oslo;)
+(synopsis "Oslo utility library")
+(description
+  "The @code{oslo.utils} library provides support for common utility type
+functions, such as encoding, exception handling, string manipulation, and time
+handling.")
+(license asl2.0)))
+
+(define-public python2-oslo.utils
+  (package-with-python2 python-oslo.utils))



05/08: gnu: Add python-iso8601.

2015-09-13 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit b85c85becd36aa3abbd80dbb5b22705f10e5e57a
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Wed Sep 9 00:44:14 2015 +0200

gnu: Add python-iso8601.

* gnu/packages/python.scm (python-iso8601, python2-iso8601): New variables.
---
 gnu/packages/python.scm |   27 +++
 1 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 04c842b..85ab88c 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4799,3 +4799,30 @@ and MAC network addresses.")
 
 (define-public python2-wrapt
   (package-with-python2 python-wrapt))
+
+(define-public python-iso8601
+  (package
+  (name "python-iso8601")
+  (version "0.1.10")
+  (source
+(origin
+  (method url-fetch)
+  (uri (string-append
+ "https://pypi.python.org/packages/source/i/iso8601/iso8601-;
+ version
+ ".tar.gz"))
+  (sha256
+(base32
+  "1qf01afxh7j4gja71vxv345if8avg6nnm0ry0zsk6j3030xgy4p7"
+  (build-system python-build-system)
+  (inputs
+`(("python-setuptools" ,python-setuptools)))
+  (home-page "https://bitbucket.org/micktwomey/pyiso8601;)
+  (synopsis "Module to parse ISO 8601 dates")
+  (description
+"This module parses the most common forms of ISO 8601 date strings (e.g.
+@code{2007-01-14T20:34:22+00:00}) into @code{datetime} objects.")
+  (license license:expat)))
+
+(define-public python2-iso8601
+  (package-with-python2 python-iso8601))



07/08: gnu: Add python-debtcollector.

2015-09-13 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 2713527e0694112a3970e22eac66dc938bea0463
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Wed Sep 9 00:59:10 2015 +0200

gnu: Add python-debtcollector.

* gnu/packages/openstack.scm (python-debtcollector,
  python2-debtcollector): New variables.
---
 gnu/packages/openstack.scm |   35 +++
 1 files changed, 35 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 1f321bf..c099846 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -25,6 +25,41 @@
 #:select (asl2.0))
   #:use-module (guix packages))
 
+(define-public python-debtcollector
+  (package
+(name "python-debtcollector")
+(version "0.5.0")
+(source
+  (origin
+(method url-fetch)
+(uri (string-append
+   "https://pypi.python.org/packages/source/d/debtcollector/;
+   "debtcollector-" version ".tar.gz"))
+(sha256
+  (base32
+"0amlcg5f98lk2mfzdg44slh1nsi2y4ds123g5d57376fjk2b3njd"
+(build-system python-build-system)
+(propagated-inputs
+ `(("python-six" ,python-six)
+   ("python-wrapt" ,python-wrapt)))
+(inputs
+  `(("python-babel" ,python-babel)
+("python-pbr" ,python-pbr)
+("python-setuptools" ,python-setuptools)
+;; Tests.
+("python-oslotest" ,python-oslotest)))
+(home-page "http://www.openstack.org/;)
+(synopsis
+  "Find deprecated patterns and strategies in Python code")
+(description
+  "This package provides a collection of Python deprecation patterns and
+strategies that help you collect your technical debt in a non-destructive
+manner.")
+(license asl2.0)))
+
+(define-public python2-debtcollector
+  (package-with-python2 python-debtcollector))
+
 (define-public python-mox3
   (package
 (name "python-mox3")



01/08: gnu: Add python-netaddr.

2015-09-13 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 6e5e39f4063b30fcea6d5a9af6769236d8a57cd3
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Tue Sep 8 00:22:49 2015 +0200

gnu: Add python-netaddr.

* gnu/packages/python.scm (python-netaddr, python2-netaddr): New variables.
---
 gnu/packages/python.scm |   28 
 1 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index feddd1a..f85c788 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4739,3 +4739,31 @@ reading and writing MessagePack data.")
 
 (define-public python2-msgpack
   (package-with-python2 python-msgpack))
+
+(define-public python-netaddr
+  (package
+(name "python-netaddr")
+(version "0.7.18")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append
+ "https://pypi.python.org/packages/source/n/netaddr/netaddr-;
+ version
+ ".tar.gz"))
+   (sha256
+ (base32
+  "06dxjlbcicq7q3vqy8agq11ra01kvvd47j4mk6dmghjsyzyckxd1"
+(build-system python-build-system)
+(arguments `(#:tests? #f)) ;; No tests.
+(inputs
+  `(("python-setuptools" ,python-setuptools)))
+(home-page "https://github.com/drkjam/netaddr/;)
+(synopsis "Pythonic manipulation of  network addresses")
+(description
+  "A Python library for representing and manipulating IPv4, IPv6, CIDR, EUI
+and MAC network addresses.")
+(license bsd-3)))
+
+(define-public python2-netaddr
+  (package-with-python2 python-netaddr))



04/08: gnu: Add python-wrapt

2015-09-13 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 8c692a52586937a58627ae609f08aaabb102b64f
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Wed Sep 9 00:26:26 2015 +0200

gnu: Add python-wrapt

* gnu/packages/python.scm (python-wrapt, python2-wrapt): New variables.
---
 gnu/packages/python.scm |   32 
 1 files changed, 32 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index f85c788..04c842b 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4767,3 +4767,35 @@ and MAC network addresses.")
 
 (define-public python2-netaddr
   (package-with-python2 python-netaddr))
+
+(define-public python-wrapt
+  (package
+(name "python-wrapt")
+(version "1.10.5")
+(source
+  (origin
+(method url-fetch)
+(uri (string-append
+   "https://pypi.python.org/packages/source/w/wrapt/wrapt-;
+   version
+   ".tar.gz"))
+(sha256
+  (base32
+"0cq8rlpzkxzk48b50yrfhzn1d1hrq4gjcdqlrgq4v5palgiv9jwr"
+(build-system python-build-system)
+(arguments
+ ;; Tests are not included in the tarball, they are only available in the
+ ;; git repository.
+ `(#:tests? #f))
+(inputs
+  `(("python-setuptools" ,python-setuptools)))
+(home-page "https://github.com/GrahamDumpleton/wrapt;)
+(synopsis "Module for decorators, wrappers and monkey patching")
+(description
+  "The aim of the wrapt module is to provide a transparent object proxy for
+  Python, which can be used as the basis for the construction of function
+  wrappers and decorator functions.")
+(license bsd-2)))
+
+(define-public python2-wrapt
+  (package-with-python2 python-wrapt))



03/08: gnu: Add python-oslo.config.

2015-09-13 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit ed56af06bc9ecc240f5334df26ebca679fbabd00
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Tue Sep 8 00:33:05 2015 +0200

gnu: Add python-oslo.config.

* gnu/packages/openstack.scm (python-oslo.config, python2-oslo.config): New 
variables.
---
 gnu/packages/openstack.scm |   37 +
 1 files changed, 37 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 6c84588..1f321bf 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -181,6 +181,43 @@ extensions.")
   (package-with-python2 python-stevedore))
 
 ;; Packages from the Oslo library
+(define-public python-oslo.config
+  (package
+(name "python-oslo.config")
+(version "2.4.0")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append
+ 
"https://pypi.python.org/packages/source/o/oslo.config/oslo.config-;
+ version
+ ".tar.gz"))
+   (sha256
+ (base32
+  "13r778jfb0fhna37c2pd1f2xipnsbd7zli7qhn96acrzymrwj5k1"
+(build-system python-build-system)
+(propagated-inputs
+  `(("python-netaddr" ,python-netaddr)
+("python-six" ,python-six)
+("python-stevedore" ,python-stevedore)))
+(inputs
+  `(("python-pbr" ,python-pbr)
+("python-setuptools" ,python-setuptools)
+;; Tests
+("python-oslo.i18n" ,python-oslo.i18n)
+("python-mock" ,python-mock)
+("python-oslotest" ,python-oslotest)
+("python-testscenarios" ,python-testscenarios)))
+(home-page "https://launchpad.net/oslo;)
+(synopsis "Oslo Configuration API")
+(description
+  "The Oslo configuration API supports parsing command line arguments and
+.ini style configuration files.")
+(license asl2.0)))
+
+(define-public python2-oslo.config
+  (package-with-python2 python-oslo.config))
+
 (define-public python-oslo.i18n
   (package
 (name "python-oslo.i18n")



branch master updated (59ef203 -> 27cc9f2)

2015-09-13 Thread Cyril Roelandt
steap pushed a change to branch master
in repository guix.

  from  59ef203   gnu: Add cvs-fast-export.
   new  6e5e39f   gnu: Add python-netaddr.
   new  673d1a9   gnu: Add python-stevedore.
   new  ed56af0   gnu: Add python-oslo.config.
   new  8c692a5   gnu: Add python-wrapt
   new  b85c85b   gnu: Add python-iso8601.
   new  5e412b6   gnu: Add python-monotonic.
   new  2713527   gnu: Add python-debtcollector.
   new  27cc9f2   gnu: Add python-oslo.utils.

The 8 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/packages/openstack.scm |  162 
 gnu/packages/python.scm|  114 +++
 2 files changed, 276 insertions(+), 0 deletions(-)



02/08: gnu: Add python-stevedore.

2015-09-13 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 673d1a9deb0bd15870cc39ae9fe032074fb033fb
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Tue Sep 8 00:27:45 2015 +0200

gnu: Add python-stevedore.

* gnu/packages/openstack.scm (python-stevedore, python2-stevedore): New 
variables.
---
 gnu/packages/openstack.scm |   41 +
 1 files changed, 41 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 9168644..6c84588 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -139,6 +139,47 @@ and sensible default behaviors into your setuptools run.")
 (define-public python2-pbr
   (package-with-python2 python-pbr))
 
+(define-public python-stevedore
+  (package
+(name "python-stevedore")
+(version "1.7.0")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append
+ "https://pypi.python.org/packages/source/s/stevedore/stevedore-;
+ version
+ ".tar.gz"))
+   (sha256
+ (base32
+  "149pjc0c3z6khjisn4yil3f94qjnzwafz093wc8rrzbw828qdkv8"
+(build-system python-build-system)
+(propagated-inputs
+  `(("python-six" ,python-six)))
+(inputs
+  `(("python-pbr" ,python-pbr)
+("python-setuptools" ,python-setuptools)
+;; Tests
+("python-docutils" ,python-docutils)
+("python-mock" ,python-mock)
+("python-oslotest" ,python-oslotest)
+("python-sphinx" ,python-sphinx)))
+(home-page "https://github.com/dreamhost/stevedore;)
+(synopsis "Manage dynamic plugins for Python applications")
+(description
+  "Python makes loading code dynamically easy, allowing you to configure
+and extend your application by discovering and loading extensions (“plugins”)
+at runtime.  Many applications implement their own library for doing this,
+using __import__ or importlib.  stevedore avoids creating yet another extension
+mechanism by building on top of setuptools entry points.  The code for managing
+entry points tends to be repetitive, though, so stevedore provides manager
+classes for implementing common patterns for using dynamically loaded
+extensions.")
+(license asl2.0)))
+
+(define-public python2-stevedore
+  (package-with-python2 python-stevedore))
+
 ;; Packages from the Oslo library
 (define-public python-oslo.i18n
   (package



04/04: gnu: Add python-requests-mock.

2015-09-16 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 2c9d96767a8ad616d61f0548b6ebba0b762589dd
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Mon Sep 14 22:53:32 2015 +0200

gnu: Add python-requests-mock.

* gnu/packages/openstack.scm (python-requests-mock,
  python2-requests-mock): New variables.
---
 gnu/packages/openstack.scm |   31 +++
 1 files changed, 31 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index a0e6952..39584d5 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -174,6 +174,37 @@ and sensible default behaviors into your setuptools run.")
 (define-public python2-pbr
   (package-with-python2 python-pbr))
 
+(define-public python-requests-mock
+  (package
+(name "python-requests-mock")
+(version "0.6.0")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append
+ "https://pypi.python.org/packages/source/r/requests-mock/;
+ "requests-mock-" version ".tar.gz"))
+   (sha256
+(base32
+ "0gmd88c224y53b1ai8cfsrcxm9kw3gdqzysclmnaqspg7zjhxwd1"
+(build-system python-build-system)
+(propagated-inputs
+  `(("python-requests" ,python-requests)
+("python-six" ,python-six)))
+(inputs
+  `(("python-mock" ,python-mock)
+("python-pbr" ,python-pbr)
+("python-setuptools" ,python-setuptools)))
+(home-page "https://requests-mock.readthedocs.org/;)
+(synopsis "Mock out responses from the requests package")
+(description
+  "This module provides a building block to stub out the HTTP requests
+portions of your testing code.")
+(license asl2.0)))
+
+(define-public python2-requests-mock
+  (package-with-python2 python-requests-mock))
+
 (define-public python-stevedore
   (package
 (name "python-stevedore")



01/04: gnu: Add python-oslo.serialization.

2015-09-16 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 5702efe3e9df94348a365813ac63f8cdaf8a3354
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Mon Sep 14 20:39:18 2015 +0200

gnu: Add python-oslo.serialization.

* gnu/packages/openstack.scm (python-oslo.serialization,
  python2-oslo.serialization): New variables.
---
 gnu/packages/openstack.scm |   39 +++
 1 files changed, 39 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index a9db3f2..b268c61 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -290,6 +290,45 @@ in an application or library.")
 (define-public python2-oslo.i18n
   (package-with-python2 python-oslo.i18n))
 
+(define-public python-oslo.serialization
+  (package
+(name "python-oslo.serialization")
+(version "1.9.0")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append
+ "https://pypi.python.org/packages/source/o/oslo.serialization/;
+ "oslo.serialization-" version ".tar.gz"))
+   (sha256
+(base32
+ "00qaxg155s61ylh4fqc7m5fh0gijf33khhai9xvcsc9k106i3c9c"
+(build-system python-build-system)
+(propagated-inputs
+  `(("python-iso8601" ,python-iso8601)
+("python-netaddr" ,python-netaddr)
+("python-oslo.utils" ,python-oslo.utils)
+("python-simplejson" ,python-simplejson)
+("python-six" ,python-six)
+("python-pytz" ,python-pytz)))
+(inputs
+  `(("python-babel" ,python-babel)
+("python-pbr" ,python-pbr)
+("python-setuptools" ,python-setuptools)
+;; Tests.
+("python-mock" ,python-mock)
+("python-oslo.i18n" ,python-oslo.i18n)
+("python-oslotest" ,python-oslotest)))
+(home-page "http://launchpad.net/oslo;)
+(synopsis "Oslo serialization library")
+(description
+  "The oslo.serialization library provides support for representing objects
+in transmittable and storable formats, such as JSON and MessagePack.")
+(license asl2.0)))
+
+(define-public python2-oslo.serialization
+  (package-with-python2 python-oslo.serialization))
+
 (define-public python-oslotest
   (package
 (name "python-oslotest")



branch master updated (979f9e8 -> 2c9d967)

2015-09-16 Thread Cyril Roelandt
steap pushed a change to branch master
in repository guix.

  from  979f9e8   gnu: sfarklib: Update to 2.24.
   new  5702efe   gnu: Add python-oslo.serialization.
   new  c7c7a93   gnu: Add python-oslo.context.
   new  de34afa   gnu: Add python-webob.
   new  2c9d967   gnu: Add python-requests-mock.

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/packages/openstack.scm |  101 
 gnu/packages/python.scm|   27 
 2 files changed, 128 insertions(+), 0 deletions(-)



03/04: gnu: Add python-webob.

2015-09-16 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit de34aface7e0c83b02c3def1ec55630e29bed6b7
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Mon Sep 14 22:16:53 2015 +0200

gnu: Add python-webob.

* gnu/packages/python.scm (python-webob, python2-webob): New variables.
---
 gnu/packages/python.scm |   27 +++
 1 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index c58d7f3..408064d 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4853,3 +4853,30 @@ fractional seconds) of a clock which never goes 
backwards.")
 
 (define-public python2-monotonic
   (package-with-python2 python-monotonic))
+
+(define-public python-webob
+  (package
+(name "python-webob")
+(version "1.5.0b0")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append
+ "https://pypi.python.org/packages/source/W/WebOb/WebOb-;
+ version ".tar.gz"))
+   (sha256
+(base32
+ "140b3iczclk1j0405rvw5gxshqfkhcc8254fj520z3m23cwbql4a"
+(build-system python-build-system)
+(inputs
+  `(("python-nose" ,python-nose)
+("python-setuptools" ,python-setuptools)))
+(home-page "http://webob.org/;)
+(synopsis "WSGI request and response object")
+(description
+  "WebOb provides wrappers around the WSGI request environment, and an
+object to help create WSGI responses.")
+(license license:expat)))
+
+(define-public python2-webob
+  (package-with-python2 python-webob))



02/04: gnu: Add python-oslo.context.

2015-09-16 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit c7c7a93621ad38e8302ccf3f52e182b65ef3715d
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Mon Sep 14 20:50:35 2015 +0200

gnu: Add python-oslo.context.

* gnu/packages/openstack.scm (python-oslo.context,
  python2-oslo.context): New variables.
---
 gnu/packages/openstack.scm |   31 +++
 1 files changed, 31 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index b268c61..a0e6952 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -253,6 +253,37 @@ extensions.")
 (define-public python2-oslo.config
   (package-with-python2 python-oslo.config))
 
+(define-public python-oslo.context
+  (package
+(name "python-oslo.context")
+(version "0.6.0")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append
+ "https://pypi.python.org/packages/source/o/oslo.context/;
+ "oslo.context-" version ".tar.gz"))
+   (sha256
+(base32
+ "16wr9qrkc3lb94ssb14qid4liza66x316fvzjw0izg67h1a0fm86"
+(build-system python-build-system)
+(inputs
+  `(("python-babel" ,python-babel)
+("python-pbr" ,python-pbr)
+("python-setuptools" ,python-setuptools)
+;; Tests.
+("python-oslotest" ,python-oslotest)))
+(home-page "http://launchpad.net/oslo;)
+(synopsis "Oslo context library")
+(description
+  "The Oslo context library has helpers to maintain useful information
+about a request context.  The request context is usually populated in the WSGI
+pipeline and used by various modules such as logging.")
+(license asl2.0)))
+
+(define-public python2-oslo.context
+  (package-with-python2 python-oslo.context))
+
 (define-public python-oslo.i18n
   (package
 (name "python-oslo.i18n")



01/03: gnu: Add python-prettytable

2015-09-19 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 350ba0a32b6d21acb974a1715d60df7839fd5acc
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Wed Sep 16 23:02:11 2015 +0200

gnu: Add python-prettytable

* gnu/packages/python.scm (python-prettytable,
  python2-prettytable): New variables.
---
 gnu/packages/python.scm |   28 
 1 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 408064d..1818993 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4880,3 +4880,31 @@ object to help create WSGI responses.")
 
 (define-public python2-webob
   (package-with-python2 python-webob))
+
+(define-public python-prettytable
+  (package
+(name "python-prettytable")
+(version "0.7.2")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append
+ "https://pypi.python.org/packages/source/P/PrettyTable/;
+ "prettytable-" version ".tar.bz2"))
+   (sha256
+(base32
+ "0diwsicwmiq2cpzpxri7cyl5fmsvicafw6nfqf6p6p322dji2g45"
+(build-system python-build-system)
+(inputs
+  `(("python-setuptools" ,python-setuptools)))
+(home-page "http://code.google.com/p/prettytable/;)
+(synopsis "Display tabular data in an ASCII table format")
+(description
+  "A library designed to represent tabular data in visually appealing ASCII
+tables.  PrettyTable allows for selection of which columns are to be printed,
+independent alignment of columns (left or right justified or centred) and
+printing of sub-tables by specifying a row range.")
+(license bsd-3)))
+
+(define-public python2-prettytable
+  (package-with-python2 python-prettytable))



03/03: gnu: Add python2-keyring.

2015-09-19 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit d7af1069876c66ee697941883c8fb654e642c49f
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Thu Sep 17 01:41:50 2015 +0200

gnu: Add python2-keyring.

* gnu/packages/python.scm (python2-keyring): New variable.
---
 gnu/packages/python.scm |3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 0117eb7..efda22b 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -783,6 +783,9 @@ password storage.")
 ;; "MIT" and PSF dual license
 (license x11)))
 
+(define-public python2-keyring
+  (package-with-python2 python-keyring))
+
 (define-public python-six
   (package
 (name "python-six")



branch master updated (a5002ae -> d7af106)

2015-09-19 Thread Cyril Roelandt
steap pushed a change to branch master
in repository guix.

  from  a5002ae   gnu: Add R/qtl.
   new  350ba0a   gnu: Add python-prettytable
   new  7261d9e   gnu: Add python2-pyflakes and fix python2-pyflakes-0.8.1.
   new  d7af106   gnu: Add python2-keyring.

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/packages/python.scm |   36 +++-
 1 files changed, 35 insertions(+), 1 deletions(-)



02/03: gnu: Add python2-pyflakes and fix python2-pyflakes-0.8.1.

2015-09-19 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 7261d9eb16737c6cdf68ff4aa144541f752d24d6
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Wed Sep 16 23:24:36 2015 +0200

gnu: Add python2-pyflakes and fix python2-pyflakes-0.8.1.

* gnu/packages/python.scm (python2-pyflakes): New variable.
* gnu/packages/python.scm (python2-pyflakes-0.8.1): Fix the definition.
---
 gnu/packages/python.scm |5 -
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 1818993..0117eb7 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4434,6 +4434,9 @@ PEP 8.")
   "Pyflakes statically checks Python source code for common errors.")
 (license license:expat)))
 
+(define-public python2-pyflakes
+  (package-with-python2 python-pyflakes))
+
 (define-public python-mccabe
   (package
 (name "python-mccabe")
@@ -4497,7 +4500,7 @@ complexity of Python source code.")
 "0sbpq6pqm1i9wqi41mlfrsc5rk92jv4mskvlyxmnhlbdnc80ma1z"))
 
 (define-public python2-pyflakes-0.8.1
-  (package-with-python2 python-pyflakes))
+  (package-with-python2 python-pyflakes-0.8.1))
 
 (define-public python-flake8
   (package



branch master updated (4f54a63 -> 266785d)

2016-06-14 Thread Cyril Roelandt
steap pushed a change to branch master
in repository guix.

  from  4f54a63   gnu: julia: Use unbundled release tarball.
   new  266785d   import: pypi: read requirements from wheels.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 doc/guix.texi|4 +-
 guix/import/pypi.scm |  113 ++
 tests/pypi.scm   |   78 +-
 3 files changed, 166 insertions(+), 29 deletions(-)



01/01: import: pypi: read requirements from wheels.

2016-06-14 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 266785d21e9ed3fcbecebea302231cf35e303d66
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Sun Dec 27 03:26:11 2015 +0100

import: pypi: read requirements from wheels.

* doc/guix.tex (Invoking guix import): Mention that the pypi importer
works better with "unzip".
* guix/import/pypi.scm (latest-wheel-release,
wheel-url->extracted-directory): New procedures.
* tests/pypi.scm (("pypi->guix-package, wheels"): New test.
---
 doc/guix.texi|4 +-
 guix/import/pypi.scm |  113 ++
 tests/pypi.scm   |   78 +-
 3 files changed, 166 insertions(+), 29 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 46d9e77..0a30b52 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -4545,7 +4545,9 @@ Import metadata from the @uref{https://pypi.python.org/, 
Python Package
 Index}@footnote{This functionality requires Guile-JSON to be installed.
 @xref{Requirements}.}.  Information is taken from the JSON-formatted
 description available at @code{pypi.python.org} and usually includes all
-the relevant information, including package dependencies.
+the relevant information, including package dependencies.  For maximum
+efficiency, it is recommended to install the @command{unzip} utility, so
+that the importer can unzip Python wheels and gather data from them.
 
 The command below imports metadata for the @code{itsdangerous} Python
 package:
diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm
index de30f4b..70ef507 100644
--- a/guix/import/pypi.scm
+++ b/guix/import/pypi.scm
@@ -71,6 +71,16 @@ or #f on failure."
 (raise (condition (
(package pypi-package)))
 
+(define (latest-wheel-release pypi-package)
+  "Return the url of the wheel for the latest release of pypi-package,
+or #f if there isn't any."
+  (let ((releases (assoc-ref* pypi-package "releases"
+  (assoc-ref* pypi-package "info" "version"
+(or (find (lambda (release)
+(string=? "bdist_wheel" (assoc-ref release "packagetype")))
+  releases)
+#f)))
+
 (define (python->package-name name)
   "Given the NAME of a package on PyPI, return a Guix-compliant name for the
 package."
@@ -88,6 +98,11 @@ package on PyPI."
 ;; '/' + package name + '/' + ...
 (substring source-url 42 (string-rindex source-url #\/
 
+(define (wheel-url->extracted-directory wheel-url)
+  (match (string-split (basename wheel-url) #\-)
+((name version _ ...)
+ (string-append name "-" version ".dist-info"
+
 (define (maybe-inputs package-inputs)
   "Given a list of PACKAGE-INPUTS, tries to generate the 'inputs' field of a
 package definition."
@@ -97,10 +112,10 @@ package definition."
 ((package-inputs ...)
  `((inputs (,'quasiquote ,package-inputs))
 
-(define (guess-requirements source-url tarball)
-  "Given SOURCE-URL and a TARBALL of the package, return a list of the required
-packages specified in the requirements.txt file. TARBALL will be extracted in
-the current directory, and will be deleted."
+(define (guess-requirements source-url wheel-url tarball)
+  "Given SOURCE-URL, WHEEL-URL and a TARBALL of the package, return a list of
+the required packages specified in the requirements.txt file. TARBALL will be
+extracted in the current directory, and will be deleted."
 
   (define (tarball-directory url)
 ;; Given the URL of the package's tarball, return the name of the directory
@@ -147,26 +162,69 @@ cannot determine package dependencies"))
   (loop (cons (python->package-name (clean-requirement line))
   result))
 
-  (let ((dirname (tarball-directory source-url)))
-(if (string? dirname)
-(let* ((req-file (string-append dirname "/requirements.txt"))
-   (exit-code (system* "tar" "xf" tarball req-file)))
-  ;; TODO: support more formats.
-  (if (zero? exit-code)
-  (dynamic-wind
-(const #t)
-(lambda ()
-  (read-requirements req-file))
-(lambda ()
-  (delete-file req-file)
-  (rmdir dirname)))
-  (begin
-(warning (_ "'tar xf' failed with exit code ~a\n")
- exit-code)
-'(
-'(
+  (define (read-wheel-metadata wheel-archive)
+;; Given WHEEL-ARCHIVE, a ZIP Python wheel archive, return the package's
+;; requirements.
+(let* ((dirname (wheel-url->extracted-directory wheel-url))
+   (json-file (string-append dirname "/metadata.js

branch master updated (ea92ae0 -> aebd383)

2016-06-25 Thread Cyril Roelandt
steap pushed a change to branch master
in repository guix.

  from  ea92ae0   gnu: Add python-fake-factory and python2-fake-factory.
   new  aebd383   import: pypi: do not fail when 'run_requires' is missing 
from the metadata.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 guix/import/pypi.scm |6 --
 1 file changed, 4 insertions(+), 2 deletions(-)



01/01: import: pypi: do not fail when 'run_requires' is missing from the metadata.

2016-06-25 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit aebd383d04b351465cfb14e4fd0949b67d4b282e
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Fri Jun 17 14:11:08 2016 +0200

import: pypi: do not fail when 'run_requires' is missing from the metadata.

* guix/import/pypi.scm (read-wheel-metadata): do not crash when 
'run_requires'
is missing from the metadata.
---
 guix/import/pypi.scm |6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm
index 70ef507..efa6908 100644
--- a/guix/import/pypi.scm
+++ b/guix/import/pypi.scm
@@ -175,8 +175,10 @@ cannot determine package dependencies"))
  (lambda (port)
(let* ((metadata (json->scm port))
   (run_requires (hash-ref metadata "run_requires"))
-  (requirements (hash-ref (list-ref run_requires 0)
-  "requires")))
+  (requirements (if run_requires
+(hash-ref (list-ref run_requires 0)
+   "requires")
+'(
  (map (lambda (r)
 (python->package-name (clean-requirement r)))
   requirements)



03/10: gnu: python-requests-toolbelt: Update to 0.8.0.

2017-10-02 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 30d7207f2e24f837bba5a4d954143c587b54ef49
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Mon Sep 11 04:24:29 2017 +0200

gnu: python-requests-toolbelt: Update to 0.8.0.

* gnu/packages/python.scm (python-requests-toolbelt): Udpate to 0.8.0.
---
 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 b566e90..27f260c 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9242,16 +9242,13 @@ for atomic file system operations.")
 (define-public python-requests-toolbelt
   (package
 (name "python-requests-toolbelt")
-(version "0.6.2")
+(version "0.8.0")
 (source (origin
  (method url-fetch)
- (uri (string-append
-"https://pypi.python.org/packages/;
-
"e1/a4/a94c037bc72ad70441aff1403d3243510d2542ddca7759faaeffeb11aefe/"
-"requests-toolbelt-" version ".tar.gz"))
+ (uri (pypi-uri "requests-toolbelt" version))
  (sha256
   (base32
-   "15q9nrgp85nqlr4kdz1zvj8z2npafi2sr12y7fqgxbkq28j1aci6"
+   "1dc7l42i4080r8i4m9fj51jx367lqkai170vrv7wd93gdj9k39gn"
 (build-system python-build-system)
 (native-inputs
  `(("python-betamax" ,python-betamax)



01/10: gnu: Add python-pydiff.

2017-10-02 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit ab7f51fa344c757fd2825ce1fff7d6c587d1b609
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Fri Sep 8 23:20:07 2017 +0200

gnu: Add python-pydiff.

* gnu/packages/python.scm (python-pydiff, python2-pydiff): 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 77c4a83..35a2cec 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -16301,3 +16301,25 @@ Templates.")
 
 (define-public python2-uritemplate
   (package-with-python2 python-uritemplate))
+
+(define-public python-pydiff
+  (package
+(name "python-pydiff")
+(version "0.2")
+(source
+  (origin
+(method url-fetch)
+(uri (pypi-uri "pydiff" version))
+(sha256
+  (base32
+"1als83h9w0gab24ipyna6khm390qmpnpkc5jksmdbs2xc8hp2z44"
+(build-system python-build-system)
+(home-page "https://github.com/myint/pydiff;)
+(synopsis "Library to diff two Python files at the bytecode level")
+(description
+  "@code{pydiff} makes it easy to look for actual code changes while
+ignoring formatting changes.")
+(license license:expat)))
+
+(define-public python2-pydiff
+  (package-with-python2 python-pydiff))



10/10: gnu: Add python-twine.

2017-10-02 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 3ef85c1118e19a66d76f21de67beca6f93c920c3
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Sun Sep 10 03:02:50 2017 +0200

gnu: Add python-twine.

* gnu/packages/python.scm (python-twine, python2-twine): New variables.
---
 gnu/packages/python.scm | 28 
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 952af29..6ffd468 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -16411,3 +16411,31 @@ created by running @code{python setup.py develop}).")
 
 (define-public python2-pkginfo
   (package-with-python2 python-pkginfo))
+
+(define-public python-twine
+  (package
+(name "python-twine")
+(version "1.9.1")
+(source
+  (origin
+(method url-fetch)
+(uri (pypi-uri "twine" version))
+(sha256
+  (base32
+"1ay1b6kdq6k4bfbjsvf6ymj41wrgpvinhxndb09355pwhxwmp96a"
+(build-system python-build-system)
+(propagated-inputs
+ `(("python-tqdm" ,python-tqdm)
+   ("python-pkginfo", python-pkginfo)
+   ("python-requests" ,python-requests)
+   ("python-requests-toolbelt" ,python-requests-toolbelt)))
+(home-page "https://github.com/pypa/twine;)
+(synopsis "Collection of utilities for interacting with PyPI")
+(description
+  "@code{twine} currently supports registering projects and uploading
+distributions.  It authenticates the user over HTTPS, allows them to pre-sign
+their files and supports any packaging format (including wheels).")
+(license license:asl2.0)))
+
+(define-public python2-twine
+  (package-with-python2 python-twine))



06/10: gnu: Add python-nose-timer.

2017-10-02 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 8e6ceb473753de3b17d51410d038bb6ad17decd1
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Sat Sep 9 21:34:30 2017 +0200

gnu: Add python-nose-timer.

* gnu/packages/python.scm (python-nose-time, python2-nose-timer): New 
variables.
---
 gnu/packages/python.scm | 28 
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 94aca8f..2a83da6 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -16323,3 +16323,31 @@ ignoring formatting changes.")
 
 (define-public python2-pydiff
   (package-with-python2 python-pydiff))
+
+(define-public python-nose-timer
+  (package
+(name "python-nose-timer")
+(version "0.7.0")
+(source
+  (origin
+(method url-fetch)
+(uri (pypi-uri "nose-timer" version))
+(patches
+ (search-patches
+  ;; This patch will not be needed in the next version.
+  ;; It is taken from the master branch.
+  "python-nose-timer-drop-ordereddict.patch"))
+(sha256
+  (base32
+"1s32ymsnby8lz2qk55ifj9zi50dqcg6swnj5cz2rmwxg2jsslsxp"
+(build-system python-build-system)
+(propagated-inputs
+ `(("python-nose" ,python-nose)
+   ("python-termcolor" ,python-termcolor)))
+(home-page "https://github.com/mahmoudimus/nose-timer;)
+(synopsis "Timer plugin for nosetests")
+(description "Shows how much time was needed to run individual tests.")
+(license license:expat)))
+
+(define-public python2-nose-timer
+  (package-with-python2 python-nose-timer))



07/10: gnu: Update the propagated inputs of python-urllib3.

2017-10-02 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit cf47e34e62ef7547f3596cb652eef2fef7b7a1d2
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Sun Sep 10 01:20:57 2017 +0200

gnu: Update the propagated inputs of python-urllib3.

* gnu/packages/python.scm (python-urllib3, python2-urllib3): Update 
propagated
  inputs.
---
 gnu/packages/python.scm | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 2a83da6..755fd59 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9839,10 +9839,11 @@ concurrent.futures package from Python 3.2")
("python-mock" ,python-mock)
("python-tornado" ,python-tornado)))
 (propagated-inputs
- `(;; extra packages for https security
+ `(;; These 5 inputs are used to build urrlib3[secure]
("python-certifi" ,python-certifi)
-   ("python-ndg-httpsclient" ,python-ndg-httpsclient)
-   ("python-pyasn1" ,python-pyasn1)
+   ("python-cryptography" ,python-cryptography) ;
+   ("python-idna" ,python-idna)
+   ("python-ipaddress" ,python-ipaddress)
("python-pyopenssl" ,python-pyopenssl)))
 (home-page "https://urllib3.readthedocs.org/;)
 (synopsis "HTTP library with thread-safe connection pooling")



09/10: gnu: Add python-pkginfo.

2017-10-02 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 78f46e65bd1433009bd974b9d150e5675e5a7201
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Sun Sep 10 02:47:15 2017 +0200

gnu: Add python-pkginfo.

* gnu/packages/python.scm (python-pkginfo, python2-pkginfo): New variables.
---
 gnu/packages/python.scm | 30 ++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 98fa998..952af29 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -16381,3 +16381,33 @@ design and layout.")
 
 (define-public python2-tqdm
   (package-with-python2 python-tqdm))
+
+(define-public python-pkginfo
+  (package
+(name "python-pkginfo")
+(version "1.4.1")
+(source
+  (origin
+(method url-fetch)
+(uri (pypi-uri "pkginfo" version))
+(sha256
+  (base32
+"17pqjfpq3c6xzdmk8pski6jcjgjv78q00zjf2bgzb668pzm6l6mv"
+(build-system python-build-system)
+(arguments
+ ;; The tests are broken upstream.
+ '(#:tests? #f))
+(home-page
+  "https://code.launchpad.net/~tseaver/pkginfo/trunk;)
+(synopsis
+  "Query metadatdata from sdists, bdists, and installed packages")
+(description
+  "API to query the distutils metadata written in @file{PKG-INFO} inside a
+source distriubtion (an sdist) or a binary distribution (e.g., created by
+running bdist_egg).  It can also query the EGG-INFO directory of an installed
+distribution, and the *.egg-info stored in a \"development checkout\" (e.g,
+created by running @code{python setup.py develop}).")
+(license license:expat)))
+
+(define-public python2-pkginfo
+  (package-with-python2 python-pkginfo))



02/10: gnu: python-autopep8: Update to 1.3.2.

2017-10-02 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 8e483fb540dc636c2f00efcda338b0a7d3f6dcdc
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Fri Sep 8 23:58:22 2017 +0200

gnu: python-autopep8: Update to 1.3.2.

* gnu/packages/python.scm (python-autopep8): Update to 1.3.2.
---
 gnu/packages/python.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 35a2cec..b566e90 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4906,17 +4906,17 @@ SQLAlchemy Database Toolkit for Python.")
 (define-public python-autopep8
   (package
   (name "python-autopep8")
-  (version "1.2.4")
+  (version "1.3.2")
   (source
(origin
  (method url-fetch)
  (uri (pypi-uri "autopep8" version))
  (sha256
   (base32
-   "18parm383lfn42a00wklv3qf20p4v277f1x3cn58x019dqk1xqrq"
+   "1p9pa1ffg4iy96l918808jggg9a69iaka5awmj8xid36yc5mk0ky"
   (build-system python-build-system)
   (propagated-inputs
-`(("python-pep8" ,python-pep8)))
+`(("python-pycodestyle" ,python-pycodestyle)))
   (home-page "https://github.com/hhatto/autopep8;)
   (synopsis "Format Python code according to the PEP 8 style guide")
   (description



05/10: gnu: python-tox: Update to 2.8.1.

2017-10-02 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 9bb7c05e3db1adca51f9441c725e34599ba8e44c
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Sat Sep 9 04:37:22 2017 +0200

gnu: python-tox: Update to 2.8.1.

* gnu/packages/python.scm (python-tox): Update to 2.8.1.
---
 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 55f4f65..94aca8f 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9925,14 +9925,14 @@ Pytest but stripped of Pytest specific details.")
 (define-public python-tox
   (package
(name "python-tox")
-   (version "2.8.0")
+   (version "2.8.1")
(source
 (origin
  (method url-fetch)
  (uri (pypi-uri "tox" version))
  (sha256
   (base32
-   "00lrql2cfzhb712v70inac6mrgdv8s8fmvz7qpggkk623hkm2pgc"
+   "1drp6mwm8wdypjym15ia8lwjxbhcksb9vzxg4ay5dh4ji57by2ny"
(build-system python-build-system)
(arguments
 ;; FIXME: Tests require pytest-timeout, which itself requires



branch master updated (76dd04b -> 3ef85c1)

2017-10-02 Thread Cyril Roelandt
steap pushed a change to branch master
in repository guix.

  from  76dd04b   gnu: dnsmasq: Update to 2.78 [Security fixes].
   new  ab7f51f   gnu: Add python-pydiff.
   new  8e483fb   gnu: python-autopep8: Update to 1.3.2.
   new  30d7207   gnu: python-requests-toolbelt: Update to 0.8.0.
   new  74e9895   gnu: Add python2-requests-toolbelt.
   new  9bb7c05   gnu: python-tox: Update to 2.8.1.
   new  8e6ceb4   gnu: Add python-nose-timer.
   new  cf47e34   gnu: Update the propagated inputs of python-urllib3.
   new  b84ef9e   gnu: Add python-tqdm.
   new  78f46e6   gnu: Add python-pkginfo.
   new  3ef85c1   gnu: Add python-twine.

The 10 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/packages/python.scm | 166 
 1 file changed, 152 insertions(+), 14 deletions(-)



04/10: gnu: Add python2-requests-toolbelt.

2017-10-02 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 74e9895f2da73a3ff6d8f79811ec41532402c93d
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Mon Sep 11 04:28:26 2017 +0200

gnu: Add python2-requests-toolbelt.

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

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 27f260c..55f4f65 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9262,6 +9262,9 @@ with python-requests.")
 (home-page "https://github.com/sigmavirus24/requests-toolbelt;)
 (license license:asl2.0)))
 
+(define-public python2-requests-toolbelt
+  (package-with-python2 python-requests-toolbelt))
+
 (define-public python-click-threading
   (package
 (name "python-click-threading")



08/10: gnu: Add python-tqdm.

2017-10-02 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit b84ef9e2246024ca0fbec34d0fb0cc39901f674f
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Sun Sep 10 02:13:05 2017 +0200

gnu: Add python-tqdm.

* gnu/packages/python.scm (python-tqdm, python2-tqdm): New variables.
---
 gnu/packages/python.scm | 29 +
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 755fd59..98fa998 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -16352,3 +16352,32 @@ ignoring formatting changes.")
 
 (define-public python2-nose-timer
   (package-with-python2 python-nose-timer))
+
+(define-public python-tqdm
+  (package
+(name "python-tqdm")
+(version "4.15.0")
+(source
+  (origin
+(method url-fetch)
+(uri (pypi-uri "tqdm" version))
+ (sha256
+   (base32
+ "0lwrmby8qz23gvqwkpivfrv4q8nfh90cz9ml6slwvwmcxxsdrhbf"
+(build-system python-build-system)
+(native-inputs
+ `(("python-flake8" ,python-flake8)
+   ("python-nose" ,python-nose)
+   ("python-nose-timer" ,python-nose-timer)
+   ("python-coverage" ,python-coverage)
+   ("python-virtualenv" ,python-virtualenv)))
+(home-page "https://github.com/tqdm/tqdm;)
+(synopsis "Fast, extensible progress meter")
+(description
+  "Make loops show a progress bar on the console by just wrapping any
+iterable with @code{|tqdm(iterable)|}.  Offers many options to define
+design and layout.")
+(license (list license:mpl2.0 license:expat
+
+(define-public python2-tqdm
+  (package-with-python2 python-tqdm))



01/01: gnu: python-nose-timer: Add missing patch.

2017-10-03 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 2299f5cd78a9874ec7797d02d9bd53cc3c30b698
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Tue Oct 3 22:28:51 2017 +0200

gnu: python-nose-timer: Add missing patch.

* gnu/packages/patches/python-nose-timer-drop-ordereddict.patch: New file.
* gnu/local.mk: Add it.
---
 gnu/local.mk   |  1 +
 .../python-nose-timer-drop-ordereddict.patch   | 44 ++
 2 files changed, 45 insertions(+)

diff --git a/gnu/local.mk b/gnu/local.mk
index 88d24fa..c802b7b 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -984,6 +984,7 @@ dist_patch_DATA =   
\
   %D%/packages/patches/python-genshi-isstring-helper.patch \
   %D%/packages/patches/python-genshi-stripping-of-unsafe-script-tags.patch 
\
   %D%/packages/patches/python2-larch-coverage-4.0a6-compatibility.patch \
+  %D%/packages/patches/python-nose-timer-drop-ordereddict.patch \
   %D%/packages/patches/python-parse-too-many-fields.patch  \
   %D%/packages/patches/python2-rdflib-drop-sparqlwrapper.patch \
   %D%/packages/patches/python-statsmodels-fix-tests.patch  \
diff --git a/gnu/packages/patches/python-nose-timer-drop-ordereddict.patch 
b/gnu/packages/patches/python-nose-timer-drop-ordereddict.patch
new file mode 100644
index 000..e1e71a3
--- /dev/null
+++ b/gnu/packages/patches/python-nose-timer-drop-ordereddict.patch
@@ -0,0 +1,44 @@
+From 700076019b5aff72aac7651cc830aaef21ee9a47 Mon Sep 17 00:00:00 2001
+From: jakirkham <jakirk...@gmail.com>
+Date: Fri, 7 Jul 2017 05:57:56 -0400
+Subject: [PATCH] Drop ordereddict requirement (#84)
+
+* Drop ordereddict requirement
+
+As Python 2.7 is the minimum Python supported, every version of Python
+should have `ordereddict` preincluded in the standard library one way or
+another. So we can drop this dependency and just handle the differences
+between Python 2 and Python 3.
+---
+ nosetimer/plugin.py | 5 +
+ setup.py| 1 -
+ 2 files changed, 1 insertion(+), 5 deletions(-)
+
+diff --git a/nosetimer/plugin.py b/nosetimer/plugin.py
+index ef28e11..d093a51 100644
+--- a/nosetimer/plugin.py
 b/nosetimer/plugin.py
+@@ -12,10 +12,7 @@
+ except ImportError:
+ import queue as Queue
+ 
+-try:
+-from collections import OrderedDict
+-except ImportError:
+-from ordereddict import OrderedDict
++from collections import OrderedDict
+ 
+ 
+ # define constants
+diff --git a/setup.py b/setup.py
+index 6a55b82..d249325 100755
+--- a/setup.py
 b/setup.py
+@@ -27,7 +27,6 @@
+ install_requires=[
+ 'nose',
+ 'termcolor',
+-'ordereddict',
+ ],
+ license='MIT',
+ entry_points={



branch master updated (f282aa5 -> 2299f5c)

2017-10-03 Thread Cyril Roelandt
steap pushed a change to branch master
in repository guix.

  from  f282aa5   gnu: Add heimdall.
   new  2299f5c   gnu: python-nose-timer: Add missing patch.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/local.mk   |  1 +
 .../python-nose-timer-drop-ordereddict.patch   | 44 ++
 2 files changed, 45 insertions(+)
 create mode 100644 
gnu/packages/patches/python-nose-timer-drop-ordereddict.patch



01/01: gnu: python-biopython: Update to 1.70.

2017-10-13 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit af6ce6108818eca78def159c8e6f8c14b0272978
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Tue Oct 10 05:21:09 2017 +0200

gnu: python-biopython: Update to 1.70.

* gnu/packages/python.scm (python-biopython, python2-biopython): Update to 
1.70.
---
 gnu/packages/bioinformatics.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 2963dd3..32603ae 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -730,14 +730,14 @@ provide a coordinated and extensible framework to do 
computational biology.")
 (define-public python-biopython
   (package
 (name "python-biopython")
-(version "1.68")
+(version "1.70")
 (source (origin
   (method url-fetch)
   ;; use PyPi rather than biopython.org to ease updating
   (uri (pypi-uri "biopython" version))
   (sha256
(base32
-"07qc7nz0k77y8hf8s18rscvibvm91zw0kkq7ylrhisf8vp8hkp6i"
+"0nz4n9d2y2dg849gn1z0vjlkwcpzzkzy3fij7x94a6ixy2c54z2a"
 (build-system python-build-system)
 (arguments
  `(#:phases



branch master updated (a47ed09 -> af6ce61)

2017-10-13 Thread Cyril Roelandt
steap pushed a change to branch master
in repository guix.

  from  a47ed09   gnu: meson: Update to 0.43.0.
   new  af6ce61   gnu: python-biopython: Update to 1.70.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/packages/bioinformatics.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)



01/01: gnu: python-tox: Update to 2.8.0.

2017-09-06 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit c98f9c52960735da672d5e9766bdfef5ff136a6e
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Mon Sep 4 14:11:40 2017 +0200

gnu: python-tox: Update to 2.8.0.

* gnu/packages/python.scm (python-tox): Update to 2.8.0.
---
 gnu/packages/python.scm | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index a190873..c6f9f34 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9886,14 +9886,14 @@ Pytest but stripped of Pytest specific details.")
 (define-public python-tox
   (package
(name "python-tox")
-   (version "2.3.1")
+   (version "2.8.0")
(source
 (origin
  (method url-fetch)
  (uri (pypi-uri "tox" version))
  (sha256
   (base32
-   "1vj73ar4rimq3fwy5r2z3jv4g9qbh8rmpmncsc00g0k310acqzxz"
+   "00lrql2cfzhb712v70inac6mrgdv8s8fmvz7qpggkk623hkm2pgc"
(build-system python-build-system)
(arguments
 ;; FIXME: Tests require pytest-timeout, which itself requires
@@ -9905,7 +9905,8 @@ Pytest but stripped of Pytest specific details.")
   ("python-virtualenv" ,python-virtualenv)))
(native-inputs
 `(; FIXME: Missing: ("python-pytest-timeout" ,python-pytest-timeout)
-  ("python-pytest" ,python-pytest)))  ; >= 2.3.5
+  ("python-pytest" ,python-pytest)  ; >= 2.3.5
+  ("python-setuptools-scm" ,python-setuptools-scm)))
(home-page "http://tox.testrun.org/;)
(synopsis "Virtualenv-based automation of test activities")
(description "Tox is a generic virtualenv management and test command line



branch master updated (18e565b -> c98f9c5)

2017-09-06 Thread Cyril Roelandt
steap pushed a change to branch master
in repository guix.

  from  18e565b   gnu: terminology: Update to 1.1.1.
   new  c98f9c5   gnu: python-tox: Update to 2.8.0.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/packages/python.scm | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)



branch master updated (05c4e37 -> cb95e5e)

2017-10-09 Thread Cyril Roelandt
steap pushed a change to branch master
in repository guix.

  from  05c4e37   build: Update automake version requirement to 1.14.
   new  a9769a2   gnu: python-apispec: Update to 0.25.3.
   new  79cb661   gnu: python-arrow: Update to 0.10.0.
   new  96d63ee   gnu: python-alembic: Update to 0.9.5.
   new  64791fa   gnu: python-aniso8601: Update to 1.3.0.
   new  cb95e5e   gnu: Add python2-aniso8601.

The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/packages/python.scm | 22 +-
 1 file changed, 13 insertions(+), 9 deletions(-)



05/05: gnu: Add python2-aniso8601.

2017-10-09 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit cb95e5e50eb672d36202e481035981653faa5cf5
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Sat Oct 7 05:44:31 2017 +0200

gnu: Add python2-aniso8601.

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

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 6433ea4..3ae8425 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13483,6 +13483,9 @@ useful as a validator for JSON data.")
   "This package contains a library for parsing ISO 8601 datetime strings.")
 (license license:bsd-3)))
 
+(define-public python2-aniso8601
+  (package-with-python2 python-aniso8601))
+
 (define-public python-flask-restful
   (package
 (name "python-flask-restful")



02/05: gnu: python-arrow: Update to 0.10.0.

2017-10-09 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 79cb661fc705607ed117b71fc58ec7a0adc4d826
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Sat Oct 7 03:27:49 2017 +0200

gnu: python-arrow: Update to 0.10.0.

* gnu/packages/python.scm (python-arrow, python2-arrow): Update to 0.10.0.
---
 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 0c3aecf..84428f7 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -11976,13 +11976,13 @@ objects, patterned after the Mocha library for Ruby.")
 (define-public python-arrow
   (package
 (name "python-arrow")
-(version "0.8.0")
+(version "0.10.0")
 (source (origin
   (method url-fetch)
   (uri (pypi-uri "arrow" version))
   (sha256
(base32
-"1bz7hkdgpqcjs866y58z8jywpy7al0f4rxdr00bh2l5qddyw245j"
+"08n7q2l69hlainds1byd4lxhwrq7zsw7s640zkqc3bs5jkq0cnc0"
 (build-system python-build-system)
 (native-inputs
  `(;; For testing



03/05: gnu: python-alembic: Update to 0.9.5.

2017-10-09 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 96d63eead24bd5ed85e5607121cf68ec0639ddb9
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Sat Oct 7 03:14:39 2017 +0200

gnu: python-alembic: Update to 0.9.5.

* gnu/packages/python.scm (python-alembic, python2-alembic): Update to 
0.9.5.
---
 gnu/packages/python.scm | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 84428f7..b2af477 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4926,20 +4926,21 @@ You might also want to install the following optional 
dependencies:
 (define-public python-alembic
   (package
 (name "python-alembic")
-(version "0.8.10")
+(version "0.9.5")
 (source
  (origin
(method url-fetch)
(uri (pypi-uri "alembic" version))
(sha256
 (base32
- "06br9sfqypnjlal6fsbnky3zb0askwcn3diz8k3kwa0qcblm0fqf"
+ "01gx2syqbaxh4hr9pf7pxhlb6p36qaf99140dy19lsx1paxb9p4b"
 (build-system python-build-system)
 (native-inputs
  `(("python-mock" ,python-mock)
("python-pytest-cov" ,python-pytest-cov)))
 (propagated-inputs
- `(("python-sqlalchemy" ,python-sqlalchemy)
+ `(("python-dateutil" ,python-dateutil)
+   ("python-sqlalchemy" ,python-sqlalchemy)
("python-mako" ,python-mako)
("python-editor" ,python-editor)))
 (home-page "http://bitbucket.org/zzzeek/alembic;)



01/05: gnu: python-apispec: Update to 0.25.3.

2017-10-09 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit a9769a290fb7bd2c554280b98b573e6b552491be
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Sat Oct 7 03:23:40 2017 +0200

gnu: python-apispec: Update to 0.25.3.

* gnu/packages/python.scm (python-apispec, python2-apispec): Update to 
0.25.3.
---
 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 8521ab3..0c3aecf 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -15951,14 +15951,14 @@ complex datatypes to and from native Python 
datatypes.")
 (define-public python-apispec
   (package
 (name "python-apispec")
-(version "0.22.0")
+(version "0.25.3")
 (source
  (origin
   (method url-fetch)
   (uri (pypi-uri "apispec" version))
   (sha256
 (base32
-  "0y3jxmgp2d24am3hxl40f5rw9abb0r8037sagax3dv64h4n1azwq"
+  "0kxa8723zbisx10363yh4mmmn4higxrspymbjfz5zq8f644zagm9"
 (build-system python-build-system)
 (propagated-inputs
  `(("python-pyyaml" ,python-pyyaml)))



04/05: gnu: python-aniso8601: Update to 1.3.0.

2017-10-09 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 64791fae633038614d59b679c1026c22650ef38d
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Sat Oct 7 03:19:21 2017 +0200

gnu: python-aniso8601: Update to 1.3.0.

* gnu/packages/python.scm (python-aniso8601, python2-aniso8601): Update to 
1.3.0.
---
 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 b2af477..6433ea4 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13464,14 +13464,14 @@ useful as a validator for JSON data.")
 (define-public python-aniso8601
   (package
 (name "python-aniso8601")
-(version "1.1.0")
+(version "1.3.0")
 (source
   (origin
 (method url-fetch)
 (uri (pypi-uri "aniso8601" version))
 (sha256
   (base32
-"1k5mjg9iqbjfslb5prrsfz7dhlvi6s35p1jxq8dm87w1b7dn5i2g"
+"1waj54iv3n3lw1fapbz8a93yjgrybgpc86wif5baxdh1arpj9df3"
 (build-system python-build-system)
 (propagated-inputs
  `(("python-dateutil" ,python-dateutil)))



01/04: gnu: python-netaddr: Fix the source URL.

2017-10-09 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 576c0e29cdcf5c344f19bd2e099e3545b4a2c185
Author: Cyril Roelandt <tipec...@gmail.com>
Date:   Wed Sep 13 03:17:03 2017 +0200

gnu: python-netaddr: Fix the source URL.

* gnu/packages/python.scm (python-netaddr, python2-netaddr): Fix the source 
URL.
---
 gnu/packages/python.scm | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 3ae8425..ee37ebb 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7570,10 +7570,7 @@ reading and writing MessagePack data.")
 (source
  (origin
(method url-fetch)
-   (uri (string-append
- "https://pypi.python.org/packages/source/n/netaddr/netaddr-;
- version
- ".tar.gz"))
+   (uri (pypi-uri "netaddr" version))
(sha256
  (base32
   "1zdfadvpq4lmcqzr383gywxn4xyn355kj1n3lk9q2l03vmyfrbiq"



  1   2   >