Add pdfposter ebuild

This commit is contained in:
layman 2023-05-13 23:37:37 +02:00
parent 1bbb37f093
commit ea2f8c3328
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1 @@
EBUILD pdfposter-0.8.ebuild 699 BLAKE2B 03c3b1272f8f540d5a6c8f78f37113c64406e772e1759123d9ff3ea0be239f1cd84f878ce7cdb1c3c53be5a9b6bbdd4164eee0c7f74c984a12ed23b9e78de441 SHA512 888574e8e69bd836dbcd8269d21e96dd05cc5d25686ea23a25ba256857c2714bd7628c3b809ae483443f4f94dac445a5350cbf89791552ec5104362ce86965cc

View File

@ -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
}