summaryrefslogtreecommitdiff
path: root/x11-terms/terminator/terminator-2.1.1-r1.ebuild
diff options
context:
space:
mode:
authorSimeon Simeonov2022-12-27 20:53:44 +0100
committerSimeon Simeonov2022-12-27 20:53:44 +0100
commitf6c4e9732723afcb5037faf8d4a57178930a936f (patch)
tree7a7a499198a0c68bac15ebc51404d2b21a27258e /x11-terms/terminator/terminator-2.1.1-r1.ebuild
parent649719718bd1de38788aac98d9d1348927cf3465 (diff)
Add Python 3.11 support for all Python packages
Diffstat (limited to 'x11-terms/terminator/terminator-2.1.1-r1.ebuild')
-rw-r--r--x11-terms/terminator/terminator-2.1.1-r1.ebuild65
1 files changed, 0 insertions, 65 deletions
diff --git a/x11-terms/terminator/terminator-2.1.1-r1.ebuild b/x11-terms/terminator/terminator-2.1.1-r1.ebuild
deleted file mode 100644
index e42cdf2..0000000
--- a/x11-terms/terminator/terminator-2.1.1-r1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
1# Copyright 1999-2022 Gentoo Authors
2# Distributed under the terms of the GNU General Public License v2
3
4EAPI=7
5
6PYTHON_COMPAT=( python3_{7,8,9,10} )
7inherit distutils-r1 optfeature verify-sig virtualx xdg
8
9DESCRIPTION="Multiple GNOME terminals in one window"
10HOMEPAGE="https://github.com/gnome-terminator/terminator"
11SRC_URI="
12 https://github.com/gnome-terminator/terminator/releases/download/v${PV}/${P}.tar.gz
13 verify-sig? ( https://github.com/gnome-terminator/terminator/releases/download/v${PV}/${P}.tar.gz.asc )
14"
15
16LICENSE="GPL-2"
17SLOT="0"
18KEYWORDS="amd64 ~ppc x86"
19IUSE="test"
20
21RDEPEND="
22 dev-libs/glib:2
23 dev-python/configobj[${PYTHON_USEDEP}]
24 dev-python/psutil[${PYTHON_USEDEP}]
25 dev-python/pycairo[${PYTHON_USEDEP}]
26 dev-python/pygobject:3[${PYTHON_USEDEP}]
27 gnome-base/gsettings-desktop-schemas[introspection]
28 x11-libs/gtk+:3
29 x11-libs/vte:2.91[introspection]
30"
31BDEPEND="
32 dev-util/intltool
33 sys-devel/gettext
34 test? (
35 dev-python/dbus-python[${PYTHON_USEDEP}]
36 x11-libs/libnotify[introspection]
37 )
38 verify-sig? ( sec-keys/openpgp-keys-terminator )
39"
40distutils_enable_tests pytest
41
42VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/terminator.asc
43
44PATCHES=(
45 "${FILESDIR}"/terminator-1.91-without-icon-cache.patch
46 "${FILESDIR}"/terminator-1.91-desktop.patch
47)
48
49src_prepare() {
50 xdg_environment_reset
51 sed -i -e '/pytest-runner/d' setup.py || die
52 distutils-r1_src_prepare
53}
54
55src_test() {
56 virtx distutils-r1_src_test
57}
58
59pkg_postinst() {
60 xdg_pkg_postinst
61
62 optfeature "D-Bus" dev-python/dbus-python
63 optfeature "desktop notifications" "x11-libs/libnotify[introspection]"
64 optfeature "global keyboard shortcuts" "dev-libs/keybinder:3[introspection]"
65}