[Python-modules-commits] [praw] 06/14: Initialize git-dpm

Josué Ortega josue at moszumanska.debian.org
Sat Oct 28 21:13:03 UTC 2017


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

josue pushed a commit to branch master
in repository praw.

commit 3b33e764e8b05552016db62eb7a6e92a570ce0cc
Merge: 2e19e6d a9f25ac
Author: Josue Ortega <josue at debian.org>
Date:   Tue Aug 8 15:00:50 2017 -0400

    Initialize git-dpm

 README.rst                                         |  5 ---
 debian/.git-dpm                                    |  8 ++++
 ...01-Don-t-automatically-check-for-updates.patch} | 48 +++++++++++++---------
 ...ference-to-tests-not-included-in-tarball.patch} | 21 ++++++----
 ...-Prevent-privacy-breach-in-documentation.patch} | 19 ++++++---
 debian/patches/series                              |  6 +--
 praw.egg-info/requires.txt                         |  1 -
 praw/__init__.py                                   |  1 -
 praw/praw.ini                                      |  2 +-
 setup.py                                           |  7 +---
 10 files changed, 70 insertions(+), 48 deletions(-)

diff --cc debian/.git-dpm
index 0000000,0000000..62caa85
new file mode 100644
--- /dev/null
+++ b/debian/.git-dpm
@@@ -1,0 -1,0 +1,8 @@@
++# see git-dpm(1) from git-dpm package
++a9f25ac54835ec42af3639d7b2dde47506f99b40
++a9f25ac54835ec42af3639d7b2dde47506f99b40
++dba9360b0bbe689b863911f2defc7e82bacf9c9d
++dba9360b0bbe689b863911f2defc7e82bacf9c9d
++praw_5.0.1.orig.tar.gz
++b37bbef97e10defdd14568a65b37363f1d5e5f32
++6544022
diff --cc debian/patches/0001-Don-t-automatically-check-for-updates.patch
index 236d3d2,0000000..4e5448d
mode 100644,000000..100644
--- a/debian/patches/0001-Don-t-automatically-check-for-updates.patch
+++ b/debian/patches/0001-Don-t-automatically-check-for-updates.patch
@@@ -1,54 -1,0 +1,64 @@@
- Description: Don't automatically check for updates
++From 3661a6e4c568cd505b76ebb6c574a6e03c51f5b5 Mon Sep 17 00:00:00 2001
++From: Riley Baird <BM-2cVqnDuYbAU5do2DfJTrN7ZbAJ246S4XiX at bitmessage.ch>
++Date: Tue, 8 Aug 2017 15:00:48 -0400
++Subject: Don't automatically check for updates
++
 + Automatic updating is inconsistent with the idea of a package manager. In
 + addition, this removes a dependency on update_checker.
 +Forwarded: not-needed
- Author: Riley Baird <BM-2cVqnDuYbAU5do2DfJTrN7ZbAJ246S4XiX at bitmessage.ch>
 +Last-Update: 2015-09-17
- Index: praw-3.2.1/praw.egg-info/requires.txt
- ===================================================================
- --- praw-3.2.1.orig/praw.egg-info/requires.txt
- +++ praw-3.2.1/praw.egg-info/requires.txt
++---
++ praw.egg-info/requires.txt | 1 -
++ praw/__init__.py           | 1 -
++ praw/praw.ini              | 2 +-
++ setup.py                   | 3 +--
++ 4 files changed, 2 insertions(+), 5 deletions(-)
++
++diff --git a/praw.egg-info/requires.txt b/praw.egg-info/requires.txt
++index 5edd56e..9f36660 100644
++--- a/praw.egg-info/requires.txt
+++++ b/praw.egg-info/requires.txt
 +@@ -1,4 +1,3 @@
 + decorator>=3.4.2
 + requests>=2.3.0
 + six>=1.4
 +-update_checker>=0.11
- Index: praw-3.2.1/praw/__init__.py
- ===================================================================
- --- praw-3.2.1.orig/praw/__init__.py
- +++ praw-3.2.1/praw/__init__.py
++diff --git a/praw/__init__.py b/praw/__init__.py
++index b07fb05..b802199 100644
++--- a/praw/__init__.py
+++++ b/praw/__init__.py
 +@@ -46,7 +46,6 @@ from requests import Request
 + from six.moves import html_entities, http_cookiejar
 + from six.moves.urllib.parse import parse_qs, urlparse, urlunparse
 + # pylint: enable=F0401
 +-from update_checker import update_check
 + from warnings import warn_explicit
 + 
 + 
- Index: praw-3.2.1/praw/praw.ini
- ===================================================================
- --- praw-3.2.1.orig/praw/praw.ini
- +++ praw-3.2.1/praw/praw.ini
++diff --git a/praw/praw.ini b/praw/praw.ini
++index 3324784..77fbe1c 100644
++--- a/praw/praw.ini
+++++ b/praw/praw.ini
 +@@ -7,7 +7,7 @@ api_domain: api.reddit.com
 + api_request_delay: 2.0
 + 
 + # A boolean to indicate whether or not to check for package updates.
 +-check_for_updates: True
 ++check_for_updates: False
 + 
 + # Time, a float, in seconds, to save the results of a get/post request.
 + cache_timeout: 30
