[oscache] 05/06: Update debian/watch to point to bitbucket upstream repo
Tony Mancill
tmancill at moszumanska.debian.org
Sun Aug 6 21:22:26 UTC 2017
This is an automated email from the git hooks/post-receive script.
tmancill pushed a commit to branch master
in repository oscache.
commit 354db11edc245fde3bb1e9f7d4d63c2bb43f8be7
Author: tony mancill <tmancill at debian.org>
Date: Sun Aug 6 14:05:47 2017 -0700
Update debian/watch to point to bitbucket upstream repo
---
debian/orig-tar.sh | 19 -------------------
debian/watch | 12 +++++++-----
2 files changed, 7 insertions(+), 24 deletions(-)
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
deleted file mode 100755
index 100affb..0000000
--- a/debian/orig-tar.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh -e
-
-# called by uscan with '--upstream-version' <version> <file>
-TAR=../oscache_$2+ds1.orig.tar.gz
-DIR=oscache-$2.orig
-SVN=http://svn.opensymphony.com/svn/oscache/tags
-TAG=$(echo "v$2" | sed "s,\.,_,g")
-
-svn export $SVN/$TAG $DIR
-rm -rf $DIR/trunk
-tar -c -z -f $TAR --exclude '*.jar' --exclude '*/docs/api/*' $DIR
-rm -rf ../$TAG $DIR
-
-# move to directory 'tarballs'
-if [ -r .svn/deb-layout ]; then
- . .svn/deb-layout
- mv $TAR $origDir
- echo "moved $TAR to $origDir"
-fi
diff --git a/debian/watch b/debian/watch
index a235bbf..1d49451 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,7 @@
-version=3
-opts="uversionmangle=s/_/./g,dversionmangle=s/\+.*//" \
- http://svn.opensymphony.com/svn/oscache/tags/ v(.*)/ \
- debian debian/orig-tar.sh
-
+version=4
+opts="dversionmangle=s/\+(dfsg|ds)$//;,\
+ uversionmangle=s/_/./g,\
+ dversionmangle=s/\+.*//,\
+ repacksuffix=+ds,\
+ repack,compression=gz" \
+ https://bitbucket.org/opensymphony/oscache/downloads/?tab=tags .*/v(\d\S+)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/oscache.git
More information about the pkg-java-commits
mailing list