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" }