pypy3.9/macros.pypy3
2015-04-25 23:47:10 +02:00

6 lines
377 B
Plaintext

%__pypy3 /usr/bin/pypy3
%pypy3_sitelib %(%{__pypy3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
%pypy3_sitearch %(%{__pypy3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")
%pypy3_version %(%{__pypy3} -c "import sys; sys.stdout.write(sys.version[:3])")
%pypy3dir %{_builddir}/pypy3-%{name}-%{version}-%{release}