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

Chih-Hsuan Yen yan12125 at archlinux.org
Sun Nov 18 08:50:50 UTC 2018


    Date: Sunday, November 18, 2018 @ 08:50:50
  Author: yan12125
Revision: 408663

archrelease: copy trunk to community-any

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

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

Copied: python-txrequests/repos/community-any/PKGBUILD (from rev 408662, python-txrequests/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2018-11-18 08:50:50 UTC (rev 408663)
@@ -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