29 lines
699 B
Bash
29 lines
699 B
Bash
|
# 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
|
||
|
}
|