From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E80C6138334 for ; Sun, 15 Dec 2019 13:10:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E240CE0898; Sun, 15 Dec 2019 13:10:45 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BB7ACE0898 for ; Sun, 15 Dec 2019 13:10:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A09AF34D7CD for ; Sun, 15 Dec 2019 13:10:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 165BA8D3 for ; Sun, 15 Dec 2019 13:10:43 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1576415298.9240c4b7e3420dc3d16e51b66d1dc545680ad237.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/mugshot/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/mugshot/mugshot-0.4.2-r1.ebuild X-VCS-Directories: x11-misc/mugshot/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 9240c4b7e3420dc3d16e51b66d1dc545680ad237 X-VCS-Branch: master Date: Sun, 15 Dec 2019 13:10:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 824de2bb-11fd-4cd3-8830-26b5a543c060 X-Archives-Hash: 0894f3f5b8eaca5eb806167053f1959a commit: 9240c4b7e3420dc3d16e51b66d1dc545680ad237 Author: Conrad Kostecki gentoo org> AuthorDate: Sun Dec 15 12:44:26 2019 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sun Dec 15 13:08:18 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9240c4b7 x11-misc/mugshot: add python3_8 support Also fixing QA error by calling python_optimize and adding DISTUTILS_USE_SETUPTOOLS. Updated dependencies, since not all deps are needed in DEPEND. Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Conrad Kostecki gentoo.org> x11-misc/mugshot/mugshot-0.4.2-r1.ebuild | 79 ++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) diff --git a/x11-misc/mugshot/mugshot-0.4.2-r1.ebuild b/x11-misc/mugshot/mugshot-0.4.2-r1.ebuild new file mode 100644 index 00000000000..d73d30cc473 --- /dev/null +++ b/x11-misc/mugshot/mugshot-0.4.2-r1.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS="no" +PYTHON_COMPAT=( python3_{5,6,7,8} ) + +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}" + +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 +}