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 EFE3F1382C5 for ; Wed, 13 Jan 2021 15:31:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 056C4E0828; Wed, 13 Jan 2021 15:31:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 B610AE0828 for ; Wed, 13 Jan 2021 15:31:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 42F28340ECE for ; Wed, 13 Jan 2021 15:31:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B0BA9496 for ; Wed, 13 Jan 2021 15:31:14 +0000 (UTC) From: "Andrey Grozin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrey Grozin" Message-ID: <1610551837.098516d7337a77d5ccb2060e24cccd2c4dbd6af9.grozin@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/pdfarranger/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/pdfarranger/pdfarranger-1.6.2.ebuild X-VCS-Directories: app-text/pdfarranger/ X-VCS-Committer: grozin X-VCS-Committer-Name: Andrey Grozin X-VCS-Revision: 098516d7337a77d5ccb2060e24cccd2c4dbd6af9 X-VCS-Branch: master Date: Wed, 13 Jan 2021 15:31:14 +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: 380f0c48-1a5e-4a6f-b689-ff9fc36b617e X-Archives-Hash: f9f632eea01e10e3b70119a0af949cfc commit: 098516d7337a77d5ccb2060e24cccd2c4dbd6af9 Author: Andrey Grozin gentoo org> AuthorDate: Wed Jan 13 15:30:37 2021 +0000 Commit: Andrey Grozin gentoo org> CommitDate: Wed Jan 13 15:30:37 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=098516d7 app-text/pdfarranger: ebuild improvements Suggested-by: Andreas Sturmlechner gentoo.org> Closes: https://bugs.gentoo.org/764638 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Andrey Grozin gentoo.org> app-text/pdfarranger/pdfarranger-1.6.2.ebuild | 28 ++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/app-text/pdfarranger/pdfarranger-1.6.2.ebuild b/app-text/pdfarranger/pdfarranger-1.6.2.ebuild index ca5563883b5..f3d0a8fa4fe 100644 --- a/app-text/pdfarranger/pdfarranger-1.6.2.ebuild +++ b/app-text/pdfarranger/pdfarranger-1.6.2.ebuild @@ -1,34 +1,44 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} ) + +PYTHON_COMPAT=( python3_{7..9} ) DISTUTILS_USE_SETUPTOOLS=rdepend -inherit distutils-r1 xdg-utils +inherit distutils-r1 optfeature xdg-utils desktop DESCRIPTION="Merge or split pdfs; rearrange, rotate, crop pages." HOMEPAGE="https://github.com/jeromerobert/pdfarranger" SRC_URI="https://github.com/jeromerobert/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" IUSE="" -RDEPEND="dev-python/pikepdf[${PYTHON_USEDEP}] - dev-python/pygobject:3[${PYTHON_USEDEP},cairo] + +RDEPEND=" + app-text/poppler[introspection,cairo] + dev-python/pikepdf[${PYTHON_USEDEP}] dev-python/pycairo[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP},cairo] x11-libs/gtk+:3[introspection] x11-libs/pango[introspection] - app-text/poppler[introspection,cairo]" +" DEPEND="${RDEPEND} - dev-python/python-distutils-extra[${PYTHON_USEDEP}]" + dev-python/python-distutils-extra[${PYTHON_USEDEP}] +" src_install() { distutils-r1_src_install - insinto /usr/share/icons - doins -r data/icons/hicolor + for x in 16 32 48 256 scalable + do doicon -s ${x} data/icons/hicolor/${x}*/* + done } pkg_postinst() { + elog "Optional dependency:" + optfeature "image file import" media-gfx/img2pdf + xdg_desktop_database_update xdg_icon_cache_update xdg_mimeinfo_database_update