Changeset 8047:e5cd4a3c515a in orange


Ignore:
Timestamp:
07/01/11 00:27:50 (3 years ago)
Author:
mitar
Branch:
default
Convert:
c6a7f9811506c31221a4fa87e81d509b88724e2a
Message:

Renaming Debian package.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • install-scripts/debian/debian-daily-build.sh

    r8037 r8047  
    3030fi 
    3131 
    32 if [ -e "/mnt/debian/dists/$DISTRIBUTION/main/binary-$ARCH/python-orange-svn_0.0.$DAILY_REVISION-1_$ARCH.deb" ]; then 
     32if [ -e "/mnt/debian/dists/$DISTRIBUTION/main/binary-$ARCH/python-orange_0.0.$DAILY_REVISION~svn-*_$ARCH.deb" ]; then 
    3333    echo "Package for $DAILY_REVISION revision already exists." 
    3434    exit 0 
     
    3737aptitude $APTITUDE_ARGS update 
    3838aptitude $APTITUDE_ARGS install devscripts build-essential 
    39 aptitude $APTITUDE_ARGS build-depends python-orange-svn 
     39aptitude $APTITUDE_ARGS build-depends python-orange 
    4040 
    4141rm -rf "$BUILD_DIR" 
     
    4343cd "$BUILD_DIR" 
    4444 
    45 apt-get $APT_ARGS source python-orange-svn 
     45apt-get $APT_ARGS source python-orange 
    4646 
    47 if [ -e "python-orange-svn-0.0.$DAILY_REVISION" ]; then 
     47if [ -e "python-orange-0.0.$DAILY_REVISION~svn" ]; then 
    4848    echo "Package for $DAILY_REVISION revision already exists, just building it." 
    4949else 
    50     echo "Making source archive python-orange-svn-0.0.$DAILY_REVISION." 
    51     svn export --non-interactive --revision $DAILY_REVISION http://orange.biolab.si/svn/orange/trunk/orange/ python-orange-svn-0.0.$DAILY_REVISION/ 
    52     svn export --non-interactive --revision $DAILY_REVISION http://orange.biolab.si/svn/orange/trunk/source/ python-orange-svn-0.0.$DAILY_REVISION/source/ 
    53     svn export --non-interactive --revision $DAILY_REVISION http://orange.biolab.si/svn/orange/trunk/add-ons/orngCRS/src/ python-orange-svn-0.0.$DAILY_REVISION/source/crs/ 
    54     svn export --non-interactive --revision $DAILY_REVISION http://orange.biolab.si/svn/orange/trunk/COPYING python-orange-svn-0.0.$DAILY_REVISION/COPYING 
    55     svn export --non-interactive --revision $DAILY_REVISION http://orange.biolab.si/svn/orange/trunk/LICENSES python-orange-svn-0.0.$DAILY_REVISION/LICENSES 
     50    echo "Making source archive python-orange-0.0.$DAILY_REVISION~svn." 
     51    svn export --non-interactive --revision $DAILY_REVISION http://orange.biolab.si/svn/orange/trunk/orange/ python-orange-0.0.$DAILY_REVISION~svn/ 
     52    svn export --non-interactive --revision $DAILY_REVISION http://orange.biolab.si/svn/orange/trunk/source/ python-orange-0.0.$DAILY_REVISION~svn/source/ 
     53    svn export --non-interactive --revision $DAILY_REVISION http://orange.biolab.si/svn/orange/trunk/add-ons/orngCRS/src/ python-orange-0.0.$DAILY_REVISION~svn/source/crs/ 
     54    svn export --non-interactive --revision $DAILY_REVISION http://orange.biolab.si/svn/orange/trunk/COPYING python-orange-0.0.$DAILY_REVISION~svn/COPYING 
     55    svn export --non-interactive --revision $DAILY_REVISION http://orange.biolab.si/svn/orange/trunk/LICENSES python-orange-0.0.$DAILY_REVISION~svn/LICENSES 
    5656     
    57     [ -e python-orange-svn-0.0.$DAILY_REVISION/doc/COPYING ] && mv python-orange-svn-0.0.$DAILY_REVISION/doc/COPYING python-orange-svn-0.0.$DAILY_REVISION/ 
    58     [ -e python-orange-svn-0.0.$DAILY_REVISION/doc/LICENSES ] && mv python-orange-svn-0.0.$DAILY_REVISION/doc/LICENSES python-orange-svn-0.0.$DAILY_REVISION/ 
     57    [ -e python-orange-0.0.$DAILY_REVISION~svn/doc/COPYING ] && mv python-orange-0.0.$DAILY_REVISION~svn/doc/COPYING python-orange-0.0.$DAILY_REVISION~svn/ 
     58    [ -e python-orange-0.0.$DAILY_REVISION~svn/doc/LICENSES ] && mv python-orange-0.0.$DAILY_REVISION~svn/doc/LICENSES python-orange-0.0.$DAILY_REVISION~svn/ 
    5959     
    60     tar -czf python-orange-svn-0.0.$DAILY_REVISION.tar.gz python-orange-svn-0.0.$DAILY_REVISION 
    61     rm -rf python-orange-svn-0.0.$DAILY_REVISION/ 
     60    tar -czf python-orange-0.0.$DAILY_REVISION~svn.tar.gz python-orange-0.0.$DAILY_REVISION~svn 
     61    rm -rf python-orange-0.0.$DAILY_REVISION~svn/ 
    6262     
    6363    echo "Updating packages." 
    64     cd python-orange-svn-0.0.*/ 
     64    cd python-orange-0.0.*/ 
    6565    export DEBFULLNAME="Mitar" 
    6666    export DEBEMAIL="mitar@tnode.com" 
    67     uupdate --no-symlink python-orange-svn-0.0.$DAILY_REVISION.tar.gz 
     67    uupdate --no-symlink python-orange-0.0.$DAILY_REVISION~svn.tar.gz 
    6868    cd .. 
    69     rm -rf python-orange-svn-0.0.$DAILY_REVISION.orig/ python-orange-svn-0.0.$DAILY_REVISION.tar.gz 
     69    rm -rf python-orange-0.0.$DAILY_REVISION~svn.orig/ python-orange-0.0.$DAILY_REVISION~svn.tar.gz 
    7070     
    7171    echo "Building new packages." 
    7272fi 
    7373 
    74 cd python-orange-svn-0.0.$DAILY_REVISION/ 
     74cd python-orange-0.0.$DAILY_REVISION~svn/ 
    7575dpkg-buildpackage -D -E -sa -us -uc 
    7676 
     
    8181echo "Copying to repository new packages." 
    8282cd .. 
    83 rm -rf python-orange-svn-0.0.$DAILY_REVISION/ 
     83rm -rf python-orange-0.0.$DAILY_REVISION~svn/ 
    8484mv *$DAILY_REVISION*.deb /mnt/debian/dists/$DISTRIBUTION/main/binary-$ARCH/ 
    8585mv *$DAILY_REVISION* /mnt/debian/dists/$DISTRIBUTION/main/source/ 
Note: See TracChangeset for help on using the changeset viewer.