From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: [PATCH 1/2] gnu: add python-django Date: Tue, 12 Apr 2016 22:32:29 +0200 Message-ID: <1460493150-7989-2-git-send-email-h.goebel@crazy-compilers.com> References: <1460493150-7989-1-git-send-email-h.goebel@crazy-compilers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aq4zH-0007S5-0Z for guix-devel@gnu.org; Tue, 12 Apr 2016 16:32:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aq4zD-0004cU-MV for guix-devel@gnu.org; Tue, 12 Apr 2016 16:32:38 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:49249) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aq4zD-0004cN-Cz for guix-devel@gnu.org; Tue, 12 Apr 2016 16:32:35 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3qkzBp4kjzz3hjQm for ; Tue, 12 Apr 2016 22:32:34 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3qkzBp4dNrzvhNg for ; Tue, 12 Apr 2016 22:32:34 +0200 (CEST) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id CKb3VWbksud0 for ; Tue, 12 Apr 2016 22:32:33 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-138-85.dynamic.mnet-online.de [188.174.138.85]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Tue, 12 Apr 2016 22:32:33 +0200 (CEST) Received: from thisbe.goebel-consult.de (unknown [192.168.110.30]) by hermia.goebel-consult.de (Postfix) with ESMTP id 617ED6014D for ; Tue, 12 Apr 2016 22:32:31 +0200 (CEST) In-Reply-To: <1460493150-7989-1-git-send-email-h.goebel@crazy-compilers.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/django.scm: New file. * gnu-system.am: Add it. --- gnu-system.am | 1 + gnu/packages/django.scm | 60 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 gnu/packages/django.scm diff --git a/gnu-system.am b/gnu-system.am index 8822d0b..09acb64 100644 --- a/gnu-system.am +++ b/gnu-system.am @@ -90,6 +90,7 @@ GNU_SYSTEM_MODULES = \ gnu/packages/dico.scm \ gnu/packages/dictionaries.scm \ gnu/packages/disk.scm \ + gnu/packages/django.scm \ gnu/packages/djvu.scm \ gnu/packages/dns.scm \ gnu/packages/docbook.scm \ diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm new file mode 100644 index 0000000..c22830e --- /dev/null +++ b/gnu/packages/django.scm @@ -0,0 +1,60 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2016 Hartmut Goebel +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages django) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system python) + #:use-module (gnu packages python) +) + + +(define-public python-django +(package + (name "python-django") + (version "1.9.5") + (source + (origin + (method url-fetch) + (uri (pypi-uri "Django" version)) + (sha256 + (base32 + "19kaw9flk9jjz1n7q378waybxnkrrhkq240lby4zaaas62nnfip5")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools))) + (home-page "http://www.djangoproject.com/") + (synopsis + "High-level Python Web framework") + (description +"Django is a high-level Python Web framework that encourages rapid +development and clean, pragmatic design. + +Developed and used over the past two years by a fast-moving +online-news operation, Django was designed from scratch to handle two +challenges: the intensive deadlines of a newsroom and the stringent +requirements of experienced Web developers. It has convenient niceties +for developing content-management systems, but it's an excellent tool +for building any Web site. + +Django focuses on automating as much as possible and adhering to the +DRY principle.") + (license license:bsd-3))) + + -- 2.7.4