GNU bug report logs -
#36194
[PATCH 00/10] Add csvkit.
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
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 = 'info <at> neekware.com'
> + 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 (text/x-patch, attachment)]
This bug report was last modified 6 years and 14 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.