Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] python-django: new package
@ 2015-01-03  0:28 oli vogt
  2015-01-04 21:08 ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: oli vogt @ 2015-01-03  0:28 UTC (permalink / raw)
  To: buildroot

Signed-off-by: oli vogt <oli.vogt.pub01@gmail.com>
---
 package/Config.in                        |  1 +
 package/python-django/Config.in          | 15 +++++++++++++++
 package/python-django/python-django.hash |  2 ++
 package/python-django/python-django.mk   | 14 ++++++++++++++
 4 files changed, 32 insertions(+)
 create mode 100644 package/python-django/Config.in
 create mode 100644 package/python-django/python-django.hash
 create mode 100644 package/python-django/python-django.mk

diff --git a/package/Config.in b/package/Config.in
index 424ef12..8d91b04 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -496,6 +496,7 @@ menu "external python modules"
 	source "package/python-crc16/Config.in"
 	source "package/python-daemon/Config.in"
 	source "package/python-dialog/Config.in"
+	source "package/python-django/Config.in"
 	source "package/python-docopt/Config.in"
 	source "package/python-dpkt/Config.in"
 	source "package/python-enum/Config.in"
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
+	select BR2_PACKAGE_PYTHON_UNICODEDATA
+	select BR2_PACKAGE_PYTHON_PYEXPAT
+	help
+	  Django is a high-level Python Web framework that encourages
+	  rapid development and clean, pragmatic design. It takes your
+	  Web applications from concept to launch in a matter of hours.
+	  Django takes care of user authentication, content administration,
+	  site maps, RSS feeds, user comments and many more tasks.
+	  Django takes security seriously and helps developers avoid
+	  many common security mistakes
+
+	  https://www.djangoproject.com/
diff --git a/package/python-django/python-django.hash b/package/python-django/python-django.hash
new file mode 100644
index 0000000..313abb4
--- /dev/null
+++ b/package/python-django/python-django.hash
@@ -0,0 +1,2 @@
+# sha256 from https://www.djangoproject.com/m/pgp/Django-1.7.1.checksum.txt
+sha256	3de62e71ce2cfbcdecb6e344cad04948506c8410ea5c6eab15c8f3b31b8ac1c0 Django-1.7.1.tar.gz
diff --git a/package/python-django/python-django.mk b/package/python-django/python-django.mk
new file mode 100644
index 0000000..f874ca3
--- /dev/null
+++ b/package/python-django/python-django.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-django
+#
+################################################################################
+
+PYTHON_DJANGO_VERSION = 1.7.1
+PYTHON_DJANGO_SOURCE = Django-$(PYTHON_DJANGO_VERSION).tar.gz
+PYTHON_DJANGO_SITE = https://www.djangoproject.com/download/$(PYTHON_DJANGO_VERSION)/tarball/
+PYTHON_DJANGO_LICENSE = BSD
+PYTHON_DJANGO_LICENSE_FILES = LICENSE
+PYTHON_DJANGO_SETUP_TYPE = setuptools
+
+$(eval $(python-package))
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-01-05  9:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-03  0:28 [Buildroot] [PATCH 1/1] python-django: new package oli vogt
2015-01-04 21:08 ` Thomas Petazzoni
2015-01-04 22:37   ` Oli Vogt
2015-01-05  9:32     ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox