[libmtj-java] 19/23: New upstream version, d/watch: moved to Github, d/get-orig-source: deleted since no need to repack any more

Andreas Tille tille at debian.org
Tue Sep 2 10:00:52 UTC 2014


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

tille pushed a commit to branch master
in repository libmtj-java.

commit 7c46ec4511f41758c5906683dededde53d045ee1
Author: Andreas Tille <tille at debian.org>
Date:   Thu Aug 28 12:32:55 2014 +0000

    New upstream version, d/watch: moved to Github, d/get-orig-source: deleted since no need to repack any more
---
 debian/changelog       |  8 ++++++++
 debian/copyright       |  5 -----
 debian/get-orig-source | 37 -------------------------------------
 debian/rules           |  2 --
 debian/watch           |  5 +----
 5 files changed, 9 insertions(+), 48 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 38d22aa..505e767 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+mtj (1.0.1-1) UNRELEASED; urgency=medium
+
+  * New upstream version
+  * d/watch: moved to Github
+  * d/get-orig-source: deleted since no need to repack any more
+
+ -- Andreas Tille <tille at debian.org>  Thu, 28 Aug 2014 14:31:28 +0200
+
 mtj (0.9.14+dfsg-2) unstable; urgency=low
 
   * Upload to unstable
diff --git a/debian/copyright b/debian/copyright
index 094655a..be0b6f5 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -3,11 +3,6 @@ Upstream-Name: matrix-toolkits-java
 Upstream-Contact: Sam Halliday <Sam.Halliday at gmail.com>
                   Bjørn-Ove Heimsund <Bjorn.Ove.Heimsund at gmail.com>
 Source: http://code.google.com/p/matrix-toolkits-java/downloads/list
-Files-Excluded:
-    *.jar
-    lib/junit/
-    lib/netlib-java/
-    javadoc/
 
 Files: *
 Copyright: 2008-2011 Sam Halliday <Sam.Halliday at gmail.com>
diff --git a/debian/get-orig-source b/debian/get-orig-source
deleted file mode 100755
index 6f63632..0000000
--- a/debian/get-orig-source
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh
-# get source for libmtj-java and remove unneeded jars and binaries
-
-set -e
-NAME=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
-
-if ! echo $@ | grep -q upstream-version ; then
-    VERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/\([0-9\.]\+\)-[0-9]\+$/\1/'`
-else
-    VERSION=`echo $@ | sed "s?^.*--upstream-version \([0-9.]\+\) .*${NAME}.*?\1?"`
-    if echo "$VERSION" | grep -q "upstream-version" ; then
-        echo "Unable to parse version number"
-        exit
-    fi
-fi
-
-# unmangle version
-UARCHIVEDIR=${NAME}-${VERSION}
-UPSTREAMARCHIVE=${UARCHIVEDIR}.zip
-
-mkdir -p ../tarballs
-cd ../tarballs
-mv ../${UPSTREAMARCHIVE} .
-unzip -q ${UPSTREAMARCHIVE}
-
-# Remove all *.jar files
-# rm -rf ${UARCHIVEDIR}/lib/*
-find ${UARCHIVEDIR} -name "*.jar" -delete
-find ${UARCHIVEDIR} -type d -empty -delete
-
-# Build process deletes javadoc first and rebuilds it afterwards
-# So it is reasonable to save space in the upstream tarball once
-# we are rebuilding it anyway
-rm -rf ${UARCHIVEDIR}/javadoc
-
-GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -czf "$NAME"_"$VERSION"~dfsg.orig.tar.gz "${UARCHIVEDIR}"
-rm -rf ${UARCHIVEDIR}
diff --git a/debian/rules b/debian/rules
index d52d2e5..0ee2477 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,5 +8,3 @@ JAVA_HOME=/usr/lib/jvm/default-java
 override_dh_auto_build:
 	dh_auto_build -- -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5
 
-get-orig-source:
-	uscan --verbose --force-download
diff --git a/debian/watch b/debian/watch
index b7451b0..632dd59 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,2 @@
 version=3
-opts=dversionmangle=s/\+dfsg// \
- http://code.google.com/p/matrix-toolkits-java/downloads/list?can=1 \
-  .*/mtj-(\d[\d\.]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))|zip) \
-  debian debian/get-orig-source
+https://github.com/fommil/matrix-toolkits-java/releases .*/archive/mtj-(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz)

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



More information about the pkg-java-commits mailing list