1 |
commit: dcc7ce1a92dbfc7747ce53a3eb535e7cfafe8c75 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 8 09:47:55 2022 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 8 11:47:04 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcc7ce1a |
7 |
|
8 |
app-office/unoconv: add python 3.10 |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
app-office/unoconv/unoconv-0.9.0-r1.ebuild | 36 ++++++++++++++++++++++++++++++ |
14 |
1 file changed, 36 insertions(+) |
15 |
|
16 |
diff --git a/app-office/unoconv/unoconv-0.9.0-r1.ebuild b/app-office/unoconv/unoconv-0.9.0-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 000000000000..e6a52ebfc18b |
19 |
--- /dev/null |
20 |
+++ b/app-office/unoconv/unoconv-0.9.0-r1.ebuild |
21 |
@@ -0,0 +1,36 @@ |
22 |
+# Copyright 1999-2022 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=8 |
26 |
+ |
27 |
+PYTHON_COMPAT=( python3_{8,9,10} ) |
28 |
+inherit python-single-r1 |
29 |
+ |
30 |
+DESCRIPTION="Convert between document formats supported by LibreOffice" |
31 |
+HOMEPAGE="http://dag.wiee.rs/home-made/unoconv/" |
32 |
+SRC_URI="https://github.com/dagwieers/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
33 |
+ |
34 |
+LICENSE="GPL-2" |
35 |
+SLOT="0" |
36 |
+KEYWORDS="~amd64 ~x86" |
37 |
+ |
38 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
39 |
+ |
40 |
+RDEPEND="${PYTHON_DEPS} |
41 |
+ !app-text/odt2txt |
42 |
+ virtual/ooo |
43 |
+" |
44 |
+ |
45 |
+PATCHES=( "${FILESDIR}/timeout.patch" ) |
46 |
+ |
47 |
+src_prepare() { |
48 |
+ default |
49 |
+ python_fix_shebang . |
50 |
+} |
51 |
+ |
52 |
+src_compile() { :; } |
53 |
+ |
54 |
+src_install() { |
55 |
+ emake -j1 doc-install install install-links DESTDIR="${D}" |
56 |
+ dodoc AUTHORS ChangeLog CHANGELOG.md README.adoc |
57 |
+} |