guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 02/10] gnu: Add python-wheel.


From: Ricardo Wurmus
Subject: Re: [PATCH 02/10] gnu: Add python-wheel.
Date: Fri, 11 Dec 2015 15:07:34 +0100

Efraim Flashner <address@hidden> writes:
> From 3cf9101ca83470ef4f19dd270b5afd689be02569 Mon Sep 17 00:00:00 2001
> From: Efraim Flashner <address@hidden>
> Date: Mon, 23 Nov 2015 18:44:57 +0200
> Subject: [PATCH 02/10] gnu: Add python-wheel.

> * gnu/packages/python.scm (python-wheel, python2-wheel): New variables.
> ---
>  gnu/packages/python.scm | 27 +++++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)

> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 280f0c9..442270c 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -2165,6 +2165,33 @@ with sensible defaults out of the box.")
>  (define-public python2-click
>    (package-with-python2 python-click))
 
> +(define-public python-wheel
> +  (package
> +    (name "python-wheel")
> +    (version "0.26.0")
> +      (source

The indentation is wrong here (and affects all following lines of this
sub-expression).

> +        (origin
> +          (method url-fetch)
> +          (uri (pypi-uri "wheel" version))
> +          (sha256
> +            (base32

I also think that the indentation is wrong here.  My Emacs aligns
“(base32” with the “s” of “(sha256”.

> +             "032k1ajijbqnv0z0k88bhf75mdimi18fcmm28mss90610lw3bbga"))))
> +  (build-system python-build-system)
> +  (native-inputs
> +   `(("python-setuptools" ,python-setuptools)
> +     ("python-jsonschema" ,python-jsonschema)
> +     ("python-pytest-cov" ,python-pytest-cov)))
> +  (home-page "https://bitbucket.org/pypa/wheel/";)
> +  (synopsis "Built-package format for Python")

I don’t know what this means.

> +  (description
> +   "A wheel is a ZIP-format archive with a specially formatted filename and 
> the
> +.whl extension.  It is designed to contain all the files for a PEP 376
> +compatible install in a way that is very close to the on-disk format.")

Okay, but what does this package provide?  Is it a library to create
or inspect wheel packages?

I apologise for not bringing this up earlier, but this is the first time
I actually read the description.  (Before that I only paid attention to
the input types.)

~~ Ricardo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]