unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Nils Gillmann <niasterisk@grrlz.net>
To: guix-devel@gnu.org
Subject: Re: guix import pypi uwsgi
Date: Fri, 18 Mar 2016 21:32:44 +0100	[thread overview]
Message-ID: <871t77cys3.fsf@grrlz.net> (raw)
In-Reply-To: 20160318200117.524c9079@scratchpost.org

Danny Milosavljevic <dannym@scratchpost.org> 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

  reply	other threads:[~2016-03-18 20:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-18 19:01 guix import pypi uwsgi Danny Milosavljevic
2016-03-18 20:32 ` Nils Gillmann [this message]
2016-03-19 12:37   ` Danny Milosavljevic
2016-03-19 14:13     ` Nils Gillmann
2016-03-19 20:56     ` Ludovic Courtès
2016-03-19 21:19       ` Danny Milosavljevic
2016-03-20  0:09         ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871t77cys3.fsf@grrlz.net \
    --to=niasterisk@grrlz.net \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).