Licence of the Guix blog posts

2023-02-14 Thread Cyril Roelandt
Hello, I agree for my contribution to the blog posts with the license under CC-BY-SA 4.0 and GFDL version 1.3 or later. Regards, Cyril Roelandt

Re: [PATCH 11/11] gnu: Add python-twine.

2017-10-02 Thread Cyril Roelandt
On 09/18/2017 10:35 PM, Ludovic Courtès wrote: > > BTW, in the future, please consider emailing guix-patc...@gnu.org: OK. I pushed this patch series on master after applying the requested changes. Thanks for the reviews! Cyril.

[PATCH 09/10] gnu: Add python-pkginfo.

2017-09-12 Thread Cyril Roelandt
* gnu/packages/python.scm (python-pkginfo, python2-pkginfo): New variables. --- gnu/packages/python.scm | 30 ++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index cfe97b495..0da26b9d9 100644 ---

[PATCH 08/10] gnu: Add python-tqdm.

2017-09-12 Thread Cyril Roelandt
* gnu/packages/python.scm (python-tqdm, python2-tqdm): New variables. --- gnu/packages/python.scm | 29 + 1 file changed, 29 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 7f48b8dae..cfe97b495 100644 --- a/gnu/packages/python.scm

Re: [PATCH 07/11] gnu: Add python-ipaddress.

2017-09-12 Thread Cyril Roelandt
On 09/12/2017 09:31 AM, Hartmut Goebel wrote: > This package already exists, only the Python2-variant is missing. Oh apparently the Py2 version is there as well. I deleted this patch. Thanks for the review! Cyril.

[PATCH 06/11] gnu: Add python-nose-timer.

2017-09-11 Thread Cyril Roelandt
* gnu/packages/python.scm (python-nose-time, python2-nose-timer): New variables. --- gnu/packages/python.scm | 28 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 0487ae32b..e0b577afe 100644 ---

[PATCH 07/11] gnu: Add python-ipaddress.

2017-09-11 Thread Cyril Roelandt
* gnu/packages/python.scm (python-ipaddress, python2-ipaddress): New variables. --- gnu/packages/python.scm | 20 1 file changed, 20 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index e0b577afe..e565d3683 100644 --- a/gnu/packages/python.scm

[PATCH 04/11] gnu: Add python2-requests-toolbelt.

2017-09-11 Thread Cyril Roelandt
* gnu/packages/python.scm (python2-requests-toolbelt): New variable. --- gnu/packages/python.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index faa4750ee..677aab407 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm

[PATCH 00/11] Add python{,2}-twine.

2017-09-11 Thread Cyril Roelandt
This patch series adds Twine. --- Cyril Roelandt (11): gnu: Add python-pydiff. gnu: python-autopep8: Update to 1.3.2. gnu: python-requests-toolbelt: Update to 0.8.0. gnu: Add python2-requests-toolbelt. gnu: python-tox: Update to 2.8.1. gnu: Add python-nose-timer. gnu: Add python

[PATCH 03/11] gnu: python-requests-toolbelt: Update to 0.8.0.

2017-09-11 Thread Cyril Roelandt
* gnu/packages/python.scm (python-requests-toolbelt): Udpate to 0.8.0. --- gnu/packages/python.scm | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 673c3afd7..faa4750ee 100644 --- a/gnu/packages/python.scm +++

[PATCH 10/11] gnu: Add python-pkginfo.

2017-09-11 Thread Cyril Roelandt
* gnu/packages/python.scm (python-pkginfo, python2-pkginfo): New variables. --- gnu/packages/python.scm | 30 ++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 99ef1a06b..979862775 100644 ---

[PATCH 08/11] gnu: Update the propagated inputs of python-urllib3.

2017-09-11 Thread Cyril Roelandt
* gnu/packages/python.scm (python-urllib3, python2-urllib3): Update propagated inputs. --- gnu/packages/python.scm | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index e565d3683..9db16c5be 100644 ---

[PATCH 11/11] gnu: Add python-twine.

2017-09-11 Thread Cyril Roelandt
* gnu/packages/python.scm (python-twine, python2-twine): New variables. --- gnu/packages/python.scm | 28 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 979862775..74d294b11 100644 --- a/gnu/packages/python.scm

[PATCH 09/11] gnu: Add python-tqdm.

2017-09-11 Thread Cyril Roelandt
* gnu/packages/python.scm (python-tqdm, python2-tqdm): New variables. --- gnu/packages/python.scm | 26 ++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 9db16c5be..99ef1a06b 100644 --- a/gnu/packages/python.scm +++

