[Python-modules-commits] r22244 - in packages/python-secretstorage/trunk/debian (3 files)

mitya57-guest at users.alioth.debian.org mitya57-guest at users.alioth.debian.org
Fri Jun 22 10:20:53 UTC 2012


    Date: Friday, June 22, 2012 @ 10:20:51
  Author: mitya57-guest
Revision: 22244

debian/patches/bzr_use_check_call.patch:
  Use check_call instead of Popen in setup.py
  (cherry-picked from upstream bzr)

Added:
  packages/python-secretstorage/trunk/debian/patches/
  packages/python-secretstorage/trunk/debian/patches/bzr_use_check_call.patch
  packages/python-secretstorage/trunk/debian/patches/series

Added: packages/python-secretstorage/trunk/debian/patches/bzr_use_check_call.patch
===================================================================
--- packages/python-secretstorage/trunk/debian/patches/bzr_use_check_call.patch	                        (rev 0)
+++ packages/python-secretstorage/trunk/debian/patches/bzr_use_check_call.patch	2012-06-22 10:20:51 UTC (rev 22244)
@@ -0,0 +1,25 @@
+From: Dmitry Shachnev <mitya57 at gmail.com>
+Subject: Use check_call instead of Popen in setup.py
+
+=== modified file 'setup.py'
+--- a/setup.py	2012-06-21 10:09:25 +0000
++++ b/setup.py	2012-06-22 09:27:22 +0000
+@@ -2,7 +2,7 @@
+ 
+ from distutils.core import setup, Command
+ from distutils.command.build import build
+-from subprocess import Popen
++from subprocess import check_call
+ 
+ long_description = \
+ '''This module provides a way for securely storing passwords and other secrets.
+@@ -30,7 +30,7 @@
+ class build_docs(Command):
+ 	def run(self):
+ 		try:
+-			Popen(['wpgen', 'updateall'], cwd='docs')
++			check_call(['wpgen', 'updateall'], cwd='docs')
+ 		except OSError:
+ 			print('Warning: wpgen not found, skipping build_docs')
+ 	def initialize_options(self): pass
+

Added: packages/python-secretstorage/trunk/debian/patches/series
===================================================================
--- packages/python-secretstorage/trunk/debian/patches/series	                        (rev 0)
+++ packages/python-secretstorage/trunk/debian/patches/series	2012-06-22 10:20:51 UTC (rev 22244)
@@ -0,0 +1 @@
+bzr_use_check_call.patch




More information about the Python-modules-commits mailing list