forked from pool/python-ctypesgen
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ctypesgen?expand=0&rev=6
This commit is contained in:
@@ -25,7 +25,6 @@ License: BSD-2-Clause
|
||||
URL: https://github.com/ctypesgen/ctypesgen
|
||||
Source: https://files.pythonhosted.org/packages/source/c/ctypesgen/ctypesgen-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools >= 44}
|
||||
BuildRequires: %{python_module setuptools_scm >= 3.4.3}
|
||||
BuildRequires: %{python_module toml}
|
||||
@@ -56,7 +55,8 @@ and creates a wrapper for libraries based on what it finds.
|
||||
%check
|
||||
# Create a dir in PWD and set TMPDIR to avoid writing to /tmp
|
||||
export TMPDIR=`mktemp -d -p ${PWD}`
|
||||
%pytest
|
||||
export PYTHONPATH=.
|
||||
%pyunittest -v
|
||||
|
||||
%pre
|
||||
%python_libalternatives_reset_alternative ctypesgen
|
||||
|
||||
Reference in New Issue
Block a user