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

khabermann at users.sourceforge.net khabermann at users.sourceforge.net
Thu Oct 28 15:56:23 CEST 2010


Revision: 11443
          http://gar.svn.sourceforge.net/gar/?rev=11443&view=rev
Author:   khabermann
Date:     2010-10-28 13:56:23 +0000 (Thu, 28 Oct 2010)

Log Message:
-----------
django-sorting: changed from git-hub version to latest release 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-28 12:41:44 UTC (rev 11442)
+++ csw/mgar/pkg/lang-python/django-sorting/trunk/Makefile	2010-10-28 13:56:23 UTC (rev 11443)
@@ -19,17 +19,12 @@
   generation without modifying the views.
 endef
 
-MASTER_SITES = http://github.com/mirumee/$(GARNAME)/tarball/master/
+# 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)/
 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