[PATCH 05/11] gnu: python-tox: Update to 2.8.1.

2017-09-11 Thread Cyril Roelandt
* gnu/packages/python.scm (python-tox): Update to 2.8.1. --- gnu/packages/python.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 677aab407..0487ae32b 100644 --- a/gnu/packages/python.scm +++

[PATCH 02/11] gnu: python-autopep8: Update to 1.3.2.

2017-09-11 Thread Cyril Roelandt
* gnu/packages/python.scm (python-autopep8): Update to 1.3.2. --- gnu/packages/python.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 2efe8d2be..673c3afd7 100644 --- a/gnu/packages/python.scm +++

[PATCH 01/11] gnu: Add python-pydiff.

2017-09-11 Thread Cyril Roelandt
* gnu/packages/python.scm (python-pydiff, python2-pydiff): New variables. --- gnu/packages/python.scm | 22 ++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index d7156bf51..2efe8d2be 100644 --- a/gnu/packages/python.scm +++

[PATCH] gnu: python-tox: Update to 2.8.0.

2017-09-04 Thread Cyril Roelandt
* gnu/packages/python.scm (python-tox): Update to 2.8.0. --- gnu/packages/python.scm | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 346faf434..c7ea1a504 100644 --- a/gnu/packages/python.scm +++

Re: Heads-up: git.sv.gnu.org now rejects unsigned commits

2016-07-25 Thread Cyril Roelandt
On 07/25/2016 10:59 AM, Ludovic Courtès wrote: > Hello! > > All the Guix repositories on Savannah now reject unsigned Git commits: > > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22883#112 > This could probably be useful: https://git-scm.com/book/en/v2/Git-Tools-Signing-Your-Work What

Re: [PATCH 0/5] Improve the pypi updater.

2016-07-23 Thread Cyril Roelandt
On 07/22/2016 11:22 PM, Ludovic Courtès wrote: > Neat! So the test dependencies go to ‘inputs’ instead of > ‘propagated-inputs’, right? That can definitely save time and avoid > errors. > Indeed, the runtime dependencies are propagated inputs, and the test dependencies are native inputs. This

Re: [PATCH 4/5] import: pypi: Compute test requirements when reading requirements files.

2016-07-23 Thread Cyril Roelandt
On 07/22/2016 11:30 PM, Ludovic Courtès wrote: > This seems to suggest that this could be factorized somehow. Maybe > unpack once and read the two files at once? The problem is that both files might not be there, and unzip will return a non-zero exit code if any of them is missing, so it seems

Re: [PATCH 2/5] import: pypi: Remove setuptools from the inputs.

2016-07-23 Thread Cyril Roelandt
On 07/22/2016 11:43 PM, Leo Famulari wrote: > In my experience, it is more often required for Python 2.x, but > sometimes it is required by Python 3.x packages, and sometimes not for > Python 2.x packages. > > I'd be happy to get a more systematic explanation, or to be shown wrong. > A simple

[PATCH 5/5] import: pypi: Add more tests.

2016-07-16 Thread Cyril Roelandt
* tests/pypi.scm ("pypi->guix-package, no requirements", "pypi->guix-package, no test requirements", "pypi->guix-package, no runtime requirements"): New tests. --- tests/pypi.scm | 137 + 1 file changed, 137 insertions(+) diff --git

[PATCH 2/5] import: pypi: Remove setuptools from the inputs.

2016-07-16 Thread Cyril Roelandt
* guix/import/pypi.scm (compute-inputs): remove python-setuptools from the inputs. * tests/pypi.scm ("pypi->guix-package", "pypi->guix-package, wheels"): Update accordingly. --- guix/import/pypi.scm | 7 +++ tests/pypi.scm | 6 ++ 2 files changed, 5 insertions(+), 8 deletions(-)

[PATCH 3/5] import: pypi: Compute test requirements when using wheels.

2016-07-16 Thread Cyril Roelandt
* guix/import/pypi.scm (read-wheel-metadata): Read test requirements from the metadata included in the wheel. * guix/import/pypi.scm (guess-requirement-from-source): Return an empty list for test requirements. * guix/import/pypi.scm (compute-inputs): Return both the runtime requirements and the

[PATCH 4/5] import: pypi: Compute test requirements when reading requirements files.

