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

Levente Polyak anthraxx at gemini.archlinux.org
Tue Aug 30 22:44:31 UTC 2022


    Date: Tuesday, August 30, 2022 @ 22:44:31
  Author: anthraxx
Revision: 1289089

archrelease: copy trunk to community-any

Added:
  python-requests-aws4auth/repos/community-any/PKGBUILD
    (from rev 1289088, 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	2022-08-30 22:44:26 UTC (rev 1289088)
+++ PKGBUILD	2022-08-30 22:44:31 UTC (rev 1289089)
@@ -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.1.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=('447f69a6645360c1c2bbe57fe535a1518b1121c9b4cd7f96ccfe22053c1126cd79e60ce6faae28a1e207356dd7c414cab00f313d5139dfe97b24424e0d12c0aa')
-b2sums=('6e1e9def84a5d4d89c9f460e68271e2f7275f4c1eb809380d8953d734d959a15ddba78c21b2dc8ad00e2e9972d76ecb75dbc5c9bf457f70b1c2474e6189b9927')
-
-prepare() {
-  cd ${_pkgname}-v.${pkgver}
-  sed '/./{H;$!d} ; x ; s/package_data=.*\n.*]},\n//' -i setup.py
-}
-
-build() {
-  cd ${_pkgname}-v.${pkgver}
-  python setup.py build
-}
-
-check() {
-  cd ${_pkgname}-v.${pkgver}
-  python -m pytest -k 'not test_headers_amz_example'
-}
-
-package() {
-  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}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-requests-aws4auth/repos/community-any/PKGBUILD (from rev 1289088, python-requests-aws4auth/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-30 22:44:31 UTC (rev 1289089)
@@ -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.1.2
+pkgrel=1
+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' 'python-build' 'python-installer' 'python-wheel')
+checkdepends=('python-pytest' 'python-httpx')
+optdepends=('python-httpx')
+source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('73207343f1b43d06f20cd998502046141e462c39a1bd0c6421039805afac3b2802cfa585afb8fcab0383f9159f1756b038de4d856ab9fd2cc7fd60b3722ba896')
+b2sums=('b9a6b49bae014f86cbfdba5cfd8596b90ba71ffc6595592ccad8692c5c3df9206a075e08b60f85df14c8b7b55191354d86a37ae6350c122980712ddcfc9c8510')
+
+prepare() {
+  cd ${_pkgname}-${pkgver}
+  sed '/./{H;$!d} ; x ; s/package_data=.*\n.*]},\n//' -i setup.py
+}
+
+build() {
+  cd ${_pkgname}-${pkgver}
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd ${_pkgname}-${pkgver}
+  python -m pytest -k 'not test_headers_amz_example'
+}
+
+package() {
+  cd ${_pkgname}-${pkgver}
+  python -m installer --destdir="${pkgdir}" dist/*.whl
+  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