[plexus-io] 01/14: update debian/watch to retrieve from github
Tony Mancill
tmancill at moszumanska.debian.org
Thu May 11 03:13:10 UTC 2017
This is an automated email from the git hooks/post-receive script.
tmancill pushed a commit to branch experimental
in repository plexus-io.
commit c5f310a6206825c7b462d4283e1a2c58319c83fa
Author: tony mancill <tmancill at debian.org>
Date: Wed May 10 14:45:45 2017 -0700
update debian/watch to retrieve from github
---
debian/orig-tar.sh | 16 ----------------
debian/rules | 2 +-
debian/watch | 9 +++++----
3 files changed, 6 insertions(+), 21 deletions(-)
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
deleted file mode 100755
index 9799cba..0000000
--- a/debian/orig-tar.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh -e
-
-TAR=../plexus-io_$2.orig.tar.gz
-DIR=plexus-io-$2
-TAG=$(echo plexus-io-$2 | sed 's,~alpha,-alpha-,')
-
-svn export http://svn.codehaus.org/plexus/plexus-components/tags/$TAG $DIR
-tar -c -z -f $TAR $DIR
-rm -rf $DIR ../$TAG
-
-# 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/rules b/debian/rules
index 8d17e7b..5207a96 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,7 +13,7 @@ DEB_ANT_ARGS := -Dbasedir=$(realpath .) -Dpackage=$(PACKAGE)
API_DOCS := build/api
get-orig-source:
- uscan --download-version $(VERSION) --force-download --rename
+ uscan --download-version $(VERSION) --force-download
binary-post-install/lib$(PACKAGE)-java::
mh_installpoms -plib$(PACKAGE)-java
diff --git a/debian/watch b/debian/watch
index 0ee6d34..7f0f5de 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,5 @@
-version=3
-opts=uversionmangle=s{-alpha-}{~alpha} \
- http://svn.codehaus.org/plexus/plexus-components/tags/ \
- plexus-io-(.*)/ debian debian/orig-tar.sh
+version=4
+opts="compression=xz,\
+ repack" \
+ https://github.com/codehaus-plexus/plexus-io/releases \
+ .*/plexus-io-(\d\S+)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/plexus-io.git
More information about the pkg-java-commits
mailing list