From cede313817d47d3746a3b22acee59469272ae7a9 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sun, 25 Sep 2022 14:55:10 +0200 Subject: [PATCH] python-cffi: disable python2 tests --- srcpkgs/python-cffi/template | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/srcpkgs/python-cffi/template b/srcpkgs/python-cffi/template index 5a098995a96..642492e9cd9 100644 --- a/srcpkgs/python-cffi/template +++ b/srcpkgs/python-cffi/template @@ -7,7 +7,7 @@ build_style=python-module hostmakedepends="python-setuptools python3-setuptools libffi-devel" makedepends="python-devel python3-devel libffi-devel" depends="python-pycparser" -checkdepends="python-pytest python3-pytest python-pycparser python3-pycparser" +checkdepends="python3-pytest python3-pycparser" short_desc="C foreign function interface for Python2" maintainer="Andrew J. Hesford " license="MIT" @@ -25,8 +25,6 @@ do_check() { excludes+=' and not test_wraps_from_stdlib' excludes+=' and not test_stdcall_only_on_windows' - PYTHONPATH="$(cd build-2.7/lib* && pwd)" \ - python2 -m pytest c/ testing/ -x -k "$excludes" PYTHONPATH="$(cd build-${py3_ver}/lib* && pwd)" \ python3 -m pytest c/ testing/ -x -k "$excludes" }