public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrey Grozin" <grozin@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/pdfarranger/
Date: Wed, 13 Jan 2021 15:31:14 +0000 (UTC)	[thread overview]
Message-ID: <1610551837.098516d7337a77d5ccb2060e24cccd2c4dbd6af9.grozin@gentoo> (raw)

commit:     098516d7337a77d5ccb2060e24cccd2c4dbd6af9
Author:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 13 15:30:37 2021 +0000
Commit:     Andrey Grozin <grozin <AT> gentoo <DOT> 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 <asturm <AT> gentoo.org>
Closes: https://bugs.gentoo.org/764638
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Andrey Grozin <grozin <AT> 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


             reply	other threads:[~2021-01-13 15:31 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-13 15:31 Andrey Grozin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-02  8:06 [gentoo-commits] repo/gentoo:master commit in: app-text/pdfarranger/ Andrey Grozin
2024-11-02  8:05 Andrey Grozin
2024-09-23  9:13 Arthur Zamarin
2024-07-02  9:51 Andrey Grozin
2024-07-02  9:49 Andrey Grozin
2024-04-10  9:57 Andrey Grozin
2024-04-10  9:56 Andrey Grozin
2024-03-08 16:03 Andrey Grozin
2023-12-26 11:43 Andrey Grozin
2023-12-26 11:41 Andrey Grozin
2023-09-02 16:22 Sam James
2023-07-21  9:13 Andrey Grozin
2023-07-20 16:10 Andrey Grozin
2023-03-06 14:06 Andrey Grozin
2022-11-30 14:26 Andrey Grozin
2022-10-26 11:11 Andrey Grozin
2022-10-17 12:54 Andrey Grozin
2022-10-17 12:53 Andrey Grozin
2022-09-26  3:43 Andrey Grozin
2022-02-21  4:00 Andrey Grozin
2022-02-21  3:45 Sam James
2022-01-03  4:58 Andrey Grozin
2021-12-25  7:33 Andrey Grozin
2021-12-25  7:32 Andrey Grozin
2021-07-01  8:58 Sam James
2021-04-27 11:26 Andrey Grozin
2021-02-25 12:17 Andrey Grozin
2021-02-13 10:43 Andrey Grozin
2021-02-13 10:40 Andrey Grozin
2021-02-11 19:07 Pacho Ramos
2020-08-14 15:33 Andrey Grozin
2020-07-02 12:22 Andrey Grozin
2020-07-02 12:16 Andrey Grozin
2020-06-16 11:08 Andrey Grozin
2020-02-24 12:33 Andrey Grozin
2020-01-21 11:50 Andrey Grozin
2020-01-13 16:17 Andrey Grozin
2020-01-09 15:38 Andrey Grozin
2020-01-08 11:19 Andrey Grozin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1610551837.098516d7337a77d5ccb2060e24cccd2c4dbd6af9.grozin@gentoo \
    --to=grozin@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox