From ea2f8c332894123dc94b405bfa8b580a58ffc273 Mon Sep 17 00:00:00 2001 From: layman Date: Sat, 13 May 2023 23:37:37 +0200 Subject: [PATCH] Add pdfposter ebuild --- app-text/pdfposter/Manifest | 1 + app-text/pdfposter/pdfposter-0.8.ebuild | 28 +++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 app-text/pdfposter/Manifest create mode 100644 app-text/pdfposter/pdfposter-0.8.ebuild diff --git a/app-text/pdfposter/Manifest b/app-text/pdfposter/Manifest new file mode 100644 index 0000000..7642884 --- /dev/null +++ b/app-text/pdfposter/Manifest @@ -0,0 +1 @@ +EBUILD pdfposter-0.8.ebuild 699 BLAKE2B 03c3b1272f8f540d5a6c8f78f37113c64406e772e1759123d9ff3ea0be239f1cd84f878ce7cdb1c3c53be5a9b6bbdd4164eee0c7f74c984a12ed23b9e78de441 SHA512 888574e8e69bd836dbcd8269d21e96dd05cc5d25686ea23a25ba256857c2714bd7628c3b809ae483443f4f94dac445a5350cbf89791552ec5104362ce86965cc diff --git a/app-text/pdfposter/pdfposter-0.8.ebuild b/app-text/pdfposter/pdfposter-0.8.ebuild new file mode 100644 index 0000000..d9679f4 --- /dev/null +++ b/app-text/pdfposter/pdfposter-0.8.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Scale and tile PDF images/pages to print on multiple pages." +HOMEPAGE="http://pythonhosted.org/pdftools.pdfposter/ https://gitlab.com/pdftools/pdfposter" +EGIT_REPO_URI="https://gitlab.com/pdftools/pdfposter" +EGIT_COMMIT="v${PV}" +PYTHON_COMPAT=( python3_{8,9,10} ) + +inherit git-r3 distutils-r1 + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND=" + >=dev-python/PyPDF2-2.1.1[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + ${DEPEND}" + +python_install_all() { + distutils-r1_python_install_all + find "${D}" -name '*.pth' -delete || die +}