02/03: gnu: Update python-fixtures

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

commit 7787ef76b6e282ee6459136c5e6c95a1d7bf6f1e
Author: Cyril Roelandt 
Date:   Mon Sep 21 23:45:36 2015 +0200

gnu: Update python-fixtures

* gnu/packages/python.scm (python-fixtures): Update.
* gnu/packages/python.scm (python-fixtures-0.3.16,
  python2-fixtures-0.3.16, python-pbr-0.11,
  python2-pbr-0.11): New variables.
* gnu/packages/python.scm (python-testrepository): Use 
python-fxitures-0.3.16
  instead of python-fixtures in the inputs.
---
 gnu/packages/python.scm |   75 +-
 1 files changed, 73 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index c5e0b32..32b1678 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1691,7 +1691,14 @@ protocol.")
 (define-public python2-subunit
   (package-with-python2 python-subunit))
 
-(define-public python-fixtures
+;; Recent versions of python-fixtures need a recent version of python-pbr,
+;; which needs a recent version of python-fixtures. To fix this circular
+;; dependency, we keep old versions of python-fixtures and python-pbr to
+;; bootstrap the whole thing:
+;; - python-fixtures-0.3.16 is used to build python-pbr-0.11
+;; - python-pbr-0.11 is used to build python-fixtures
+;; - python-fixtures is used to build python-pbr
+(define-public python-fixtures-0.3.16
   (package
 (name "python-fixtures")
 (version "0.3.16")
@@ -1716,6 +1723,70 @@ protocol.")
 Python tests.")
 (license (list bsd-3 asl2.0 ; at user's option
 
+(define-public python2-fixtures-0.3.16
+  (package-with-python2 python-fixtures-0.3.16))
+
+(define-public python-pbr-0.11
+  (package
+(name "python-pbr")
+(version "0.11.0")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append
+ "https://pypi.python.org/packages/source/p/pbr/pbr-";
+ version ".tar.gz"))
+   (sha256
+(base32
+ "0v9gb7gyqf7q9s99l0nnjj9ww9b0jvyqlwm4d56pcyinxydddw6p"
+(build-system python-build-system)
+(arguments
+ `(#:tests? #f)) ;; Most tests seem to use the Internet.
+(inputs
+  `(("python-fixtures-0.3.16" ,python-fixtures-0.3.16)
+("python-pip" ,python-pip)
+("python-setuptools" ,python-setuptools)))
+(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-0.11
+  (package-with-python2 python-pbr-0.11))
+
+(define-public python-fixtures
+  (package
+(name "python-fixtures")
+(version "1.3.1")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append
+ "https://pypi.python.org/packages/source/f/fixtures/fixtures-";
+ version ".tar.gz"))
+   (sha256
+(base32
+ "1khpywdh91ijryhxjxiyyi5rmbimhl8hwbbf8lazhgzq6yxz6g5n"
+(build-system python-build-system)
+(propagated-inputs
+ `(("python-six" ,python-six)
+   ("python-pbr-0.11" ,python-pbr-0.11)))
+(inputs
+ `(("python-pip" ,python-pip)
+   ("python-setuptools" ,python-setuptools)
+   ;; Tests
+   ("python-testtools" ,python-testtools)))
+(arguments
+ '(#:tests? #f)) ; no setup.py test command
+(home-page "https://launchpad.net/python-fixtures";)
+(synopsis "Python test fixture library")
+(description
+ "Fixtures provides a way to create reusable state, useful when writing
+Python tests.")
+(license (list bsd-3 asl2.0 ; at user's option
+
 (define-public python2-fixtures
   (package-with-python2 python-fixtures))
 
@@ -1734,7 +1805,7 @@ Python tests.")
  "1ssqb07c277010i6gzzkbdd46gd9mrj0bi0i8vn560n2k2y4j93m"
 (build-system python-build-system)
 (propagated-inputs
- `(("python-fixtures" ,python-fixtures)
+ `(("python-fixtures-0.3.16" ,python-fixtures-0.3.16)
("python-testtools" ,python-testtools)))
 (inputs
  `(("python-setuptools" ,python-setuptools)



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(-)



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 
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 
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))



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 
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 
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")



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 
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 
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 
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")



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 
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 
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")



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 
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 
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)



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 
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 
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")



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 
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)



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 
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."



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



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 
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*)
 

01/01: import: pypi: Detect inputs.

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

commit ff986890ece06b0623a7c8b3048dea1206f076ea
Author: Cyril Roelandt 
Date:   Thu Feb 26 02:07:53 2015 +0100

import: pypi: Detect inputs.

* guix/import/pypi.scm (python->package-name, maybe-inputs, compute-inputs,
  guess-requirements): New procedures.
* guix/import/pypi.scm (guix-hash-url): Now takes a filename instead of an
  URL as input.
* guix/import/pypi.scm (make-pypi-sexp): Now tries to generate the inputs
  automagically.
* tests/pypi.scm: Update the test.
---
 guix/import/pypi.scm |  160 --
 tests/pypi.scm   |   42 +
 2 files changed, 158 insertions(+), 44 deletions(-)

diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm
index 8567cad..cf0a7bb 100644
--- a/guix/import/pypi.scm
+++ b/guix/import/pypi.scm
@@ -21,10 +21,13 @@
   #:use-module (ice-9 match)
   #:use-module (ice-9 pretty-print)
   #:use-module (ice-9 regex)
+  #:use-module ((ice-9 rdelim) #:select (read-line))
   #:use-module (srfi srfi-1)
+  #:use-module (srfi srfi-26)
   #:use-module (rnrs bytevectors)
   #:use-module (json)
   #:use-module (web uri)
+  #:use-module (guix ui)
   #:use-module (guix utils)
   #:use-module (guix import utils)
   #:use-module (guix import json)
@@ -77,42 +80,137 @@ or #f on failure."
 with dashes."
   (string-join (string-split (string-downcase str) #\_) "-"))
 
-(define (guix-hash-url url)
-  "Download the resource at URL and return the hash in nix-base32 format."
-  (call-with-temporary-output-file
-   (lambda (temp port)
- (and (url-fetch url temp)
-  (bytevector->nix-base32-string
-   (call-with-input-file temp port-sha256))
+(define (guix-hash-url filename)
+  "Return the hash of FILENAME in nix-base32 format."
+  (bytevector->nix-base32-string  (file-sha256 filename)))
+
+(define (python->package-name name)
+  "Given the NAME of a package on PyPI, return a Guix-compliant name for the
+package."
+  (if (string-prefix? "python-" name)
+  (snake-case name)
+  (string-append "python-" (snake-case name
+
+(define (maybe-inputs package-inputs)
+  "Given a list of PACKAGE-INPUTS, tries to generate the 'inputs' field of a
+package definition."
+  (match package-inputs
+(()
+ '())
+((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 (tarball-directory url)
+;; Given the URL of the package's tarball, return the name of the directory
+;; that will be created upon decompressing it. If the filetype is not
+;; supported, return #f.
+;; TODO: Support more archive formats.
+(let ((basename (substring url (+ 1 (string-rindex url #\/)
+  (cond
+   ((string-suffix? ".tar.gz" basename)
+(string-drop-right basename 7))
+   ((string-suffix? ".tar.bz2" basename)
+(string-drop-right basename 8))
+   (else
+(begin
+  (warning (_ "Unsupported archive format: \
+cannot determine package dependencies"))
+  #f)
+
+  (define (clean-requirement s)
+;; Given a requirement LINE, as can be found in a Python requirements.txt
+;; file, remove everything other than the actual name of the required
+;; package, and return it.
+(string-take s
+ (or (string-index s #\space)
+ (string-length s
+
+  (define (comment? line)
+;; Return #t if the given LINE is a comment, #f otherwise.
+(eq? (string-ref (string-trim line) 0) #\#))
+
+  (define (read-requirements requirements-file)
+;; Given REQUIREMENTS-FILE, a Python requirements.txt file, return a list
+;; of name/variable pairs describing the requirements.
+(call-with-input-file requirements-file
+  (lambda (port)
+(let loop ((result '()))
+  (let ((line (read-line port)))
+(if (eof-object? line)
+result
+(cond
+ ((or (string-null? line) (comment? line))
+  (loop result))
+ (else
+  (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
+

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(-)



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 
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 
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)))



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 
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 
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))



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(-)



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 
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)



01/01: gnu: python-testtools: make python-mimeparse a propagated input

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

commit 0e88cbf8c13a6d252f3d48c36e6432ec5a9e149f
Author: Cyril Roelandt 
Date:   Sat Jul 4 01:52:16 2015 +0200

gnu: python-testtools: make python-mimeparse a propagated input

* gnu/packages/python.scm (python-testtools): move python-mimeparse from 
inputs
  to propagated-inputs.
---
 gnu/packages/python.scm |3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index b3d211e..5dcaba0 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1316,9 +1316,10 @@ subprocess and see the output as well as any file 
modifications.")
 (base32
  "1dyml28ykpl5jb9khdmcdvhy1cxqingys6qvj2k04fzlaj6z3bbx"
 (build-system python-build-system)
+(propagated-inputs
+ `(("python-mimeparse" ,python-mimeparse)))
 (inputs
  `(("python-setuptools" ,python-setuptools)
-   ("python-mimeparse" ,python-mimeparse)
("python-extras" ,python-extras)))
 (home-page "https://github.com/testing-cabal/testtools";)
 (synopsis



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(-)



branch master updated (463f676 -> 98bdee6)

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

  from  463f676   gnu: Add redis.
   new  98bdee6   gnu: Bump python-six to 1.9.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 |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)



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 
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)))



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 
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 
+;;;
+;;; 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))



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 
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 
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")



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



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 
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 
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/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 
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 (64b6ccc -> ea8e40d)

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

  from  64b6ccc   gnu: Add ruby-rack.
   new  ea8e40d   gnu: pbr: Update to 1.6.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(-)



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/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 
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 
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 (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 
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)



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 
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/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 
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 
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(-)



06/08: gnu: Add python-monotonic.

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

commit 5e412b6383fbdceb971d940ecb534f187a59a443
Author: Cyril Roelandt 
Date:   Wed Sep 9 00:51:45 2015 +0200

gnu: Add python-monotonic.

* gnu/packages/python.scm (python-monotonic, python2-monotonic): 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 85ab88c..c58d7f3 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4826,3 +4826,30 @@ and MAC network addresses.")
 
 (define-public python2-iso8601
   (package-with-python2 python-iso8601))
+
+(define-public python-monotonic
+  (package
+(name "python-monotonic")
+(version "0.3")
+(source
+  (origin
+(method url-fetch)
+(uri (string-append
+   "https://pypi.python.org/packages/source/m/monotonic/monotonic-";
+   version
+   ".tar.gz"))
+(sha256
+  (base32
+"0yz0bcbwx8r2c01czzfpbrxddynxyk9k95jj8h6sgcb7xmfvl998"
+(build-system python-build-system)
+(inputs
+  `(("python-setuptools" ,python-setuptools)))
+(home-page "https://github.com/atdt/monotonic";)
+(synopsis "Implementation of time.monotonic() for Python 2 & < 3.3")
+(description
+  "This module provides a monotonic() function which returns the value (in
+fractional seconds) of a clock which never goes backwards.")
+(license asl2.0)))
+
+(define-public python2-monotonic
+  (package-with-python2 python-monotonic))



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 
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))



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 
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 
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 
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")



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(-)



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 
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")



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 
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")



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 
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 
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")



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 
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(-)



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 
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))



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 
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



[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 
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-251-gb6a6484

2013-03-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  b6a64843c6d651903bf6bee4cd029f5ac48c0858 (commit)
  from  9776ebb2a50234c293d4c4a699b81a2ee3543367 (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 b6a64843c6d651903bf6bee4cd029f5ac48c0858
Author: Cyril Roelandt 
Date:   Tue Mar 12 04:40:00 2013 +0100

gnu: Add cmake.

* gnu/packages/cmake.scm: New file.
* gnu/packages/patches/cmake-fix-tests.patch: New file.
* Makefile.am: Add them.

---

Summary of changes:
 Makefile.am|2 +
 gnu/packages/cmake.scm |   78 
 gnu/packages/patches/cmake-fix-tests.patch |   45 
 3 files changed, 125 insertions(+), 0 deletions(-)
 create mode 100644 gnu/packages/cmake.scm
 create mode 100644 gnu/packages/patches/cmake-fix-tests.patch


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 
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, xorg, updated. v0.1-307-ga25fe6d

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, xorg has been updated
   via  a25fe6d62069ffaff276bf1747ab178441654f9d (commit)
  from  d539646af4bdb07abcea2e0f57eb9c50131197ab (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 a25fe6d62069ffaff276bf1747ab178441654f9d
Author: Cyril Roelandt 
Date:   Sun Mar 24 20:23:15 2013 +0100

gnu: add dependencies to poppler.

Add libpng and zlib to the inputs.

---

Summary of changes:
 gnu/packages/pdf.scm |   13 -
 1 files changed, 12 insertions(+), 1 deletions(-)


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 
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, core-updates, updated. v0.1-381-g1010e53

2013-04-11 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, core-updates has been updated
   via  1010e530d38af0b87fced74267bb7864a213b158 (commit)
  from  068cdcd07c59ab8228c7c5580f6fd162069e3999 (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 1010e530d38af0b87fced74267bb7864a213b158
Author: Cyril Roelandt 
Date:   Mon Apr 1 00:23:42 2013 +0200

gnu: Add dwm.

* gnu/packages/dwm.scm: New file.
* Makefile.am: Add it.

---

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


hooks/post-receive
-- 
guix source archive



[SCM] guix source archive branch, master, updated. v0.1-296-gacb6ba2

2013-04-16 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  acb6ba256703da1db1d300541e15a4e7428f622b (commit)
   via  0160536dcb5399ad7d80b10e064df5c95f3adb4f (commit)
  from  e967678ed1f1d7e765adc4bfc7d2a79ee9677b21 (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 acb6ba256703da1db1d300541e15a4e7428f622b
Author: Cyril Roelandt 
Date:   Mon Apr 15 23:23:27 2013 +0200

package: allow users to upgrade the whole system by not providing a regexp.

* guix/scripts/packages.scm (guix-package) [process-actions]: When 
upgrading,
use "" when REGEXP is #f.
* doc/guix.texi: update the documentation accordingly.

commit 0160536dcb5399ad7d80b10e064df5c95f3adb4f
Author: Cyril Roelandt 
Date:   Mon Apr 15 22:02:47 2013 +0200

gnu: Python: bump to version 2.7.4.

* gnu/packages/python.scm: bump to version 2.7.4, remove references to
python-fix-dbm.patch.
* Makefile.am: remove references to python-fix-dbm.patch
* gnu/packages/patches/python-fix-dbm.patch: remove it.

---

Summary of changes:
 Makefile.am   |1 -
 doc/guix.texi |7 ---
 gnu/packages/patches/python-fix-dbm.patch |   20 
 gnu/packages/python.scm   |9 +++--
 guix/scripts/package.scm  |6 +++---
 5 files changed, 10 insertions(+), 33 deletions(-)
 delete mode 100644 gnu/packages/patches/python-fix-dbm.patch


hooks/post-receive
-- 
guix source archive



[SCM] guix source archive branch, master, updated. v0.2-45-ga67f97f

2013-05-25 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  a67f97fea147256506269c8d2b68623a6745bda4 (commit)
  from  923fbae1f0a0d2dba8d8cf22d5c04679f03b1468 (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 a67f97fea147256506269c8d2b68623a6745bda4
Author: Cyril Roelandt 
Date:   Sat May 25 22:27:59 2013 +0200

zlib: Add a sourceforge mirror.

This is especially useful since the tarball is deleted from zlib.net as 
soon as
a new version of zlib is released.

---

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


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 
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



[SCM] guix source archive branch, master, updated. v0.2-57-gacc26ff

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  acc26ff148f0b70cafbcfa281e3bf18bde4e297f (commit)
  from  4f7e152b349ce0ee21a4ef30187aec834476518c (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 acc26ff148f0b70cafbcfa281e3bf18bde4e297f
Author: Cyril Roelandt 
Date:   Thu May 23 03:49:02 2013 +0200

gnu: Add pytz.

* gnu/packages/python.scm (pytz): New package.

---

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


hooks/post-receive
-- 
guix source archive



[SCM] guix source archive branch, master, updated. v0.2-68-g5ace6e2

2013-05-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  5ace6e2fa8b6bc915677643ac1477e1b86254bbc (commit)
  from  1890a149ccc79b3e4b0ad5cc3a7cfa6f13325bf8 (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 5ace6e2fa8b6bc915677643ac1477e1b86254bbc
Author: Cyril Roelandt 
Date:   Thu May 23 03:52:20 2013 +0200

gnu: Add Babel.

* gnu/packages/babel.scm (babel): New package.

---

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


hooks/post-receive
-- 
guix source archive



[SCM] guix source archive branch, master, updated. v0.2-92-g16df248

2013-06-10 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  16df248e4b24b174d6e2eb7167730d6674b7441e (commit)
  from  392b5d8cab0c676f19d14a139f14802ef0237ddf (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 16df248e4b24b174d6e2eb7167730d6674b7441e
Author: Cyril Roelandt 
Date:   Mon Jun 10 10:40:35 2013 +0200

Fix Guile version checking in the "web" code.

* guix/web.scm (http-fetch): fix Guile version checking. The previous 
version
would use features from Guile 2.0.9+ when using Guile 2.0.7.

---

Summary of changes:
 guix/web.scm |   15 +++
 1 files changed, 7 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
guix source archive



[SCM] guix source archive branch, master, updated. v0.2-115-gcf3fe3b

2013-06-17 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  cf3fe3b0710bf538c747068d6337db70522ce75d (commit)
  from  5686807ee9b0352931c2d0394885f5b43d53bcf1 (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 cf3fe3b0710bf538c747068d6337db70522ce75d
Author: Cyril Roelandt 
Date:   Sat Jun 15 03:33:42 2013 +0200

gnu: Move subversion with the other version control systems.

* gnu/packages/subversion.scm: Remove file.
* gnu/packages/version-control.scm (subversion): New variable.
* Makefile.am (MODULES): remove subversion.scm.

---

Summary of changes:
 Makefile.am  |1 -
 gnu/packages/subversion.scm  |   58 --
 gnu/packages/version-control.scm |   36 +++-
 3 files changed, 35 insertions(+), 60 deletions(-)
 delete mode 100644 gnu/packages/subversion.scm


hooks/post-receive
-- 
guix source archive



[SCM] guix source archive branch, master, updated. v0.2-137-g013ce67

2013-06-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  013ce67b193326f4dfbdddb3c6445d542476bd93 (commit)
  from  88a0b7b05127b1e1ca6672ead75925249f9fa114 (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 013ce67b193326f4dfbdddb3c6445d542476bd93
Author: Cyril Roelandt 
Date:   Thu Jun 27 23:57:45 2013 +0200

gnutls: fix the test-suite for 32 bits systems.

* gnu/packages/patches/gnutls-fix-tests-on-32-bits-system.patch: New file.
* gnu-system.am: Add it here...
* gnu/packages/gnutls.scm (gnutls): ... and use it here.

Thanks to Nikos Mavrogiannopoulos for providing this patch:
http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/6778

---

Summary of changes:
 gnu-system.am  |1 +
 gnu/packages/gnutls.scm|9 -
 .../gnutls-fix-tests-on-32-bits-system.patch   |   36 
 3 files changed, 45 insertions(+), 1 deletions(-)
 create mode 100644 
gnu/packages/patches/gnutls-fix-tests-on-32-bits-system.patch


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 
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 
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 
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.3-33-g251fbfd

2013-08-17 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  251fbfddb72c074b2df603b06fa2e83c6069004e (commit)
   via  0e5b0f78f65e4ae5b5b2735c86ddc1a5e4b20b7e (commit)
  from  9a9e72d5adfc2d1f4d4492793dde74f6714d6182 (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 251fbfddb72c074b2df603b06fa2e83c6069004e
Author: Cyril Roelandt 
Date:   Sat Aug 17 23:08:31 2013 +0200

list-packages: Remove a useless "colspan" attribute.

* build-aux/list-packages.scm (package->sxml): remove a useless "colspan"
  attribute.

commit 0e5b0f78f65e4ae5b5b2735c86ddc1a5e4b20b7e
Author: Cyril Roelandt 
Date:   Sat Aug 17 20:05:48 2013 +0200

list-packages: Add an "alt" attribute for the logos.

* build-aux/list-packages.scm (package->sxml): add an alternative text for 
the
  logos of the packages.

---

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


hooks/post-receive
-- 
guix source archive



GNU Guixguix source archive branch, master, updated. v0.3-37-gba95e70

2013-08-18 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  ba95e7028feaa3bf3b39da92dacf015a3d6690d0 (commit)
  from  f99f6fd6fa5c55f490fad7f4e444ef8a835db2ac (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 ba95e7028feaa3bf3b39da92dacf015a3d6690d0
Author: Cyril Roelandt 
Date:   Sun Aug 18 01:35:00 2013 +0200

list-packages: properly specify the size of images.

* build-aux/list-packages.scm (package->sxml, packages->sxml): specify the 
size
  of images in pixels (see
  http://www.w3.org/TR/html5/embedded-content-0.html#attr-dim-height)

---

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-123-gfbc1a58

2013-09-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  fbc1a58f4071c8a3ce2ac781b7cd363b8d21a364 (commit)
   via  340c7033a89a81242f5e55e9fc1473a274dd9ad2 (commit)
  from  1e151896d4fbd552a2e8dd66b16b7f746e0f6113 (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 fbc1a58f4071c8a3ce2ac781b7cd363b8d21a364
Author: Cyril Roelandt 
Date:   Sun Sep 1 19:42:00 2013 +0200

gnu: Add dfc.

* gnu/packages/system.scm (dfc): New variable.

commit 340c7033a89a81242f5e55e9fc1473a274dd9ad2
Author: Cyril Roelandt 
Date:   Fri Aug 30 21:19:56 2013 +0200

gnu: Add htop.

* gnu/packages/system.scm (htop): New variable.

---

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


hooks/post-receive
-- 
guix source archive



GNU Guixguix source archive branch, master, updated. v0.3-139-g20a26ff

2013-09-06 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  20a26ff546a5b200785f84eb361d1db271edd0f4 (commit)
  from  785859d306eaffcb3488f2d23e4d6c9e4f5db3a5 (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 20a26ff546a5b200785f84eb361d1db271edd0f4
Author: Cyril Roelandt 
Date:   Wed Sep 4 19:21:38 2013 +0200

gnu: Add itstool.

* gnu/packages/glib.scm (itstool): New variable.

---

Summary of changes:
 gnu/packages/glib.scm |   34 ++
 1 files changed, 34 insertions(+), 0 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 
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-97-g9fb0bc1

2013-10-10 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  9fb0bc157268561bc1cef8e27990f119fd123471 (commit)
  from  fb6c2fa82e1499e6cba8ac860bc0f4902d1ff9ea (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 9fb0bc157268561bc1cef8e27990f119fd123471
Author: Cyril Roelandt 
Date:   Thu Oct 10 22:48:39 2013 +0200

gnu: Valgrind: make it work with glibc 2.18.

* gnu/packages/patches/valgrind-glibc.patch: update it.

---

Summary of changes:
 gnu/packages/patches/valgrind-glibc.patch |   74 +++-
 1 files changed, 8 insertions(+), 66 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 
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-29-g9cc98f8

2013-12-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  9cc98f8aa6376ca28529b5b748d2a52bffb16902 (commit)
   via  2748062080ded4568b79fcfc2f0f37526bfaa80c (commit)
   via  7a8605ceb54f8c91d968ad6e6e4d247db776d03e (commit)
   via  af949e8ee7e134e30e559dcfa9cf59a3d28ea350 (commit)
   via  503c5f6d5d5b61097731158e70ff598fe42d6345 (commit)
  from  3e778ad3af53e343550f4ec3d0b56f9bfe1fa2e3 (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 9cc98f8aa6376ca28529b5b748d2a52bffb16902
Author: Cyril Roelandt 
Date:   Tue Oct 15 03:29:13 2013 +0200

gnu: Add gnome-desktop.

* gnu/packages/gnome.scm (gnome-desktop): New variable.

commit 2748062080ded4568b79fcfc2f0f37526bfaa80c
Author: Cyril Roelandt 
Date:   Tue Oct 15 03:28:59 2013 +0200

gnu: Add iso-codes.

* gnu/packages/iso-codes.scm: New file.
* gnu-system.am: Add it.

commit 7a8605ceb54f8c91d968ad6e6e4d247db776d03e
Author: Cyril Roelandt 
Date:   Tue Oct 15 00:34:35 2013 +0200

gnu: Add libpeas.

* gnu/packages/gnome.scm (libpeas): New variable.

commit af949e8ee7e134e30e559dcfa9cf59a3d28ea350
Author: Cyril Roelandt 
Date:   Tue Oct 15 00:14:34 2013 +0200

gnu: gtk+: enable introspection.

* gnu/packages/gtk.scm (atk, gdk-pixbuf, gtk+, pango): enable introspection
* guix/build/gnome.scm: New file.

commit 503c5f6d5d5b61097731158e70ff598fe42d6345
Author: Cyril Roelandt 
Date:   Wed Oct 16 03:47:56 2013 +0200

gnu: gobject-introspection: look for 'gcc' when no compiler seems available.

* gnu/packages/patches/gobject-introspection.patch: New file.

---

Summary of changes:
 Makefile.am|1 +
 gnu-system.am  |2 +
 gnu/packages/glib.scm  |   12 ++-
 gnu/packages/gnome.scm |  109 
 gnu/packages/gtk.scm   |   45 +++-
 gnu/packages/iso-codes.scm |   65 
 .../patches/gobject-introspection-cc.patch |   14 +++
 guix.scm => guix/build/gnome.scm   |   31 ++
 8 files changed, 251 insertions(+), 28 deletions(-)
 create mode 100644 gnu/packages/iso-codes.scm
 create mode 100644 gnu/packages/patches/gobject-introspection-cc.patch
 copy guix.scm => guix/build/gnome.scm (57%)


hooks/post-receive
-- 
guix source archive



GNU Guixguix source archive branch, core-updates, updated. v0.5-330-gff3c0c1

2014-03-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, core-updates has been updated
   via  ff3c0c1b805453990a42f690f148b41b9dff382a (commit)
  from  1faca892a35941b6eed2d6c04478f9f77ab81e15 (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 ff3c0c1b805453990a42f690f148b41b9dff382a
Author: Cyril Roelandt 
Date:   Fri Mar 7 00:45:51 2014 +0100

coreutils: fix test suite

* gnu/packages/patches/coreutils-skip-nohup.patch: patch taken from the git
  repository of coreutils, that makes sure tests/misc/nohup.sh does not fail
  when /dev/tty does not exist.
* gnu/packages/base.scm (coreutils): use it.
* gnu-system.am (dist_patch_DATA): add it.

---

Summary of changes:
 gnu-system.am   |1 +
 gnu/packages/base.scm   |4 ++-
 gnu/packages/patches/coreutils-skip-nohup.patch |   28 +++
 3 files changed, 32 insertions(+), 1 deletions(-)
 create mode 100644 gnu/packages/patches/coreutils-skip-nohup.patch


hooks/post-receive
-- 
guix source archive



GNU Guixguix source archive branch, core-updates, updated. v0.5-439-g9214f9b

2014-03-25 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, core-updates has been updated
   via  9214f9bc0a573b475ccc846434a5954ea7838072 (commit)
   via  9a9a3adf66285aba30effdb1565429357c7b6184 (commit)
   via  70318b46722d4c11375148636d3cbae1f01114f1 (commit)
   via  b10ab7230f80076212ccd454f3648dd6ee7993fb (commit)
  from  d452b595f96fa0a50e834f42eebadcaf0f7e786d (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 9214f9bc0a573b475ccc846434a5954ea7838072
Author: Cyril Roelandt 
Date:   Fri Mar 21 05:01:18 2014 +0100

gnu: remove python-fix-dbm.patch

* gnu/packages/patches/python-fix-dbm.patch: remove file. It is not needed
  anymore, and is probably a left-over of a failed merge.
* gnu-system.am: remove gnu/packages/patches/python-fix-dbm.patch

commit 9a9a3adf66285aba30effdb1565429357c7b6184
Author: Cyril Roelandt 
Date:   Mon Mar 3 01:53:11 2014 +0100

gnu: Enable tests in Python 3.

* gnu/packages/python.scm: enable tests for Python 3
* gnu/packages/python-fix-tests.patch: New file.
* gnu/packages/gnu-system.am (dist_patch_DATA): add it.

commit 70318b46722d4c11375148636d3cbae1f01114f1
Author: Cyril Roelandt 
Date:   Fri Feb 14 03:16:46 2014 +0100

gnu: Python: use /nix/.../sh instead of /bin/sh in the subprocess module

* gnu/packages/python.scm (python-2): patch Lib/subprocess.py to use
  /nix/.../sh.

commit b10ab7230f80076212ccd454f3648dd6ee7993fb
Author: Cyril Roelandt 
Date:   Sat Feb 1 01:39:04 2014 +0100

gnu: Enable the 'ctypes' module in Python.

* gnu/packages/python.scm (python-2): add libffi to the inputs and use it to
  build the ctypes module.

---

Summary of changes:
 gnu-system.am   |2 +-
 gnu/packages/patches/python-fix-dbm.patch   |   20 
 gnu/packages/patches/python-fix-tests.patch |   66 +++
 gnu/packages/python.scm |   37 +++-
 4 files changed, 103 insertions(+), 22 deletions(-)
 delete mode 100644 gnu/packages/patches/python-fix-dbm.patch
 create mode 100644 gnu/packages/patches/python-fix-tests.patch


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 
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 
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 
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-148-gb4f5e0e

2014-09-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  b4f5e0e87c112bd4b8425be0c17524ce9c2a85ca (commit)
   via  5e3b388b51780373e68c19a46a279a809e82d461 (commit)
  from  3af2d27eb39102aebba4d79a663a4e024fd9700d (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 b4f5e0e87c112bd4b8425be0c17524ce9c2a85ca
Author: Cyril Roelandt 
Date:   Mon Sep 1 02:13:21 2014 +0200

scripts: add guix lint

* guix/scripts/lint.scm: New file. Defines a 'lint' tool for Guix packages.
* tests/lint.scm: New file.
* Makefile.am (MODULES, SCM_TESTS): Add them.
* po/guix/Makevars: Update appropriately.
* po/guix/POTFILES.in: Update appropriately.
* doc/guix.texi: Document "guix lint".

commit 5e3b388b51780373e68c19a46a279a809e82d461
Author: Cyril Roelandt 
Date:   Mon Sep 1 01:45:09 2014 +0200

Move specification->package to gnu/packages.scm.

* guix/scripts/build.scm (specification->package): Move from here...
* gnu/packages.scm: ... to here.

---

Summary of changes:
 Makefile.am|4 +-
 doc/guix.texi  |   29 ++-
 gnu/packages.scm   |   26 ++-
 guix/scripts/build.scm |   23 +-
 guix/scripts/lint.scm  |  213 
 po/guix/Makevars   |3 +-
 po/guix/POTFILES.in|1 +
 tests/lint.scm |  110 +
 8 files changed, 383 insertions(+), 26 deletions(-)
 create mode 100644 guix/scripts/lint.scm
 create mode 100644 tests/lint.scm


hooks/post-receive
-- 
guix source archive



GNU Guixguix source archive branch, master, updated. v0.7-478-g3c762a1

2014-10-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  3c762a13bf0a8e15f2cf67d6a9eb27cf6d55267d (commit)
   via  a00ffdaa17c7ac96bb86734bac08a90c7785c98a (commit)
   via  8202a513138d7b7f57878bf8f50b928e2d4094c5 (commit)
   via  5622953de1125497b2e20cf25a1f9686c8bcfd77 (commit)
   via  90d104ba82dca16203448da57523d2a7b36be040 (commit)
  from  0c115d8c64b6feec00c142def34242d95aba5283 (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 3c762a13bf0a8e15f2cf67d6a9eb27cf6d55267d
Author: Cyril Roelandt 
Date:   Sat Sep 27 23:24:12 2014 +0200

guix lint: make sure synopses do not start with the package name.

* guix/scripts/lint.scm (check-start-with-package-name): New method.
* tests/lint.scm ("synopsis: start with package name"): New test.

commit a00ffdaa17c7ac96bb86734bac08a90c7785c98a
Author: Cyril Roelandt 
Date:   Sat Sep 27 23:04:46 2014 +0200

guix lint: Make sure a synopsis cannot start with a lower-case article.

* guix/scripts/lint.scm (check-start-article): use "string-ci=?" instead of
  "string=?".
* tests/lint.scm ("synopsis: starts with 'a'",
  "synopsis: starts with 'an'"): New tests.

commit 8202a513138d7b7f57878bf8f50b928e2d4094c5
Author: Cyril Roelandt 
Date:   Sat Sep 27 23:00:44 2014 +0200

guix lint: check whether descriptions and synopses start with an upper-case 
letter.

* guix/scripts/lint.scm (check-description-style,
  check-synopsis-start-upper-case): New methods.
* tests/lint.scm ("description: does not start with an upper-case letter",
  "synopsis: does not start with an upper-case letter"): New tests.

commit 5622953de1125497b2e20cf25a1f9686c8bcfd77
Author: Cyril Roelandt 
Date:   Sat Sep 27 21:39:19 2014 +0200

guix lint: Make sure synopses are not too long.

* guix/scripts/lint.scm (check-synopsis-length): New procedure.
* tests/lint.scm ("synopsis: too long"): New test.

commit 90d104ba82dca16203448da57523d2a7b36be040
Author: Cyril Roelandt 
Date:   Sat Sep 27 21:32:27 2014 +0200

guix lint: make sure check-patches retrieves patch names.

* guix/lint (check-patches): Test the output of origin-patches.

---

Summary of changes:
 guix/scripts/lint.scm |   57 
 tests/lint.scm|   55 +++
 2 files changed, 107 insertions(+), 5 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 
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



GNU Guixguix source archive branch, master, updated. v0.7-558-g68b18aa

2014-10-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  68b18aae6a9bcdb0940fb957f3ab9bbfa0370d83 (commit)
   via  a5ffa812b8cb01f5904e587ed629960902004654 (commit)
   via  cf690129b4e4ea130d9b890b51fa096fae3ce250 (commit)
  from  388fd01b0230259a12b23c52f6d6a6baa7b35c92 (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 68b18aae6a9bcdb0940fb957f3ab9bbfa0370d83
Author: Cyril Roelandt 
Date:   Thu Oct 16 00:46:15 2014 +0200

guix import pypi: Fix a typo in a docstring.

* guix/import/pypi.scm (snake-case): Fix documentation.

commit a5ffa812b8cb01f5904e587ed629960902004654
Author: Cyril Roelandt 
Date:   Thu Oct 16 00:42:51 2014 +0200

guix import pypi: do not add "python-" to a package name if it's already 
there.

* guix/import/pypi.scm (make-pypi-sexp): test whether the package name 
starts
  with "python-" before modifying it.

commit cf690129b4e4ea130d9b890b51fa096fae3ce250
Author: Cyril Roelandt 
Date:   Wed Oct 15 20:18:00 2014 +0200

guix import pypi: add the Apache License 2.0

* guix/import/pypi.scm (string->license): add ASL2.0.

---

Summary of changes:
 guix/import/pypi.scm |   12 
 1 files changed, 8 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
guix source archive



branch master updated (03c2776 -> 17a7b75)

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

  from  03c2776   gnu: netpbm: Update to 10.69.04.
   new  17a7b75   lint: add 'source' checker.

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 |   98 -
 1 files changed, 64 insertions(+), 34 deletions(-)



01/01: lint: add 'source' checker.

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

commit 17a7b75c0f727cd7c32b156d8a9235a2009a248f
Author: Cyril Roelandt 
Date:   Mon Dec 29 04:38:15 2014 +0100

lint: add 'source' checker.

* guix/scripts/lint.scm (validate-uri?): New procedure.
  (%checkers): Add 'source' checker
---
 guix/scripts/lint.scm |   98 -
 1 files changed, 64 insertions(+), 34 deletions(-)

diff --git a/guix/scripts/lint.scm b/guix/scripts/lint.scm
index 15ae213..eb0c9f7 100644
--- a/guix/scripts/lint.scm
+++ b/guix/scripts/lint.scm
@@ -20,6 +20,7 @@
 
 (define-module (guix scripts lint)
   #:use-module (guix base32)
+  #:use-module (guix download)
   #:use-module (guix packages)
   #:use-module (guix records)
   #:use-module (guix ui)
@@ -31,12 +32,14 @@
   #:use-module (ice-9 format)
   #:use-module (web uri)
   #:use-module ((guix build download)
-#:select (open-connection-for-uri))
+#:select (maybe-expand-mirrors
+  open-connection-for-uri))
   #:use-module (web request)
   #:use-module (web response)
   #:use-module (srfi srfi-1)
   #:use-module (srfi srfi-9)
   #:use-module (srfi srfi-11)
+  #:use-module (srfi srfi-26)
   #:use-module (srfi srfi-37)
   #:export (guix-lint
 check-description-style
@@ -254,45 +257,53 @@ response from URI, and additional details, such as the 
actual HTTP response."
   (_
(values 'not-http #f)
 
+(define (validate-uri uri package field)
+  "Return #t if the given URI can be reached, otherwise emit a
+warning for PACKAGE mentionning the FIELD."
+  (let-values (((status argument)
+(probe-uri uri)))
+(case status
+  ((http-response)
+   (unless (= 200 (response-code argument))
+ (emit-warning package
+   (format #f
+   (_ "URI ~a not reachable: ~a (~s)")
+   (uri->string uri)
+   (response-code argument)
+   (response-reason-phrase argument))
+   field)))
+  ((getaddrinfo-error)
+   (emit-warning package
+ (format #f
+ (_ "URI ~a domain not found: ~a")
+ (uri->string uri)
+ (gai-strerror (car argument)))
+ field))
+  ((system-error)
+   (emit-warning package
+ (format #f
+ (_ "URI ~a unreachable: ~a")
+ (uri->string uri)
+ (strerror
+  (system-error-errno
+   (cons status argument
+ field))
+  ((invalid-http-response gnutls-error)
+   ;; Probably a misbehaving server; ignore.
+   #f)
+  ((not-http) ;nothing we can do
+   #f)
+  (else
+   (error "internal linter error" status)))
+#t))
+
 (define (check-home-page package)
   "Emit a warning if PACKAGE has an invalid 'home-page' field, or if that
 'home-page' is not reachable."
   (let ((uri (and=> (package-home-page package) string->uri)))
 (cond
  ((uri? uri)
-  (let-values (((status argument)
-(probe-uri uri)))
-(case status
-  ((http-response)
-   (unless (= 200 (response-code argument))
- (emit-warning package
-   (format #f
-   (_ "home page ~a not reachable: ~a (~s)")
-   (uri->string uri)
-   (response-code argument)
-   (response-reason-phrase argument))
-   'home-page)))
-  ((getaddrinfo-error)
-   (emit-warning package
- (format #f
- (_ "home page domain not found: ~a")
- (gai-strerror (car argument)))
- 'package))
-  ((system-error)
-   (emit-warning package
- (format #f
- (_ "home page unreachable: ~a")
- (strerror
-  (system-error-errno
-   (cons status argument
- 'home-page))
-  ((invalid-http-response gnutls-error)
-   ;; Probably a misbehaving server; ignore.
-   #f)
-  ((not-http) ;nothing we can do
-   #f)
-  (else
-   (error "internal home-page linter error" status)
+  (validate-u

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(-)



  1   2   >