tkurbad-overlay/app-text/pdfposter/pdfposter-0.8.1.ebuild

34 lines
776 B
Bash

# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..12} )
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_SINGLE_IMPL=1
inherit git-r3 distutils-r1
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}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="$(python_gen_cond_dep '
dev-python/pypdf[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
')
${DEPEND}"
python_install_all() {
distutils-r1_python_install_all
find "${D}" -name '*.pth' -delete || die
}