[Python-modules-commits] r28775 - in packages/pyqt5/trunk/debian (4 files)

mitya57-guest at users.alioth.debian.org mitya57-guest at users.alioth.debian.org
Sun May 4 09:08:10 UTC 2014


    Date: Sunday, May 4, 2014 @ 09:08:09
  Author: mitya57-guest
Revision: 28775

Drop get-orig-source.sh in favour of Files-Excluded field in
debian/copyright.

Modified:
  packages/pyqt5/trunk/debian/changelog
  packages/pyqt5/trunk/debian/copyright
  packages/pyqt5/trunk/debian/rules
Deleted:
  packages/pyqt5/trunk/debian/get-orig-source.sh

Modified: packages/pyqt5/trunk/debian/changelog
===================================================================
--- packages/pyqt5/trunk/debian/changelog	2014-05-04 07:38:54 UTC (rev 28774)
+++ packages/pyqt5/trunk/debian/changelog	2014-05-04 09:08:09 UTC (rev 28775)
@@ -1,3 +1,10 @@
+pyqt5 (5.2.1+dfsg-3) UNRELEASED; urgency=medium
+
+  * Drop get-orig-source.sh in favour of Files-Excluded field in
+    debian/copyright.
+
+ -- Dmitry Shachnev <mitya57 at gmail.com>  Sun, 04 May 2014 13:07:37 +0400
+
 pyqt5 (5.2.1+dfsg-2) experimental; urgency=medium
 
   * Add new package for QtPositioning module.

Modified: packages/pyqt5/trunk/debian/copyright
===================================================================
--- packages/pyqt5/trunk/debian/copyright	2014-05-04 07:38:54 UTC (rev 28774)
+++ packages/pyqt5/trunk/debian/copyright	2014-05-04 09:08:09 UTC (rev 28775)
@@ -1,5 +1,8 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Contact: pyqt at riverbankcomputing.com
+Files-Excluded: doc/html/
+                examples/webkit/fancybrowser/jquery.min.js
+                examples/webkit/fancybrowser/jquery_rc.py
 
 Files: *
 Copyright: 2007-2014, Riverbank Computing Limited

Deleted: packages/pyqt5/trunk/debian/get-orig-source.sh
===================================================================
--- packages/pyqt5/trunk/debian/get-orig-source.sh	2014-05-04 07:38:54 UTC (rev 28774)
+++ packages/pyqt5/trunk/debian/get-orig-source.sh	2014-05-04 09:08:09 UTC (rev 28775)
@@ -1,30 +0,0 @@
-#!/bin/sh
-
-set -ex
-
-export TAR_OPTIONS='--owner root --group root --mode a+rX'
-export GZIP_OPTIONS='-9n'
-pwd=$(pwd)
-dfsg_version="$1"
-if [ -z "$dfsg_version" ]
-then
-	printf 'Usage: %s <version>\n' "$0"
-	exit 1
-fi
-upstream_version="${dfsg_version%+dfsg*}"
-cd "$(dirname "$0")/../"
-tmpdir=$(mktemp -t -d get-orig-source.XXXXXX)
-uscan --noconf --force-download --rename --download-version="$upstream_version" --destdir="$tmpdir"
-cd "$tmpdir"
-tar -xzf pyqt5_*.orig.tar.gz
-rm pyqt5_*.orig.tar.gz
-
-mv PyQt-gpl-* "pyqt5-${dfsg_version}.orig"
-
-# jquery.min.js
-rm -rf "pyqt5-${dfsg_version}.orig/doc/html/"
-rm -f "pyqt5-${dfsg_version}.orig/examples/webkit/fancybrowser/jquery.min.js"
-rm -f "pyqt5-${dfsg_version}.orig/examples/webkit/fancybrowser/jquery_rc.py"
-
-tar -czf "$pwd/pyqt5_${dfsg_version}.orig.tar.gz" "pyqt5-${dfsg_version}.orig"
-rm -rf "$tmpdir"

Modified: packages/pyqt5/trunk/debian/rules
===================================================================
--- packages/pyqt5/trunk/debian/rules	2014-05-04 07:38:54 UTC (rev 28774)
+++ packages/pyqt5/trunk/debian/rules	2014-05-04 09:08:09 UTC (rev 28775)
@@ -240,6 +240,6 @@
 binary: binary-arch binary-indep
 
 get-orig-source:
-	sh $(CURDIR)/debian/get-orig-source.sh $(upstream_dfsg_version)
+	uscan --verbose --download-current-version
 
 .PHONY: build-indep build-arch build clean binary-indep binary-arch binary configure get-orig-source




More information about the Python-modules-commits mailing list