1 |
commit: 978f3d0e6297ac0997f97acc591fa7fd02cf02aa |
2 |
Author: Adam Feldman <NP-Hardass <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 6 22:38:54 2020 +0000 |
4 |
Commit: Adam Feldman <np-hardass <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 25 20:32:38 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=978f3d0e |
7 |
|
8 |
dev-python/python-caja: Fix deps |
9 |
|
10 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
11 |
Signed-off-by: Adam Feldman <NP-Hardass <AT> gentoo.org> |
12 |
|
13 |
.../python-caja/python-caja-1.24.0-r2.ebuild | 57 ++++++++++++++++++++++ |
14 |
1 file changed, 57 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/python-caja/python-caja-1.24.0-r2.ebuild b/dev-python/python-caja/python-caja-1.24.0-r2.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..622b4373e83 |
19 |
--- /dev/null |
20 |
+++ b/dev-python/python-caja/python-caja-1.24.0-r2.ebuild |
21 |
@@ -0,0 +1,57 @@ |
22 |
+# Copyright 1999-2020 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=6 |
26 |
+ |
27 |
+MATE_LA_PUNT="yes" |
28 |
+PYTHON_COMPAT=( python{3_6,3_7,3_8} ) |
29 |
+ |
30 |
+inherit mate python-single-r1 |
31 |
+ |
32 |
+if [[ ${PV} != 9999 ]]; then |
33 |
+ KEYWORDS="~amd64 ~arm ~x86" |
34 |
+fi |
35 |
+ |
36 |
+DESCRIPTION="Python bindings for the Caja file manager" |
37 |
+LICENSE="GPL-2+" |
38 |
+SLOT="0" |
39 |
+IUSE="doc" |
40 |
+REQUIRED_USE=${PYTHON_REQUIRED_USE} |
41 |
+ |
42 |
+COMMON_DEPEND="${PYTHON_DEPS} |
43 |
+ >=dev-libs/glib-2.50:2 |
44 |
+ $( python_gen_cond_dep 'dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]' ) |
45 |
+ >=mate-base/caja-1.17.1[introspection] |
46 |
+ >=x11-libs/gtk+-3.22:3 |
47 |
+" |
48 |
+ |
49 |
+RDEPEND="${COMMON_DEPEND}" |
50 |
+ |
51 |
+DEPEND="${COMMON_DEPEND} |
52 |
+ dev-util/gtk-doc |
53 |
+ dev-util/gtk-doc-am |
54 |
+ >=sys-devel/gettext-0.19.8 |
55 |
+ virtual/pkgconfig |
56 |
+ doc? ( app-text/docbook-xml-dtd:4.1.2 ) |
57 |
+" |
58 |
+ |
59 |
+src_prepare() { |
60 |
+ MATE_FORCE_AUTORECONF="true" |
61 |
+ |
62 |
+ sed -i "s/\$(PACKAGE)/${PF}/g" examples/Makefile.am || die |
63 |
+ mate_src_prepare |
64 |
+} |
65 |
+ |
66 |
+src_install() { |
67 |
+ mate_src_install |
68 |
+ |
69 |
+ # Keep the directory for systemwide extensions. |
70 |
+ keepdir /usr/share/caja-python/extensions/ |
71 |
+ |
72 |
+ # The HTML documentation generation is broken and commented out by upstream. |
73 |
+ # |
74 |
+ #if use doc ; then |
75 |
+ # insinto /usr/share/gtk-doc/html/nautilus-python # for dev-util/devhelp |
76 |
+ # doins -r docs/html/* |
77 |
+ #fi |
78 |
+} |