Subject: [bug#28594] nototools (required for building Noto from source)

From: Christopher Baines <[email-masked]>
Date: Fri, 13 Oct 2017 08:08:54 +0100

On Sun, 1 Oct 2017 18:47:37 +0000
ng0 <[email-masked]> wrote:

> * gnu/packages/python.scm (python2-defcon): New variable.
> ---
>  gnu/packages/python.scm | 33 +++++++++++++++++++++++++++++++++
>  1 file changed, 33 insertions(+)
> 
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 90cc5283f..6e0dfd01c 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -7501,6 +7501,39 @@ Angus Johnson's Clipper library (ver. 6.2.1)")
>  boolean operations on paths.")
>      (license license:expat)))
>  
> +(define-public python2-defcon
> +  (package
> +    (name "python2-defcon")
> +    (version "0.3.4")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (pypi-uri "defcon" version ".zip"))
> +       (sha256
> +        (base32
> +         "1f41w54fdjy9izxcwzqa142kd56whqsg9nq5k4508jb6iip84h89"))))
> +    (build-system python-build-system)
> +    (arguments
> +     `(#:python ,python-2))
> +    (native-inputs
> +     `(("unzip" ,unzip)
> +       ("python2-pytest-3.0" ,python2-pytest-3.0)
> +       ("python2-pytest-runner" ,python2-pytest-runner)))
> +    (propagated-inputs
> +     `(("python2-fonttools" ,python2-fonttools)
> +       ("python2-ufolib" ,python2-ufolib)))
> +    (home-page "https://pypi.python.org/pypi/defcon")
> +    (synopsis "set of flexible objects for representing UFO data")

I'd suggest:

Flexible objects for representing @acronym{UFO, unified font object}
data.

> +    (description
> +     "Defcon is a set of UFO based objects optimized for use in
> +font editing applications.  The objects are built to be lightweight,
> +fast and flexible.  The objects are very bare-bones and they are not
> +meant to be end-all, be-all objects.  Rather, they are meant to
> provide +base functionality so that you can focus on your
> application’s behavior, +not object observing or maintaining cached
> data.  Defcon implements +UFO3 as described by the UFO font format.")
> +    (license license:expat)))
> +

Maybe markup the first UFO in the description with @acronym as well,
but apart from that, this looks fine.