[arch-commits] Commit in python-requests-toolbelt/repos/community-staging-any (2 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Thu Dec 2 14:32:36 UTC 2021


    Date: Thursday, December 2, 2021 @ 14:32:36
  Author: foutrelis
Revision: 1061917

archrelease: copy trunk to community-staging-any

Added:
  python-requests-toolbelt/repos/community-staging-any/PKGBUILD
    (from rev 1061916, python-requests-toolbelt/trunk/PKGBUILD)
Deleted:
  python-requests-toolbelt/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   67 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 37 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-02 14:32:31 UTC (rev 1061916)
+++ PKGBUILD	2021-12-02 14:32:36 UTC (rev 1061917)
@@ -1,30 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: eolianoe <eolianoe At GoogleMAIL DoT com>
-
-pkgname=python-requests-toolbelt
-pkgver=0.9.1
-pkgrel=6
-pkgdesc="A toolbelt of useful classes and functions to be used with python-requests."
-arch=('any')
-url="https://github.com/requests/toolbelt"
-license=('Apache')
-depends=('python-requests')
-makedepends=('python-setuptools' 'python-requests')
-checkdepends=('python-pytest' 'python-betamax' 'python-mock' 'python-pyopenssl')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/requests/toolbelt/archive/$pkgver.tar.gz")
-sha512sums=('12667056c225ce0bc88a5959660103feed23810890abd3890ef15581aa64c09c0552c3974473e1742cbe6200bd37d6475ad34ec051e83d4fbf0a33f320dbc0cc')
-
-build() {
-  cd "$srcdir"/toolbelt-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd "$srcdir"/toolbelt-$pkgver
-  py.test -k 'not test_no_content_length_header and not test_read_file and not test_reads_file_from_url_wrapper'
-}
-
-package() {
-  cd toolbelt-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-requests-toolbelt/repos/community-staging-any/PKGBUILD (from rev 1061916, python-requests-toolbelt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-02 14:32:36 UTC (rev 1061917)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: eolianoe <eolianoe At GoogleMAIL DoT com>
+
+pkgname=python-requests-toolbelt
+pkgver=0.9.1
+pkgrel=7
+pkgdesc="A toolbelt of useful classes and functions to be used with python-requests."
+arch=('any')
+url="https://github.com/requests/toolbelt"
+license=('Apache')
+depends=('python-requests')
+makedepends=('python-setuptools' 'python-requests')
+checkdepends=('python-pytest' 'python-betamax' 'python-mock' 'python-pyopenssl')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/requests/toolbelt/archive/$pkgver.tar.gz"
+        '7188b06330e5260be20bce8cbcf0d5ae44e34eaf.patch::https://github.com/requests/toolbelt/commit/7188b06330e5260be20bce8cbcf0d5ae44e34eaf.patch')
+sha512sums=('12667056c225ce0bc88a5959660103feed23810890abd3890ef15581aa64c09c0552c3974473e1742cbe6200bd37d6475ad34ec051e83d4fbf0a33f320dbc0cc'
+            '3265c1cc903ee878fecc0a98be935c4471c89c4ed0def6c0862d581b7ca84e97b402dd6e532127d5eca7b04d8f78127116c06324c1bf5199994406cc6c37006e')
+
+prepare() {
+  cd "$srcdir"/toolbelt-$pkgver
+  patch -p1 <"$srcdir"/7188b06330e5260be20bce8cbcf0d5ae44e34eaf.patch
+}
+
+build() {
+  cd "$srcdir"/toolbelt-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/toolbelt-$pkgver
+  py.test -k 'not test_no_content_length_header and not test_read_file and not test_reads_file_from_url_wrapper and not test_x509_der and not test_x509_pem'
+}
+
+package() {
+  cd toolbelt-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list