[csw-devel] SF.net SVN: gar:[13581] csw/mgar/gar/v2

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sat Mar 5 09:08:40 CET 2011


Revision: 13581
          http://gar.svn.sourceforge.net/gar/?rev=13581&view=rev
Author:   wahwah
Date:     2011-03-05 08:08:39 +0000 (Sat, 05 Mar 2011)

Log Message:
-----------
python/category.mk: Default CSWpy-$(DASHED_NAME)

Modified Paths:
--------------
    csw/mgar/gar/v2/categories/python/category.mk
    csw/mgar/gar/v2/gar.pkg.mk

Modified: csw/mgar/gar/v2/categories/python/category.mk
===================================================================
--- csw/mgar/gar/v2/categories/python/category.mk	2011-03-05 08:08:06 UTC (rev 13580)
+++ csw/mgar/gar/v2/categories/python/category.mk	2011-03-05 08:08:39 UTC (rev 13581)
@@ -23,5 +23,6 @@
 LICENSE ?= PKG-INFO
 SPKG_SOURCEURL ?= http://pypi.python.org/pypi/$(NAME)
 MASTER_SITES ?= $(PYPI_MIRROR)
+PACKAGES ?= CSWpy-$(DASHED_NAME)
 
 include gar/gar.mk

Modified: csw/mgar/gar/v2/gar.pkg.mk
===================================================================
--- csw/mgar/gar/v2/gar.pkg.mk	2011-03-05 08:08:06 UTC (rev 13580)
+++ csw/mgar/gar/v2/gar.pkg.mk	2011-03-05 08:08:39 UTC (rev 13581)
@@ -44,6 +44,9 @@
 SPKG_SPECS     ?= $(sort $(basename $(filter %.gspec,$(DISTFILES))) $(PACKAGES) $(OBSOLETED_PKGS) $(if $(NOSOURCEPACKAGE),,$(SRCPACKAGE)))
 endif
 
+# For creating default pkgnames, e.g. CSWpy-$(DASHED_NAME)
+DASHED_NAME    ?= $(subst _,-,$(patsubst CSW%,%,$(NAME)))
+
 # Automatic definitions for source package
 CATALOGNAME_$(SRCPACKAGE)   ?= $(patsubst CSW%,%,$(SRCPACKAGE_BASE))_src
 SPKG_DESC_$(SRCPACKAGE)     ?= $(SPKG_DESC_$(SRCPACKAGE_BASE)) Source Package


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