[arch-commits] Commit in python-txrequests/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 4 08:10:55 UTC 2019


    Date: Monday, November 4, 2019 @ 08:10:54
  Author: felixonmars
Revision: 523613

archrelease: copy trunk to community-staging-any

Added:
  python-txrequests/repos/community-staging-any/
  python-txrequests/repos/community-staging-any/PKGBUILD
    (from rev 523611, python-txrequests/trunk/PKGBUILD)

----------+
 PKGBUILD |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Copied: python-txrequests/repos/community-staging-any/PKGBUILD (from rev 523611, python-txrequests/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 08:10:54 UTC (rev 523613)
@@ -0,0 +1,28 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-txrequests
+pkgver=0.9.6
+pkgrel=4
+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