2016-07-16 Thread Cyril Roelandt
* guix/import/pypi.scm (guess-requirement-from-source): Read test-requirements.txt as well as requirements.txt. * tests/pypi.scm ("pypi->guix-package"): Update accordingly. --- guix/import/pypi.scm | 20 +++- tests/pypi.scm | 11 +++ 2 files changed, 26

[PATCH 1/5] import: pypi: Move runtime dependencies to the propagated-inputs.

2016-07-16 Thread Cyril Roelandt
* guix/import/pypi.scm (maybe-inputs): Pass INPUT-TYPE as a parameter. * guix/import/pypi.scm (make-pypi-sexp): Use this parameter. * tests/pypi.scm ("pypi->guix-package", "pypi->guix-package, wheels"): Update accordingly. --- guix/import/pypi.scm | 9 + tests/pypi.scm | 4 ++-- 2

[PATCH 0/5] Improve the pypi updater.

2016-07-16 Thread Cyril Roelandt
A couple of minor improvements, and a huge one: we should now be able to automatically compute the test requirements of our Python packages! Cyril. -- Cyril Roelandt (5): import: pypi: Move runtime dependencies to the propagated-inputs. import: pypi: Remove setuptools from the inputs

Re: [PATCH] import: pypi: read requirements from wheels.

2016-06-14 Thread Cyril Roelandt
On 05/15/2016 09:49 PM, Ludovic Courtès wrote: > > Cyril, if there’s nothing from the previous review round that’s missing, > please push! Finally done! Cyril.

Re: [PATCH 00/10] Add python-barbicanclient.

2016-05-05 Thread Cyril Roelandt
On 05/01/2016 06:41 PM, Leo Famulari wrote: > I wanted to make sure the updates to mock and unittest2 wouldn't break > anything. No problems! I also managed to rebuild a bunch of packages on my machine. I only failed to rebuild those that required LaTeX because I ran out of disk space :) Cyril.

Re: [PATCH 07/10] gnu: Add python-funcsigs.

2016-05-05 Thread Cyril Roelandt
On 05/03/2016 08:25 PM, Efraim Flashner wrote: > Based on the description, does it make sense to have a python- version > and not just a python2- version? It would make sense not to use funcsigs with Python 3.4+, but I think some people might use it in Python 3 code, so it might end up being

Re: [PATCH 02/10] gnu: Update python-unittest2 to 0.6.0

2016-05-05 Thread Cyril Roelandt
On 04/30/2016 11:33 PM, Leo Famulari wrote: > As with python-cmd2, could you if setuptools is required for the > python-3 variant? > So, I applied the following patch: --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1520,8 +1520,7 @@ matching them against a list of

Re: [PATCH 02/10] gnu: Update python-unittest2 to 0.6.0

2016-05-05 Thread Cyril Roelandt
On 05/03/2016 08:19 PM, Efraim Flashner wrote: > python2-unittest2 had a different url before than the python- version. > Is it all using the same source now? It seems to be working using the same source, so... :) Cyril. signature.asc Description: OpenPGP digital signature

[PATCH 08/10] gnu: Update python-mock to 2.0.0.

2016-04-29 Thread Cyril Roelandt
* gnu/packages/python.scm (python-mock, python2-mock): Update to 2.0.0. --- gnu/packages/python.scm | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index ad69368..d8f43a8 100644 --- a/gnu/packages/python.scm

[PATCH 10/10] gnu: Add python-barbicanclient.

2016-04-29 Thread Cyril Roelandt
* gnu/packages/openstack.scm (python-barbicanclient, python2-barbicanclient): New variables. * gnu/packages/patches/python-barbicanclient-assertItemsEqual.patch: New file. * gnu/local.ml: Add it here. --- gnu/local.mk | 1 + gnu/packages/openstack.scm

[PATCH 05/10] gnu: Add python-pyinotify.

2016-04-29 Thread Cyril Roelandt
* gnu/packages/python.scm (python-pyinotify, python2-pyinotify): New variables. --- gnu/packages/python.scm | 27 ++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 1a7809e..698b683 100644 ---

[PATCH 01/10] gnu: python2-jsonschema: make python-functools32 a propagated input.

2016-04-29 Thread Cyril Roelandt
* gnu/packages/python.scm (python2-jsonschema): move python2-functools32 to propagated-inputs. --- gnu/packages/python.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index f367e1e..0d5753f 100644 ---

[PATCH 03/10] gnu: Add python-cmd2.

2016-04-29 Thread Cyril Roelandt
* gnu/packages/python.scm (python-cmd2, python2-cmd2): New variables. --- gnu/packages/python.scm | 31 +++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 99d1d3e..11ad08d 100644 --- a/gnu/packages/python.scm +++

