All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 2/2] package/python-web2py: new package
Date: Mon, 13 Apr 2015 23:10:59 +0200	[thread overview]
Message-ID: <20150413231059.79c1d264@free-electrons.com> (raw)
In-Reply-To: <CA+TH9V=m3fCRPzt+vPKV3m=o5KL8W7DaxokRp1WFKNH07zzf0w@mail.gmail.com>

Dear Angelo Compagnucci,

On Mon, 13 Apr 2015 16:43:08 +0200, Angelo Compagnucci wrote:

> dependencies. Probably only python would suffice, cause python-sqlite
> is always compiled with python cause it's selected.

There is no such thing as python-sqlite. There is only python, which
may or may not have the sqlite functionality. In such cases, what you
have to do is:

 1/ At the Config.in level, make sure you select the relevant options,
    i.e BR2_PACKAGE_PYTHON_SQLITE (or BR2_PACKAGE_PYTHON3_SQLITE if you
    want to support Python 3)

 2/ At the .mk level, depend on the appropriate package, in this case
    'python' (or 'python3')

> > This package has a setup.py. Any reason why you're not using it,
> > together with the python-package infrastructure?
> 
> I can try! Honestly, I've not explored the option cause web2py is self
> contained and it doesn't require installation. It uses a writable
> directory for served applications, so suing a custom directory un
> /usr/share with writing permission setted to www-data seemed the most
> sensible choice.

Installing with python-package seems to work, but it does not install
the web2py.py program itself, so it should be done separately. Also, it
is a bit weird that the whole thing has to be part of a www-data
writable directory, no?

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  reply	other threads:[~2015-04-13 21:10 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-13 13:57 [Buildroot] [PATCH v2 0/2] Web2py and pydal new packages Angelo Compagnucci
2015-04-13 13:57 ` [Buildroot] [PATCH v2 1/2] package/python-pydal: new package Angelo Compagnucci
2015-04-13 14:17   ` Thomas Petazzoni
2015-04-13 14:34     ` Angelo Compagnucci
2015-04-13 21:04       ` Thomas Petazzoni
2015-04-13 13:57 ` [Buildroot] [PATCH v2 2/2] package/python-web2py: " Angelo Compagnucci
2015-04-13 14:21   ` Thomas Petazzoni
2015-04-13 14:43     ` Angelo Compagnucci
2015-04-13 21:10       ` Thomas Petazzoni [this message]
2015-04-14  8:46         ` Angelo Compagnucci
2015-04-14  8:56           ` Thomas Petazzoni
2015-04-14 10:31             ` Angelo Compagnucci

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

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

  git send-email \
    --in-reply-to=20150413231059.79c1d264@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.