[Python-modules-commits] [faker] 04/04: Remove upstream applied patch

Hugo Lefeuvre hle at moszumanska.debian.org
Fri Dec 23 18:02:09 UTC 2016


This is an automated email from the git hooks/post-receive script.

hle pushed a commit to branch master
in repository faker.

commit 29ed2c9bc446aaac892c9e1fc88ea05bb8936fa1
Author: Hugo Lefeuvre <hle at debian.org>
Date:   Fri Dec 23 19:01:13 2016 +0100

    Remove upstream applied patch
---
 debian/changelog                                   |  1 +
 .../patches/0001-Improve-command-line-output.patch | 86 ----------------------
 debian/patches/series                              |  1 -
 3 files changed, 1 insertion(+), 87 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 860b725..84d5377 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ faker (0.7.7-1) unstable; urgency=medium
   * New upstream release.
   * Bump Standards-Version to 3.9.8.
   * debian/.git-dpm: fix patchedTag format.
+  * Remove upstream applied patch 0001-Improve-command-line-output.patch.
 
  -- Hugo Lefeuvre <hle at debian.org>  Fri, 23 Dec 2016 18:50:32 +0100
 
diff --git a/debian/patches/0001-Improve-command-line-output.patch b/debian/patches/0001-Improve-command-line-output.patch
deleted file mode 100644
index d93abed..0000000
--- a/debian/patches/0001-Improve-command-line-output.patch
+++ /dev/null
@@ -1,86 +0,0 @@
-From 982e1cd0b18c0bafe7077f37ccaf30e18c6bd9f4 Mon Sep 17 00:00:00 2001
-From: Christopher Baines <mail at cbaines.net>
-Date: Thu, 5 May 2016 15:14:55 +0100
-Subject: Improve command line output
-
-This fixes issues with the man page generated by help2man.
-
-This patch has been accepted upstream:
-https://github.com/joke2k/faker/pull/342
----
- README.rst   |  9 +++------
- faker/cli.py | 30 ++++++++++++++++++++++++++++++
- 2 files changed, 33 insertions(+), 6 deletions(-)
-
-diff --git a/README.rst b/README.rst
-index 2596713..4cb92a7 100644
---- a/README.rst
-+++ b/README.rst
-@@ -215,12 +215,9 @@ Examples:
-     {'ssn': u'628-10-1085', 'birthdate': '2008-03-29'}
- 
-     $ faker -r=3 -s=";" name
--    Willam Kertzmann
--    ;
--    Josiah Maggio
--    ;
--    Gayla Schmitt
--    ;
-+    Willam Kertzmann;
-+    Josiah Maggio;
-+    Gayla Schmitt;
- 
- How to create a Provider
- ------------------------
-diff --git a/faker/cli.py b/faker/cli.py
-index d2ddedc..c8f0410 100644
---- a/faker/cli.py
-+++ b/faker/cli.py
-@@ -128,10 +128,39 @@ class Command(object):
-         if default_locale not in AVAILABLE_LOCALES:
-             default_locale = DEFAULT_LOCALE
- 
-+        epilog = """supported locales:
-+
-+  {0}
-+
-+  faker can take a locale as an argument, to return localized data. If no
-+  localized provider is found, the factory falls back to the default en_US
-+  locale.
-+
-+examples:
-+
-+  $ faker address
-+  968 Bahringer Garden Apt. 722
-+  Kristinaland, NJ 09890
-+
-+  $ faker -l de_DE address
-+  Samira-Niemeier-Allee 56
-+  94812 Biedenkopf
-+
-+  $ faker profile ssn,birthdate
-+  {{'ssn': u'628-10-1085', 'birthdate': '2008-03-29'}}
-+
-+  $ faker -r=3 -s=";" name
-+  Willam Kertzmann;
-+  Josiah Maggio;
-+  Gayla Schmitt;
-+
-+""".format(', '.join(sorted(AVAILABLE_LOCALES)))
-+
-         formatter_class = argparse.RawDescriptionHelpFormatter
-         parser = argparse.ArgumentParser(
-             prog=self.prog_name,
-             description='{0} version {1}'.format(self.prog_name, VERSION),
-+            epilog=epilog,
-             formatter_class=formatter_class)
- 
-         parser.add_argument("--version", action="version",
-@@ -145,6 +174,7 @@ class Command(object):
-         parser.add_argument('-l', '--lang',
-                             choices=AVAILABLE_LOCALES,
-                             default=default_locale,
-+                            metavar='LOCALE',
-                             help="specify the language for a localized "
-                             "provider (e.g. de_DE)")
-         parser.add_argument('-r', '--repeat',
diff --git a/debian/patches/series b/debian/patches/series
index 5c99e42..e69de29 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +0,0 @@
-0001-Improve-command-line-output.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/faker.git



More information about the Python-modules-commits mailing list