summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-02-14 23:18:15 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-02-15 00:06:32 +0100
commitb0aa1ee879d9f6a76215342a48bf0b18bdb1391f (patch)
treef903541ef0246ed9765fafa511c9e29bac766326 /app-text/pdfshuffler
parentdev-db/sqlitebrowser: Drop 3.10.1 (diff)
downloadgentoo-b0aa1ee879d9f6a76215342a48bf0b18bdb1391f.tar.gz
gentoo-b0aa1ee879d9f6a76215342a48bf0b18bdb1391f.tar.bz2
gentoo-b0aa1ee879d9f6a76215342a48bf0b18bdb1391f.zip
app-text/pdfshuffler: Switch from gnome2-utils to xdg, EAPI-7 bump
Package-Manager: Portage-2.3.60, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'app-text/pdfshuffler')
-rw-r--r--app-text/pdfshuffler/pdfshuffler-0.6.0-r1.ebuild27
1 files changed, 6 insertions, 21 deletions
diff --git a/app-text/pdfshuffler/pdfshuffler-0.6.0-r1.ebuild b/app-text/pdfshuffler/pdfshuffler-0.6.0-r1.ebuild
index 1f2948029b4f..23dcc1238d34 100644
--- a/app-text/pdfshuffler/pdfshuffler-0.6.0-r1.ebuild
+++ b/app-text/pdfshuffler/pdfshuffler-0.6.0-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
-PYTHON_COMPAT=( python2_7 )
+EAPI=7
-inherit distutils-r1 gnome2-utils xdg-utils
+PYTHON_COMPAT=( python2_7 )
+inherit distutils-r1 xdg
DESCRIPTION="GUI app that can merge or split pdfs and rotate, crop and rearrange their pages"
HOMEPAGE="https://sourceforge.net/projects/pdfshuffler/"
@@ -19,21 +19,6 @@ DEPEND="|| ( dev-python/PyPDF2 dev-python/pyPdf )
dev-python/python-poppler"
RDEPEND="${DEPEND}"
-DOCS="ChangeLog README TODO AUTHORS"
-PATCHES=( "${FILESDIR}"/${PN}-PyPDF2.patch )
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
- gnome2_icon_cache_update
-}
+DOCS=( ChangeLog README TODO AUTHORS )
-pkg_postrm() {
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
- gnome2_icon_cache_update
-}
+PATCHES=( "${FILESDIR}"/${PN}-PyPDF2.patch )