blob: c4555c5eadd4d3c432cd82aacc75d78182464554 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{5,6} )
inherit eutils python-single-r1
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DESCRIPTION="Convert between document formats supported by Libreoffice"
HOMEPAGE="http://dag.wiee.rs/home-made/unoconv/"
SRC_URI="https://github.com/dagwieers/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}
${PYTHON_DEPS}
!app-text/odt2txt
virtual/ooo
"
src_prepare() {
eapply "${FILESDIR}/timeout.patch"
eapply_user
python_fix_shebang .
}
src_compile() { :; }
src_install() {
emake -j1 doc-install install install-links DESTDIR="${D}"
dodoc ChangeLog CHANGELOG.md README.adoc
}
|