[arch-commits] Commit in python-requests-aws4auth/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Mon Jun 7 19:44:23 UTC 2021
Date: Monday, June 7, 2021 @ 19:44:22
Author: anthraxx
Revision: 958114
upgpkg: python-requests-aws4auth 1.1.1-1
Modified:
python-requests-aws4auth/trunk/PKGBUILD
----------+
PKGBUILD | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-07 19:44:15 UTC (rev 958113)
+++ PKGBUILD 2021-06-07 19:44:22 UTC (rev 958114)
@@ -3,8 +3,8 @@
_pkgname=requests-aws4auth
pkgname=python-requests-aws4auth
-pkgver=1.0.1
-pkgrel=3
+pkgver=1.1.1
+pkgrel=1
pkgdesc='Amazon Web Services version 4 authentication for the Python Requests module'
url='https://github.com/sam-washington/requests-aws4auth'
arch=('any')
@@ -12,28 +12,28 @@
depends=('python' 'python-requests' 'python-six')
makedepends=('python-setuptools')
checkdepends=('python-pytest')
-source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('99fd0a125f2808fd8871876674004370e558b22d311925203cdc59d11ab9503f423d7adbe1dd849ed2d2c3969cb5bc5e4fb40f0e4d44f9164416837915742fd2')
-b2sums=('b86eca51d01aa44d3d16bc879499876939302f9e51fc0c35684e9e2fb3805f761bfa5db5ac5ca2007f8820bfd229f86caa7c477ac4a524fc019c538c42136735')
+source=(${url}/archive/v.${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('447f69a6645360c1c2bbe57fe535a1518b1121c9b4cd7f96ccfe22053c1126cd79e60ce6faae28a1e207356dd7c414cab00f313d5139dfe97b24424e0d12c0aa')
+b2sums=('6e1e9def84a5d4d89c9f460e68271e2f7275f4c1eb809380d8953d734d959a15ddba78c21b2dc8ad00e2e9972d76ecb75dbc5c9bf457f70b1c2474e6189b9927')
prepare() {
- cd ${_pkgname}-${pkgver}
+ cd ${_pkgname}-v.${pkgver}
sed '/./{H;$!d} ; x ; s/package_data=.*\n.*]},\n//' -i setup.py
}
build() {
- cd ${_pkgname}-${pkgver}
+ cd ${_pkgname}-v.${pkgver}
export PYTHONHASHSEED=0
python setup.py build
}
check() {
- cd ${_pkgname}-${pkgver}
+ cd ${_pkgname}-v.${pkgver}
python -m pytest -k 'not test_headers_amz_example'
}
package() {
- cd ${_pkgname}-${pkgver}
+ cd ${_pkgname}-v.${pkgver}
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
More information about the arch-commits
mailing list