commit:     031c836086815a684b7add79c6f38b5ee0e10023
Author:     Alexey Sokolov <sokolov <AT> google <DOT> com>
AuthorDate: Tue Oct  6 23:53:32 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Oct 15 11:03:21 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=031c8360

x11-terms/terminator: version 2.0.1

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/17830
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 x11-terms/terminator/Manifest                |  1 +
 x11-terms/terminator/terminator-2.0.1.ebuild | 66 ++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)

diff --git a/x11-terms/terminator/Manifest b/x11-terms/terminator/Manifest
index b7d3b02a41b..82f1cb763e4 100644
--- a/x11-terms/terminator/Manifest
+++ b/x11-terms/terminator/Manifest
@@ -1 +1,2 @@
 DIST terminator-1.92.tar.gz 910613 BLAKE2B 
d7a665f81011b21da14837492f04204158e95d846aaf876d2393fe4a236113d9718be9b3946f38e1385168bbcec72fd65b895b5f476727c8a67bbc6e51016a63
 SHA512 
9a63d1993582d94711b7be6cad0ecde3969b3a5d297ab388677b485161fae308a93d559f84bc4cb7ff71c8755cac6c2511b3677a8ab1da3da6427c53c68529f1
+DIST terminator-2.0.1.tar.gz 934263 BLAKE2B 
b3b74f513f50f53bd9d6c0909daebb6912b20fd19cfb4ebcded443d2118a4608c3377e0498604ffec61e4d4ee48eb573a4e59ebef9a2b5708f52afb6949238cf
 SHA512 
d0159ba966a10e51d18374ce2c9f700a2b9cc981496804948ed8d13b2896ad2c2a621337b6e5da8abee59616c16a64ac267e02b8ecd55d40c35d503397a9f50b

diff --git a/x11-terms/terminator/terminator-2.0.1.ebuild 
b/x11-terms/terminator/terminator-2.0.1.ebuild
new file mode 100644
index 00000000000..d248754a408
--- /dev/null
+++ b/x11-terms/terminator/terminator-2.0.1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+inherit distutils-r1 optfeature virtualx xdg-utils
+
+DESCRIPTION="Multiple GNOME terminals in one window"
+HOMEPAGE="https://github.com/gnome-terminator/terminator";
+SRC_URI="https://github.com/gnome-terminator/terminator/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="test"
+
+RDEPEND="
+       dev-libs/glib:2
+       dev-python/configobj[${PYTHON_USEDEP}]
+       dev-python/psutil[${PYTHON_USEDEP}]
+       dev-python/pycairo[${PYTHON_USEDEP}]
+       dev-python/pygobject:3[${PYTHON_USEDEP}]
+       gnome-base/gsettings-desktop-schemas[introspection]
+       x11-libs/gtk+:3
+       x11-libs/vte:2.91[introspection]
+"
+BDEPEND="
+       dev-util/intltool
+       sys-devel/gettext
+       test? (
+               dev-python/dbus-python[${PYTHON_USEDEP}]
+               x11-libs/libnotify[introspection]
+       )
+"
+distutils_enable_tests pytest
+
+PATCHES=(
+       "${FILESDIR}"/terminator-1.91-without-icon-cache.patch
+       "${FILESDIR}"/terminator-1.91-desktop.patch
+)
+
+src_prepare() {
+       xdg_environment_reset
+       sed -i -e '/pytest-runner/d' setup.py || die
+       distutils-r1_src_prepare
+}
+
+src_test() {
+       virtx distutils-r1_src_test
+}
+
+pkg_postinst() {
+       xdg_desktop_database_update
+       xdg_icon_cache_update
+
+       elog "Consider installing the following for additional features:"
+       optfeature "D-Bus" dev-python/dbus-python
+       optfeature "Desktop notifications" "x11-libs/libnotify[introspection]"
+       optfeature "Global keyboard shortcuts" 
"dev-libs/keybinder:3[introspection]"
+}
+
+pkg_postrm() {
+       xdg_desktop_database_update
+       xdg_icon_cache_update
+}

Reply via email to