[PATCH 07/10] gnu: Add python-funcsigs.

2016-04-29 Thread Cyril Roelandt
* gnu/packages/python.scm (python-funcsigs, python2-funcsigs): New variables. --- gnu/packages/python.scm | 32 1 file changed, 32 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 698b683..ad69368 100644 ---

[PATCH 09/10] gnu: Add python-cliff.

2016-04-29 Thread Cyril Roelandt
* gnu/packages/openstack.scm (python-cliff, python2-cliff): New variables. * gnu/packages/patches/python-cliff-remove-unicodecsv.patch: New file. * gnu/local.mk: Add it here. --- gnu/local.mk | 1 + gnu/packages/openstack.scm | 50

[PATCH 04/10] gnu: remove test-only depencies of python-pbr

2016-04-29 Thread Cyril Roelandt
* gnu/packages/python.scm (python-pbr): remove test-only dependencies since we are not running the tests anyway. --- gnu/packages/python.scm | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 11ad08d..1a7809e

[PATCH] guix: use '@' in package-full-name instead of '-'

2016-04-27 Thread Cyril Roelandt
* guix/packages.scm (package-full-name): Use '@' instead of '-'. --- guix/packages.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/packages.scm b/guix/packages.scm index d62d1f3..e33791e 100644 --- a/guix/packages.scm +++ b/guix/packages.scm @@ -346,7 +346,7 @@ name

Re: pypi URL change

2016-04-24 Thread Cyril Roelandt
On 04/25/2016 01:21 AM, Ben Woodcroft wrote: > 2) The new URLs are even uglier than the old one and a working pypi-uri > would hide them from our eyes. Yeah but it is my understanding that the new pattern will only be applied to new releases, so how will pypi-uri know what pattern to apply?

Re: pypi URL change

2016-04-24 Thread Cyril Roelandt
On 04/24/2016 09:27 AM, Ben Woodcroft wrote: > Hi, > > Today I tried using pypi-url to autogenerate a package that was only > released today. Unfortunately, it seems that the URL scheme has changed > and I was unable to download, though I believe this only affects newly > released package

Re: [PATCH 0/2] Update Python to current versions

