Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] python-django: new package
Date: Sun, 4 Jan 2015 22:08:10 +0100	[thread overview]
Message-ID: <20150104220810.131bd08d@free-electrons.com> (raw)
In-Reply-To: <1420244904-23270-1-git-send-email-oli.vogt.pub01@gmail.com>

Dear oli vogt,

On Sat,  3 Jan 2015 13:28:24 +1300, oli vogt wrote:

> diff --git a/package/python-django/Config.in b/package/python-django/Config.in
> new file mode 100644
> index 0000000..c48a381
> --- /dev/null
> +++ b/package/python-django/Config.in
> @@ -0,0 +1,15 @@
> +config BR2_PACKAGE_PYTHON_DJANGO
> +	bool "python-django"
> +	depends on BR2_PACKAGE_PYTHON

What about Python 3 ? Django supports both Python 2 and Python 3. I've
changed this to allow Django to be built with Python 3.

> +PYTHON_DJANGO_VERSION = 1.7.1

1.7.2 is out, so I've bumped to this version.

> +PYTHON_DJANGO_SOURCE = Django-$(PYTHON_DJANGO_VERSION).tar.gz
> +PYTHON_DJANGO_SITE = https://www.djangoproject.com/download/$(PYTHON_DJANGO_VERSION)/tarball/

This didn't work, because the URL to download Django is just
https://www.djangoproject.com/download/$(PYTHON_DJANGO_VERSION)/tarball/,
while Buildroot expects $(PYTHON_DJANGO_SITE)/$(PYTHON_DJANGO_SOURCE).
So I've switched to pypi as the source for Django.

Patch applied with those changes, see
http://git.buildroot.net/buildroot/commit/?id=71d6705ef6a3516325891bc117b3253b49ca0f5f.

Thanks!

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

  reply	other threads:[~2015-01-04 21:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-03  0:28 [Buildroot] [PATCH 1/1] python-django: new package oli vogt
2015-01-04 21:08 ` Thomas Petazzoni [this message]
2015-01-04 22:37   ` Oli Vogt
2015-01-05  9:32     ` Thomas Petazzoni

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=20150104220810.131bd08d@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox