[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Sat Jul 21 11:14:23 UTC 2018


    Date: Saturday, July 21, 2018 @ 11:14:22
  Author: felixonmars
Revision: 362692

addpkg: python-aioresponses 0.4.2-1

Added:
  python-aioresponses/
  python-aioresponses/repos/
  python-aioresponses/trunk/
  python-aioresponses/trunk/PKGBUILD

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

Added: python-aioresponses/trunk/PKGBUILD
===================================================================
--- python-aioresponses/trunk/PKGBUILD	                        (rev 0)
+++ python-aioresponses/trunk/PKGBUILD	2018-07-21 11:14:22 UTC (rev 362692)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-aioresponses
+pkgver=0.4.2
+pkgrel=1
+pkgdesc="A helper to mock/fake web requests in python aiohttp package."
+url="https://github.com/pnuckowski/aioresponses"
+license=('MIT')
+arch=('any')
+depends=('python-aiohttp')
+makedepends=('python-pbr')
+checkdepends=('python-pytest-runner' 'python-ddt' 'python-asynctest')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pnuckowski/aioresponses/archive/$pkgver.tar.gz")
+sha512sums=('d4c1fe87b56c2e15a7a5d972a10ba3dba2974834d8d403e76c525f68b37d9f13b1b3331805362944c104bfa1333de6b1e2838d63ede517e2eb50dfc9372ee666')
+
+prepare() {
+  export PBR_VERSION=$pkgver
+}
+
+build() {
+  cd aioresponses-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd aioresponses-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd aioresponses-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


Property changes on: python-aioresponses/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list