diff options
-rw-r--r-- | app-text/pdf2djvu/ChangeLog | 6 | ||||
-rw-r--r-- | app-text/pdf2djvu/pdf2djvu-0.7.17.ebuild | 8 |
2 files changed, 11 insertions, 3 deletions
diff --git a/app-text/pdf2djvu/ChangeLog b/app-text/pdf2djvu/ChangeLog index cb77a8c22ab2..9fc8fff13f01 100644 --- a/app-text/pdf2djvu/ChangeLog +++ b/app-text/pdf2djvu/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-text/pdf2djvu # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/pdf2djvu/ChangeLog,v 1.20 2013/09/12 21:10:23 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/pdf2djvu/ChangeLog,v 1.21 2013/09/12 21:16:00 mgorny Exp $ + + 12 Sep 2013; Michał Górny <mgorny@gentoo.org> pdf2djvu-0.7.17.ebuild: + Minor cleanup: call python-single-r1_pkg_setup only if USE=test is used. Add + REQUIRED_USE for it as well. 12 Sep 2013; Michał Górny <mgorny@gentoo.org> pdf2djvu-0.7.17.ebuild: Remove unnecessary nosetests ${EPYTHON}-variant enforcement. The pkg_setup() diff --git a/app-text/pdf2djvu/pdf2djvu-0.7.17.ebuild b/app-text/pdf2djvu/pdf2djvu-0.7.17.ebuild index b24cbc3b9765..3416f86e45d3 100644 --- a/app-text/pdf2djvu/pdf2djvu-0.7.17.ebuild +++ b/app-text/pdf2djvu/pdf2djvu-0.7.17.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/pdf2djvu/pdf2djvu-0.7.17.ebuild,v 1.2 2013/09/12 21:10:23 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/pdf2djvu/pdf2djvu-0.7.17.ebuild,v 1.3 2013/09/12 21:16:00 mgorny Exp $ EAPI=5 @@ -31,7 +31,11 @@ DEPEND="${RDEPEND} test? ( dev-python/nose[${PYTHON_USEDEP}] ) " -REQUIRED_USE="test? ( graphicsmagick )" +REQUIRED_USE="test? ( graphicsmagick ${PYTHON_REQUIRED_USE} )" + +pkg_setup() { + use test && python-single-r1_pkg_setup +} src_configure() { local openmp=--disable-openmp |