python-django: new package

[Thomas:
 - Bump to Django 1.7.2, the latest available version;
 - Support Python 3 in addition to Python 2.
 - Use a download location from pypi.python.org since the download
   location from djangoproject.com didn't work as is and is
   impractical to use with Buildroot: the full URL of the tarball is
   https://www.djangoproject.com/download/1.7.2/tarball/. I.e, it does
   not end with the tarball file name.]

Signed-off-by: oli vogt <oli.vogt.pub01@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Oli Vogt
2015-01-03 13:28:24 +13:00
committed by Thomas Petazzoni
parent cac64f2b0c
commit 71d6705ef6
4 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
################################################################################
#
# python-django
#
################################################################################
PYTHON_DJANGO_VERSION = 1.7.2
PYTHON_DJANGO_SOURCE = Django-$(PYTHON_DJANGO_VERSION).tar.gz
# The official Django site has an unpractical URL
PYTHON_DJANGO_SITE = https://pypi.python.org/packages/source/D/Django/
PYTHON_DJANGO_LICENSE = BSD
PYTHON_DJANGO_LICENSE_FILES = LICENSE
PYTHON_DJANGO_SETUP_TYPE = setuptools
$(eval $(python-package))