[csw-devel] SF.net SVN: gar:[5634] csw/mgar/pkg

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Thu Jul 23 18:02:31 CEST 2009


Revision: 5634
          http://gar.svn.sourceforge.net/gar/?rev=5634&view=rev
Author:   wahwah
Date:     2009-07-23 16:02:31 +0000 (Thu, 23 Jul 2009)

Log Message:
-----------
django: Initial commit

Modified Paths:
--------------
    csw/mgar/pkg/django/trunk/Makefile
    csw/mgar/pkg/django/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/django/

Modified: csw/mgar/pkg/django/trunk/Makefile
===================================================================
--- csw/mgar/pkg/template/trunk/Makefile	2009-05-26 00:54:19 UTC (rev 5052)
+++ csw/mgar/pkg/django/trunk/Makefile	2009-07-23 16:02:31 UTC (rev 5634)
@@ -1,24 +1,41 @@
-GARNAME = mypkg
-GARVERSION = 1.0
+GARNAME = django
+GARVERSION = 1.0.2
 CATEGORIES = lib
 
-DESCRIPTION = This is a useful library
+DESCRIPTION = high-level Python Web framework
 define BLURB
-  It does stuff with things
+  Django is a high-level Python Web framework that encourages rapid development
+  and clean, pragmatic design.
+
+  Developed four years ago by a fast-moving online-news operation, Django was
+  designed to handle two challenges: the intensive deadlines of a newsroom and
+  the stringent requirements of the experienced Web developers who wrote it. It
+  lets you build high-performing, elegant Web applications quickly.
 endef
 
-MASTER_SITES = 
-DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
+MASTER_SITES = http://www.djangoproject.com/download/$(GARVERSION)/tarball/
+DISTFILES  = Django-$(GARVERSION)-final.tar.gz
 
 # We define upstream file regex so we can be notifed of new upstream software release
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
 
-CONFIGURE_ARGS = $(DIRPATHS)
+WORKSRC = $(WORKDIR)/Django-$(GARVERSION)-final
 
-# Remove the following rules and uncomment the
-# include before building.
-all: .DEFAULT
-.DEFAULT:
-	@true
+REQUIRED_PKGS = CSWpython
+PREREQUISITE_PKGS = $(REQUIRED_PKGS) CSWpython-devel
 
-#include gar/category.mk
+CONFIGURE_SCRIPTS =
+BUILD_SCRIPTS = $(WORKSRC)/setup.py
+
+INSTALL_SCRIPTS = $(WORKSRC)/setup.py
+INSTALL_ARGS += --root=$(DESTDIR) --prefix=$(prefix)
+
+TEST_SCRIPTS =
+
+# There's a problem that the download URL of the Django source tarball does not
+# contain the file name. The browser is being redirected instead. Hard-coding
+# the URL and using a custom target to fit the rest of mGAR.
+http//www.djangoproject.com/download/$(GARVERSION)/tarball/Django-$(GARVERSION)-final.tar.gz:
+	@wget $(WGET_OPTS) -T 30 -c -P $(PARTIALDIR) http://www.djangoproject.com/download/$(GARVERSION)/tarball
+
+include gar/category.mk

Modified: csw/mgar/pkg/django/trunk/checksums
===================================================================
--- csw/mgar/pkg/template/trunk/checksums	2009-05-26 00:54:19 UTC (rev 5052)
+++ csw/mgar/pkg/django/trunk/checksums	2009-07-23 16:02:31 UTC (rev 5634)
@@ -0,0 +1 @@
+89353e3749668778f1370d2e444f3adc  download/Django-1.0.2-final.tar.gz


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list