Gentoo Archives: gentoo-commits

From: "Andreas Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/unoconv/files/, app-office/unoconv/
Date: Sat, 05 Nov 2016 21:01:13
Message-Id: 1478379648.326360af22a1f24fca60d975e5e5aa4ab1a57d6a.dilfridge@gentoo
1 commit: 326360af22a1f24fca60d975e5e5aa4ab1a57d6a
2 Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
3 AuthorDate: Sat Oct 22 12:09:59 2016 +0000
4 Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 5 21:00:48 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=326360af
7
8 app-office/unoconv: Port to python-single-r1, bump to EAPI 6
9
10 0.7 was fixed already, do the same for 99999999.
11
12 Gentoo-bug: 597466
13
14 Package-Manager: portage-2.3.0
15
16 app-office/unoconv/files/timeout.patch | 4 +--
17 app-office/unoconv/unoconv-99999999.ebuild | 42 ++++++++++++++++++++++++++++++
18 2 files changed, 44 insertions(+), 2 deletions(-)
19
20 diff --git a/app-office/unoconv/files/timeout.patch b/app-office/unoconv/files/timeout.patch
21 index f41b101..7849205 100644
22 --- a/app-office/unoconv/files/timeout.patch
23 +++ b/app-office/unoconv/files/timeout.patch
24 @@ -1,5 +1,5 @@
25 ---- unoconv.old 2011-08-01 14:20:45.000000000 +0200
26 -+++ unoconv 2011-08-01 14:21:01.000000000 +0200
27 +--- a/unoconv 2011-08-01 14:20:45.000000000 +0200
28 ++++ b/unoconv 2011-08-01 14:21:01.000000000 +0200
29 @@ -534,7 +534,7 @@
30 unocontext = resolver.resolve("uno:%s" % op.connection)
31 break
32
33 diff --git a/app-office/unoconv/unoconv-99999999.ebuild b/app-office/unoconv/unoconv-99999999.ebuild
34 new file mode 100644
35 index 00000000..f498ce7
36 --- /dev/null
37 +++ b/app-office/unoconv/unoconv-99999999.ebuild
38 @@ -0,0 +1,42 @@
39 +# Copyright 1999-2016 Gentoo Foundation
40 +# Distributed under the terms of the GNU General Public License v2
41 +# $Id$
42 +
43 +EAPI=6
44 +
45 +PYTHON_COMPAT=( python2_7 python3_{4,5} )
46 +EGIT_REPO_URI="https://github.com/dagwieers/unoconv.git"
47 +[[ ${PV} == 9999* ]] && SCM_ECLASS="git-r3"
48 +inherit python-single-r1 ${SCM_ECLASS}
49 +unset SCM_ECLASS
50 +
51 +DESCRIPTION="Convert between document formats supported by Libreoffice"
52 +HOMEPAGE="http://dag.wieers.com/home-made/unoconv/"
53 +[[ ${PV} == 9999* ]] || SRC_URI="http://dev.gentooexperimental.org/~scarabeus/${P}.tar.xz"
54 +
55 +LICENSE="GPL-2"
56 +SLOT="0"
57 +[[ ${PV} == 9999* ]] || \
58 +KEYWORDS="~amd64 ~x86"
59 +IUSE=""
60 +
61 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
62 +
63 +DEPEND=""
64 +RDEPEND="${DEPEND}
65 + ${PYTHON_DEPS}
66 + !app-text/odt2txt
67 + virtual/ooo
68 +"
69 +
70 +DOCS=( ChangeLog CHANGELOG.md README.adoc )
71 +
72 +PATCHES=( "${FILESDIR}/timeout.patch" )
73 +
74 +src_compile() { :; }
75 +
76 +src_install() {
77 + emake doc-install install install-links DESTDIR="${D}" || die
78 + einstalldocs
79 + python_fix_shebang .
80 +}