You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
787 B

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_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() {
epatch "${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
}