[arch-commits] Commit in python-requests/trunk (PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Mon Feb 14 17:18:45 UTC 2022


    Date: Monday, February 14, 2022 @ 17:18:45
  Author: felixonmars
Revision: 437197

upgpkg: python-requests 2.27.0-1

Modified:
  python-requests/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-14 17:09:11 UTC (rev 437196)
+++ PKGBUILD	2022-02-14 17:18:45 UTC (rev 437197)
@@ -1,26 +1,24 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 # Contributor: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
 
-pkgbase=python-requests
-pkgname=('python-requests')
-pkgver=2.26.0
-pkgrel=5
+pkgname=python-requests
+pkgver=2.27.0
+pkgrel=1
 pkgdesc="Python HTTP for Humans"
 arch=('any')
 url="http://python-requests.org"
 license=('Apache')
 depends=('python-urllib3' 'python-chardet' 'python-idna')
-makedepends=('python-setuptools' 'python-chardet'
-             'python-urllib3' 'python-idna')
+makedepends=('python-setuptools' 'python-chardet' 'python-urllib3' 'python-idna')
 checkdepends=('python-pytest-httpbin' 'python-pytest-mock' 'python-pysocks' 'python-trustme')
 optdepends=('python-pysocks: SOCKS proxy support')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/psf/requests/archive/v$pkgver.tar.gz"
+source=("https://github.com/psf/requests/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
         certs.patch)
-sha512sums=('df7b3fbef42e600434764b2ae3906546a778f8caab0111d818adef7c747d4d58e9977ac9ae25092e1170a2cde78234e64b779ba4afd84bb2bf7dbce6efb380e9'
+sha512sums=('84c24d31a9aa9af995c24d40ef1c8c85c8c42bc52b3f59ae91206aa6598ca6d468ae3a65929926afb88ea3bf02d0d979907fff61e79f451ed6971c32d05ab6e3'
             '424a3bb01b23409284f6c9cd2bc22d92df31b85cfd96e1d1b16b5d68adeca670dfed4fff7977d8b10980102b0f780eacc465431021fcd661f3a17168a02a39a3')
 
 prepare() {
-  cd "$srcdir"/requests-$pkgver
+  cd requests-$pkgver
   # Stay with chardet for now: https://github.com/psf/requests/issues/5871
   sed -e '/certifi/d' \
       -e "s/,<.*'/'/" \
@@ -30,7 +28,7 @@
 }
 
 build() {
-  cd "$srcdir"/requests-$pkgver
+  cd requests-$pkgver
   python setup.py build
 }
 
@@ -44,6 +42,6 @@
 }
 
 package() {
-  cd "$srcdir"/requests-$pkgver
+  cd requests-$pkgver
   python setup.py install --skip-build -O1 --root="$pkgdir"
 }



More information about the arch-commits mailing list