app-text/pdf2djvu: [QA] Add missing python metadata variables
authorDavid Seifert <soap@gentoo.org>
Sun, 23 Apr 2017 06:51:08 +0000 (08:51 +0200)
committerDavid Seifert <soap@gentoo.org>
Sun, 23 Apr 2017 11:20:15 +0000 (13:20 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

app-text/pdf2djvu/pdf2djvu-0.9.3.ebuild
app-text/pdf2djvu/pdf2djvu-0.9.4.ebuild

index 2eb5f4de8a1bddb77ad782ab0d925925edab74f3..af5fbd00e708514ffd137519d62d238371a1d044 100644 (file)
@@ -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() {
index 2e3ac901d1f3d56f570327be7a164a000ea3d20c..af5fbd00e708514ffd137519d62d238371a1d044 100644 (file)
@@ -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() {