[Python-modules-commits] r17452 - in packages/python-gflags/trunk (13 files)

soren-guest at users.alioth.debian.org soren-guest at users.alioth.debian.org
Tue Jun 14 11:57:36 UTC 2011


    Date: Tuesday, June 14, 2011 @ 11:57:35
  Author: soren-guest
Revision: 17452

[svn-inject] Applying Debian modifications (1.3-1) to trunk

Added:
  packages/python-gflags/trunk/debian/
  packages/python-gflags/trunk/debian/changelog
  packages/python-gflags/trunk/debian/compat
  packages/python-gflags/trunk/debian/control
  packages/python-gflags/trunk/debian/copyright
  packages/python-gflags/trunk/debian/manpages
  packages/python-gflags/trunk/debian/patches/
  packages/python-gflags/trunk/debian/patches/series
  packages/python-gflags/trunk/debian/patches/update-SOURCES.txt.patch
  packages/python-gflags/trunk/debian/rules
  packages/python-gflags/trunk/debian/source/
  packages/python-gflags/trunk/debian/source/format
  packages/python-gflags/trunk/debian/watch


Property changes on: packages/python-gflags/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: packages/python-gflags/trunk/debian/changelog
===================================================================
--- packages/python-gflags/trunk/debian/changelog	                        (rev 0)
+++ packages/python-gflags/trunk/debian/changelog	2011-06-14 11:57:35 UTC (rev 17452)
@@ -0,0 +1,6 @@
+python-gflags (1.3-1) unstable; urgency=low
+
+  * Initial upload to unstable. (Closes: #588284)
+
+ -- Soren Hansen <soren at ubuntu.com>  Wed, 28 Jul 2010 14:48:14 +0200
+

Added: packages/python-gflags/trunk/debian/compat
===================================================================
--- packages/python-gflags/trunk/debian/compat	                        (rev 0)
+++ packages/python-gflags/trunk/debian/compat	2011-06-14 11:57:35 UTC (rev 17452)
@@ -0,0 +1 @@
+5

Added: packages/python-gflags/trunk/debian/control
===================================================================
--- packages/python-gflags/trunk/debian/control	                        (rev 0)
+++ packages/python-gflags/trunk/debian/control	2011-06-14 11:57:35 UTC (rev 17452)
@@ -0,0 +1,24 @@
+Source: python-gflags
+Section: python
+Priority: optional
+Maintainer: Soren Hansen <soren at ubuntu.com>
+Build-Depends: python-support, debhelper (>= 5.0.38), python-setuptools (>= 0.6b3), python-all, cdbs
+XS-Python-Version: all
+Standards-Version: 3.9.1
+
+Package: python-gflags
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+XB-Python-Version: ${python:Versions}
+Description: Python implementation of the Google command line flags module
+ GFlags defines a distributed command line system, replacing systems like
+ getopt(), optparse and manual argument processing. Rather than an application
+ having to define all flags in or near main(), each Python module defines flags
+ that are useful to it.  When one Python module imports another, it gains
+ access to the other's flags.
+ .
+ It includes the ability to define flag types (boolean, float, integer, list),
+ autogeneration of help (in both human and machine readable format) and reading
+ arguments from a file. It also includes the ability to automatically generate
+ man pages from the help flags.
+

Added: packages/python-gflags/trunk/debian/copyright
===================================================================
--- packages/python-gflags/trunk/debian/copyright	                        (rev 0)
+++ packages/python-gflags/trunk/debian/copyright	2011-06-14 11:57:35 UTC (rev 17452)
@@ -0,0 +1,38 @@
+This package was debianized by Soren Hansen <soren at ubuntu.com> on
+Tue, 06 Jul 2010 22:50:29 +0200
+
+It was downloaded from http://code.google.com/p/google-gflags/downloads/list
+
+Copyright: Copyright © 2006-2010, Google Inc.
+
+License:
+    All rights reserved.
+
+    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 Google 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.
+
+The Debian packaging is © 2010 Soren Hansen <soren at ubuntu.com> and
+is licensed under the same license as python-gflags.

Added: packages/python-gflags/trunk/debian/manpages
===================================================================
--- packages/python-gflags/trunk/debian/manpages	                        (rev 0)
+++ packages/python-gflags/trunk/debian/manpages	2011-06-14 11:57:35 UTC (rev 17452)
@@ -0,0 +1 @@
+gflags2man.1

Added: packages/python-gflags/trunk/debian/patches/series
===================================================================
--- packages/python-gflags/trunk/debian/patches/series	                        (rev 0)
+++ packages/python-gflags/trunk/debian/patches/series	2011-06-14 11:57:35 UTC (rev 17452)
@@ -0,0 +1 @@
+update-SOURCES.txt.patch

Added: packages/python-gflags/trunk/debian/patches/update-SOURCES.txt.patch
===================================================================
--- packages/python-gflags/trunk/debian/patches/update-SOURCES.txt.patch	                        (rev 0)
+++ packages/python-gflags/trunk/debian/patches/update-SOURCES.txt.patch	2011-06-14 11:57:35 UTC (rev 17452)
@@ -0,0 +1,21 @@
+Description: SOURCES.txt update for removed debian/README
+ Upstream ships a debian/ directory, which includes a README that
+ was removed from the actual Debian packaging. Consequently, it's
+ been removed from SOURCES.txt.
+Author: Soren Hansen <soren at ubuntu.com>
+
+--- python-gflags-1.3.orig/python_gflags.egg-info/SOURCES.txt
++++ python-gflags-1.3/python_gflags.egg-info/SOURCES.txt
+@@ -11,12 +11,10 @@ setup.cfg
+ setup.py
+ test_module_bar.py
+ test_module_foo.py
+-debian/README
+ debian/changelog
+ debian/compat
+ debian/control
+ debian/copyright
+-debian/docs
+ debian/rules
+ python_gflags.egg-info/PKG-INFO
+ python_gflags.egg-info/SOURCES.txt

Added: packages/python-gflags/trunk/debian/rules
===================================================================
--- packages/python-gflags/trunk/debian/rules	                        (rev 0)
+++ packages/python-gflags/trunk/debian/rules	2011-06-14 11:57:35 UTC (rev 17452)
@@ -0,0 +1,27 @@
+#!/usr/bin/make -f
+
+DEB_PYTHON_SYSTEM = pysupport
+DEB_DH_INSTALLCHANGELOGS_ARGS = ChangeLog
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/python-distutils.mk
+
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+common-build-indep:: debian/stamp-makefile-check
+debian/stamp-makefile-check:
+	for pyversion in $(shell pyversions -vr); do python$$pyversion gflags_unittest.py; done
+	touch $@
+
+clean::
+	rm -f debian/stamp-makefile-check
+endif
+
+install/python-gflags::
+	mv $(CURDIR)/debian/python-gflags/usr/bin/gflags2man.py $(CURDIR)/debian/python-gflags/usr/bin/gflags2man
+	PYTHONPATH=$(CURDIR) python$(cdbs_python_current_version) gflags2man.py --dest_dir $(CURDIR) $(CURDIR)/debian/python-gflags/usr/bin/gflags2man
+
+binary-install/python-gflags::
+	for f in README AUTHORS; do rm "$(CURDIR)/debian/python-gflags/usr/share/doc/python-gflags/$$f"; done
+
+clean::
+	rm -f gflags2man.1


Property changes on: packages/python-gflags/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/python-gflags/trunk/debian/source/format
===================================================================
--- packages/python-gflags/trunk/debian/source/format	                        (rev 0)
+++ packages/python-gflags/trunk/debian/source/format	2011-06-14 11:57:35 UTC (rev 17452)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: packages/python-gflags/trunk/debian/watch
===================================================================
--- packages/python-gflags/trunk/debian/watch	                        (rev 0)
+++ packages/python-gflags/trunk/debian/watch	2011-06-14 11:57:35 UTC (rev 17452)
@@ -0,0 +1,2 @@
+version=3
+http://googlecode.debian.net/p/python-gflags/python-gflags-(.*).tar.gz




More information about the Python-modules-commits mailing list