From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: [PATCH 1/2] gnu: Add python-pyqi. Date: Tue, 26 Apr 2016 16:24:51 +0200 Message-ID: References: <1461500860-8272-1-git-send-email-donttrustben@gmail.com> <1461500860-8272-2-git-send-email-donttrustben@gmail.com> <20160425181110.GB8957@jasmine> 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]:55258) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1av3vE-0000jv-GC for Guix-devel@gnu.org; Tue, 26 Apr 2016 10:25:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1av3vA-0004Ms-Dt for Guix-devel@gnu.org; Tue, 26 Apr 2016 10:25:04 -0400 Received: from venus.bbbm.mdc-berlin.de ([141.80.25.30]:48585) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1av3vA-0004MX-4Y for Guix-devel@gnu.org; Tue, 26 Apr 2016 10:25:00 -0400 In-Reply-To: <20160425181110.GB8957@jasmine> 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" To: Leo Famulari Cc: Guix-devel@gnu.org Leo Famulari writes: > On Sun, Apr 24, 2016 at 10:27:39PM +1000, Ben Woodcroft wrote: >> * gnu/packages/python.scm (python-pyqi, python2-pyqi): New variables. > > Thanks for the patches! > >> + (source >> + (origin >> + (method url-fetch) >> + ;; Use GitHub as source because PyPI archive does not contain = tests. >> + (uri (string-append "https://github.com/biocore/pyqi/archive/" >> + version ".tar.gz")) > > I've had some success asking upstream authors to start releasing their > test suites on PyPi. YMMV. This is not a "blocker". > >> + (arguments >> + `(#:phases >> + (modify-phases %standard-phases >> + (add-before 'build 'remove-version-requirement >> + (lambda* (#:key inputs #:allow-other-keys) >> + (substitute* "setup.py" >> + (("if ver not in \\['2.7', '3.3'\\]:") >> + (string-append >> + "if ver not in ['2.7', '3.3', '" >> + (string-take (string-take-right >> + (assoc-ref inputs "python") 5) 3) >> + "']:"))))) > > I assume everything works with this change :) > >> + (home-page "http://bipy.github.io/pyqi") > > This is what PyPi calls the home page, but I get 404. Did it work for > you, meaning I am experiencing a transient error? Or should we use > something else? It=E2=80=99s a 404 for me too. Maybe change this to https://github.com/biocore/pyqi ? ~~ Ricardo