Diff pymol-2.5.0-r3 with a pymol-2.5.0-r4

/usr/portage/sci-chemistry/pymol/pymol-2.5.0-r4.ebuild 2023-10-09 14:52:35.036368490 +0300
4 4
EAPI=8
5 5

  
6 6
PYTHON_COMPAT=( python3_{9..11} )
7
DISTUTILS_USE_SETUPTOOLS=no
7
DISTUTILS_USE_PEP517="setuptools"
8 8
DISTUTILS_EXT=1
9 9

  
10 10
inherit desktop flag-o-matic xdg distutils-r1
......
41 41

  
42 42
S="${WORKDIR}"/${PN}-open-source-${PV}
43 43

  
44
PATCHES=(
45
	"${FILESDIR}/${PN}-2.5.0-format-security.patch"
46
)
47

  
44 48
python_prepare_all() {
45 49
	sed \
46 50
		-e "s:\"/usr:\"${EPREFIX}/usr:g" \
......
77 81
python_install_all() {
78 82
	distutils-r1_python_install_all
79 83

  
84
	# Move data to correct location
85
	dodir /usr/share/pymol
86
	mv "${D}/$(python_get_sitedir)"/pymol/pymol_path/* "${ED}/usr/share/pymol" || die
87

  
80 88
	# These environment variables should not go in the wrapper script, or else
81 89
	# it will be impossible to use the PyMOL libraries from Python.
82 90
	cat >> "${T}"/20pymol <<- EOF || die
Thank you!