HEX
Server: LiteSpeed
System: Linux kapuas.iixcp.rumahweb.net 5.14.0-427.42.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 1 14:58:02 EDT 2024 x86_64
User: mirz4654 (1666)
PHP: 8.1.33
Disabled: system,exec,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,popen,pclose,dl,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setsid,posix_setuid,posix_setpgid,ini_alter,show_source,define_syslog_variables,symlink,syslog,openlog,openlog,closelog,ocinumcols,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dll,ftp,myshellexec,socket_bind,mail,posix_getwpuid
Upload Files
File: //usr/lib/rpm/macros.d/macros.alt-python38
%__alt_python38 /opt/alt/python38/bin/python3
%alt_python38_sitelib %(%{__alt_python38} -Ic "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
%alt_python38_sitearch %(%{__alt_python38} -Ic "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")
%alt_python38_version %(%{__alt_python38} -Ic "import sys; sys.stdout.write(sys.version[:3])")
%alt_python38_version_nodots %(%{__alt_python38} -Ic "import sys; sys.stdout.write(sys.version[:3].replace('.',''))")
%alt_py38dir %{_builddir}/python3-%{name}-%{version}-%{release}
%alt_python38_dir /opt/alt/python38
%py_setup setup.py
%alt_py38_shbang_opts -s
%alt_py38_shbang_opts_nodash %(opts=%{alt-py38_shbang_opts}; echo ${opts#-})

# Use the slashes after expand so that the command starts on the same line as
# the macro
%alt_py38_build() %{expand:\\\
  CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS}}" LDFLAGS="${LDFLAGS:-${RPM_LD_FLAGS}}"\\\
  %{__alt_python38} %{py_setup} %{?py_setup_args} build --executable="%{__alt_python38} %{alt-py38_shbang_opts}" %{?*}
}

%alt_py38_build_egg() %{expand:\\\
  CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS}}" LDFLAGS="${LDFLAGS:-${RPM_LD_FLAGS}}"\\\
  %{__alt_python38} %{py_setup} %{?py_setup_args} bdist_egg %{?*}
}

%alt_py38_build_wheel() %{expand:\\\
  CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS}}" LDFLAGS="${LDFLAGS:-${RPM_LD_FLAGS}}"\\\
  %{__alt_python38} %{py_setup} %{?py_setup_args} bdist_wheel %{?*}
}

%alt_py38_install() %{expand:\\\
  CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS}}" LDFLAGS="${LDFLAGS:-${RPM_LD_FLAGS}}"\\\
  %{__alt_python38} %{py_setup} %{?py_setup_args} install -O1 --skip-build --root %{buildroot} %{?*}
}

%alt_py38_install_egg() %{expand:\\\
  mkdir -p %{buildroot}%{alt_python38_sitelib}
  %alt_easy_install-3.8 -m --prefix %{buildroot}%{_prefix} -Z dist/*-py3.8.egg %{?*}
  %{alt_python38_dir}/bin/easy_install-3.8 %{alt_python38_locate}/bin/easy_install-3.8
}

%alt_py38_install_wheel() %{expand:\\\
  %{alt_python38_dir}/bin/pip3.8 install -I dist/%{1} --root %{buildroot} --no-deps
}