[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 09/10] gnu: Add python-cliff.
From: |
Leo Famulari |
Subject: |
Re: [PATCH 09/10] gnu: Add python-cliff. |
Date: |
Sat, 30 Apr 2016 17:33:45 -0400 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Fri, Apr 29, 2016 at 04:21:02PM +0200, Cyril Roelandt wrote:
> * 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.
Can you mention (dist_patch_DATA)?
> + (native-inputs
> + `(("python-coverage" ,python-coverage)
> + ("python-httplib2" ,python-httplib2)
> + ("python-mock" ,python-mock)
> + ("python-oslosphinx" ,python-oslosphinx)
> + ("python-pbr" ,python-pbr)
> + ("python-setuptools" ,python-setuptools)
Did you try putting setuptools in the python-2 variant?
> diff --git a/gnu/packages/patches/python-cliff-remove-unicodecsv.patch
> b/gnu/packages/patches/python-cliff-remove-unicodecsv.patch
Can you add a couple lines explaining the patch for future readers?
> new file mode 100644
> index 0000000..99b4aa2
> --- /dev/null
> +++ b/gnu/packages/patches/python-cliff-remove-unicodecsv.patch
> @@ -0,0 +1,11 @@
> +diff --git a/requirements.txt b/requirements.txt
> +index f334651..c16761e 100644
> +--- a/requirements.txt
> ++++ b/requirements.txt
> +@@ -7,5 +7,5 @@ PrettyTable<0.8,>=0.7 # BSD
> + pyparsing>=2.0.1 # MIT
> + six>=1.9.0 # MIT
> + stevedore>=1.5.0 # Apache-2.0
> +-unicodecsv>=0.8.0 # BSD
> ++unicodecsv>=0.8.0;python_version<='2.7'# BSD
> + PyYAML>=3.1.0 # MIT
> --
> 2.6.2
>
>
- Re: [PATCH 04/10] gnu: remove test-only depencies of python-pbr, (continued)
- [PATCH 03/10] gnu: Add python-cmd2., Cyril Roelandt, 2016/04/29
- [PATCH 06/10] gnu: Update python-oslo.log to 3.5.0., Cyril Roelandt, 2016/04/29
- [PATCH 01/10] gnu: python2-jsonschema: make python-functools32 a propagated input., Cyril Roelandt, 2016/04/29
- [PATCH 02/10] gnu: Update python-unittest2 to 0.6.0, Cyril Roelandt, 2016/04/29
- [PATCH 08/10] gnu: Update python-mock to 2.0.0., Cyril Roelandt, 2016/04/29
- [PATCH 09/10] gnu: Add python-cliff., Cyril Roelandt, 2016/04/29
- Re: [PATCH 09/10] gnu: Add python-cliff.,
Leo Famulari <=
- [PATCH 10/10] gnu: Add python-barbicanclient., Cyril Roelandt, 2016/04/29
- [PATCH 07/10] gnu: Add python-funcsigs., Cyril Roelandt, 2016/04/29
- [PATCH 05/10] gnu: Add python-pyinotify., Cyril Roelandt, 2016/04/29
- Re: [PATCH 00/10] Add python-barbicanclient., Leo Famulari, 2016/04/30