[calculix-cgx] 05/08: Updated watch file

Wolfgang Fütterer debian at wlf-online.de
Fri Jan 22 09:44:44 UTC 2016


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

wlfuetter-guest pushed a commit to branch master
in repository calculix-cgx.

commit 2da56d625117cdbd591b6a3100e51b98c6180072
Author: Wolfgang Fütterer <debian at wlf-online.de>
Date:   Thu Jan 21 15:04:28 2016 +0100

    Updated watch file
---
 debian/calculix_cgx_get-orig-source.sh | 31 -------------------------------
 debian/watch                           |  5 ++---
 2 files changed, 2 insertions(+), 34 deletions(-)

diff --git a/debian/calculix_cgx_get-orig-source.sh b/debian/calculix_cgx_get-orig-source.sh
deleted file mode 100644
index adfca84..0000000
--- a/debian/calculix_cgx_get-orig-source.sh
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-UPSTREAM="cgx_"
-PACKAGE="calculix-cgx"
-SOURCE_URL="http://www.dhondt.de/"
-
-SRCPACKAGE=cgx_2.8.all.tar.bz2
-SRC_VERSION=2.8
-PATCH_LVL=
-
-# SRCPACKAGE=$(curl ${SOURCE_URL} 2>&1 | grep -o -E 'href="([^"#]+)"' | cut -d'"' -f2 | grep ${UPSTREAM} | grep all)
-# SRC_VERSION=$(echo ${SRCPACKAGE} | sed -e "s/^${UPSTREAM}\([0-9]\+.[0-9]\+\).*$/\1/")
-# PATCH_LVL=$(echo ${SRCPACKAGE} | sed -e "s/^${UPSTREAM}[0-9]\+.[0-9]\+\(p[0-9]\).*$/\1/")
-## Download and extract everything
-echo "Download and extract ${SOURCE_URL}${SRCPACKAGE} (Version: ${SRC_VERSION}${PATCH_LVL})"
-
-if [ ! -e ${SRCPACKAGE} ]; then
-  wget -v ${SOURCE_URL}${SRCPACKAGE}
-fi
-  
-tar xjf ${SRCPACKAGE}
-
-TARBALL=${PACKAGE}_${SRC_VERSION}${PATCH_LVL}.dfsg.orig.tar.xz
-
-echo "Creating orig.tar.xz: ${TARBALL}"
-cd CalculiX
-
-tar -cJf ../${TARBALL} "${UPSTREAM}${SRC_VERSION}" || exit 1
-
-cd ..
-echo "Finished"
-rm -rf CalculiX
\ No newline at end of file
diff --git a/debian/watch b/debian/watch
index fc10668..00101a6 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,3 @@
 version=3
-opts=dversionmangle=s/.*dfsg.*/$1/ \
-  http://www.dhondt.de/cgx_(\d.*)\.all\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)) \
-  debian debian/calculix_cgx_get-orig-source.sh
+opts=dversionmangle=s/(\d.*)\.dfsg.*/$1/ \
+  http://www.dhondt.de/cgx_(\d.*)\.all\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/calculix-cgx.git



More information about the debian-science-commits mailing list