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

Evangelos Foutras foutrelis at archlinux.org
Wed Jul 18 03:30:01 UTC 2018


    Date: Wednesday, July 18, 2018 @ 03:30:00
  Author: foutrelis
Revision: 361583

archrelease: copy trunk to community-staging-x86_64

Added:
  python-aiohttp/repos/community-staging-x86_64/
  python-aiohttp/repos/community-staging-x86_64/PKGBUILD
    (from rev 361582, python-aiohttp/trunk/PKGBUILD)

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

Copied: python-aiohttp/repos/community-staging-x86_64/PKGBUILD (from rev 361582, python-aiohttp/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-07-18 03:30:00 UTC (rev 361583)
@@ -0,0 +1,34 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Philipp A. <flying-sheep at web.de>
+
+_pkgname=aiohttp
+pkgname=python-aiohttp
+pkgver=3.2.1
+pkgrel=2
+pkgdesc='HTTP client/server for asyncio'
+url='https://aiohttp.readthedocs.io'
+arch=('x86_64')
+license=('Apache')
+depends=('python' 'python-chardet' 'python-multidict' 'python-async-timeout' 'python-yarl' 'python-idna_ssl' 'python-attrs')
+makedepends=('cython' 'python-setuptools')
+checkdepends=('python-pytest' 'python-pytest-runner' 'python-pytest-mock' 'python-async_generator')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/aio-libs/aiohttp/archive/v${pkgver}.tar.gz)
+sha256sums=('6cf1c7fd052bc92e0be940e5b2e877a202d2d0fdf36cbf2aa3ef3c92f4e2327a')
+sha512sums=('c56bbcd09bcb56cea1ee2977a7550a0dcde1a18e58e50340978e8882a483350f092b06314611e62e90964a357252debddaf031af427910f318efa31720f3dc33')
+
+build() {
+  cd ${_pkgname}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${_pkgname}-${pkgver}
+  python setup.py test
+}
+
+package() {
+  cd ${_pkgname}-${pkgver}
+  python setup.py install --root="${pkgdir}" -O1 --skip-build
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list