summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2013-06-21 09:58:31 +0000
committerMichael Weber <xmw@gentoo.org>2013-06-21 09:58:31 +0000
commit4152181eccc97e0966b44eed21213e7ebbc502db (patch)
tree1c075ad8e0c52c1853d766b8aebaf153f5b56c39 /app-text
parentsys-kernel/aufs-sources: Drop old; Bump to latest genpatches (diff)
downloadgentoo-2-4152181eccc97e0966b44eed21213e7ebbc502db.tar.gz
gentoo-2-4152181eccc97e0966b44eed21213e7ebbc502db.tar.bz2
gentoo-2-4152181eccc97e0966b44eed21213e7ebbc502db.zip
Version bump, fix src_test for default python3 (bug 473990)
(Portage version: 2.2.0_alpha183/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/pdf2djvu/ChangeLog7
-rw-r--r--app-text/pdf2djvu/pdf2djvu-0.7.17.ebuild54
2 files changed, 60 insertions, 1 deletions
diff --git a/app-text/pdf2djvu/ChangeLog b/app-text/pdf2djvu/ChangeLog
index ed4d939d96aa..5a1342327c00 100644
--- a/app-text/pdf2djvu/ChangeLog
+++ b/app-text/pdf2djvu/ChangeLog
@@ -1,6 +1,11 @@
# 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.18 2013/03/17 13:22:13 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/pdf2djvu/ChangeLog,v 1.19 2013/06/21 09:58:31 xmw Exp $
+
+*pdf2djvu-0.7.17 (21 Jun 2013)
+
+ 21 Jun 2013; Michael Weber <xmw@gentoo.org> +pdf2djvu-0.7.17.ebuild:
+ Version bump, fix src_test for default python3 (bug 473990)
17 Mar 2013; Samuli Suominen <ssuominen@gentoo.org> pdf2djvu-0.7.16.ebuild:
Use subslot dependency for app-text/poppler wrt #462020
diff --git a/app-text/pdf2djvu/pdf2djvu-0.7.17.ebuild b/app-text/pdf2djvu/pdf2djvu-0.7.17.ebuild
new file mode 100644
index 000000000000..43c9ce860182
--- /dev/null
+++ b/app-text/pdf2djvu/pdf2djvu-0.7.17.ebuild
@@ -0,0 +1,54 @@
+# 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.1 2013/06/21 09:58:31 xmw Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_6,2_7} )
+
+inherit python-single-r1 toolchain-funcs
+
+DESCRIPTION="A tool to create DjVu files from PDF files"
+HOMEPAGE="http://code.google.com/p/pdf2djvu/"
+SRC_URI="http://pdf2djvu.googlecode.com/files/${PN}_${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+graphicsmagick nls openmp test"
+
+RDEPEND="
+ >=app-text/djvu-3.5.21:=
+ >=app-text/poppler-0.16.7:=
+ dev-libs/libxml2:=
+ dev-libs/libxslt:=
+ graphicsmagick? ( media-gfx/graphicsmagick:= )
+"
+DEPEND="${RDEPEND}
+ dev-cpp/pstreams
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )
+"
+
+REQUIRED_USE="test? ( graphicsmagick )"
+
+src_prepare() {
+ sed -e "s:nosetests :nosetests-${EPYTHON} :" \
+ -i tests/Makefile || die
+}
+
+src_configure() {
+ local openmp=--disable-openmp
+ use openmp && tc-has-openmp && openmp=--enable-openmp
+
+ econf \
+ ${openmp} \
+ $(use_enable nls) \
+ $(use_with graphicsmagick)
+}
+
+src_install() {
+ default
+ dodoc doc/{changelog,{cjk,credits,djvudigital}.txt}
+}