From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: [PATCH] Add cutadapt. Date: Tue, 31 Mar 2015 17:41:57 +0200 Message-ID: References: <87oaniyuu4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42782) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcyIs-00023V-3M for guix-devel@gnu.org; Tue, 31 Mar 2015 11:42:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YcyIn-0004SQ-Ff for guix-devel@gnu.org; Tue, 31 Mar 2015 11:42:09 -0400 In-Reply-To: <87oaniyuu4.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel Ludovic Court=C3=A8s writes: > Ricardo Wurmus skribis: > >> From 18a14112b6e22248638d2b34e1c1b935e1bcd343 Mon Sep 17 00:00:00 2001 >> From: Ricardo Wurmus >> Date: Fri, 20 Mar 2015 16:17:55 +0100 >> Subject: [PATCH] gnu: Add cutadapt. >> >> * gnu/packages/bioinformatics.scm (cutadapt): New variable. > > [...] > >> + (setenv "PYTHONPATH" >> + (string-append >> + (getenv "PYTHONPATH") >> + ":" (assoc-ref outputs "out") >> + "/lib/python" >> + ,(version-major+minor (package-version py= thon)) >> + "/site-packages")) > > It=E2=80=99s best to check the Python version on the build side, using = something > like =E2=80=98get-python-version=E2=80=99 from python-build-system.scm = (so that if > someone inherits this package and changes the Python that is used it > still works.) I made this change and pushed the patch just now. Thanks for the review! ~~ Ricardo