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

Felix Yan felixonmars at archlinux.org
Thu Feb 13 16:22:23 UTC 2020


    Date: Thursday, February 13, 2020 @ 16:22:22
  Author: felixonmars
Revision: 570606

archrelease: copy trunk to community-testing-any

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

------------+
 PKGBUILD   |  136 +++++++++++++++++++++++++++++------------------------------
 cert.patch |   74 ++++++++++++++++----------------
 2 files changed, 105 insertions(+), 105 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-13 16:22:04 UTC (rev 570605)
+++ PKGBUILD	2020-02-13 16:22:22 UTC (rev 570606)
@@ -1,68 +0,0 @@
-# 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.16.0
-pkgrel=1
-pkgdesc='Comprehensive HTTP client library, supporting many features'
-url='https://github.com/httplib2/httplib2'
-license=('MIT')
-arch=('any')
-makedepends=('ca-certificates' 'python-setuptools' 'python2-setuptools')
-checkdepends=('flake8' 'python2-flake8' 'python-mock' 'python2-mock' 'python-pytest-cov'
-              'python2-pytest-cov' 'python-pytest-forked' 'python2-pytest-forked'
-              'python-pytest-timeout' 'python2-pytest-timeout' 'python-pytest-xdist'
-              'python2-pytest-xdist' 'python-pytest-randomly' 'python2-pytest-randomly'
-              'python-future' 'python2-future')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/httplib2/httplib2/archive/v$pkgver.tar.gz"
-        'cert.patch')
-sha512sums=('39626ff5b7368a7cb9cfa82f1b903b02c340e30c272cf77d3572d3ddc77bd13a2c7270c3aaeed10040682723f9d0b9a117d7b6a18acc04d740c28ef90b659d3b'
-            '503719fb07b9ff1f06f252b73804787759139098dba990a7dcd9e9b3602f7271d2251e703993636b249b3597c9a240c721c536a4fe31526ec4ba9441f6c8da56')
-
-prepare() {
-  cd httplib2-$pkgver
-  patch -p0 -i "$srcdir"/cert.patch
-  sed -i 's/==/>=/' requirements-test.txt
-
-  cp -a "$srcdir"/httplib2-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/httplib2-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/httplib2-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/httplib2-$pkgver
-  python setup.py test
-
-  cd "$srcdir"/httplib2-$pkgver-py2
-  python2 setup.py test || warning "Tests failed"
-}
-
-package_python-httplib2() {
-  depends=('python' 'ca-certificates')
-
-  cd httplib2-$pkgver
-  python setup.py install -O1 --root="$pkgdir"
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-httplib2() {
-  depends=('python2' 'ca-certificates')
-
-  cd httplib2-$pkgver-py2
-  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-testing-any/PKGBUILD (from rev 570605, python-httplib2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-02-13 16:22:22 UTC (rev 570606)
@@ -0,0 +1,68 @@
+# 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.17.0
+pkgrel=1
+pkgdesc='Comprehensive HTTP client library, supporting many features'
+url='https://github.com/httplib2/httplib2'
+license=('MIT')
+arch=('any')
+makedepends=('ca-certificates' 'python-setuptools' 'python2-setuptools')
+checkdepends=('flake8' 'python2-flake8' 'python-mock' 'python2-mock' 'python-pytest-cov'
+              'python2-pytest-cov' 'python-pytest-forked' 'python2-pytest-forked'
+              'python-pytest-timeout' 'python2-pytest-timeout' 'python-pytest-xdist'
+              'python2-pytest-xdist' 'python-pytest-randomly' 'python2-pytest-randomly'
+              'python-future' 'python2-future')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/httplib2/httplib2/archive/v$pkgver.tar.gz"
+        'cert.patch')
+sha512sums=('303108c0aa4207c36376edeca5feca8047f64836153a27617da77992f4c3ac73b7782d6910c3405f15a1521c3014540838d8530c1fc6d4b75f42a5e83d1b55da'
+            '503719fb07b9ff1f06f252b73804787759139098dba990a7dcd9e9b3602f7271d2251e703993636b249b3597c9a240c721c536a4fe31526ec4ba9441f6c8da56')
+
+prepare() {
+  cd httplib2-$pkgver
+  patch -p0 -i "$srcdir"/cert.patch
+  sed -i 's/==/>=/' requirements-test.txt
+
+  cp -a "$srcdir"/httplib2-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/httplib2-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/httplib2-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/httplib2-$pkgver
+  python setup.py test
+
+  cd "$srcdir"/httplib2-$pkgver-py2
+  python2 setup.py test || warning "Tests failed"
+}
+
+package_python-httplib2() {
+  depends=('python' 'ca-certificates')
+
+  cd httplib2-$pkgver
+  python setup.py install -O1 --root="$pkgdir"
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-httplib2() {
+  depends=('python2' 'ca-certificates')
+
+  cd httplib2-$pkgver-py2
+  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	2020-02-13 16:22:04 UTC (rev 570605)
+++ cert.patch	2020-02-13 16:22:22 UTC (rev 570606)
@@ -1,37 +0,0 @@
---- python2/httplib2/certs.py.orig	2018-11-15 20:09:04.605507207 +0800
-+++ python2/httplib2/certs.py	2018-11-15 20:10:35.122107327 +0800
-@@ -19,9 +19,7 @@
-     pass
- 
- 
--BUILTIN_CA_CERTS = os.path.join(
--    os.path.dirname(os.path.abspath(__file__)), "cacerts.txt"
--)
-+BUILTIN_CA_CERTS = "/etc/ssl/certs/ca-certificates.crt"
- 
- 
- def where():
---- python3/httplib2/certs.py.orig	2018-11-15 20:09:15.708832692 +0800
-+++ python3/httplib2/certs.py	2018-11-15 20:11:16.888741464 +0800
-@@ -19,9 +19,7 @@
-     pass
- 
- 
--BUILTIN_CA_CERTS = os.path.join(
--    os.path.dirname(os.path.abspath(__file__)), "cacerts.txt"
--)
-+BUILTIN_CA_CERTS = "/etc/ssl/certs/ca-certificates.crt"
- 
- 
- def where():
---- tests/test_cacerts_from_env.py.orig	2018-11-15 20:21:46.148162984 +0800
-+++ tests/test_cacerts_from_env.py	2018-11-15 20:21:58.051484347 +0800
-@@ -6,7 +6,7 @@
- import httplib2
- 
- 
--CA_CERTS_BUILTIN = os.path.join(os.path.dirname(httplib2.__file__), "cacerts.txt")
-+CA_CERTS_BUILTIN = "/etc/ssl/certs/ca-certificates.crt"
- CERTIFI_CERTS_FILE = "unittest_certifi_file"
- CUSTOM_CA_CERTS = "unittest_custom_ca_certs"
- 

Copied: python-httplib2/repos/community-testing-any/cert.patch (from rev 570605, python-httplib2/trunk/cert.patch)
===================================================================
--- cert.patch	                        (rev 0)
+++ cert.patch	2020-02-13 16:22:22 UTC (rev 570606)
@@ -0,0 +1,37 @@
+--- python2/httplib2/certs.py.orig	2018-11-15 20:09:04.605507207 +0800
++++ python2/httplib2/certs.py	2018-11-15 20:10:35.122107327 +0800
+@@ -19,9 +19,7 @@
+     pass
+ 
+ 
+-BUILTIN_CA_CERTS = os.path.join(
+-    os.path.dirname(os.path.abspath(__file__)), "cacerts.txt"
+-)
++BUILTIN_CA_CERTS = "/etc/ssl/certs/ca-certificates.crt"
+ 
+ 
+ def where():
+--- python3/httplib2/certs.py.orig	2018-11-15 20:09:15.708832692 +0800
++++ python3/httplib2/certs.py	2018-11-15 20:11:16.888741464 +0800
+@@ -19,9 +19,7 @@
+     pass
+ 
+ 
+-BUILTIN_CA_CERTS = os.path.join(
+-    os.path.dirname(os.path.abspath(__file__)), "cacerts.txt"
+-)
++BUILTIN_CA_CERTS = "/etc/ssl/certs/ca-certificates.crt"
+ 
+ 
+ def where():
+--- tests/test_cacerts_from_env.py.orig	2018-11-15 20:21:46.148162984 +0800
++++ tests/test_cacerts_from_env.py	2018-11-15 20:21:58.051484347 +0800
+@@ -6,7 +6,7 @@
+ import httplib2
+ 
+ 
+-CA_CERTS_BUILTIN = os.path.join(os.path.dirname(httplib2.__file__), "cacerts.txt")
++CA_CERTS_BUILTIN = "/etc/ssl/certs/ca-certificates.crt"
+ CERTIFI_CERTS_FILE = "unittest_certifi_file"
+ CUSTOM_CA_CERTS = "unittest_custom_ca_certs"
+ 



More information about the arch-commits mailing list