[javacc4] 50/53: Track and download the new releases from GitHub

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Nov 24 13:39:02 UTC 2016


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository javacc4.

commit 5f1cf82cfb229a6ab09ac06d0ce9e5a7b97be736
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Fri Nov 18 13:23:52 2016 +0100

    Track and download the new releases from GitHub
---
 debian/changelog   |  2 +-
 debian/copyright   |  2 ++
 debian/orig-tar.sh | 19 -------------------
 debian/rules       |  2 +-
 debian/watch       |  3 ++-
 5 files changed, 6 insertions(+), 22 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index b89d189..4104504 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,7 +2,7 @@ javacc (5.0-7) UNRELEASED; urgency=medium
 
   * Build with the DH sequencer instead of CDBS
   * Regenerate the bootstrap jar
-  * Updated debian/watch
+  * Track and download the new releases from GitHub
   * Refreshed debian/copyright
   * Updated the Homepage field
 
diff --git a/debian/copyright b/debian/copyright
index feba39f..077a273 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -2,6 +2,8 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: JavaCC
 Upstream-Contact: Sreenivasa Viswanadha <sreeni at dev.java.net>
 Source: https://github.com/javacc/javacc
+Files-Excluded: lib/*.jar
+                junit.jar
 
 Files: *
 Copyright: 2005-2006, Kees Jan Koster kjkoster at kjkoster.org
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
deleted file mode 100755
index 4a81132..0000000
--- a/debian/orig-tar.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh -e
-
-# called by uscan with '--upstream-version' <version> <file>
-TAR=javacc_$2.orig.tar.gz
-DIR=javacc-$2.orig
-
-# clean up the upstream tarball
-tar xzf $3
-mv javacc $DIR
-tar -czf $TAR --exclude 'junit.jar' $DIR
-rm -rf $3 $DIR
-mv $TAR ..
-
-# 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 1dff467..baafd34 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,4 +15,4 @@ override_dh_auto_test:
 	dh_auto_build -- unittest
 
 get-orig-source:
-	uscan --force-download --rename --repack
+	uscan --download-current-version --force-download --rename --repack --compression xz
diff --git a/debian/watch b/debian/watch
index 98dc2fe..7eaba66 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,3 @@
 version=3
-https://java.net/projects/javacc/downloads  .*/javacc-([\d\.]+)src at ARCHIVE_EXT@ debian debian/orig-tar.sh
+opts=uversionmangle=s/_/./g \
+https://github.com/javacc/javacc/tags .*/release_(\d_[\d_]+).tar.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/javacc4.git



More information about the pkg-java-commits mailing list