[Python-modules-commits] r33012 - in packages/citeproc-py/trunk/debian (5 files)

danstender-guest at users.alioth.debian.org danstender-guest at users.alioth.debian.org
Wed Jun 17 18:50:03 UTC 2015


    Date: Wednesday, June 17, 2015 @ 18:50:02
  Author: danstender-guest
Revision: 33012

build with +dfsg tarball

Added:
  packages/citeproc-py/trunk/debian/repack.sh
Modified:
  packages/citeproc-py/trunk/debian/changelog
  packages/citeproc-py/trunk/debian/copyright
  packages/citeproc-py/trunk/debian/rules
  packages/citeproc-py/trunk/debian/watch

Modified: packages/citeproc-py/trunk/debian/changelog
===================================================================
--- packages/citeproc-py/trunk/debian/changelog	2015-06-17 16:18:37 UTC (rev 33011)
+++ packages/citeproc-py/trunk/debian/changelog	2015-06-17 18:50:02 UTC (rev 33012)
@@ -1,5 +1,5 @@
-citeproc-py (0.3.0-1) UNRELEASED; urgency=medium
+citeproc-py (0.3.0+dfsg-1) UNRELEASED; urgency=medium
 
   * Initial release (Closes: #769159).
 
- -- Daniel Stender <debian at danielstender.com>  Wed, 29 Apr 2015 07:48:52 +0200
+ -- Daniel Stender <debian at danielstender.com>  Wed, 17 Jun 2015 20:41:47 +0200

Modified: packages/citeproc-py/trunk/debian/copyright
===================================================================
--- packages/citeproc-py/trunk/debian/copyright	2015-06-17 16:18:37 UTC (rev 33011)
+++ packages/citeproc-py/trunk/debian/copyright	2015-06-17 18:50:02 UTC (rev 33012)
@@ -11,14 +11,6 @@
 Copyright: 2015 Daniel Stender <debian at danielstender.com>
 License: BSD-2-Clause
 
-Files: citeproc/data/schema/*.rng
-Copyright: 2007-2012 Frank Bennett
-                     Bruce D'Arcus
-                     Simon Kornblith
-		     Rintze Zelle <rintze.zelle at gmail.com>
-License: informal
- Permission to freely use, copy and distribute.
-
 Files: citeproc/data/locales/*
 Copyright: CSL developers
 Comment: https://github.com/citation-style-language/locales

Added: packages/citeproc-py/trunk/debian/repack.sh
===================================================================
--- packages/citeproc-py/trunk/debian/repack.sh	                        (rev 0)
+++ packages/citeproc-py/trunk/debian/repack.sh	2015-06-17 18:50:02 UTC (rev 33012)
@@ -0,0 +1,21 @@
+#!/bin/sh -e
+# Repackaging script to be called by Uscan
+
+echo "Repackaging ..."
+TARBALL="$3"
+TMP=`mktemp -d`
+PKG="`dpkg-parsechangelog|sed 's/^Source: //p;d'`_$2+dfsg.orig"
+
+echo "Extracting tarball ..."
+tar xzf "$TARBALL" -C "$TMP"
+cd "$TMP"
+
+echo "Removing unwanted stuff ..."
+rm -rf citeproc-py*/citeproc/data/schema # recent copyright doesn't comply
+
+echo "Repackaging ..."
+tar cf "$PKG.tar" citeproc-py*/
+xz -9 < "$PKG.tar" > "$PKG.tar.xz"
+rm "$PKG.tar"
+
+echo "Repackaged tarball created in $TMP."


Property changes on: packages/citeproc-py/trunk/debian/repack.sh
___________________________________________________________________
Added: svn:executable
   + *

Modified: packages/citeproc-py/trunk/debian/rules
===================================================================
--- packages/citeproc-py/trunk/debian/rules	2015-06-17 16:18:37 UTC (rev 33011)
+++ packages/citeproc-py/trunk/debian/rules	2015-06-17 18:50:02 UTC (rev 33012)
@@ -22,3 +22,6 @@
 
 override_dh_compress:
 	dh_compress -X.py -X.bib # save examples
+
+get-orig-source:
+	uscan --no-conf --verbose --download-current-version --destdir ../ --rename

Modified: packages/citeproc-py/trunk/debian/watch
===================================================================
--- packages/citeproc-py/trunk/debian/watch	2015-06-17 16:18:37 UTC (rev 33011)
+++ packages/citeproc-py/trunk/debian/watch	2015-06-17 18:50:02 UTC (rev 33012)
@@ -1,3 +1,3 @@
 version=3
 opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
-http://pypi.debian.net/citeproc-py/citeproc-py-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
\ No newline at end of file
+http://pypi.debian.net/citeproc-py/citeproc-py-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) debian debian/repack.sh
\ No newline at end of file




More information about the Python-modules-commits mailing list