Diff openshot-2.4.0-r1 with a openshot-2.4.4

/usr/portage/media-video/openshot/openshot-2.4.4.ebuild 2020-01-05 14:15:00.000000000 +0300
1 1
# Copyright 1999-2020 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=6
4
EAPI=7
5 5

  
6
PYTHON_COMPAT=( python3_{6,7} )
6 7
PYTHON_REQ_USE=xml
7
PYTHON_COMPAT=( python3_6 )
8 8
DISTUTILS_SINGLE_IMPL=1
9 9

  
10
inherit distutils-r1 gnome2-utils versionator xdg-utils
10
inherit distutils-r1 xdg
11 11

  
12 12
MY_PN="${PN}-qt"
13
MY_P="${MY_PN}-${PV}"
14 13

  
15 14
DESCRIPTION="Free, open-source, non-linear video editor to create and edit videos and movies"
16
HOMEPAGE="https://www.openshot.org/ https://launchpad.net/openshot"
17
SRC_URI="https://launchpad.net/${PN}/$(get_version_component_range 1-2)/${PV}/+download/${MY_P}.tar.gz"
15
HOMEPAGE="https://www.openshot.org/"
16
SRC_URI="https://github.com/OpenShot/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
18 17

  
19 18
LICENSE="GPL-3+"
20 19
SLOT="1"
21 20
KEYWORDS="amd64 x86"
21
IUSE="doc"
22 22

  
23 23
RDEPEND="
24 24
	dev-python/httplib2[${PYTHON_USEDEP}]
25
	dev-python/PyQt5[${PYTHON_USEDEP},svg,webkit]
25
	dev-python/PyQt5[${PYTHON_USEDEP},gui,svg,webkit,widgets]
26 26
	dev-python/pyzmq[${PYTHON_USEDEP}]
27 27
	dev-python/requests[${PYTHON_USEDEP}]
28
	>=media-libs/libopenshot-0.1.8[python,${PYTHON_USEDEP}]
28
	>=media-libs/libopenshot-0.2.3[python,${PYTHON_USEDEP}]
29 29
"
30
DEPEND="
30
BDEPEND="
31 31
	dev-python/setuptools[${PYTHON_USEDEP}]
32
	doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
32 33
"
33 34

  
34
S="${WORKDIR}"
35
S="${WORKDIR}/${MY_PN}-${PV}"
35 36

  
36
python_prepare_all() {
37
src_prepare() {
37 38
	distutils-r1_python_prepare_all
38 39
	# prevent setup.py from trying to update MIME databases
39 40
	sed -i 's/^ROOT =.*/ROOT = False/' setup.py || die
40 41
}
41 42

  
42
pkg_postinst() {
43
	xdg_desktop_database_update
44
	xdg_mimeinfo_database_update
45
	gnome2_icon_cache_update
43
python_compile_all() {
44
	use doc && emake -C doc html
46 45
}
47 46

  
48
pkg_postrm() {
49
	xdg_desktop_database_update
50
	xdg_mimeinfo_database_update
51
	gnome2_icon_cache_update
47
python_install_all() {
48
	use doc && local HTML_DOCS=( doc/_build/html/. )
49
	distutils-r1_python_install_all
52 50
}
Thank you!