2016-04-21 Thread Cyril Roelandt
On 04/21/2016 10:18 PM, Hartmut Goebel wrote: > gnu: python: Update to 3.4.4 I think the latest Python 3.x is Python 3.5.1 (see https://www.python.org/). Maybe we should forget about 3.4.x, WDYT? Cyril.

Re: Installing Guix easily on other distros

2016-04-14 Thread Cyril Roelandt
On 04/14/2016 03:51 PM, Hartmut Goebel wrote: > Hi, > > today on irc, there was discussion about that Guix should be easily > installable and manageable in other distros being higher priority. This > could attract more users to ry out Guix. So I created a draft .spec-file > for building and

Re: [PATCH 0/2] Fix python{,2}-pyopenssl

2016-03-31 Thread Cyril Roelandt
On 03/31/2016 11:17 PM, Leo Famulari wrote: > Can you check how this is different from the 'fix-letsencrypt' branch on > hydra? > I guess that is the same. Why don't we push this on master? Cyril.

[PATCH 0/2] Fix python{,2}-pyopenssl

2016-03-31 Thread Cyril Roelandt
This patch series updates python{2,}-pyopenssl so that it compiles again. Added benefit: we do not have to skip tests any more! Cyril. --- Cyril Roelandt (2): gnu: python-cryptography, python-cryptography-vectors: Update to 1.3.1. gnu: python-pyopenssl, python2-pyopenssl: Update

[PATCH 2/2] gnu: python-pyopenssl, python2-pyopenssl: Update to 16.0.0.

2016-03-31 Thread Cyril Roelandt
* gnu/packages/python.scm (python-pyopenssl, python2-pyopenssl): Update to 16.0.0. --- gnu/packages/python.scm | 25 ++--- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 511648e..b434e60 100644 ---

[PATCH 1/2] gnu: python-cryptography, python-cryptography-vectors: Update to 1.3.1.

2016-03-31 Thread Cyril Roelandt
These packages should be updated together. * gnu/packages/python.scm (python-cryptography): Update to 1.3.1. (python-cryptography-vectors): Update to 1.3.1. --- gnu/packages/python.scm | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gnu/packages/python.scm

Re: [REQ/DISCUSSION] patch managing system

2016-03-30 Thread Cyril Roelandt
On 03/21/2016 04:48 PM, Mathieu Lirzin wrote: > To automate the repetitive tasks, Cyril Roelandt had started sometimes > ago to work on a bot that was continuously applying and building > incoming patches on top of master and report (by email) if things were > building correct

Re: [PATCH] environment: Set a default value for PS1.

2016-03-30 Thread Cyril Roelandt
On 03/28/2016 03:22 AM, David Thompson wrote: > +;; Set a reasonable default PS1. > +(setenv "PS1" "[ENV] \\u@\\h \\w\\$ ") > + Would it be an acceptable feature to let the user ask for their own PS1? I very often have to make sure my code works on both Python 2.7 and

[PATCH] import: pypi: read requirements from wheels.

2016-03-25 Thread Cyril Roelandt
* doc/guix.tex (Invoking guix import): Mention that the pypi importer works better with "unzip". * guix/import/pypi.scm (latest-wheel-release, wheel-url->extracted-directory): New procedures. * tests/pypi.scm (("pypi->guix-package, wheels"): New test. --- doc/guix.texi| 4 +-

Re: [PATCH] import: pypi: read requirements from wheels.

2016-03-25 Thread Cyril Roelandt
On 03/02/2016 10:54 AM, Ludovic Courtès wrote: > It seems that all these files are left behind no? Could you make sure > they are removed? I think they are deleted. I call delete-file-recursively to remove everything, and I can't see the files anywhere, so I'm assuming they're really gone.

Re: python general question (setup.py)

2016-03-25 Thread Cyril Roelandt
On 03/25/2016 11:02 PM, Nils Gillmann wrote: > I have a question on python. > My theory is that this is true: > If I write a setup.py and contribute it to a project because I > want to make an "easier"[1] install in Guix and elsewhere, > I feed the "one packagemanager per language" thing. > Not

[PATCH] import: pypi: read requirements from wheels.

2016-02-26 Thread Cyril Roelandt
* guix/import/pypi.scm (latest-wheel-release): New procedure. --- guix/import/pypi.scm | 116 +++ tests/pypi.scm | 74 2 files changed, 163 insertions(+), 27 deletions(-) diff --git a/guix/import/pypi.scm

Re: [PATCH] import: pypi: read requirements from wheels.

2016-01-24 Thread Cyril Roelandt
On 01/24/2016 09:08 PM, Ludovic Courtès wrote: > Cyril Roelandt <tipec...@gmail.com> skribis: > >> * guix/import/pypi.scm (latest-wheel-release): New function. > > s/function/procedure/ :-) > > Please also mention the changes in ‘guess-requirements’, > ‘compu

[PATCH] import: pypi: read requirements from wheels.

2016-01-21 Thread Cyril Roelandt
* guix/import/pypi.scm (latest-wheel-release): New function. --- guix/import/pypi.scm | 112 ++- 1 file changed, 85 insertions(+), 27 deletions(-) diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm index d54bb9f..2614ab5 100644 ---

Re: Python2-jsonschema fails

2016-01-18 Thread Cyril Roelandt
On 01/18/2016 03:41 PM, Efraim Flashner wrote: > > Yes but it has a cascading effect through python.scm and openstack.scm > Yes, a bunch of packages will have to be rebuilt, but there is nothing we can do about this, I'm afraid. Cyril.

Re: Python2-jsonschema fails

2016-01-18 Thread Cyril Roelandt
On 01/18/2016 11:15 AM, Andreas Enge wrote: > The build log shows that it is trying to download packages from pypi, > namely functools32. Maybe there is an input to be added? Yes, but functools32 should only be added to the inputs of python2-jsonchema, since it is a backport of a Python 3

Re: [PATCH] guix: build-system: python: Add an optional argument EXTENSION to pypi-uri

2016-01-06 Thread Cyril Roelandt
The patch looks good. On 01/06/2016 06:21 PM, swedebu...@riseup.net wrote: > From: swedebugia Do we require people to use their real names or not? Not sure what our policy about this is. Cyril.

Re: [PATCH] guix pypi importer: Add ending as an optional argument to pypi-uri.

2016-01-05 Thread Cyril Roelandt
On 01/05/2016 10:58 AM, Efraim Flashner wrote: > It already does that with the patch If there's no change then it defaults to > .tar.gz. Could part of the patch be changed to: > #:optional (ending ".tar.gz")) ? That is what I meant. This way we would not need the "(when ..." and could keep this

Re: [PATCH] guix pypi importer: Add ending as an optional argument to pypi-uri.

2016-01-04 Thread Cyril Roelandt
On 01/03/2016 10:36 PM, swedebugia wrote: > --- > guix/build-system/python.scm | 17 - > 1 file changed, 12 insertions(+), 5 deletions(-) > > diff --git a/guix/build-system/python.scm b/guix/build-system/python.scm > index 2532210..09074ce 100644 > ---

Re: Trying to fix an error in the pypi-importer

2015-12-30 Thread Cyril Roelandt
On 12/30/2015 08:53 PM, swedebu...@riseup.net wrote: > I am trying to fix this error in the pypi-importer: Could you send your fix as a unified diff? If you work from the git repo, you can just run "git diff" to produce one. Thanks, Cyril.

Re: [PATCH] Perl modules for HTML and XML

2015-12-23 Thread Cyril Roelandt
On 12/23/2015 11:53 AM, Ricardo Wurmus wrote: > (I’ll try to set up git send-email soon.) > Seems ok, except for this: gnu/packages/perl.scm:5946:5: perl-unicode-linebreak-2015.12: sentences in description should be followed by two spaces; possible infraction at 104 Cyril.

Re: Create help-g...@gnu.org?

2015-12-21 Thread Cyril Roelandt
On 12/21/2015 04:55 PM, Florian Paul Schmidt wrote: > On 21.12.2015 14:45, Ludovic Courtès wrote: >> Hello! > >> Should we create a help-g...@gnu.org mailing list specifically to >> answer user questions? > > Consistent naming schemes are important. I object. How about > > guix-h...@gnu.org >

Re: [PATCH] import: pypi: add updater

2015-11-05 Thread Cyril Roelandt
On 11/05/2015 08:58 PM, Mathieu Lirzin wrote: > > IIUC the commit bab020d7ca50e4153cf24832d119389a37fa8f63 has made > Guile-JSON non optional. > That is weird, because the PyPI importer has always been using the guile-json module. I thought it was already mandatory. Cyril.

[PATCH] import: pypi: add updater

2015-11-03 Thread Cyril Roelandt
* guix/import/pypi.scm (guix-package->pypi-name, latest-release): New procedures. (pypi-updater): New variable. * guix/scripts/refresh.scm (%updaters): Add %PYPI-UPDATER. --- guix/import/pypi.scm | 50 +++- guix/scripts/refresh.scm | 4 +++- 2

Re: [PATCH 03/12] import: pypi: Use "pypi-uri" instead of building the URL manually.

2015-10-25 Thread Cyril Roelandt
On 10/12/2015 11:40 PM, Cyril Roelandt wrote: > * guix/import/pypi.scm (make-pypi-sexp): Use "pypi-uri". > * tests/pypi.scm: Update the tests accordingly. This patch seems trivial to me, but it would be nice to get some feedback before I push the whole patch series :) WDYT? Cyril.