- Index: praw-3.2.1/setup.py
- ===================================================================
- --- praw-3.2.1.orig/setup.py
- +++ praw-3.2.1/setup.py
- @@ -45,8 +45,7 @@ setup(
++diff --git a/setup.py b/setup.py
++index 73b1a27..3b767a3 100644
++--- a/setup.py
+++++ b/setup.py
++@@ -42,8 +42,7 @@ setup(
 +     keywords='reddit api wrapper',
 +     packages=[PACKAGE_NAME],
 +     package_data={'': ['COPYING'], PACKAGE_NAME: ['*.ini']},
 +-    install_requires=['decorator>=3.4.2', 'requests>=2.3.0', 'six>=1.4',
 +-                      'update_checker>=0.11'],
 ++    install_requires=['decorator>=3.4.2', 'requests>=2.3.0', 'six>=1.4'],
 +     tests_require=['betamax>=0.4.2', 'betamax-matchers>=0.2.0', 'mock>=1.0.0'],
 +     entry_points={'console_scripts': [
 +             'praw-multiprocess = praw.multiprocess:run']},
diff --cc debian/patches/0002-Remove-reference-to-tests-not-included-in-tarball.patch
index 4b40cea,0000000..3ca25ae
mode 100644,000000..100644
--- a/debian/patches/0002-Remove-reference-to-tests-not-included-in-tarball.patch
+++ b/debian/patches/0002-Remove-reference-to-tests-not-included-in-tarball.patch
@@@ -1,20 -1,0 +1,27 @@@
- Description: Remove reference to tests not included in tarball
++From 41b66398ba2f2131e84cbcdb4cfbfed24aa812de Mon Sep 17 00:00:00 2001
++From: Riley Baird <BM-2cVqnDuYbAU5do2DfJTrN7ZbAJ246S4XiX at bitmessage.ch>
++Date: Tue, 8 Aug 2017 15:00:49 -0400
++Subject: Remove reference to tests not included in tarball
++
 + setup.py includes a reference to tests that can be performed during build.
 + However, the tests require betamax and betamax-matchers to build, and these
 + packages aren't in Debian, so they must be disabled for the time being.
 +Forwarded: not-needed
- Author: Riley Baird <BM-2cVqnDuYbAU5do2DfJTrN7ZbAJ246S4XiX at bitmessage.ch>
 +Last-Update: 2015-08-18
- Index: praw-3.2.1/setup.py
- ===================================================================
- --- praw-3.2.1.orig/setup.py
- +++ praw-3.2.1/setup.py
- @@ -46,7 +46,5 @@ setup(
++---
++ setup.py | 4 +---
++ 1 file changed, 1 insertion(+), 3 deletions(-)
++
++diff --git a/setup.py b/setup.py
++index 3b767a3..7577df0 100644
++--- a/setup.py
+++++ b/setup.py
++@@ -43,7 +43,5 @@ setup(
 +     packages=[PACKAGE_NAME],
 +     package_data={'': ['COPYING'], PACKAGE_NAME: ['*.ini']},
 +     install_requires=['decorator>=3.4.2', 'requests>=2.3.0', 'six>=1.4'],
 +-    tests_require=['betamax>=0.4.2', 'betamax-matchers>=0.2.0', 'mock>=1.0.0'],
 +     entry_points={'console_scripts': [
 +-            'praw-multiprocess = praw.multiprocess:run']},
 +-    test_suite='tests')
 ++            'praw-multiprocess = praw.multiprocess:run']})
diff --cc debian/patches/0003-Prevent-privacy-breach-in-documentation.patch
index 632e96a,0000000..60e756e
mode 100644,000000..100644
--- a/debian/patches/0003-Prevent-privacy-breach-in-documentation.patch
+++ b/debian/patches/0003-Prevent-privacy-breach-in-documentation.patch
@@@ -1,24 -1,0 +1,31 @@@
- Description: Prevent privacy breach in documentation
++From a9f25ac54835ec42af3639d7b2dde47506f99b40 Mon Sep 17 00:00:00 2001
++From: Riley Baird <BM-2cVqnDuYbAU5do2DfJTrN7ZbAJ246S4XiX at bitmessage.ch>
++Date: Tue, 8 Aug 2017 15:00:50 -0400
++Subject: Prevent privacy breach in documentation
++
 + By default, the documentation for praw fetches external resources related
 + to Travis CI. Lintian reports this as a privacy breach. Because of the nature
 + of Travis CI, it would serve no purpose to provide a local copy. It is for
 + this reason that I have decided to simply remove these images entirely.
 +Forwarded: not-needed
- Author: Riley Baird <BM-2cVqnDuYbAU5do2DfJTrN7ZbAJ246S4XiX at bitmessage.ch>
 +Last-Update: 2015-08-20
- Index: praw-3.2.1/README.rst
- ===================================================================
- --- praw-3.2.1.orig/README.rst
- +++ praw-3.2.1/README.rst
++---
++ README.rst | 5 -----
++ 1 file changed, 5 deletions(-)
++
++diff --git a/README.rst b/README.rst
++index a002fb6..ddde51e 100644
++--- a/README.rst
+++++ b/README.rst
 +@@ -5,11 +5,6 @@ PRAW: The Python Reddit API Wrapper
 + 
 + .. begin_description
 + 
 +-.. image:: https://travis-ci.org/praw-dev/praw.svg?branch=master
 +-           :target: https://travis-ci.org/praw-dev/praw
 +-.. image:: https://coveralls.io/repos/praw-dev/praw/badge.svg?branch=master
 +-  :target: https://coveralls.io/r/praw-dev/praw?branch=master
 +-
 + 
 + PRAW, an acronym for "Python Reddit API Wrapper", is a python package that
 + allows for simple access to reddit's API. PRAW aims to be as easy to use as
diff --cc debian/patches/series
index 14b6428,0000000..422dc26
mode 100644,000000..100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@@ -1,3 -1,0 +1,3 @@@
- no-autoupdate.patch
- disable-tests.patch
- fix-privacy-issue.patch
++0001-Don-t-automatically-check-for-updates.patch
++0002-Remove-reference-to-tests-not-included-in-tarball.patch
++0003-Prevent-privacy-breach-in-documentation.patch

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



More information about the Python-modules-commits mailing list