[arch-commits] Commit in python-async-timeout/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Mon Oct 9 18:41:37 UTC 2017
Date: Monday, October 9, 2017 @ 18:41:37
Author: anthraxx
Revision: 262235
upgpkg: python-async-timeout 2.0.0-1
Modified:
python-async-timeout/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-10-09 18:24:41 UTC (rev 262234)
+++ PKGBUILD 2017-10-09 18:41:37 UTC (rev 262235)
@@ -5,7 +5,7 @@
_pkgname=async-timeout
pkgname=python-async-timeout
-pkgver=1.4.0
+pkgver=2.0.0
pkgrel=1
pkgdesc='Asyncio-compatible timeout class'
url='https://github.com/aio-libs/async-timeout'
@@ -13,9 +13,10 @@
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=('627366ef67f2a5dcab7e7d672794db3c70bddaac13d200a21883c37578b85221')
-sha512sums=('82b67cdc0bf791936a3d775cfa7594d7ef6a21c3b0b5390901577aa4a4f24435b7fcabf9550fbfb36ee5739df0d9c98e4cda4d1e3f71eb8e2c5a8f2afd1ce48b')
+sha256sums=('6209cdbaacdd592978f53e4c9466a423e72f26c226a15d0d46791f856aca1a0f')
+sha512sums=('e491308752cdba7c5fb569e59722b2bdb14a1a5f16866ad17b2546c55cee8782b00b16122e6c46dca704ff42459d454d3bfa8cfd8faffb2a6fc251f0080f975c')
build() {
cd ${_pkgname}-${pkgver}
@@ -22,6 +23,12 @@
python setup.py build
}
+check() {
+ cd ${_pkgname}-${pkgver}
+ PYTHONPATH=. py.test tests
+}
+
+
package() {
cd ${_pkgname}-${pkgver}
python setup.py install --skip-build -O1 --root="${pkgdir}"
More information about the arch-commits
mailing list