[arch-commits] Commit in (4 files)
Chih-Hsuan Yen
yan12125 at archlinux.org
Sun Nov 18 08:49:55 UTC 2018
Date: Sunday, November 18, 2018 @ 08:49:55
Author: yan12125
Revision: 408662
addpkg: python-txrequests 0.9.6-3
Added:
python-txrequests/
python-txrequests/repos/
python-txrequests/trunk/
python-txrequests/trunk/PKGBUILD
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Added: python-txrequests/trunk/PKGBUILD
===================================================================
--- python-txrequests/trunk/PKGBUILD (rev 0)
+++ python-txrequests/trunk/PKGBUILD 2018-11-18 08:49:55 UTC (rev 408662)
@@ -0,0 +1,28 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-txrequests
+pkgver=0.9.6
+pkgrel=3
+pkgdesc='Asynchronous Python HTTP Requests for Humans using twisted'
+license=('Apache')
+arch=(any)
+url='https://github.com/tardyp/txrequests'
+depends=(python-requests python-twisted)
+makedepends=(python-setuptools)
+source=("https://files.pythonhosted.org/packages/source/t/txrequests/txrequests-${pkgver}.tar.gz")
+sha256sums=('b452a1cafa4d005678f6fa47922a330feb4907d5b4732d1841ca98e89f1362e1')
+
+build() {
+ cd txrequests-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd txrequests-$pkgver
+ python test_txrequests.py
+}
+
+package() {
+ cd txrequests-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
More information about the arch-commits
mailing list