[med-svn] r8765 - trunk/packages/cellprofiler/trunk/debian

Mathieu Malaterre malat-guest at alioth.debian.org
Mon Dec 5 13:22:46 UTC 2011


Author: malat-guest
Date: 2011-12-05 13:22:46 +0000 (Mon, 05 Dec 2011)
New Revision: 8765

Added:
   trunk/packages/cellprofiler/trunk/debian/orig-tar.sh
Modified:
   trunk/packages/cellprofiler/trunk/debian/copyright
   trunk/packages/cellprofiler/trunk/debian/rules
   trunk/packages/cellprofiler/trunk/debian/watch
Log:
As per upstream recommendation, remove contrib and pymex

Modified: trunk/packages/cellprofiler/trunk/debian/copyright
===================================================================
--- trunk/packages/cellprofiler/trunk/debian/copyright	2011-12-05 12:59:26 UTC (rev 8764)
+++ trunk/packages/cellprofiler/trunk/debian/copyright	2011-12-05 13:22:46 UTC (rev 8765)
@@ -45,43 +45,6 @@
  OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
  ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
-Files: contrib/asizeof.py
-Copyright: (c) 2002-2009 -- ProphICy Semiconductor, Inc.
-Licence: BSD
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- .
- - Redistributions of source code must retain the above copyright
-   notice, this list of conditions and the following disclaimer.
- .
- - Redistributions in binary form must reproduce the above copyright
-   notice, this list of conditions and the following disclaimer in
-   the documentation and/or other materials provided with the
-   distribution.
- .
- - Neither the name of ProphICy Semiconductor, Inc. nor the names
-   of its contributors may be used to endorse or promote products
-   derived from this software without specific prior written
-   permission.
- .
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE
- COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
- STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
- OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Files: contrib/objgraph.py
-Copyright: 2008 Marius Gedminas <marius at pov.lt>
-Licence: MIT
-
 Files: debian/*
 Copyright: © 2011 Mathieu Malaterre <mathieu.malaterre at gmail.com>
 License: BSD

Added: trunk/packages/cellprofiler/trunk/debian/orig-tar.sh
===================================================================
--- trunk/packages/cellprofiler/trunk/debian/orig-tar.sh	                        (rev 0)
+++ trunk/packages/cellprofiler/trunk/debian/orig-tar.sh	2011-12-05 13:22:46 UTC (rev 8765)
@@ -0,0 +1,17 @@
+#!/bin/sh -ex
+
+# called by uscan with '--upstream-version' <version> <file>
+TAR=../cellprofiler_$2.dfsg.orig.tar.gz
+DIR=CellProfiler-*
+
+# clean up the upstream tarball
+tar -zxvf $3
+tar -czf $TAR --exclude '*/contrib/*' --exclude '*/pymex/*' $DIR
+rm -rf $DIR $3
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+    . .svn/deb-layout
+    mv $TAR $origDir
+    echo "moved $TAR to $origDir"
+fi


Property changes on: trunk/packages/cellprofiler/trunk/debian/orig-tar.sh
___________________________________________________________________
Added: svn:executable
   + *

Modified: trunk/packages/cellprofiler/trunk/debian/rules
===================================================================
--- trunk/packages/cellprofiler/trunk/debian/rules	2011-12-05 12:59:26 UTC (rev 8764)
+++ trunk/packages/cellprofiler/trunk/debian/rules	2011-12-05 13:22:46 UTC (rev 8765)
@@ -7,4 +7,4 @@
 	python CellProfiler.py --build-and-exit
 
 get-orig-source:
-	uscan --force-download --repack
+	uscan --force-download --rename

Modified: trunk/packages/cellprofiler/trunk/debian/watch
===================================================================
--- trunk/packages/cellprofiler/trunk/debian/watch	2011-12-05 12:59:26 UTC (rev 8764)
+++ trunk/packages/cellprofiler/trunk/debian/watch	2011-12-05 13:22:46 UTC (rev 8765)
@@ -1,3 +1,4 @@
 version=3
 opts="uversionmangle=s/svn_/2.0~svn/" \
-http://githubredir.debian.net/github/CellProfiler/CellProfiler/ release_(.*).tar.gz
+http://githubredir.debian.net/github/CellProfiler/CellProfiler/ release_(.*).tar.gz \
+debian debian/orig-tar.sh




More information about the debian-med-commit mailing list