[med-svn] r18954 - trunk/packages/rdp-classifier/trunk/debian

Andreas Tille tille at moszumanska.debian.org
Thu Mar 12 07:50:54 UTC 2015


Author: tille
Date: 2015-03-12 07:50:54 +0000 (Thu, 12 Mar 2015)
New Revision: 18954

Removed:
   trunk/packages/rdp-classifier/trunk/debian/get-orig-source
Modified:
   trunk/packages/rdp-classifier/trunk/debian/watch
Log:
Adapted d/watch to point to github


Deleted: trunk/packages/rdp-classifier/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/rdp-classifier/trunk/debian/get-orig-source	2015-03-12 07:49:15 UTC (rev 18953)
+++ trunk/packages/rdp-classifier/trunk/debian/get-orig-source	2015-03-12 07:50:54 UTC (rev 18954)
@@ -1,59 +0,0 @@
-#!/bin/sh
-echo "Timothy Booth says in r18812:"
-echo "  Note that get-orig-source is totally hosed and I had to reconstruct the tarball manually."
-echo "Remark from Andreas Tille:"
-echo "  I think this file can simply be removed since Files-Excluded should work"
-exit
-
-# if you need to repack for whatever reason you can
-# use this script via uscan or directly
-#
-# FIXME: currently the code is not conform to Debian Policy
-#        http://www.debian.org/doc/debian-policy/ch-source.html
-#        "get-orig-source (optional)"
-#        This target may be invoked in any directory, ...
-# --> currently it is assumed the script is called in the
-#     source directory featuring the debian/ dir
-
-COMPRESS=xz
-
-set -e
-NAME=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
-UNAME=`echo ${NAME} | sed 's/-/_/g'`
-
-if ! echo $@ | grep -q upstream-version ; then
-    VERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/\([0-9\.]\+\)-[0-9]\+$/\1/'`
-    uscan --force-download
-else
-    VERSION=`echo $@ | sed "s?^.*--upstream-version \([0-9.]\+\) .*${UNAME}.*?\1?"`
-    if echo "$VERSION" | grep -q "upstream-version" ; then
-        echo "Unable to parse version number"
-        exit
-    fi
-fi
-
-set -x
-TARDIR=src
-mkdir -p ../tarballs
-cd ../tarballs
-# need to clean up the tarballs dir first because upstream tarball might
-# contain a directory with unpredictable name
-rm -rf *
-unzip -q ../${UNAME}_${VERSION}.zip
-rm -rf __MACOSX
-mv * $TARDIR
-
-#Unpack data before dispensing with the .jar
-echo "Retrieving data folder from .jar"
-( cd ${TARDIR} ; jar xvf dist/classifier.jar data )
-rm -rf ${TARDIR}/data/*/fungal*
-# Remove JAR files with the exception of ReadSeq.jar
-# for jar in `find ${TARDIR} -type f -name "*.jar"` ; do
-#     if ! echo $jar | grep -q "ReadSeq.jar$" ; then
-# 	rm -rf $jar
-#     fi
-# done
-find ${TARDIR} -type f -name "*.jar" -delete
-
-GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -caf "$NAME"_"$VERSION"~dfsg.orig.tar.${COMPRESS} "${TARDIR}"
-rm -rf ${TARDIR}

Modified: trunk/packages/rdp-classifier/trunk/debian/watch
===================================================================
--- trunk/packages/rdp-classifier/trunk/debian/watch	2015-03-12 07:49:15 UTC (rev 18953)
+++ trunk/packages/rdp-classifier/trunk/debian/watch	2015-03-12 07:50:54 UTC (rev 18954)
@@ -1,4 +1,2 @@
 version=3
-opts=dversionmangle=s/[~+]dfsg[0-9]*// \
-  http://sf.net/rdp-classifier/rdp_classifier_(.*).zip \
-  debian debian/get-orig-source
+https://github.com/rdpstaff/classifier/releases .*/archive/(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz)




More information about the debian-med-commit mailing list