[Python-modules-commits] r18854 - in packages/python-keyczar/trunk/debian (2 files)
chrisk-guest at users.alioth.debian.org
chrisk-guest at users.alioth.debian.org
Sun Oct 9 20:46:52 UTC 2011
Date: Sunday, October 9, 2011 @ 20:46:51
Author: chrisk-guest
Revision: 18854
New upstream release. Drop the SVN-based get-orig-source target and
corresponding helper script; upstream activity has picked up and we're basing
on releases again.
Modified:
packages/python-keyczar/trunk/debian/rules
Deleted:
packages/python-keyczar/trunk/debian/svn-orig-source.sh
Modified: packages/python-keyczar/trunk/debian/rules
===================================================================
--- packages/python-keyczar/trunk/debian/rules 2011-10-09 18:09:49 UTC (rev 18853)
+++ packages/python-keyczar/trunk/debian/rules 2011-10-09 20:46:51 UTC (rev 18854)
@@ -6,16 +6,6 @@
PYVERS = $(shell pyversions -r -v)
-# For svn-orig-source.sh
-PKGDIR = $(dir $(firstword $(MAKEFILE_LIST)))
-UPNAME = $(shell dpkg-parsechangelog -l$(PKGDIR)/changelog | \
- sed -nre 's,^Source:\s+(.*),\1,p')
-UPVER = $(shell dpkg-parsechangelog -l$(PKGDIR)/changelog | \
- sed -nre 's,^Version:\s+(.*)\+svn([0-9]+)-.*,\1,p')
-SVNREV = $(shell dpkg-parsechangelog -l$(PKGDIR)/changelog | \
- sed -nre 's,^Version:\s+(.*)\+svn([0-9]+)-.*,\2,p')
-SVNURL = http://keyczar.googlecode.com/svn/trunk/python/
-export UPNAME UPVER SVNURL SVNREV
%:
dh $@
@@ -32,7 +22,3 @@
fi; \
done
endif
-
-.PHONY: get-orig-source
-get-orig-source:
- sh $(PKGDIR)/svn-orig-source.sh
Deleted: packages/python-keyczar/trunk/debian/svn-orig-source.sh
===================================================================
--- packages/python-keyczar/trunk/debian/svn-orig-source.sh 2011-10-09 18:09:49 UTC (rev 18853)
+++ packages/python-keyczar/trunk/debian/svn-orig-source.sh 2011-10-09 20:46:51 UTC (rev 18854)
@@ -1,50 +0,0 @@
-#!/bin/sh
-set -e
-
-# Usage: set the following ENVVARs
-# UPNAME upstream source name
-# UPVER upstream version
-# SVNURL URL to svn repo
-# SVNREV svn revision
-
-workdir=`pwd`
-
-if ! which svn >/dev/null
-then
- echo "Error: subversion must be installed for this to work" >&2
- exit 1
-fi
-
-for reqvar in UPNAME UPVER SVNURL SVNREV
-do
- if [ -z "`eval echo '$'$reqvar`" ]
- then
- echo "Error: \$$reqvar is not set" >&2
- exit 1
- fi
-done
-
-tmpdir=`mktemp -d`
-cd $tmpdir
-
-if ! svn export -q -r $SVNREV $SVNURL $UPNAME-$UPVER.orig
-then
- rm -rf $tmpdir
- exit 1
-fi
-
-# Clean up a bit
-cd $UPNAME-$UPVER.orig
-rm -rf .checkstyle .project .pydevproject .settings python_keyczar.egg-info
-cd ..
-
-if ! GZIP="-9" tar --owner=root --group=root --mode=a+rX \
- -czf orig.tar.gz $UPNAME-$UPVER.orig
-then
- rm -rf $tmpdir
- exit 1
-else
- mv orig.tar.gz $workdir/${UPNAME}_${UPVER}+svn${SVNREV}.orig.tar.gz
-fi
-
-rm -rf $tmpdir
More information about the Python-modules-commits
mailing list