From b528fa1d8d741070da0e01a7103b45cc9d866bde Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Sun, 6 Aug 2023 22:15:01 +0200 Subject: [PATCH] python3-requests: adopted port --- python3-requests/.signature | 4 ++-- python3-requests/Pkgfile | 24 ++++++++++++------------ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/python3-requests/.signature b/python3-requests/.signature index 096ca9f0b..9ec1a16e3 100644 --- a/python3-requests/.signature +++ b/python3-requests/.signature @@ -1,6 +1,6 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF313KgNpobH9XGCLfSQJTFtOpLWUTr1djBktqrIuxdFYQGjmVovydSxfbiOCJHtMB+Iu2ucDl2GLmaoc1d5a32gA= -SHA256 (Pkgfile) = 3172900abfe96d0aa7e7e6950666a2461d4140b617da96d98996052d1531a178 +RWSagIOpLGJF3yYGVAsV2B4E0+pyth4vjgixLabnHHobOqqjiQbg9etLKu6JQPG2kUQid3cObCqEwK1uNJBgD8z6o+mUPwKpkAA= +SHA256 (Pkgfile) = e6c8496ba076f18db323306dccbb8d3b5be4e3066fa5cf2783810212a7b1ca9d SHA256 (.footprint) = e8636edd78def7c390ba1d9a2db2144620ff1907bcb756a675783d9bf36b76bb SHA256 (requests-2.31.0.tar.gz) = 942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1 SHA256 (certs.patch) = 3fa0c8ef2018ef0987d2daff79765b99abd99c539f2ec1241bcf9c31b1a4fd75 diff --git a/python3-requests/Pkgfile b/python3-requests/Pkgfile index ab1e1329c..beca8feff 100644 --- a/python3-requests/Pkgfile +++ b/python3-requests/Pkgfile @@ -1,27 +1,27 @@ # Description: Python HTTP for Humans # URL: https://pypi.org/project/requests/ -# Maintainer: Danny Rawlins, crux at romster dot me +# Maintainer: Tim Biermann, tbier at posteo dot de # Depends on: python3-chardet python3-idna python3-urllib3 name=python3-requests version=2.31.0 release=1 source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz - certs.patch) + certs.patch) build() { - cd ${name#*-}-$version + cd ${name#*-}-$version - # Stay with chardet for now: https://github.com/psf/requests/issues/5871 + # Stay with chardet for now: https://github.com/psf/requests/issues/5871 - sed \ - -e '/certifi/d' \ - -e "s/,<.*'/'/" \ - -e '/charset_normalizer/d' \ - -i setup.py + sed \ + -e '/certifi/d' \ + -e "s/,<.*'/'/" \ + -e '/charset_normalizer/d' \ + -i setup.py - patch -p1 -i $SRC/certs.patch + patch -p1 -i $SRC/certs.patch - /usr/bin/python3 setup.py build - /usr/bin/python3 setup.py install --prefix=/usr --root=$PKG + /usr/bin/python3 setup.py build + /usr/bin/python3 setup.py install --prefix=/usr --root=$PKG }