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

Levente Polyak anthraxx at archlinux.org
Mon Oct 9 18:24:42 UTC 2017


    Date: Monday, October 9, 2017 @ 18:24:41
  Author: anthraxx
Revision: 262234

archrelease: copy trunk to community-any

Added:
  python-pytest-aiohttp/repos/community-any/
  python-pytest-aiohttp/repos/community-any/PKGBUILD
    (from rev 262233, python-pytest-aiohttp/trunk/PKGBUILD)

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

Copied: python-pytest-aiohttp/repos/community-any/PKGBUILD (from rev 262233, python-pytest-aiohttp/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2017-10-09 18:24:41 UTC (rev 262234)
@@ -0,0 +1,27 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+_pkgname=pytest-aiohttp
+pkgname=python-pytest-aiohttp
+pkgver=0.1.3
+pkgrel=1
+pkgdesc='pytest plugin for aiohttp support'
+url='https://github.com/aio-libs/pytest-aiohttp'
+arch=('any')
+license=('Apache')
+depends=('python' 'python-pytest' 'python-aiohttp' 'python-py')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/aio-libs/pytest-aiohttp/archive/v${pkgver}.tar.gz)
+sha256sums=('042a9c5d0ef1df9339a649134b5098c6f798251b55e212590f42c7ca21c121b7')
+sha512sums=('0dc338e5d09704f764d83833fd33243a7713c1b12264efff09c19b1c3ad48acbef7bed44e9a942c9610b1bf26680b79b0667fb6222907d3a2425723713a4994d')
+
+build() {
+  cd ${_pkgname}-${pkgver}
+  python setup.py build
+}
+
+package() {
+  cd ${_pkgname}-${pkgver}
+  python setup.py install --root="${pkgdir}" -O1 --skip-build
+  install -Dm 644 README.rst CHANGES.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list