[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/6] gnu: Add python-flake8-polyfill
From: |
Marius Bakke |
Subject: |
Re: [PATCH 2/6] gnu: Add python-flake8-polyfill |
Date: |
Thu, 09 Feb 2017 23:54:12 +0100 |
User-agent: |
Notmuch/0.23.5 (https://notmuchmail.org) Emacs/25.1.1 (x86_64-unknown-linux-gnu) |
Muriithi Frederick Muriuki <address@hidden> writes:
> * gnu/packages/python.scm (python-flake8-polyfill): New variable.
Applied, thanks! I moved this closer to the "python-flake8" expression
so it's easier to locate in the source code. Also added the python2
variant on this and others where applicable.
I did remove python-flake8 from propagated-inputs too. While required by
this package, AFAIU from the description, it's designed to be used with
different flake versions, so propagating one may cause conflicts.
> ---
> gnu/packages/python.scm | 21 +++++++++++++++++++++
> 1 file changed, 21 insertions(+)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 61b34bf..6b56312 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -12559,3 +12559,24 @@ faster ones are not available.")
> "Python module dedicated to rendering RST (reStructuredText) documents
> to
> ansi-escaped strings suitable for display in a terminal.")
> (license license:expat)))
> +
> +(define-public python-flake8-polyfill
> + (package
> + (name "python-flake8-polyfill")
> + (version "1.0.1")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (pypi-uri "flake8-polyfill" version))
> + (sha256
> + (base32
> + "02gn2wxvh9vnf7m7dld7ca4l60mg5c370hv3swwppkngwaqmcw67"))))
> + (build-system python-build-system)
> + (native-inputs
> + `(("python-flake8" ,python-flake8)))
> + (home-page "https://gitlab.com/pycqa/flake8-polyfill")
> + (synopsis "Polyfill package for Flake8 plugins")
> + (description
> + "This package that provides some compatibility helpers for Flake8
> plugins that
> + intend to support Flake8 2.x and 3.x simultaneously.")
> + (license license:expat)))
> --
> 2.10.2
signature.asc
Description: PGP signature
- [PATCH 5/6] gnu: Add python-typing, (continued)
- [PATCH 6/6] gnu: Add python-ruamel.ordereddict, Muriithi Frederick Muriuki, 2017/02/07
- Re: [PATCH 1/6] gnu: Add python-rst2ansi, Marius Bakke, 2017/02/08
- [PATCH 1/6] gnu: Add python-rst2ansi, Muriithi Frederick Muriuki, 2017/02/09
- [PATCH 2/6] gnu: Add python-flake8-polyfill, Muriithi Frederick Muriuki, 2017/02/09
- Re: [PATCH 2/6] gnu: Add python-flake8-polyfill,
Marius Bakke <=
- [PATCH 3/6] gnu: Add python-ddt, Muriithi Frederick Muriuki, 2017/02/09
- [PATCH 4/6] gnu: Add python-pycosat, Muriithi Frederick Muriuki, 2017/02/09
- [PATCH 5/6] gnu: Add python2-ruamel.ordereddict, Muriithi Frederick Muriuki, 2017/02/09
- [PATCH 6/6] gnu: Add python-2 variants of packages, Muriithi Frederick Muriuki, 2017/02/09
- Re: [PATCH 1/6] gnu: Add python-rst2ansi, Marius Bakke, 2017/02/09