[arch-commits] Commit in python-httplib2/repos/community-any (4 files)

Felix Yan felixonmars at archlinux.org
Wed Feb 8 15:33:10 UTC 2017


    Date: Wednesday, February 8, 2017 @ 15:33:10
  Author: felixonmars
Revision: 211258

archrelease: copy trunk to community-any

Added:
  python-httplib2/repos/community-any/PKGBUILD
    (from rev 211257, python-httplib2/trunk/PKGBUILD)
  python-httplib2/repos/community-any/cert.patch
    (from rev 211257, python-httplib2/trunk/cert.patch)
Deleted:
  python-httplib2/repos/community-any/PKGBUILD
  python-httplib2/repos/community-any/cert.patch

------------+
 PKGBUILD   |  112 +++++++++++++++++++++++++++++------------------------------
 cert.patch |   60 +++++++++++++++----------------
 2 files changed, 86 insertions(+), 86 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-02-08 15:32:54 UTC (rev 211257)
+++ PKGBUILD	2017-02-08 15:33:10 UTC (rev 211258)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Alexander Rødseth <rodseth at gmail.com>
-# Contributor: Jan de Groot <jgc at archlinux.org>
-# Contributor: Giorgio Lando <patroclo7 at gmail.com>
-# Contributor: Nicolas Quienot <niQo at aur>
-# Contributor: Jesse Young <jesse.young at gmail.com>
-# Contributor: Anton Eliasson <devel at antoneliasson.se>
-
-pkgbase=python-httplib2
-pkgname=(python-httplib2 python2-httplib2)
-pkgver=0.10.2
-pkgrel=1
-pkgdesc='Comprehensive HTTP client library, supporting many features'
-url='https://github.com/httplib2/httplib2'
-license=('MIT')
-arch=('any')
-makedepends=('python-setuptools' 'python2-setuptools' 'git')
-depends=('ca-certificates')
-provides=('httplib2')
-replaces=('httplib2')
-source=("git+https://github.com/httplib2/httplib2.git#tag=v$pkgver"
-        'cert.patch')
-sha256sums=('SKIP'
-            'ba05f491fd07afec6abc6bccb08369906f8e6f1a808d94a54fe4e7be7d9771d9')
-
-prepare() {
-  pushd "${pkgbase/python-}"
-
-  # Patch, ref FS#40179
-  patch -p1 -i "$srcdir/cert.patch"
-
-  popd
-
-  # Prepare one build directory for each package
-  cp -a "${pkgbase/python-}" "${pkgname[0]}"
-  cp -a "${pkgbase/python-}" "${pkgname[1]}"
-}
-
-package_python-httplib2() {
-  depends=('python')
-
-  cd "$pkgname"
-  python setup.py install -O1 --root="$pkgdir"
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python2-httplib2() {
-  depends=('python2')
-
-  cd "$pkgname"
-  python2 setup.py install -O1 --root="$pkgdir"
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-httplib2/repos/community-any/PKGBUILD (from rev 211257, python-httplib2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-02-08 15:33:10 UTC (rev 211258)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: Giorgio Lando <patroclo7 at gmail.com>
+# Contributor: Nicolas Quienot <niQo at aur>
+# Contributor: Jesse Young <jesse.young at gmail.com>
+# Contributor: Anton Eliasson <devel at antoneliasson.se>
+
+pkgbase=python-httplib2
+pkgname=(python-httplib2 python2-httplib2)
+pkgver=0.10.3
+pkgrel=1
+pkgdesc='Comprehensive HTTP client library, supporting many features'
+url='https://github.com/httplib2/httplib2'
+license=('MIT')
+arch=('any')
+makedepends=('python-setuptools' 'python2-setuptools' 'git')
+depends=('ca-certificates')
+provides=('httplib2')
+replaces=('httplib2')
+source=("git+https://github.com/httplib2/httplib2.git#tag=v$pkgver"
+        'cert.patch')
+sha256sums=('SKIP'
+            'ba05f491fd07afec6abc6bccb08369906f8e6f1a808d94a54fe4e7be7d9771d9')
+
+prepare() {
+  pushd "${pkgbase/python-}"
+
+  # Patch, ref FS#40179
+  patch -p1 -i "$srcdir/cert.patch"
+
+  popd
+
+  # Prepare one build directory for each package
+  cp -a "${pkgbase/python-}" "${pkgname[0]}"
+  cp -a "${pkgbase/python-}" "${pkgname[1]}"
+}
+
+package_python-httplib2() {
+  depends=('python')
+
+  cd "$pkgname"
+  python setup.py install -O1 --root="$pkgdir"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-httplib2() {
+  depends=('python2')
+
+  cd "$pkgname"
+  python2 setup.py install -O1 --root="$pkgdir"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: cert.patch
===================================================================
--- cert.patch	2017-02-08 15:32:54 UTC (rev 211257)
+++ cert.patch	2017-02-08 15:33:10 UTC (rev 211258)
@@ -1,30 +0,0 @@
-diff -ur httplib2-0.8.orig/python2/httplib2/__init__.py httplib2-0.8/python2/httplib2/__init__.py
---- httplib2-0.8.orig/python2/httplib2/__init__.py	2014-05-01 23:25:52.459852279 +0200
-+++ httplib2-0.8/python2/httplib2/__init__.py	2014-05-01 23:28:08.822391994 +0200
-@@ -190,9 +190,8 @@
-     import ca_certs_locater
-     CA_CERTS = ca_certs_locater.get()
- except ImportError:
--    # Default CA certificates file bundled with httplib2.
--    CA_CERTS = os.path.join(
--        os.path.dirname(os.path.abspath(__file__ )), "cacerts.txt")
-+    # Use system CA certificates
-+    CA_CERTS = "/etc/ssl/certs/ca-certificates.crt"
- 
- # Which headers are hop-by-hop headers by default
- HOP_BY_HOP = ['connection', 'keep-alive', 'proxy-authenticate', 'proxy-authorization', 'te', 'trailers', 'transfer-encoding', 'upgrade']
-diff -ur httplib2-0.8.orig/python3/httplib2/__init__.py httplib2-0.8/python3/httplib2/__init__.py
---- httplib2-0.8.orig/python3/httplib2/__init__.py	2013-03-06 21:40:54.000000000 +0100
-+++ httplib2-0.8/python3/httplib2/__init__.py	2014-05-01 23:28:36.822913468 +0200
-@@ -123,9 +123,8 @@
- # Which headers are hop-by-hop headers by default
- HOP_BY_HOP = ['connection', 'keep-alive', 'proxy-authenticate', 'proxy-authorization', 'te', 'trailers', 'transfer-encoding', 'upgrade']
- 
--# Default CA certificates file bundled with httplib2.
--CA_CERTS = os.path.join(
--        os.path.dirname(os.path.abspath(__file__ )), "cacerts.txt")
-+# Use system CA certificates
-+CA_CERTS = "/etc/ssl/certs/ca-certificates.crt"
- 
- def _get_end2end_headers(response):
-     hopbyhop = list(HOP_BY_HOP)

Copied: python-httplib2/repos/community-any/cert.patch (from rev 211257, python-httplib2/trunk/cert.patch)
===================================================================
--- cert.patch	                        (rev 0)
+++ cert.patch	2017-02-08 15:33:10 UTC (rev 211258)
@@ -0,0 +1,30 @@
+diff -ur httplib2-0.8.orig/python2/httplib2/__init__.py httplib2-0.8/python2/httplib2/__init__.py
+--- httplib2-0.8.orig/python2/httplib2/__init__.py	2014-05-01 23:25:52.459852279 +0200
++++ httplib2-0.8/python2/httplib2/__init__.py	2014-05-01 23:28:08.822391994 +0200
+@@ -190,9 +190,8 @@
+     import ca_certs_locater
+     CA_CERTS = ca_certs_locater.get()
+ except ImportError:
+-    # Default CA certificates file bundled with httplib2.
+-    CA_CERTS = os.path.join(
+-        os.path.dirname(os.path.abspath(__file__ )), "cacerts.txt")
++    # Use system CA certificates
++    CA_CERTS = "/etc/ssl/certs/ca-certificates.crt"
+ 
+ # Which headers are hop-by-hop headers by default
+ HOP_BY_HOP = ['connection', 'keep-alive', 'proxy-authenticate', 'proxy-authorization', 'te', 'trailers', 'transfer-encoding', 'upgrade']
+diff -ur httplib2-0.8.orig/python3/httplib2/__init__.py httplib2-0.8/python3/httplib2/__init__.py
+--- httplib2-0.8.orig/python3/httplib2/__init__.py	2013-03-06 21:40:54.000000000 +0100
++++ httplib2-0.8/python3/httplib2/__init__.py	2014-05-01 23:28:36.822913468 +0200
+@@ -123,9 +123,8 @@
+ # Which headers are hop-by-hop headers by default
+ HOP_BY_HOP = ['connection', 'keep-alive', 'proxy-authenticate', 'proxy-authorization', 'te', 'trailers', 'transfer-encoding', 'upgrade']
+ 
+-# Default CA certificates file bundled with httplib2.
+-CA_CERTS = os.path.join(
+-        os.path.dirname(os.path.abspath(__file__ )), "cacerts.txt")
++# Use system CA certificates
++CA_CERTS = "/etc/ssl/certs/ca-certificates.crt"
+ 
+ def _get_end2end_headers(response):
+     hopbyhop = list(HOP_BY_HOP)



More information about the arch-commits mailing list