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

Evangelos Foutras foutrelis at archlinux.org
Fri Oct 25 16:07:12 UTC 2019


    Date: Friday, October 25, 2019 @ 16:07:11
  Author: foutrelis
Revision: 519381

archrelease: copy trunk to community-staging-any

Added:
  python-async-timeout/repos/community-staging-any/
  python-async-timeout/repos/community-staging-any/PKGBUILD
    (from rev 519380, python-async-timeout/trunk/PKGBUILD)

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

Copied: python-async-timeout/repos/community-staging-any/PKGBUILD (from rev 519380, python-async-timeout/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-25 16:07:11 UTC (rev 519381)
@@ -0,0 +1,37 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Stunts <f.pinamartins[at]gmail.com>
+# Contributor: Phil Schaf <flying-sheep[at]web.de>
+# Contributor: Carl George < arch at cgtx dot us >
+
+_pkgname=async-timeout
+pkgname=python-async-timeout
+pkgver=3.0.1
+pkgrel=2
+pkgdesc='Asyncio-compatible timeout class'
+url='https://github.com/aio-libs/async-timeout'
+arch=('any')
+license=('Apache')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-pytest-cov' 'python-pytest-asyncio' 'python-pytest-aiohttp')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/aio-libs/async-timeout/archive/v${pkgver}.tar.gz)
+sha256sums=('d0a7a927ed6b922835e1b014dfcaa9982caccbb25131320582cc660af7c93949')
+sha512sums=('4fcf9bf199ac593e10a54800aabd6447425f2bcdf12bba3f16b7c4819e1d1b92c21f804007d003583e48cac3fd472e55ca805a5c25e238e78c3dfb217dc3f7a4')
+
+build() {
+  cd ${_pkgname}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${_pkgname}-${pkgver}
+  PYTHONPATH=. py.test tests
+}
+
+
+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