[arch-commits] Commit in python-multidict/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Fri Jan 19 00:57:05 UTC 2018


    Date: Friday, January 19, 2018 @ 00:57:04
  Author: anthraxx
Revision: 284023

upgpkg: python-multidict 4.0.0-1

Modified:
  python-multidict/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-19 00:50:45 UTC (rev 284022)
+++ PKGBUILD	2018-01-19 00:57:04 UTC (rev 284023)
@@ -3,7 +3,7 @@
 
 _pkgname=multidict
 pkgname=python-${_pkgname}
-pkgver=3.3.2
+pkgver=4.0.0
 pkgrel=1
 pkgdesc='Asyncio-based multidict implementation for Python'
 url='https://github.com/aio-libs/multidict'
@@ -11,10 +11,10 @@
 license=('APACHE')
 depends=('python' 'glibc')
 makedepends=('cython' 'python-setuptools')
-checkdepends=('python-pytest' 'python-pytest-cov' 'python-psutil')
+checkdepends=('python-pytest' 'python-pytest-cov' 'python-pytest-runner' 'python-psutil' 'python-perf')
 source=(${pkgname}-${pkgver}.tar.gz::https://github.com/aio-libs/multidict/archive/v${pkgver}.tar.gz)
-sha256sums=('f5b1b427791dc2fbbe7c79a4c9ad6824c139531176f685c01d30fc5b7573964c')
-sha512sums=('d44c8b00ab7823b8840665aa1462ed547aea48874a408b2af8f1cb455727896cd77ef2201e8f234bcb3f2781599ffe931a5884fc55fc1f7286da29185c4d88fc')
+sha256sums=('02710f9b05eaa60080646e5c25021a89278ae6d4caf345d1c4746a5427d18dea')
+sha512sums=('74c60013467815bec1fdfc4128ee67d9dbda8a7c9ef9f6a9b9655f66a15dc24aa010e354ee51aea3c74415103d7439f7be9982fcfbaf0336f05c422e35f04072')
 
 build() {
   cd ${_pkgname}-${pkgver}
@@ -23,9 +23,7 @@
 
 check() {
   cd ${_pkgname}-${pkgver}
-  local PYTHONVERSION="$(python -c 'import sys; print("{}.{}".format(sys.version_info.major, sys.version_info.minor))')"
-  PYTHONPATH="build/lib.linux-${CARCH}-${PYTHONVERSION}" \
-    py.test
+  python setup.py test
 }
 
 package() {



More information about the arch-commits mailing list