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

Levente Polyak anthraxx at gemini.archlinux.org
Tue Mar 8 21:25:44 UTC 2022


    Date: Tuesday, March 8, 2022 @ 21:25:43
  Author: anthraxx
Revision: 1145576

upgpkg: python-frozenlist 1.3.0-1

Modified:
  python-frozenlist/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-08 21:16:04 UTC (rev 1145575)
+++ PKGBUILD	2022-03-08 21:25:43 UTC (rev 1145576)
@@ -2,8 +2,8 @@
 
 _pyname=frozenlist
 pkgname=python-${_pyname}
-pkgver=1.2.0
-pkgrel=3
+pkgver=1.3.0
+pkgrel=1
 pkgdesc='FrozenList is a list-like structure which can be made immutable'
 url='https://github.com/aio-libs/frozenlist'
 arch=('x86_64')
@@ -12,8 +12,8 @@
 makedepends=('python-setuptools' 'cython')
 checkdepends=('python-pytest' 'python-pytest-cov' 'python-pytest-runner')
 source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('e5dda13e173db0b1c6e8c5a61949534f4eb30211cc4fcd102d0be1b55ee48e2db90d52fd770a2c6d6076f3a0d9e11289629a7a115c1270377636eda35d107e7a')
-b2sums=('cc82db759906ad3e0be1806cacd6815377f264ed07ed272abb7da4753c11561564cf1cb4dfc0154abaeb4005f5607c26e602410a4ef45dd8e94e26583caa2ab7')
+sha512sums=('780f0ec0e1a701b009e5afcd7f62b2950eda5365140ad5842c09db85b0a3cf282ab70ff9ba752ea6dc7a97542fc7399023aaaca8fdd8ecbd5c26bf64f305f5f4')
+b2sums=('d09e18455893f7ede59c37a080e79ea5e085cc3362e53bc7016db64338b2cf26baf44e95ec0c691535527b0eef4a40ec1fbe814e5d4ae238300125438d21b467')
 
 prepare() {
   cd "${_pyname}-${pkgver}"
@@ -28,7 +28,8 @@
 
 check() {
   cd "${_pyname}-${pkgver}"
-  python setup.py test
+  local _python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-${_python_version}" pytest
 }
 
 package() {



More information about the arch-commits mailing list