From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: guix import pypi uwsgi Date: Sat, 19 Mar 2016 13:37:59 +0100 Message-ID: <20160319133759.7e495d65@scratchpost.org> References: <20160318200117.524c9079@scratchpost.org> <871t77cys3.fsf@grrlz.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60602) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahG8y-0006qS-Be for guix-devel@gnu.org; Sat, 19 Mar 2016 08:38:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ahG8v-0006pU-3H for guix-devel@gnu.org; Sat, 19 Mar 2016 08:38:12 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:58999) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahG8u-0006oT-SS for guix-devel@gnu.org; Sat, 19 Mar 2016 08:38:09 -0400 In-Reply-To: <871t77cys3.fsf@grrlz.net> 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: Nils Gillmann Cc: guix-devel@gnu.org Hi, On Fri, 18 Mar 2016 21:32:44 +0100 Nils Gillmann wrote: > I did not package with python so far, but is it not possible that > you set the url to fetch from with pypi-uri? According to guix/build-system/python.scm the answer is no: (define* (pypi-uri name version #:optional (extension ".tar.gz")) "Return a URI string for the Python package hosted on the Python Package Index (PyPI) corresponding to NAME and VERSION. EXTENSION is the file name extension, such as '.tar.gz'." (string-append "https://pypi.python.org/packages/source/" (string-take name 1) "/" name "/" name "-" version extension)) That's why I bring it up. I can just build the URL myself - no problem. But there's a problem in guix when one guix part generates what another guix part can't process (note: guix import even downloaded the file just fine!).