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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 29548158041 for ; Fri, 8 Mar 2024 16:03:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 49C82E29D2; Fri, 8 Mar 2024 16:03:10 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2A87DE29D2 for ; Fri, 8 Mar 2024 16:03:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2062333C1EB for ; Fri, 8 Mar 2024 16:03:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7483B119 for ; Fri, 8 Mar 2024 16:03:07 +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: <1709913765.eefa4845b01828970c3a1e6c03488fb6e2f36e28.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.10.1-r1.ebuild X-VCS-Directories: app-text/pdfarranger/ X-VCS-Committer: grozin X-VCS-Committer-Name: Andrey Grozin X-VCS-Revision: eefa4845b01828970c3a1e6c03488fb6e2f36e28 X-VCS-Branch: master Date: Fri, 8 Mar 2024 16:03:07 +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: d7e70891-057f-444b-858b-7b668242a5e4 X-Archives-Hash: b6c3c2855e2323be76e47d5a3ca67c74 commit: eefa4845b01828970c3a1e6c03488fb6e2f36e28 Author: Andrey Grozin gentoo org> AuthorDate: Fri Mar 8 16:02:05 2024 +0000 Commit: Andrey Grozin gentoo org> CommitDate: Fri Mar 8 16:02:45 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eefa4845 app-text/pdfarranger: use PEP517 build Closes: https://bugs.gentoo.org/909901 Signed-off-by: Andrey Grozin gentoo.org> app-text/pdfarranger/pdfarranger-1.10.1-r1.ebuild | 42 +++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/app-text/pdfarranger/pdfarranger-1.10.1-r1.ebuild b/app-text/pdfarranger/pdfarranger-1.10.1-r1.ebuild new file mode 100644 index 000000000000..0ffbefbf932f --- /dev/null +++ b/app-text/pdfarranger/pdfarranger-1.10.1-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) +inherit distutils-r1 optfeature xdg 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" + +RDEPEND=" + app-text/poppler[introspection,cairo] + dev-python/pikepdf[${PYTHON_USEDEP}] + dev-python/pycairo[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP},cairo] + dev-python/python-dateutil[${PYTHON_USEDEP}] + x11-libs/gtk+:3[introspection] + x11-libs/pango[introspection] +" +DEPEND="${RDEPEND} + dev-python/python-distutils-extra[${PYTHON_USEDEP}] + dev-util/intltool +" + +src_install() { + distutils-r1_src_install + for x in 16 32 48 256 scalable + do doicon -s ${x} data/icons/hicolor/${x}*/* + done +} + +pkg_postinst() { + xdg_pkg_postinst + optfeature "image file import" media-gfx/img2pdf +}