Re: [PATCH 01/12] guix: download: properly detect https when mirror:// is used.

2015-10-20 Thread Cyril Roelandt
On 10/20/2015 05:57 PM, Cyril Roelandt wrote: > On 10/16/2015 12:14 PM, Ludovic Courtès wrote: >> Is there a mirror for which that is a serious issue? > > I wanted to use mirrors for PyPI, but I ended up dropping the patch (see > patch 2). So I'll drop this one as well. >

Re: [PATCH] Fix scipy

2015-10-13 Thread Cyril Roelandt
On 10/13/2015 01:37 PM, Ricardo Wurmus wrote: > I suspect that we need to fix many more Python packages in a similar > manner. > Yes, probably. I think one has to grep a lot when adding a new package, in order to see whether the inputs are actually imported in the code. Cyril.

Re: [PATCH 02/12] guix: Add a "pypi-uri" helper method.

2015-10-13 Thread Cyril Roelandt
On 10/13/2015 03:51 PM, Thompson, David wrote: > Yeah, get rid of the mirror thing and this patch looks good to me. Yeah, will do. I thought we might add mirrors, but apparently there are no official mirrors any more, so... Cyril.

[PATCH 12/12] gnu: Add python-tempest-lib.

2015-10-12 Thread Cyril Roelandt
* gnu/packages/openstack.scm (python-tempest-lib, python2-tempest-lib): New variables. --- gnu/packages/openstack.scm | 44 1 file changed, 44 insertions(+) diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index 8bc1c68..a7ebb25

[PATCH 00/12] Tons of patches to run "guix-tox" on python-keystoneclient!

