1 |
commit: 38d56ebb4981650a8e3ae27e5b77670ecc0454c4 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 5 14:06:15 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 5 14:11:45 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38d56ebb |
7 |
|
8 |
dev-util/catfish: Use PEP517 build |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-util/catfish/catfish-4.16.3-r1.ebuild | 50 +++++++++++++++++++++++++++++++ |
13 |
1 file changed, 50 insertions(+) |
14 |
|
15 |
diff --git a/dev-util/catfish/catfish-4.16.3-r1.ebuild b/dev-util/catfish/catfish-4.16.3-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 000000000000..4f81700a37f0 |
18 |
--- /dev/null |
19 |
+++ b/dev-util/catfish/catfish-4.16.3-r1.ebuild |
20 |
@@ -0,0 +1,50 @@ |
21 |
+# Copyright 1999-2022 Gentoo Authors |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=8 |
25 |
+ |
26 |
+DISTUTILS_USE_PEP517=setuptools |
27 |
+PYTHON_COMPAT=( python3_{8..10} ) |
28 |
+ |
29 |
+inherit distutils-r1 xdg-utils |
30 |
+ |
31 |
+DESCRIPTION="A frontend for find, (s)locate, doodle, tracker, beagle, strigi and pinot" |
32 |
+HOMEPAGE="https://docs.xfce.org/apps/catfish/start" |
33 |
+SRC_URI="https://archive.xfce.org/src/apps/catfish/${PV%.*}/${P}.tar.bz2" |
34 |
+ |
35 |
+# yep, GPL-2 only |
36 |
+LICENSE="GPL-2" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~amd64 ~ppc ~x86" |
39 |
+ |
40 |
+RDEPEND=" |
41 |
+ >=dev-libs/glib-2.42 |
42 |
+ dev-libs/gobject-introspection |
43 |
+ dev-python/dbus-python[${PYTHON_USEDEP}] |
44 |
+ dev-python/pexpect[${PYTHON_USEDEP}] |
45 |
+ dev-python/pygobject:3[${PYTHON_USEDEP}] |
46 |
+ x11-libs/gdk-pixbuf[introspection] |
47 |
+ >=x11-libs/gtk+-3.22:3[introspection] |
48 |
+ x11-libs/pango[introspection] |
49 |
+ >=xfce-base/xfconf-4.14[introspection] |
50 |
+ virtual/freedesktop-icon-theme |
51 |
+" |
52 |
+BDEPEND=" |
53 |
+ dev-python/python-distutils-extra[${PYTHON_USEDEP}] |
54 |
+ sys-devel/gettext |
55 |
+" |
56 |
+ |
57 |
+src_install() { |
58 |
+ distutils-r1_src_install |
59 |
+ rm -r "${ED}"/usr/share/doc/catfish || die |
60 |
+} |
61 |
+ |
62 |
+pkg_postinst() { |
63 |
+ xdg_icon_cache_update |
64 |
+ xdg_desktop_database_update |
65 |
+} |
66 |
+ |
67 |
+pkg_postrm() { |
68 |
+ xdg_icon_cache_update |
69 |
+ xdg_desktop_database_update |
70 |
+} |