From 4ea5c07be348e055558f57a91ad3d6aae69ca5a4 Mon Sep 17 00:00:00 2001 From: Trent Palmer Date: Fri, 26 Apr 2019 06:31:04 -0700 Subject: [PATCH] add python2-requests-futures-0.9.9-1 --- python2-requests-futures/.SRCINFO | 16 ++++++++++++++++ python2-requests-futures/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 python2-requests-futures/.SRCINFO create mode 100644 python2-requests-futures/PKGBUILD diff --git a/python2-requests-futures/.SRCINFO b/python2-requests-futures/.SRCINFO new file mode 100644 index 0000000..439b469 --- /dev/null +++ b/python2-requests-futures/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = python2-requests-futures + pkgdesc = Asynchronous Python HTTP for Humans. + pkgver = 0.9.9 + pkgrel = 1 + url = https://github.com/ross/requests-futures + arch = any + license = Apache + makedepends = python2-setuptools + makedepends = python2-futures + depends = python2-requests + depends = python2-futures + source = https://files.pythonhosted.org/packages/source/r/requests-futures/requests-futures-0.9.9.tar.gz + sha256sums = 200729e932ec1f6d6e58101a8d2b144d48c9695f0585bc1dcf37139190f699a1 + +pkgname = python2-requests-futures + diff --git a/python2-requests-futures/PKGBUILD b/python2-requests-futures/PKGBUILD new file mode 100644 index 0000000..fc6aaef --- /dev/null +++ b/python2-requests-futures/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: trent palmer trenttdually at gmail +# 'inspired' by https://aur.archlinux.org/packages/python-requests-futures +# Contributor: Chih-Hsuan Yen +# Contributor: Alexander 'z33ky' Hirsch <1zeeky@gmail.com> + +pkgname=python2-requests-futures +pkgver=0.9.9 +pkgrel=1 +pkgdesc='Asynchronous Python HTTP for Humans.' +license=('Apache') +arch=('any') +url='https://github.com/ross/requests-futures' +depends=('python2-requests' 'python2-futures') +makedepends=('python2-setuptools' 'python2-futures') +source=("https://files.pythonhosted.org/packages/source/r/requests-futures/requests-futures-${pkgver}.tar.gz") +sha256sums=('200729e932ec1f6d6e58101a8d2b144d48c9695f0585bc1dcf37139190f699a1') + +build() { + cd requests-futures-$pkgver + python2 setup.py build +} + +check() { + cd requests-futures-$pkgver + python2 test_requests_futures.py +} + +package() { + cd requests-futures-$pkgver + python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build +}