2015-10-12 Thread Cyril Roelandt
The following 12 patches should be enough to be able to run "guix-tox" on python-keystoneclient, which is nice! Cyril. -- Cyril Roelandt (12): guix: download: properly detect https when mirror:// is used. guix: Add a "pypi-uri" helper method. import: pypi: Use "pypi

[PATCH 11/12] gnu: Add python-oslo.log.

2015-10-12 Thread Cyril Roelandt
* gnu/packages/openstack.scm (python-oslo.log, python2-oslo.log): New variables. --- gnu/packages/openstack.scm | 41 + 1 file changed, 41 insertions(+) diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index 912fab3..8bc1c68 100644

[PATCH 06/12] gnu: Add python-flake8-2.2.4

2015-10-12 Thread Cyril Roelandt
* gnu/packages/python.scm (python-flake8-2.2.4, python2-flake8-2.2.4): New variables. --- gnu/packages/python.scm | 23 +++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index e8d8a02..d88a3c6 100644 ---

[PATCH 07/12] gnu: Add python-hacking.

2015-10-12 Thread Cyril Roelandt
* gnu/packages/openstack.scm (python-hacking, python2-hacking): New variables. --- gnu/packages/openstack.scm | 33 + 1 file changed, 33 insertions(+) diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index 4fd1c80..d6f9ec4 100644 ---

[PATCH 02/12] guix: Add a "pypi-uri" helper method.

2015-10-12 Thread Cyril Roelandt
* guix/download.scm (mirrors): New "pypi" mirror. * guix/build-system/python.scm (pypi-uri): New method. --- guix/build-system/python.scm | 10 +- guix/download.scm| 4 +++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/guix/build-system/python.scm

[PATCH 04/12] gnu: Update python-requests.

2015-10-12 Thread Cyril Roelandt
* gnu/packages/python.scm (python-requests, python2-requests): Bump to 2.8.0. --- gnu/packages/python.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index fc4fad6..44e3e6b 100644 --- a/gnu/packages/python.scm +++

[PATCH 10/12] gnu: paramiko: Move python-pycrypto to the propagated inputs.

2015-10-12 Thread Cyril Roelandt
* gnu/packages/python.scm (python-paramiko): Move python-pycrypto to the propagated-inputs. --- gnu/packages/python.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index d88a3c6..6cecaac 100644 ---

[PATCH 09/12] gnu: Add python-os-testr.

2015-10-12 Thread Cyril Roelandt
* gnu/packages/openstack.scm (python-ostestr, python2-ostestr): New variables. --- gnu/packages/openstack.scm | 34 ++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index 0fa105e..912fab3 100644 ---

[PATCH 08/12] gnu: Add python-oslosphinx.

2015-10-12 Thread Cyril Roelandt
* gnu/packages/openstack.scm (python-oslosphinx, python2-oslosphinx): New variables. --- gnu/packages/openstack.scm | 30 ++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index d6f9ec4..0fa105e 100644 ---

[PATCH 01/12] guix: download: properly detect https when mirror:// is used.

2015-10-12 Thread Cyril Roelandt
* guix/download.scm (url-fetch): fix need-gnutls? which always returned #f when a URL with "mirror://" scheme was used. --- guix/download.scm | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/guix/download.scm b/guix/download.scm index 204cfc0..8ec47ce 100644 ---

[PATCH 03/12] import: pypi: Use "pypi-uri" instead of building the URL manually.

2015-10-12 Thread Cyril Roelandt
* 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

Re: [PATCH 2/3] gnu: Update python-fixtures

2015-10-08 Thread Cyril Roelandt
On 09/27/2015 10:17 PM, Ludovic Courtès wrote: > Yeah, two commits would do IMO: one to add python-pbr-0.11, and the > other one for the rest. > > Could you do that? This patch series needs to go in before it > accumulates dust. No, it'd be a bloody pain. If I just add python-pbr-0.11, then

Re: How to I add python tkinter support

2015-09-26 Thread Cyril Roelandt
On 09/26/2015 06:55 PM, Craig Barnes wrote: > Hi Guix, > > Is there any reason why guix is not including pythontk (tkinter module) > support? > There is a bug for this issue, with a proposed solution: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20889 I haven't worked on this yet, but if you

Re: [PATCH 2/3] gnu: Update python-fixtures

