From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nils Gillmann Subject: Re: guix import pypi uwsgi Date: Fri, 18 Mar 2016 21:32:44 +0100 Message-ID: <871t77cys3.fsf@grrlz.net> References: <20160318200117.524c9079@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47533) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ah150-0005id-7y for guix-devel@gnu.org; Fri, 18 Mar 2016 16:33:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ah14w-0007TD-7O for guix-devel@gnu.org; Fri, 18 Mar 2016 16:33:06 -0400 Received: from plane.gmane.org ([80.91.229.3]:39756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ah14w-0007T9-18 for guix-devel@gnu.org; Fri, 18 Mar 2016 16:33:02 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ah14r-0007W2-0A for guix-devel@gnu.org; Fri, 18 Mar 2016 21:32:57 +0100 Received: from x5d83f477.dyn.telefonica.de ([93.131.244.119]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Mar 2016 21:32:56 +0100 Received: from niasterisk by x5d83f477.dyn.telefonica.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Mar 2016 21:32:56 +0100 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: guix-devel@gnu.org Danny Milosavljevic writes: > Hi, > > I tried to create a package for uwsgi by > > $ guix import pypi uwsgi > > ...From https://pypi.python.org/packages/source/u/uWSGI/uwsgi-2.0.12.tar.gz... > ... > (package > (name "python-uwsgi") > (version "2.0.12") > (source > (origin > (method url-fetch) > (uri (pypi-uri "uWSGI" version)) I did not package with python so far, but is it not possible that you set the url to fetch from with pypi-uri? > (sha256 > (base32 > "02g46dnw5j1iw8fsq392bxbk8d21b9pdgb3ypcinv3b4jzdm2srh")))) > (build-system python-build-system) > (inputs > `(("python-setuptools" ,python-setuptools))) > (home-page "UNKNOWN") > (synopsis "The uWSGI server") > (description "The uWSGI server") > (license #f)) > > Then I put that (and define-public python-uwsgi ...) into python.scm and did > > $ guix package -i python-uwsgi > > I get the following error message: > > Starting download of /gnu/store/d16s3cw2arg89pm7djh6xrdkf0dnckyy-uWSGI-2.0.12.tar.gz > From https://pypi.python.org/packages/source/u/uWSGI/uWSGI-2.0.12.tar.gz... > ERROR: download failed "https://pypi.python.org/packages/source/u/uWSGI/uWSGI-2.0.12.tar.gz" 404 "Not Found" > failed to download "/gnu/store/d16s3cw2arg89pm7djh6xrdkf0dnckyy-uWSGI-2.0.12.tar.gz" from "https://pypi.python.org/packages/source/u/uWSGI/uWSGI-2.0.12.tar.gz" > builder for `/gnu/store/d5jfk4l2yvxfd3pw0fndwx2bxjwg1gpl-uWSGI-2.0.12.tar.gz.drv' failed to produce output path `/gnu/store/d16s3cw2arg89pm7djh6xrdkf0dnckyy-uWSGI-2.0.12.tar.gz' > cannot build derivation `/gnu/store/xqwnqx8yw63i864z0c3vd3vr9c8xcflr-python-uwsgi-2.0.12.drv': 1 dependencies couldn't be built > guix package: error: build failed: build of `/gnu/store/xqwnqx8yw63i864z0c3vd3vr9c8xcflr-python-uwsgi-2.0.12.drv' failed > > (Note the wrong basename) > > -- ng personal contact: http://krosos.sdf.org EDN: https://wiki.c3d2.de/EDN