Server IP : 68.65.122.142 / Your IP : 18.226.172.230 Web Server : LiteSpeed System : Linux server167.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64 User : glenirhm ( 1318) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/lib/kdump/../rpm/macros.d/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
%__alt_python312 /opt/alt/python312/bin/python3 %alt_python312_sitelib %(%{__alt_python312} -Ic "from distutils.sysconfig import get_python_lib; print(get_python_lib())") %alt_python312_sitearch %(%{__alt_python312} -Ic "from distutils.sysconfig import get_python_lib; print(get_python_lib(True))") %alt_python312_version %(%{__alt_python312} -Ic "import sys; sys.stdout.write(sys.version[:3])") %alt_python312_version_nodots %(%{__alt_python312} -Ic "import sys; sys.stdout.write(sys.version[:3].replace('.',''))") %alt_py312dir %{_builddir}/python3-%{name}-%{version}-%{release} %alt_python312_dir /opt/alt/python312 %py_setup setup.py %alt_py312_shbang_opts -s %alt_py312_shbang_opts_nodash %(opts=%{alt_py312_shbang_opts}; echo ${opts#-}) # Use the slashes after expand so that the command starts on the same line as # the macro %alt_py312_build() %{expand:\\\ CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS}}" LDFLAGS="${LDFLAGS:-${RPM_LD_FLAGS}}"\\\ %{__alt_python312} %{py_setup} %{?py_setup_args} build --executable="%{__alt_python312} %{alt_py312_shbang_opts}" %{?*} } %alt_py312_build_egg() %{expand:\\\ CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS}}" LDFLAGS="${LDFLAGS:-${RPM_LD_FLAGS}}"\\\ %{__alt_python312} %{py_setup} %{?py_setup_args} bdist_egg %{?*} } %alt_py312_build_wheel() %{expand:\\\ CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS}}" LDFLAGS="${LDFLAGS:-${RPM_LD_FLAGS}}"\\\ %{__alt_python312} %{py_setup} %{?py_setup_args} bdist_wheel %{?*} } %alt_py312_install() %{expand:\\\ CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS}}" LDFLAGS="${LDFLAGS:-${RPM_LD_FLAGS}}"\\\ %{__alt_python312} %{py_setup} %{?py_setup_args} install -O1 --skip-build --root %{buildroot} %{?*} } %alt_py312_install_egg() %{expand:\\\ mkdir -p %{buildroot}%{alt_python312_sitelib} %alt_easy_install-3.12 -m --prefix %{buildroot}%{_prefix} -Z dist/*-py3.12.egg %{?*} %{alt_python312_dir}/bin/easy_install-3.12 %{alt_python312_locate}/bin/easy_install-3.12 } %alt_py312_install_wheel() %{expand:\\\ %{alt_python312_dir}/bin/pip3.12 install -I dist/%{1} --root %{buildroot} --no-deps }