From: David Seifert Date: Sun, 23 Apr 2017 06:51:08 +0000 (+0200) Subject: app-text/pdf2djvu: [QA] Add missing python metadata variables X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=8e4ee691ea0070ec9368105d05c6311cb1b2bef8;p=gentoo.git app-text/pdf2djvu: [QA] Add missing python metadata variables Package-Manager: Portage-2.3.5, Repoman-2.3.2 --- diff --git a/app-text/pdf2djvu/pdf2djvu-0.9.3.ebuild b/app-text/pdf2djvu/pdf2djvu-0.9.3.ebuild index 2eb5f4de8a1b..af5fbd00e708 100644 --- a/app-text/pdf2djvu/pdf2djvu-0.9.3.ebuild +++ b/app-text/pdf2djvu/pdf2djvu-0.9.3.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 PYTHON_COMPAT=( python2_7 ) -inherit python-single-r1 toolchain-funcs +inherit python-any-r1 toolchain-funcs DESCRIPTION="A tool to create DjVu files from PDF files" HOMEPAGE="http://jwilk.net/software/pdf2djvu" @@ -27,13 +27,16 @@ DEPEND="${RDEPEND} dev-cpp/pstreams virtual/pkgconfig nls? ( sys-devel/gettext ) - test? ( dev-python/nose[${PYTHON_USEDEP}] ) + test? ( + ${PYTHON_DEPS} + $(python_gen_any_dep 'dev-python/nose[${PYTHON_USEDEP}]') + ) " REQUIRED_USE="test? ( graphicsmagick ${PYTHON_REQUIRED_USE} )" pkg_setup() { - use test && python-single-r1_pkg_setup + use test && python-any-r1_pkg_setup } src_configure() { diff --git a/app-text/pdf2djvu/pdf2djvu-0.9.4.ebuild b/app-text/pdf2djvu/pdf2djvu-0.9.4.ebuild index 2e3ac901d1f3..af5fbd00e708 100644 --- a/app-text/pdf2djvu/pdf2djvu-0.9.4.ebuild +++ b/app-text/pdf2djvu/pdf2djvu-0.9.4.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 PYTHON_COMPAT=( python2_7 ) -inherit python-single-r1 toolchain-funcs +inherit python-any-r1 toolchain-funcs DESCRIPTION="A tool to create DjVu files from PDF files" HOMEPAGE="http://jwilk.net/software/pdf2djvu" @@ -27,13 +27,16 @@ DEPEND="${RDEPEND} dev-cpp/pstreams virtual/pkgconfig nls? ( sys-devel/gettext ) - test? ( dev-python/nose[${PYTHON_USEDEP}] ) + test? ( + ${PYTHON_DEPS} + $(python_gen_any_dep 'dev-python/nose[${PYTHON_USEDEP}]') + ) " REQUIRED_USE="test? ( graphicsmagick ${PYTHON_REQUIRED_USE} )" pkg_setup() { - use test && python-single-r1_pkg_setup + use test && python-any-r1_pkg_setup } src_configure() {