[arch-commits] Commit in python-grequests/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Nov 12 17:37:51 UTC 2020
Date: Thursday, November 12, 2020 @ 17:37:50
Author: felixonmars
Revision: 752735
archrelease: copy trunk to community-staging-any
Added:
python-grequests/repos/community-staging-any/
python-grequests/repos/community-staging-any/PKGBUILD
(from rev 752733, python-grequests/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: python-grequests/repos/community-staging-any/PKGBUILD (from rev 752733, python-grequests/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-12 17:37:50 UTC (rev 752735)
@@ -0,0 +1,27 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=python-grequests
+_libname=grequests
+pkgver=0.6.0
+pkgrel=2
+pkgdesc="Allows you to use Requests with Gevent to make asyncronous HTTP Requests easily."
+url="https://pypi.python.org/pypi/grequests/"
+license=('custom: ISC')
+arch=('any')
+depends=('python-requests' 'python-gevent')
+makedepends=('python-setuptools')
+source=(https://files.pythonhosted.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz
+ $_libname-$pkgver-LICENSE::https://github.com/kennethreitz/grequests/raw/v$pkgver/LICENSE)
+sha256sums=('7dec890c6668e6755a1ea968565535867956639301268394d24df67b478df666'
+ '4063882a8913e4b37457d58fe6600bd975ba053c8db2e8c6b218e7c9c8575ca8')
+
+build() {
+ cd "$srcdir"/$_libname-$pkgver
+ python setup.py build
+}
+
+package_python-grequests() {
+ cd "$srcdir"/$_libname-$pkgver
+ python setup.py install --skip-build -O1 --root="$pkgdir"
+ install -m0644 -D "$srcdir"/$_libname-$pkgver-LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list