Date: Monday, April 10, 2023 @ 11:36:44
  Author: felixonmars
Revision: 1444064

archrelease: copy trunk to community-staging-any

Added:
  python-httplib2/repos/community-staging-any/PKGBUILD
    (from rev 1444063, python-httplib2/trunk/PKGBUILD)
  python-httplib2/repos/community-staging-any/use-system-certificates.patch
    (from rev 1444063, python-httplib2/trunk/use-system-certificates.patch)
Deleted:
  python-httplib2/repos/community-staging-any/PKGBUILD
  python-httplib2/repos/community-staging-any/use-system-certificates.patch

-------------------------------+
 PKGBUILD                      |  168 ++++++++++++++++++++--------------------
 use-system-certificates.patch |   74 ++++++++---------
 2 files changed, 121 insertions(+), 121 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-10 11:36:32 UTC (rev 1444063)
+++ PKGBUILD    2023-04-10 11:36:44 UTC (rev 1444064)
@@ -1,84 +0,0 @@
-# Maintainer: George Rawlinson <[email protected]>
-# Contributor: Felix Yan <[email protected]>
-# Contributor: Alexander Rødseth <[email protected]>
-# Contributor: Jan de Groot <[email protected]>
-# Contributor: Giorgio Lando <[email protected]>
-# Contributor: Nicolas Quienot <niQo@aur>
-# Contributor: Jesse Young <[email protected]>
-# Contributor: Anton Eliasson <[email protected]>
-
-pkgname=python-httplib2
-pkgver=0.22.0
-pkgrel=2
-pkgdesc='Comprehensive HTTP client library, supporting many features'
-arch=('any')
-url='https://github.com/httplib2/httplib2'
-license=('MIT')
-depends=(
-  'ca-certificates'
-  'python'
-  'python-pyparsing'
-)
-makedepends=(
-  'git'
-  'python-build'
-  'python-installer'
-  'python-wheel'
-  'python-setuptools'
-)
-checkdepends=(
-  'flake8'
-  'python-pytest-cov'
-  'python-pytest-forked'
-  'python-pytest-timeout'
-  'python-pytest-xdist'
-  'python-pytest-randomly'
-  'python-future'
-  'python-cryptography'
-  'python-six'
-)
-_commit=09eee8a81f552cbaa74f603f2dd9bcc3311ff6d7
-source=(
-  "$pkgname::git+$url#commit=$_commit"
-  'use-system-certificates.patch'
-)
-sha512sums=('SKIP'
-            
'cb767cf95177d5a3c40dce49db0759b75a4ef3b9182ee931370386d7f380586818d8d940119907fe7a6b85504377571eb52176dcacbb37197cc85a5ae48fc149')
-
-
-pkgver() {
-  cd "$pkgname"
-
-  git describe --tags | sed 's/^v//'
-}
-
-prepare() {
-  cd "$pkgname"
-
-  patch -p1 -i "$srcdir/use-system-certificates.patch"
-
-  sed -e 's/==/>=/' -i requirements-test.txt
-}
-
-build() {
-  cd "$pkgname"
-
-  python -m build --wheel --no-isolation
-}
-
-check() {
-  cd "$pkgname"
-  # test_client_cert_password_verified fails with cryptography 36 
https://github.com/httplib2/httplib2/issues/221
-  PYTHONPATH=build/lib pytest -k 'not test_client_cert_password_verified'
-}
-
-package() {
-  cd "$pkgname"
-
-  python setup.py install --root="$pkgdir" --optimize=1
-
-  # license
-  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-httplib2/repos/community-staging-any/PKGBUILD (from rev 1444063, 
python-httplib2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-04-10 11:36:44 UTC (rev 1444064)
@@ -0,0 +1,84 @@
+# Maintainer: George Rawlinson <[email protected]>
+# Contributor: Felix Yan <[email protected]>
+# Contributor: Alexander Rødseth <[email protected]>
+# Contributor: Jan de Groot <[email protected]>
+# Contributor: Giorgio Lando <[email protected]>
+# Contributor: Nicolas Quienot <niQo@aur>
+# Contributor: Jesse Young <[email protected]>
+# Contributor: Anton Eliasson <[email protected]>
+
+pkgname=python-httplib2
+pkgver=0.22.0
+pkgrel=3
+pkgdesc='Comprehensive HTTP client library, supporting many features'
+arch=('any')
+url='https://github.com/httplib2/httplib2'
+license=('MIT')
+depends=(
+  'ca-certificates'
+  'python'
+  'python-pyparsing'
+)
+makedepends=(
+  'git'
+  'python-build'
+  'python-installer'
+  'python-wheel'
+  'python-setuptools'
+)
+checkdepends=(
+  'flake8'
+  'python-pytest-cov'
+  'python-pytest-forked'
+  'python-pytest-timeout'
+  'python-pytest-xdist'
+  'python-pytest-randomly'
+  'python-future'
+  'python-cryptography'
+  'python-six'
+)
+_commit=09eee8a81f552cbaa74f603f2dd9bcc3311ff6d7
+source=(
+  "$pkgname::git+$url#commit=$_commit"
+  'use-system-certificates.patch'
+)
+sha512sums=('SKIP'
+            
'cb767cf95177d5a3c40dce49db0759b75a4ef3b9182ee931370386d7f380586818d8d940119907fe7a6b85504377571eb52176dcacbb37197cc85a5ae48fc149')
+
+
+pkgver() {
+  cd "$pkgname"
+
+  git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+  cd "$pkgname"
+
+  patch -p1 -i "$srcdir/use-system-certificates.patch"
+
+  sed -e 's/==/>=/' -i requirements-test.txt
+}
+
+build() {
+  cd "$pkgname"
+
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd "$pkgname"
+  # test_client_cert_password_verified fails with cryptography 36 
https://github.com/httplib2/httplib2/issues/221
+  PYTHONPATH=build/lib pytest -k 'not test_client_cert_password_verified'
+}
+
+package() {
+  cd "$pkgname"
+
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: use-system-certificates.patch
===================================================================
--- use-system-certificates.patch       2023-04-10 11:36:32 UTC (rev 1444063)
+++ use-system-certificates.patch       2023-04-10 11:36:44 UTC (rev 1444064)
@@ -1,37 +0,0 @@
---- a/python2/httplib2/certs.py
-+++ b/python2/httplib2/certs.py
-@@ -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():
---- a/python3/httplib2/certs.py
-+++ b/python3/httplib2/certs.py
-@@ -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():
---- a/tests/test_cacerts_from_env.py
-+++ b/tests/test_cacerts_from_env.py
-@@ -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-staging-any/use-system-certificates.patch (from 
rev 1444063, python-httplib2/trunk/use-system-certificates.patch)
===================================================================
--- use-system-certificates.patch                               (rev 0)
+++ use-system-certificates.patch       2023-04-10 11:36:44 UTC (rev 1444064)
@@ -0,0 +1,37 @@
+--- a/python2/httplib2/certs.py
++++ b/python2/httplib2/certs.py
+@@ -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():
+--- a/python3/httplib2/certs.py
++++ b/python3/httplib2/certs.py
+@@ -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():
+--- a/tests/test_cacerts_from_env.py
++++ b/tests/test_cacerts_from_env.py
+@@ -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"
+ 

Reply via email to