[spyder] 01/04: homepages moved to github and use Files-Excluded

Frédéric-Emmanuel Picca picca at moszumanska.debian.org
Sat Feb 28 16:27:14 UTC 2015


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

picca pushed a commit to branch master
in repository spyder.

commit 45c7abaa0b3dead9f660d1c9b90cefe199cc5c65
Author: Picca Frédéric-Emmanuel <picca at debian.org>
Date:   Sat Feb 28 16:03:56 2015 +0100

    homepages moved to github and use Files-Excluded
---
 debian/control      |  2 +-
 debian/copyright    |  4 ++-
 debian/repack.local |  5 ----
 debian/repack.stub  | 82 -----------------------------------------------------
 debian/watch        |  8 +++---
 5 files changed, 8 insertions(+), 93 deletions(-)

diff --git a/debian/control b/debian/control
index 0cc2337..a51648f 100644
--- a/debian/control
+++ b/debian/control
@@ -17,7 +17,7 @@ Build-Depends: debhelper (>= 9),
 Standards-Version: 3.9.6
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/spyder.git
 Vcs-Git: git://anonscm.debian.org/debian-science/packages/spyder.git
-Homepage: https://bitbucket.org/spyder-ide/spyderlib
+Homepage: https://github.com/spyder-ide/spyder
 X-Python-Version: >= 2.7
 X-Python3-Version: >= 3.2
 
diff --git a/debian/copyright b/debian/copyright
index d2b2d22..2eae689 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,7 +1,9 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: Pierre Raybaut <pierre.raybaut at gmail.com>
 Upstream-Contact: pierre.raybaut at gmail.com
-Source: https://bitbucket.org/spyder-ide/spyderlib
+Source: https://github.com/spyder-ide/spyder/releases
+Files-Excluded: spyderlib/utils/inspector/js/mathjax
+ spyderlib/utils/inspector/js/jquery.js
 
 Files: debian/*
 Copyright: © 2009-2010 Ludovic Aubry <laubrycomm at free.fr>
diff --git a/debian/repack.local b/debian/repack.local
deleted file mode 100644
index 03b72c3..0000000
--- a/debian/repack.local
+++ /dev/null
@@ -1,5 +0,0 @@
-MANIFEST=0
-SUFFIX=+dfsg
-rm spyderlib/utils/inspector/js/jquery-1.7.1.min.js
-rm -rf spyderlib/utils/inspector/js/mathjax
-rm spyderlib/utils/inspector/js/jquery.js
diff --git a/debian/repack.stub b/debian/repack.stub
deleted file mode 100755
index ac56520..0000000
--- a/debian/repack.stub
+++ /dev/null
@@ -1,82 +0,0 @@
-#!/bin/sh
-
-: <<=cut
-=pod
-
-=head1 NAME
-
-repack.stub - script to repack upstream tarballs from uscan
-
-=head1 INSTRUCTIONS
-
-put this in debian/repack.stub and add "debian sh debian/repack.stub" to
-the end of the line in debian/watch. you will also need to add a version
-mangle to debian/watch.
-
-then create a debian/repack.local. this is a shell script that is
-sources under "set -e", so be careful to check returns codes.
-
-=head1 FUNCTIONS
-
-=over 4
-
-=item rm
-
-rm is replaced by a function that does some magic ("rm -rv" by default), but also changes MANIFEST if $MANIFEST is 1
-
-=item mv
-
-mv is replaced by a function that just does mv (by default), but also changes MANIFEST if $MANIFEST is 1
-
-=item requires_version
-
-requires_version is there for future usage for requiring certain versions of the script
-
-=back
-
-=head1 VARIABLES
-
-=over 4
-
-=item SUFFIX
-
-defaults to +dfsg
-
-what to append to the upstream version
-
-=item RM_OPTS
-
-defaults to -vrf
-
-options to pass to rm
-
-=item MANIFEST
-
-defaults to 0, set to 1 to turn on.
-
-this will manipulate MANIFEST files in CPAN tarballs.
-
-=item UP_BASE
-
-this is the directory where the upstream source is.
-
-=back
-
-=cut
-
-if [ -z "$REPACK_SH" ]; then
-    if [ -f ../../scripts/repack.sh ]; then
-        REPACK_SH=../../scripts/repack.sh
-    fi
-    if [ -z "$REPACK_SH" ] && which repack.sh > /dev/null; then
-        REPACK_SH=$(which repack.sh)
-    fi
-fi
-
-if [ ! -f "$REPACK_SH" ]; then
-    echo "Couldn't find a repack.sh. please put it in your PATH, put it at ../../scripts/repack.sh, or put it somewhere else and set the REPACK_SH variable"
-    echo "You can get it from http://svn.debian.org/viewsvn/pkg-perl/scripts/repack.sh"
-    exit 1
-fi
-
-exec "$REPACK_SH" "$@"
diff --git a/debian/watch b/debian/watch
index 1a91f72..f7658d0 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,5 @@
 version=3
-opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/,\
-dversionmangle=s/\+dfsg$// \
-http://bitbucket.org/spyder-ide/spyderlib/downloads .*/spyder-(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)|zip).* \
-debian sh debian/repack.stub
+opts=dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\
+repacksuffix=+dfsg1,\
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/,\
+ https://github.com/spyder-ide/spyder/releases .*/spyder-(\d\S*)\.zip

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



More information about the debian-science-commits mailing list