Date: Saturday, September 3, 2022 @ 12:51:53
Author: felixonmars
Revision: 1292023
archrelease: copy trunk to community-any
Added:
python-requests-futures/repos/community-any/
python-requests-futures/repos/community-any/PKGBUILD
(from rev 1292020, python-requests-futures/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: python-requests-futures/repos/community-any/PKGBUILD (from rev 1292020,
python-requests-futures/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2022-09-03 12:51:53 UTC (rev 1292023)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Alberto Redondo <albertomost at gmail dot com>
+# Contributor: Caltlgin Stsodaat <[email protected]>
+# Contributor: Chih-Hsuan Yen <[email protected]>
+# Contributor: Alexander 'z33ky' Hirsch <[email protected]>
+
+_pkgname=requests-futures
+pkgname=python-requests-futures
+pkgver=1.0.0
+pkgrel=4
+pkgdesc='Asynchronous Python HTTP Requests for Humans using Futures'
+arch=('any')
+url='https://github.com/ross/requests-futures'
+license=('Apache')
+depends=('python-requests')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=(https://files.pythonhosted.org/packages/source/r/requests-futures/requests-futures-$pkgver.tar.gz)
+sha256sums=('35547502bf1958044716a03a2f47092a89efe8f9789ab0c4c528d9c9c30bc148')
+
+build() {
+ cd requests-futures-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd requests-futures-$pkgver
+ pytest
+}
+
+package() {
+ cd requests-futures-$pkgver
+ python setup.py install \
+ -O1 \
+ --root="$pkgdir" \
+ --skip-build
+}