From 02ec2b281901031a33a04d108d92ae9b22cbd19d Mon Sep 17 00:00:00 2001 From: Conrad Kostecki Date: Tue, 2 Mar 2021 18:01:30 +0100 Subject: x11-misc/mugshot: drop old version Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Conrad Kostecki --- x11-misc/mugshot/Manifest | 1 - .../mugshot/files/mugshot-0.4.2-python39.patch | 36 ---------- x11-misc/mugshot/mugshot-0.4.2-r1.ebuild | 81 ---------------------- 3 files changed, 118 deletions(-) delete mode 100644 x11-misc/mugshot/files/mugshot-0.4.2-python39.patch delete mode 100644 x11-misc/mugshot/mugshot-0.4.2-r1.ebuild (limited to 'x11-misc/mugshot') diff --git a/x11-misc/mugshot/Manifest b/x11-misc/mugshot/Manifest index 48e2bcc5beed..166650ae51c6 100644 --- a/x11-misc/mugshot/Manifest +++ b/x11-misc/mugshot/Manifest @@ -1,2 +1 @@ -DIST mugshot-0.4.2.tar.gz 121020 BLAKE2B c092e25273dbd8ef9cbfbc001fb5f86b134ed8f9bf5d84993d5f46664f17eb74eda5c121ee70b5f0c4b0adb5aa1fc4d21d8c59d3f0cf4a4f67991d06690f5aa5 SHA512 721629cf4a7e4d84fd8505279cf88c88ac88c7b6c995ac84a2fd6a9b978c92716bbe20d7b0301ca70e99c007698e4cddf41b6cf1111bf496eec4d39591cd9ed1 DIST mugshot-0.4.3.tar.gz 128500 BLAKE2B 88ed4a9a0efa70a14d90b831d00ad8c98d7c6dc4eff0e319e5ad08e904b0c0cf2c15bb26198f4ae1248e85959c08af165c9b6dc917dce35d986fdd73ff67eed8 SHA512 b5e91288b4de30124bd84c44b8f2a70e043af12e1f9580d07b13344b6c0343399037aadf153ea216d61cd12e4891ebb15557f1ad62c3b4d7c49584fa004ae65c diff --git a/x11-misc/mugshot/files/mugshot-0.4.2-python39.patch b/x11-misc/mugshot/files/mugshot-0.4.2-python39.patch deleted file mode 100644 index b0443f7a3d33..000000000000 --- a/x11-misc/mugshot/files/mugshot-0.4.2-python39.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 643b3d005a8865c961b836aeae4c1f76711646e9 Mon Sep 17 00:00:00 2001 -From: Conrad Kostecki -Date: Mon, 24 Aug 2020 23:58:10 +0200 -Subject: [PATCH] Add python3.9 compatiblity - -Starting with python3.9, launching of mugshot will fail, -as getiterator() been deprecated since Python 2.7, -and has been removed in Python 3.9. Using iter() will fix that. - -Signed-off-by: Conrad Kostecki ---- - mugshot_lib/Builder.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/mugshot_lib/Builder.py b/mugshot_lib/Builder.py -index 7297541..6c08d70 100644 ---- a/mugshot_lib/Builder.py -+++ b/mugshot_lib/Builder.py -@@ -89,7 +89,7 @@ def add_from_file(self, filename): - tree = ElementTree() - tree.parse(filename) - -- ele_widgets = tree.getiterator("object") -+ ele_widgets = tree.iter("object") - for ele_widget in ele_widgets: - name = ele_widget.attrib['id'] - widget = self.get_object(name) -@@ -111,7 +111,7 @@ def add_from_file(self, filename): - if connections: - self.connections.extend(connections) - -- ele_signals = tree.getiterator("signal") -+ ele_signals = tree.iter("signal") - for ele_signal in ele_signals: - self.glade_handler_dict.update( - {ele_signal.attrib["handler"]: None}) diff --git a/x11-misc/mugshot/mugshot-0.4.2-r1.ebuild b/x11-misc/mugshot/mugshot-0.4.2-r1.ebuild deleted file mode 100644 index d6005fd6a5bd..000000000000 --- a/x11-misc/mugshot/mugshot-0.4.2-r1.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS="no" -PYTHON_COMPAT=( python3_{7..9} ) - -inherit distutils-r1 gnome2-utils xdg-utils - -DESCRIPTION="A lightweight user-configuration application" -HOMEPAGE="https://github.com/bluesabre/mugshot" -SRC_URI="https://github.com/bluesabre/${PN}/archive/${P}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="gnome libreoffice webcam" - -COMMON_DEPEND=" - dev-libs/gobject-introspection - dev-python/dbus-python[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pygobject:3[${PYTHON_USEDEP}] - -" - -RDEPEND=" - ${COMMON_DEPEND} - dev-python/pycairo[${PYTHON_USEDEP}] - sys-apps/accountsservice - sys-apps/shadow - gnome? ( gnome-base/gnome-control-center ) - libreoffice? ( - || ( - app-office/libreoffice-bin - app-office/libreoffice - ) - ) - webcam? ( - media-libs/gstreamer:1.0 - media-libs/gst-plugins-good:1.0 - gnome? ( - media-libs/clutter-gtk[introspection] - media-video/cheese[introspection] - ) - ) -" - -DEPEND=" - ${COMMON_DEPEND} - x11-libs/gtk+:3[introspection] -" - -BDEPEND=" - dev-python/python-distutils-extra[${PYTHON_USEDEP}] - dev-util/intltool -" - -S="${WORKDIR}/${PN}-${P}" - -PATCHES=( "${FILESDIR}/${PN}-0.4.2-python39.patch" ) - -python_install() { - distutils-r1_python_install - - python_optimize - - # Since DOCS are installed twice, remove the wrong path - rm -r "${ED}"/usr/share/doc/mugshot || die -} - -pkg_postinst() { - gnome2_schemas_update - xdg_icon_cache_update -} - -pkg_postrm() { - gnome2_schemas_update - xdg_icon_cache_update -} -- cgit v1.2.3-65-gdbad