Changeset 1671 for trunk/packages
- Timestamp:
- Nov 15, 2008, 11:21:20 PM (16 years ago)
- Location:
- trunk/packages/invirt-dev
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-dev/debian/changelog
r1592 r1671 1 invirt-dev (0.0.8) unstable; urgency=low 2 3 * Support building multiple packages in sequence 4 5 -- Evan Broder <broder@mit.edu> Sat, 15 Nov 2008 23:19:38 -0500 6 1 7 invirt-dev (0.0.7) unstable; urgency=low 2 8 -
trunk/packages/invirt-dev/invirt-build-release
r1486 r1671 3 3 4 4 set -e 5 if [ $# - ne 1] ; then6 echo " usage: invirt-build-release package_name "5 if [ $# -eq 0 ] ; then 6 echo " usage: invirt-build-release package_name [package_name [...]]" 7 7 exit 1 8 8 fi 9 9 10 package=$1 11 rm -rf build-release/$package 12 svn export $svnuri/trunk/packages/$package build-release/$package 13 cd build-release/$package 14 15 eval `perl '-F:\s+' -lane 'print $F[0]."=".$F[1] if /^Version|^Source|^Distribution/' \ 16 <(dpkg-parsechangelog)` 17 18 dpkg-buildpackage -us -uc -rfakeroot -S 19 cd .. 20 sbuild -A -d hardy-amd64 "${Source}_${Version}.dsc" 21 22 if ! svn ls $svnuri/package_tags/$Source >/dev/null 2>&1; then 23 svn mkdir $svnuri/package_tags/$Source \ 24 -m "Create package tags directory" 25 fi 26 if ! svn ls $svnuri/package_tags/$Source/$Version >/dev/null 2>&1; then 27 svn cp $svnuri/trunk/packages/$package $svnuri/package_tags/$Source/$Version \ 28 -m "Tag $Version of $Source" 29 else 30 echo "$(basename $0): tag already exists, not making again" 31 fi 32 33 [ $Distribution = 'unstable' ] \ 34 || echo "$(basename $0): warning: Distribution is ${Distribution}, script expects unstable" 35 changesfile=`pwd`/${Source}_*${Version}*.changes 36 for i in $changesfile; do 37 reprepro-env include unstable $i 38 reprepro-env copy stable unstable \ 39 $(perl '-F:\s+' -lane 'print $F[1]." " if /^Binary/' <$i) 10 for package; do 11 rm -rf build-release/$package 12 svn export $svnuri/trunk/packages/$package build-release/$package 13 cd build-release/$package 14 15 eval `perl '-F:\s+' -lane 'print $F[0]."=".$F[1] if /^Version|^Source|^Distribution/' \ 16 <(dpkg-parsechangelog)` 17 18 dpkg-buildpackage -us -uc -rfakeroot -S 19 cd .. 20 sbuild -A -d hardy-amd64 "${Source}_${Version}.dsc" 21 22 if ! svn ls $svnuri/package_tags/$Source >/dev/null 2>&1; then 23 svn mkdir $svnuri/package_tags/$Source \ 24 -m "Create package tags directory" 25 fi 26 if ! svn ls $svnuri/package_tags/$Source/$Version >/dev/null 2>&1; then 27 svn cp $svnuri/trunk/packages/$package $svnuri/package_tags/$Source/$Version \ 28 -m "Tag $Version of $Source" 29 else 30 echo "$(basename $0): tag already exists, not making again" 31 fi 32 33 [ $Distribution = 'unstable' ] \ 34 || echo "$(basename $0): warning: Distribution is ${Distribution}, script expects unstable" 35 changesfile=`pwd`/${Source}_*${Version}*.changes 36 for i in $changesfile; do 37 reprepro-env include unstable $i 38 reprepro-env copy stable unstable \ 39 $(perl '-F:\s+' -lane 'print $F[1]." " if /^Binary/' <$i) 40 done 41 reprepro-env copy stable unstable ${Source} 42 43 cd .. 44 rm -rf build-release 40 45 done 41 reprepro-env copy stable unstable ${Source}42 43 cd ..44 rm -rf build-release
Note: See TracChangeset
for help on using the changeset viewer.