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

Kpcyrd kpcyrd at archlinux.org
Mon May 17 23:10:56 UTC 2021


    Date: Monday, May 17, 2021 @ 23:10:56
  Author: kpcyrd
Revision: 936173

archrelease: copy trunk to community-any

Added:
  python-requests-aws4auth/repos/community-any/PKGBUILD
    (from rev 936172, python-requests-aws4auth/trunk/PKGBUILD)
Deleted:
  python-requests-aws4auth/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   83 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 42 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-17 23:10:45 UTC (rev 936172)
+++ PKGBUILD	2021-05-17 23:10:56 UTC (rev 936173)
@@ -1,41 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Bruno Galeotti <bgaleotti at gmail dot com>
-
-_pkgname=requests-aws4auth
-pkgname=python-requests-aws4auth
-pkgver=1.0.1
-pkgrel=2
-pkgdesc='Amazon Web Services version 4 authentication for the Python Requests module'
-url='https://github.com/sam-washington/requests-aws4auth'
-arch=('any')
-license=('MIT')
-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')
-
-prepare() {
-  cd ${_pkgname}-${pkgver}
-  sed '/./{H;$!d} ; x ; s/package_data=.*\n.*]},\n//' -i setup.py
-}
-
-build() {
-  cd ${_pkgname}-${pkgver}
-  python setup.py build
-}
-
-check() {
-  cd ${_pkgname}-${pkgver}
-  python -m pytest -k 'not test_headers_amz_example'
-}
-
-package() {
-  cd ${_pkgname}-${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}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-requests-aws4auth/repos/community-any/PKGBUILD (from rev 936172, python-requests-aws4auth/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-17 23:10:56 UTC (rev 936173)
@@ -0,0 +1,42 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Bruno Galeotti <bgaleotti at gmail dot com>
+
+_pkgname=requests-aws4auth
+pkgname=python-requests-aws4auth
+pkgver=1.0.1
+pkgrel=3
+pkgdesc='Amazon Web Services version 4 authentication for the Python Requests module'
+url='https://github.com/sam-washington/requests-aws4auth'
+arch=('any')
+license=('MIT')
+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')
+
+prepare() {
+  cd ${_pkgname}-${pkgver}
+  sed '/./{H;$!d} ; x ; s/package_data=.*\n.*]},\n//' -i setup.py
+}
+
+build() {
+  cd ${_pkgname}-${pkgver}
+  export PYTHONHASHSEED=0
+  python setup.py build
+}
+
+check() {
+  cd ${_pkgname}-${pkgver}
+  python -m pytest -k 'not test_headers_amz_example'
+}
+
+package() {
+  cd ${_pkgname}-${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}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list