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

Felix Yan felixonmars at archlinux.org
Wed Jul 18 01:46:15 UTC 2018


    Date: Wednesday, July 18, 2018 @ 01:46:15
  Author: felixonmars
Revision: 361203

archrelease: copy trunk to community-staging-any

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

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

Copied: python-pytest-aiohttp/repos/community-staging-any/PKGBUILD (from rev 361202, python-pytest-aiohttp/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-07-18 01:46:15 UTC (rev 361203)
@@ -0,0 +1,27 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+_pkgname=pytest-aiohttp
+pkgname=python-pytest-aiohttp
+pkgver=0.3.0
+pkgrel=2
+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=('3fd27fa5dea3251e310cadc8848d179ea1fc487ac5aa0ce2d0aa911864e8f221')
+sha512sums=('85d0eea72de85269ee64af99c26b195fd135d75ae809a97f120784600d7cbe15d2e32b0285602a68d4800e1099a17725b54b8f53657962847ec1cd5ef2ff4b69')
+
+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