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

Levente Polyak anthraxx at gemini.archlinux.org
Fri Nov 12 00:25:32 UTC 2021


    Date: Friday, November 12, 2021 @ 00:25:32
  Author: anthraxx
Revision: 1042753

archrelease: copy trunk to community-testing-any

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

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

Copied: python-async-timeout/repos/community-testing-any/PKGBUILD (from rev 1042752, python-async-timeout/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2021-11-12 00:25:32 UTC (rev 1042753)
@@ -0,0 +1,38 @@
+# 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=4.0.1
+pkgrel=1
+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=(https://github.com/aio-libs/async-timeout/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('21e6caad3792d3c4b1ee8bf9bda8b63222afe4d38ab7bae0146ee38475afc279')
+sha512sums=('fccd09c1d90bdf594649f52cd3b9f8da13f3456af43437f031dce43b1ee4a70e90479122a6599929fe1e1fe98a88a0d8d775ce153783dfed180571fb842fbb5a')
+
+build() {
+  cd ${_pkgname}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${_pkgname}-${pkgver}
+  # requires latest aiohttp which requires async-timeout
+  # 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