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

Levente Polyak anthraxx at archlinux.org
Fri Mar 12 18:49:27 UTC 2021


    Date: Friday, March 12, 2021 @ 18:49:26
  Author: anthraxx
Revision: 888985

upgpkg: python-requests-aws4auth 1.0.1-2: remove conflicting files

Fixes FS#69832

Modified:
  python-requests-aws4auth/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-12 18:34:20 UTC (rev 888984)
+++ PKGBUILD	2021-03-12 18:49:26 UTC (rev 888985)
@@ -4,21 +4,21 @@
 _pkgname=requests-aws4auth
 pkgname=python-requests-aws4auth
 pkgver=1.0.1
-pkgrel=1
+pkgrel=2
 pkgdesc='Amazon Web Services version 4 authentication for the Python Requests module'
 url='https://github.com/sam-washington/requests-aws4auth'
-arch=('x86_64')
+arch=('any')
 license=('MIT')
-depends=('python' 'python-requests')
+depends=('python' 'python-requests' 'python-six')
 makedepends=('python-setuptools')
 checkdepends=('python-pytest')
-source=(https://github.com/sam-washington/requests-aws4auth/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
 sha512sums=('99fd0a125f2808fd8871876674004370e558b22d311925203cdc59d11ab9503f423d7adbe1dd849ed2d2c3969cb5bc5e4fb40f0e4d44f9164416837915742fd2')
 b2sums=('b86eca51d01aa44d3d16bc879499876939302f9e51fc0c35684e9e2fb3805f761bfa5db5ac5ca2007f8820bfd229f86caa7c477ac4a524fc019c538c42136735')
 
 prepare() {
   cd ${_pkgname}-${pkgver}
-  sed "s|'test/requests_aws4auth_test.py',||" -i setup.py
+  sed '/./{H;$!d} ; x ; s/package_data=.*\n.*]},\n//' -i setup.py
 }
 
 build() {



More information about the arch-commits mailing list