[csw-devel] SF.net SVN: gar:[11434] csw/mgar/pkg/lang-python/django-sorting/trunk/ Makefile

khabermann at users.sourceforge.net khabermann at users.sourceforge.net
Wed Oct 27 17:41:47 CEST 2010


Revision: 11434
          http://gar.svn.sourceforge.net/gar/?rev=11434&view=rev
Author:   khabermann
Date:     2010-10-27 15:41:46 +0000 (Wed, 27 Oct 2010)

Log Message:
-----------
django-sorting: use newer version

Modified Paths:
--------------
    csw/mgar/pkg/lang-python/django-sorting/trunk/Makefile

Modified: csw/mgar/pkg/lang-python/django-sorting/trunk/Makefile
===================================================================
--- csw/mgar/pkg/lang-python/django-sorting/trunk/Makefile	2010-10-27 13:35:46 UTC (rev 11433)
+++ csw/mgar/pkg/lang-python/django-sorting/trunk/Makefile	2010-10-27 15:41:46 UTC (rev 11434)
@@ -19,12 +19,17 @@
   generation without modifying the views.
 endef
 
-# 1st char of GARNAME is the directory name
-MASTER_SITE_DIR = $(shell echo $(GARNAME) | cut -c 1)
-MASTER_SITES = http://pypi.python.org/packages/source/$(MASTER_SITE_DIR)/$(GARNAME)/
+MASTER_SITES = http://github.com/mirumee/$(GARNAME)/tarball/master/
 DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
 
+# There's a problem that the download URL of the 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//github.com/mirumee/$(GARNAME)/tarball/master/$(GARNAME)-$(GARVERSION).tar.gz:
+	@wget $(WGET_OPTS) -T 30 -c -P $(PARTIALDIR) -O $(DISTFILES) http://github.com/mirumee/$(GARNAME)/tarball/master/
+
+
 CONFIGURE_ARGS = $(DIRPATHS)
 TEST_SCRIPTS =
 


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