1 |
commit: 03c6ce6635813240331b8c154bb55a407396a58d |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 31 05:03:47 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 31 05:03:51 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03c6ce66 |
7 |
|
8 |
media-video/pitivi: add missing libpeas dep, fixup setuptools dep |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
.../pitivi/files/pitivi-2021.05-python-collections.patch | 13 +++++++++++++ |
13 |
.../{pitivi-2021.05.ebuild => pitivi-2021.05-r1.ebuild} | 10 ++++++++-- |
14 |
2 files changed, 21 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/media-video/pitivi/files/pitivi-2021.05-python-collections.patch b/media-video/pitivi/files/pitivi-2021.05-python-collections.patch |
17 |
new file mode 100644 |
18 |
index 000000000000..fc04cd8d8726 |
19 |
--- /dev/null |
20 |
+++ b/media-video/pitivi/files/pitivi-2021.05-python-collections.patch |
21 |
@@ -0,0 +1,13 @@ |
22 |
+https://src.fedoraproject.org/rpms/pitivi/raw/rawhide/f/collections.patch |
23 |
+--- a/pitivi/utils/loggable.py |
24 |
++++ b/pitivi/utils/loggable.py |
25 |
+@@ -14,7 +14,7 @@ |
26 |
+ # |
27 |
+ # You should have received a copy of the GNU Lesser General Public |
28 |
+ # License along with this program; if not, see <http://www.gnu.org/licenses/>. |
29 |
+-import collections |
30 |
++import collections.abc as collections |
31 |
+ import errno |
32 |
+ import fnmatch |
33 |
+ import os |
34 |
+ |
35 |
|
36 |
diff --git a/media-video/pitivi/pitivi-2021.05.ebuild b/media-video/pitivi/pitivi-2021.05-r1.ebuild |
37 |
similarity index 91% |
38 |
rename from media-video/pitivi/pitivi-2021.05.ebuild |
39 |
rename to media-video/pitivi/pitivi-2021.05-r1.ebuild |
40 |
index e5a66ed35143..a52f0b5b2206 100644 |
41 |
--- a/media-video/pitivi/pitivi-2021.05.ebuild |
42 |
+++ b/media-video/pitivi/pitivi-2021.05-r1.ebuild |
43 |
@@ -8,7 +8,7 @@ PYTHON_REQ_USE="sqlite" |
44 |
inherit gnome.org meson python-single-r1 xdg |
45 |
|
46 |
DESCRIPTION="A non-linear video editor using the GStreamer multimedia framework" |
47 |
-HOMEPAGE="http://www.pitivi.org" |
48 |
+HOMEPAGE="https://www.pitivi.org" |
49 |
|
50 |
LICENSE="LGPL-2.1" |
51 |
SLOT="0" |
52 |
@@ -34,6 +34,9 @@ RDEPEND="${COMMON_DEPEND} |
53 |
>=dev-libs/glib-2.30.0:2 |
54 |
|
55 |
>=dev-libs/gobject-introspection-1.34:= |
56 |
+ |
57 |
+ dev-libs/libpeas[${PYTHON_SINGLE_USEDEP}] |
58 |
+ |
59 |
$(python_gen_cond_dep ' |
60 |
dev-python/dbus-python[${PYTHON_USEDEP}] |
61 |
>=dev-python/gst-python-1.4:1.0[${PYTHON_USEDEP}] |
62 |
@@ -59,7 +62,9 @@ RDEPEND="${COMMON_DEPEND} |
63 |
DEPEND="${RDEPEND}" |
64 |
BDEPEND=" |
65 |
app-text/yelp-tools |
66 |
- dev-python/setuptools |
67 |
+ $(python_gen_cond_dep ' |
68 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
69 |
+ ') |
70 |
>=dev-util/intltool-0.35.5 |
71 |
dev-util/itstool |
72 |
sys-devel/gettext |
73 |
@@ -69,6 +74,7 @@ BDEPEND=" |
74 |
PATCHES=( |
75 |
# https://gitlab.gnome.org/GNOME/pitivi/-/commit/ddf2369d1fc6fddd63f676cc905a8b8e96291a4c |
76 |
"${FILESDIR}"/${P}-meson-compatibility.patch |
77 |
+ "${FILESDIR}"/${P}-python-collections.patch |
78 |
) |
79 |
|
80 |
src_configure() { |