2015-09-22 Thread Cyril Roelandt
On 09/22/2015 09:16 PM, Thompson, David wrote: > On Mon, Sep 21, 2015 at 6:31 PM, Cyril Roelandt <tipec...@gmail.com> wrote: >> * gnu/packages/python.scm (python-fixtures): Update. >> * gnu/packages/python.scm (python-fixtures-0.3.16, >> python2-fixtures-0.3.16, python

[PATCH 2/3] gnu: Update python-fixtures

2015-09-21 Thread Cyril Roelandt
* 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

[PATCH 0/3] Add python-bandit.

2015-09-21 Thread Cyril Roelandt
ly package that will ever need it (or so I hope). Maybe it would be better to move it next to python-pbr, in openstack.scm? Finally, note that python-testrepository does not build well with the latest version of python-fixtures, so we keep using python-fixtures-0.3.16 for now. Cyril. -- Cyril Roelandt

[PATCH 1/3] gnu: Add python-pip.

2015-09-21 Thread Cyril Roelandt
* gnu/packages/python.scm (python-pip, python2-pip): New variables. --- gnu/packages/python.scm | 32 1 file changed, 32 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 798a22f..a8d811e 100644 --- a/gnu/packages/python.scm +++

[PATCH 3/3] gnu: Add python-bandit.

2015-09-21 Thread Cyril Roelandt
* gnu/packages/openstack.scm (python-bandit, python2-bandit): New variables. --- gnu/packages/openstack.scm | 40 1 file changed, 40 insertions(+) diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index 39584d5..4fd1c80 100644 ---

Re: [PATCH 0/5] New packages, simple fixes for openstack/python

2015-09-19 Thread Cyril Roelandt
On 09/17/2015 04:23 PM, Cyril Roelandt wrote: > gnu: Add python-prettytable Pushed. > gnu: Fix the definition of python2-pyflakes-0.8.1. > gnu: Add python2-pyflakes. Pushed these two as a single commit. > gnu: Add python-mccabe-0.2.1 Removed this one, will resubmit with th

[PATCH 2/5] gnu: Fix the definition of python2-pyflakes-0.8.1.

2015-09-17 Thread Cyril Roelandt
* gnu/packages/python.scm (python2-pyflakes-0.8.1): Fix the definition. --- gnu/packages/python.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 1818993..0f94a54 100644 --- a/gnu/packages/python.scm +++

[PATCH 4/5] gnu: Add python-mccabe-0.2.1

2015-09-17 Thread Cyril Roelandt
* gnu/packages/python.scm (python-mccabe-0.2.1, python2-mccabe-0.2.1): New variables. --- gnu/packages/python.scm | 18 ++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 0117eb7..cecd750 100644 --- a/gnu/packages/python.scm

[PATCH 1/5] gnu: Add python-prettytable

2015-09-17 Thread Cyril Roelandt
* gnu/packages/python.scm (python-prettytable, python2-prettytable): New variables. --- gnu/packages/python.scm | 28 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 408064d..1818993 100644 ---

[PATCH 3/5] gnu: Add python2-pyflakes.

2015-09-17 Thread Cyril Roelandt
* gnu/packages/python.scm (python2-pyflakes): New variable. --- gnu/packages/python.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 0f94a54..0117eb7 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -4434,6

[PATCH 5/5] gnu: Add python2-keyring.

2015-09-17 Thread Cyril Roelandt
* gnu/packages/python.scm (python2-keyring): New variable. --- gnu/packages/python.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index cecd750..3438f20 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -783,6

[PATCH 0/5] New packages, simple fixes for openstack/python

2015-09-17 Thread Cyril Roelandt
Nothing too fancy, these patches are probably almost ready to be pushed :) -- Cyril Roelandt (5): gnu: Add python-prettytable gnu: Fix the definition of python2-pyflakes-0.8.1. gnu: Add python2-pyflakes. gnu: Add python-mccabe-0.2.1 gnu: Add python2-keyring. gnu/packages/python.scm

Re: [PATCH 4/5] gnu: Add python-mccabe-0.2.1

2015-09-17 Thread Cyril Roelandt
On 09/17/2015 07:38 PM, Mathieu Lirzin wrote: > Could you be more precise about what package(s) or context requires it? That is python-hacking, though I haven't added it yet, since I stumbled upon other issues while packaging it :) I'll use a Guix-formatted name. Cyril.

Re: [PATCH 3/4] gnu: Add python-webob.

2015-09-15 Thread Cyril Roelandt
On 09/15/2015 06:43 PM, Mathieu Lirzin wrote: > Cyril Roelandt <tipec...@gmail.com> writes: >> > + >> > +(define-public python-webob >> > + (package >> > +(name "python-WebOb") > ^^^ > Does these uppercase let

  1   2   3   >