[pypy-svn] r73020 - pypy/build/ubuntu/trunk

getxsick at codespeak.net getxsick at codespeak.net
Sun Mar 28 16:13:16 CEST 2010


Author: getxsick
Date: Sun Mar 28 16:13:14 2010
New Revision: 73020

Added:
   pypy/build/ubuntu/trunk/autobuild.sh   (contents, props changed)
Log:
add autobuild script (not finished yet)

Added: pypy/build/ubuntu/trunk/autobuild.sh
==============================================================================
--- (empty file)
+++ pypy/build/ubuntu/trunk/autobuild.sh	Sun Mar 28 16:13:14 2010
@@ -0,0 +1,33 @@
+#!/bin/sh
+#
+# Build pypy trunk PPA package and upload it
+#
+
+LOGFILE="autobuild.log"
+(
+echo "Start a new build at `date -R`"
+
+# svn co - trunk/
+svn co http://codespeak.net/svn/pypy/trunk pypy-svn
+REVISION=`svnversion pypy-svn/`
+find pypy-svn/ -depth -type d -name ".svn" -delete
+mv pypy-svn pypy-svn$REVISION
+
+# create orig
+tar cfz pypy_svn$REVISION.orig.tar.gz pypy-svn$REVISION/
+
+# svn co - debian/
+svn co http://codespeak.net/svn/pypy/build/ubuntu/trunk/debian
+find debian/ -depth -type d -name ".svn" -delete
+mv debian/ pypy-svn$REVISION
+
+# update changelog
+dch --newversion svn$REVISION-1 Auto build from trunk
+
+# build a package
+debuild -S -sa
+
+# upload
+
+echo "Finish the new build at `date -R`"
+) >>$LOGFILE



More information about the Pypy-commit mailing list