Date: Sunday, May 14, 2023 @ 09:18:07
Author: felixonmars
Revision: 1461545
archrelease: copy trunk to community-testing-any
Added:
python-requests-toolbelt/repos/community-testing-any/
python-requests-toolbelt/repos/community-testing-any/PKGBUILD
(from rev 1461544, python-requests-toolbelt/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-requests-toolbelt/repos/community-testing-any/PKGBUILD (from rev
1461544, python-requests-toolbelt/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2023-05-14 09:18:07 UTC (rev 1461545)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: eolianoe <eolianoe At GoogleMAIL DoT com>
+
+pkgname=python-requests-toolbelt
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="A toolbelt of useful classes and functions to be used with
python-requests."
+arch=('any')
+url="https://github.com/requests/toolbelt"
+license=('Apache')
+depends=('python-requests')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-betamax' 'python-ndg-httpsclient'
'python-pyopenssl'
+ 'python-trustme')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/requests/toolbelt/archive/$pkgver.tar.gz")
+sha512sums=('1ee5d5dbb0d140796c81d42c051ccfab8810bf5ec511b32c9a54b4adccbab460f3108acdfe5a65b3cb68377586ff0f55206bf231e64651aaea077feda7984953')
+
+build() {
+ cd toolbelt-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd toolbelt-$pkgver
+ pytest
+}
+
+package() {
+ cd toolbelt-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}