guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 4/4] gnu: Add gst-python.


From: Ludovic Courtès
Subject: Re: [PATCH 4/4] gnu: Add gst-python.
Date: Mon, 07 Mar 2016 00:20:04 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

宋文武 <address@hidden> skribis:

> * gnu/packages/gstreamer.scm (python-gst, python2-gst): New variables.

[...]

> +    (arguments
> +     `(#:configure-flags
> +       (let ((python-sitedir
> +              ;; XXX: make this a package property?
> +              ,(string-append "lib/python"
> +                              (version-major+minor (package-version python))
> +                              "/site-packages")))

I think the directory name should be computed on the “build side”,
possibly using ‘get-python-version’ from (guix build
python-build-system) or something equivalent.

That way, ‘python2-gst’ wouldn’t have to duplicate this snippet.

WDYT?

Ludo’.



reply via email to

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