[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#36194] [PATCH 01/10 v2] gnu: Add python-slugify.
From: |
Pierre Langlois |
Subject: |
[bug#36194] [PATCH 01/10 v2] gnu: Add python-slugify. |
Date: |
Fri, 21 Jun 2019 11:42:23 +0100 |
User-agent: |
mu4e 1.2.0; emacs 26.2 |
Pierre Langlois writes:
> * gnu/packages/python-web.scm (python-slugify): New variable.
> * gnu/packages/patches/python-slugify-depend-on-unidecode.patch: New file.
> * gnu/local.mk (dist_patch_DATA): Add it.
> ---
> gnu/local.mk | 1 +
> .../python-slugify-depend-on-unidecode.patch | 22 +++++++++++++
> gnu/packages/python-web.scm | 31 +++++++++++++++++++
> 3 files changed, 54 insertions(+)
> create mode 100644
> gnu/packages/patches/python-slugify-depend-on-unidecode.patch
>
> diff --git a/gnu/local.mk b/gnu/local.mk
> index c7b557ca61..f8c33dd8c2 100644
> --- a/gnu/local.mk
> +++ b/gnu/local.mk
> @@ -1214,6 +1214,7 @@ dist_patch_DATA =
> \
> %D%/packages/patches/python2-pygobject-2-gi-info-type-error-domain.patch \
> %D%/packages/patches/python-pygpgme-fix-pinentry-tests.patch \
> %D%/packages/patches/python-robotframework-honor-source-date-epoch.patch \
> + %D%/packages/patches/python-slugify-depend-on-unidecode.patch \
> %D%/packages/patches/python2-subprocess32-disable-input-test.patch \
> %D%/packages/patches/python-unittest2-python3-compat.patch \
> %D%/packages/patches/python-unittest2-remove-argparse.patch \
> diff --git a/gnu/packages/patches/python-slugify-depend-on-unidecode.patch
> b/gnu/packages/patches/python-slugify-depend-on-unidecode.patch
> new file mode 100644
> index 0000000000..93a3aaebe9
> --- /dev/null
> +++ b/gnu/packages/patches/python-slugify-depend-on-unidecode.patch
> @@ -0,0 +1,22 @@
> +diff --git a/setup.py b/setup.py
> +index 4800173..6bdd77f 100755
> +--- a/setup.py
> ++++ b/setup.py
> +@@ -14,8 +14,7 @@ url = 'https://github.com/un33k/python-slugify'
> + author = 'Val Neekman'
> + author_email = 'address@hidden'
> + license = 'MIT'
> +-install_requires = ['text-unidecode==1.2']
> +-extras_require = {'unidecode': ['Unidecode==1.0.23']}
> ++install_requires = ['Unidecode==1.0.23']
Ah, the python-unidecode package was just updated to version 1.1.0 which
then breaks csvkit.
Here's a fixed patch that ignores the version number, the tests pass so
I think we're good still.
Thanks!
Pierre
0001-gnu-Add-python-slugify.patch
Description: Text Data
- [bug#36194] [PATCH 00/10] Add csvkit., Pierre Langlois, 2019/06/13
- [bug#36194] [PATCH 01/10] gnu: Add python-slugify., Pierre Langlois, 2019/06/13
- [bug#36194] [PATCH 03/10] gnu: Add python-crate., Pierre Langlois, 2019/06/13
- [bug#36194] [PATCH 07/10] gnu: Add python-agate-sql., Pierre Langlois, 2019/06/13
- [bug#36194] [PATCH 06/10] gnu: Add python-agate., Pierre Langlois, 2019/06/13
- [bug#36194] [PATCH 02/10] gnu: Add python-pytimeparse., Pierre Langlois, 2019/06/13
- [bug#36194] [PATCH 09/10] gnu: Add python-agate-excel., Pierre Langlois, 2019/06/13
- [bug#36194] [PATCH 08/10] gnu: Add python-agate-dbf., Pierre Langlois, 2019/06/13
- [bug#36194] [PATCH 04/10] gnu: Add python-dbfread., Pierre Langlois, 2019/06/13
- [bug#36194] [PATCH 05/10] gnu: Add python-leather., Pierre Langlois, 2019/06/13
- [bug#36194] [PATCH 01/10 v2] gnu: Add python-slugify.,
Pierre Langlois <=
- [bug#36194] [PATCH 10/10] gnu: Add csvkit., Pierre Langlois, 2019/06/13