[gnue] r9681 - trunk/gnue-common/utils

[email protected]
Newsgroups gmane.comp.cms.gnue.cvs
Message-ID <[email protected]>
Author: johannes
Date: 2007-06-06 06:57:45 -0500 (Wed, 06 Jun 2007)
New Revision: 9681

Removed:
   trunk/gnue-common/utils/update-py2app.sh
Modified:
   trunk/gnue-common/utils/release
Log:
Removed obsolete update-py2app from release-process


Modified: trunk/gnue-common/utils/release
===================================================================
--- trunk/gnue-common/utils/release	2007-06-06 11:56:45 UTC (rev 9680)
+++ trunk/gnue-common/utils/release	2007-06-06 11:57:45 UTC (rev 9681)
@@ -35,10 +35,6 @@
   (cd etc; LANG=C gcvs ../utils/generate-gnue-config.py)
 fi
 
-# Update the OS X Setup Files for OS X packaging
-echo "$(date --iso-8601=seconds) Updating OS X setup.py files"
-../gnue-common/utils/update-py2app.sh
-
 # Wait for firewall
 sleep 20
 

Deleted: trunk/gnue-common/utils/update-py2app.sh
===================================================================
--- trunk/gnue-common/utils/update-py2app.sh	2007-06-06 11:56:45 UTC (rev 9680)
+++ trunk/gnue-common/utils/update-py2app.sh	2007-06-06 11:57:45 UTC (rev 9681)
@@ -1,34 +0,0 @@
-#!/bin/bash
-# Update the py2app-setup.py file 
-#
-# run from within the package directory
-
-phase=$(echo "import src; print src.version.phase" | gcvs)
-version=$(echo "import src; print src.version.get_version()" | gcvs)
-major=$(echo "import src; print src.version.major" | gcvs)
-minor=$(echo "import src; print src.version.minor" | gcvs)
-build=$(echo "import src; print src.version.build" | gcvs)
-title=$(echo "import src; print src.TITLE" | gcvs)
-
-if [ "$phase" == "final" ]; then
-  short="$major.$minor.$build"
-else
-  # TODO: what should be used as third number if we are not going to package
-  # final release
-  short="$major.$minor.0"
-fi
-
-# If there is a setup.py for py2app update some version information
-file="packaging/osx/setup.py"
-if [ -f "$file" ]; then
-  sed -i "s/^app_name =.*$/app_name = '$title'/" $file
-  sed -i "s/^app_vers =.*$/app_vers = '$version'/" $file
-  sed -i "s/^short_vers =.*$/short_vers = '$short'/" $file
-fi
-
-# Update the info property list for the installer package
-plist="packaging/osx/Info.plist"
-cp "$plist.in" $plist
-
-sed -i "s/::GNUe-Version::/$version/" $plist
-sed -i "s/::GNUe-ShortVersion::/$short/" $plist
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.