[csw-devel] SF.net SVN: gar:[6877] csw/mgar/pkg/cswutils/trunk

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sat Oct 17 16:35:43 CEST 2009


Revision: 6877
          http://gar.svn.sourceforge.net/gar/?rev=6877&view=rev
Author:   wahwah
Date:     2009-10-17 14:35:43 +0000 (Sat, 17 Oct 2009)

Log Message:
-----------
cswutils: added submitpkg -- a script to submit a package to the release manager

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

Modified: csw/mgar/pkg/cswutils/trunk/Makefile
===================================================================
--- csw/mgar/pkg/cswutils/trunk/Makefile	2009-10-16 18:33:27 UTC (rev 6876)
+++ csw/mgar/pkg/cswutils/trunk/Makefile	2009-10-17 14:35:43 UTC (rev 6877)
@@ -1,7 +1,7 @@
 # $Id$
 
 GARNAME = cswutils
-GARVERSION = 1.14.4
+GARVERSION = 1.14.5
 CATEGORIES = utils
 
 DESCRIPTION = Utilities for CSW maintainers
@@ -9,7 +9,7 @@
 endef
 
 SVNROOT = http://opencsw.svn.sourceforge.net/svnroot/opencsw/utilities/
-SVN_REV = 77
+SVN_REV = 90
 
 MASTER_SITES =
 DISTFILES = COPYING
@@ -20,6 +20,7 @@
 DISTFILES += stagepkg stagepkg.8
 DISTFILES += compare_pkgs.py-r$(SVN_REV)
 DISTFILES += opencsw_lib.py-r$(SVN_REV)
+DISTFILES += submit_to_newpkgs.py-r$(SVN_REV)
 
 REQUIRED_PKGS = CSWtextutils CSWfakeroot CSWperl
 REQUIRED_PKGS += CSWpmyaml CSWpmlibwww CSWpmhtmltree
@@ -42,14 +43,11 @@
 
 include gar/category.mk
 
-download/compare_pkgs.py-r$(SVN_REV):
-	svn export -r $(SVN_REV) $(SVNROOT)compare_pkgs.py
-	mv compare_pkgs.py download/compare_pkgs.py-r$(SVN_REV)
-	@$(MAKECOOKIE)
+SVN_FILES = submit_to_newpkgs compare_pkgs opencsw_lib
 
-download/opencsw_lib.py-r$(SVN_REV):
-	svn export -r $(SVN_REV) $(SVNROOT)opencsw_lib.py
-	mv opencsw_lib.py download/opencsw_lib.py-r$(SVN_REV)
+$(foreach F,$(SVN_FILES),$(DOWNLOADDIR)/$(F).py-r$(SVN_REV)):
+	svn export -r $(SVN_REV) $(SVNROOT)$(subst -r$(SVN_REV),,$(notdir $@))
+	mv $(subst -r$(SVN_REV),,$(notdir $@)) $@
 	@$(MAKECOOKIE)
 
 install-custom:
@@ -64,9 +62,12 @@
 	@ginstall $(WORKSRC)/createpkg.8 $(DESTDIR)$(mandir)/man8/
 	@ginstall $(WORKSRC)/stagepkg.8 $(DESTDIR)$(mandir)/man8/
 	@ginstall -d $(DESTDIR)$(libdir)/python/csw
-	@ginstall -m 755 $(WORKSRC)/compare_pkgs.py-r$(SVN_REV) \
-		$(DESTDIR)$(libdir)/python/csw/compare_pkgs.py
 	@ginstall -m 644 $(WORKSRC)/opencsw_lib.py-r$(SVN_REV) \
 		$(DESTDIR)$(libdir)/python/csw/opencsw_lib.py
+	@for f in compare_pkgs.py submit_to_newpkgs.py; do \
+		ginstall -m 755 $(WORKSRC)/$${f}-r$(SVN_REV) \
+		$(DESTDIR)$(libdir)/python/csw/$${f}; \
+	done
 	@ln -s ../lib/python/csw/compare_pkgs.py $(DESTDIR)$(bindir)/comparepkg
+	@ln -s ../lib/python/csw/submit_to_newpkgs.py $(DESTDIR)$(bindir)/submitpkg
 	@$(MAKECOOKIE)

Modified: csw/mgar/pkg/cswutils/trunk/checksums
===================================================================
--- csw/mgar/pkg/cswutils/trunk/checksums	2009-10-16 18:33:27 UTC (rev 6876)
+++ csw/mgar/pkg/cswutils/trunk/checksums	2009-10-17 14:35:43 UTC (rev 6877)
@@ -1,10 +1,11 @@
-091b12575ebc0e45cf8c3d8b43d8b638  download/COPYING
-30b6598a4453e3ce0c1fabeede5eb5f8  download/checkpkg
-6ec3b6597e04714430987ccc199db3c4  download/checkpkg.8
-a60cefbb6829c8dbbfae634a9ab01eba  download/compare_pkgs.py-r77
-9a637f6546cc50974159a987302d91c0  download/cpan2pkg
-93b6a811d303ce3be0050c5a7b3c8e69  download/createpkg
-a605598f30195f9ab1b29fc3944d3b31  download/createpkg.8
-d2106349c17ae9e9e000e6636960c134  download/opencsw_lib.py-r77
-cd4496ee27bf86d5c8bc656c9c5974be  download/stagepkg
-8908a0a898aa07a7a928b2b8bd8384f0  download/stagepkg.8
+091b12575ebc0e45cf8c3d8b43d8b638  COPYING
+30b6598a4453e3ce0c1fabeede5eb5f8  checkpkg
+6ec3b6597e04714430987ccc199db3c4  checkpkg.8
+24881eb553044a5b437b7293f4138ba4  compare_pkgs.py-r90
+9a637f6546cc50974159a987302d91c0  cpan2pkg
+93b6a811d303ce3be0050c5a7b3c8e69  createpkg
+a605598f30195f9ab1b29fc3944d3b31  createpkg.8
+a60abc5eb12251c187086856be2c3470  opencsw_lib.py-r90
+cd4496ee27bf86d5c8bc656c9c5974be  stagepkg
+8908a0a898aa07a7a928b2b8bd8384f0  stagepkg.8
+989839890af2cbdc13e6bb37f3b95ba6  submit_to_newpkgs.py-r90


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