summaryrefslogtreecommitdiff
path: root/app-office/unoconv
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-office/unoconv
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-office/unoconv')
-rw-r--r--app-office/unoconv/Manifest6
-rw-r--r--app-office/unoconv/files/timeout.patch11
-rw-r--r--app-office/unoconv/metadata.xml14
-rw-r--r--app-office/unoconv/unoconv-0.7.ebuild41
-rw-r--r--app-office/unoconv/unoconv-0.8.2.ebuild42
5 files changed, 114 insertions, 0 deletions
diff --git a/app-office/unoconv/Manifest b/app-office/unoconv/Manifest
new file mode 100644
index 000000000000..c864620341ee
--- /dev/null
+++ b/app-office/unoconv/Manifest
@@ -0,0 +1,6 @@
+AUX timeout.patch 460 BLAKE2B 66cb2918b2ad85cb987ecae492626a0ca06344cac4e9fab1f6a141bcb7822356936439e2239ac586aed8a163e297a5b563e51d382e372c2435256933a4ca3612 SHA512 00ccee1c2040149432565abf4cc0bc8966801202a88c75f246d4b4c986dd43288f30045d4e966c973efa946532eec1f07a6bdff0b9307bd9c12475c9309f3fa5
+DIST unoconv-0.7.tar.gz 96151 BLAKE2B dcdb797728db36c33be9aff447a28dddc8918fb3a496fd718d6dd9ec22a49c395ddaf0130b99aa09d8ed9b2516795c1aaeb58fe8d906bb004a2192eae0df1fab SHA512 3b0837e11f22733e0fbef93dc6aeabd0e2d3d59b6c35a6f7b29b86506a5842bcbffb3e889864d6e14c1e53dd306354690a699257fe60f36ce1d4455ab52b5df7
+DIST unoconv-0.8.2.tar.gz 104072 BLAKE2B 1ac16159f939a06cc75f3ff23f5aa7f1c4d49a41d4cce5e9c5866714ef1b3b969f94c074d36fff19d6af22375d5598033fb69761a09d3e60b81d794841c0e0d8 SHA512 cd6a4d06559895c0aebb5fda51ca86928474dd0ca0aa908e81762643186c29cf8436c889eedbb18bc74ed6016414d1aa831cd034614244d5aae677a6b4cdd4c9
+EBUILD unoconv-0.7.ebuild 808 BLAKE2B f75e791e48c11b5cb5bcc6f7476fd8cb5bee3ae36bf1ee586ba2cce1e651cdb24428a8afdcfae4b61d0942be0017231e400eecf3491bec5794ce891cd1df594e SHA512 f37b64e4fb44504282de0a173020add59a94474bb89d886b690f73f0311af607f8c0499f5078e5e0f0b7a4ecd5be7412c2b29b7d65b20e72b402fb2c68ac3f89
+EBUILD unoconv-0.8.2.ebuild 820 BLAKE2B d5999395a7439d65c4f57f2eb1905daca045209bfdc0babb37fbc86b5d60437405706938b911be48d8311190ecc2deec2e4ddd28c2930b06b2d2aa9a09ba2fbf SHA512 2548db0532fd3f9e08b732a5fa1e10d3cfe70dcb06052f30af39ca3fe179adf9a1507f6b824f9a15a92aa428210cc87eeea38d9bd3740ff9dceb32ccaf21f07a
+MISC metadata.xml 429 BLAKE2B c863daa05c0d7d265b60a04e0b1336067296b3854c83aa2c08891bbfe0d3fd45971312b6385b50c7ccb47676b65e97afee953a675176643c4bde348a6a3f0162 SHA512 3875bd4f015c8ffc902a3aedf042cd46cbe86f4ef6dfd1a493d3d7c171bf12248763e64d1f448800fa571157d3e5adac0aa191c9ad40667762ed17eadf3840ed
diff --git a/app-office/unoconv/files/timeout.patch b/app-office/unoconv/files/timeout.patch
new file mode 100644
index 000000000000..784920536e94
--- /dev/null
+++ b/app-office/unoconv/files/timeout.patch
@@ -0,0 +1,11 @@
+--- a/unoconv 2011-08-01 14:20:45.000000000 +0200
++++ b/unoconv 2011-08-01 14:21:01.000000000 +0200
+@@ -534,7 +534,7 @@
+ unocontext = resolver.resolve("uno:%s" % op.connection)
+ break
+ except NoConnectException:
+- time.sleep(0.5)
++ time.sleep(5)
+ timeout += 0.5
+ except:
+ raise
diff --git a/app-office/unoconv/metadata.xml b/app-office/unoconv/metadata.xml
new file mode 100644
index 000000000000..0e43349195c3
--- /dev/null
+++ b/app-office/unoconv/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>graaff@gentoo.org</email>
+ </maintainer>
+ <maintainer type="project">
+ <email>office@gentoo.org</email>
+ <name>Gentoo Office project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">dagwieers/unoconv</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-office/unoconv/unoconv-0.7.ebuild b/app-office/unoconv/unoconv-0.7.ebuild
new file mode 100644
index 000000000000..a43a8926a5fb
--- /dev/null
+++ b/app-office/unoconv/unoconv-0.7.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{4,5} )
+
+inherit eutils python-single-r1
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DESCRIPTION="Convert between document formats supported by Libreoffice"
+HOMEPAGE="http://dag.wieers.com/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"
+ python_fix_shebang .
+}
+
+src_compile() { :; }
+
+src_install() {
+ emake -j1 doc-install install install-links DESTDIR="${D}" || die
+
+ dodoc ChangeLog CHANGELOG.md README.adoc || die
+}
diff --git a/app-office/unoconv/unoconv-0.8.2.ebuild b/app-office/unoconv/unoconv-0.8.2.ebuild
new file mode 100644
index 000000000000..a0f5557d39c8
--- /dev/null
+++ b/app-office/unoconv/unoconv-0.8.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,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() {
+ epatch "${FILESDIR}/timeout.patch"
+ eapply_user
+ python_fix_shebang .
+}
+
+src_compile() { :; }
+
+src_install() {
+ emake -j1 doc-install install install-links DESTDIR="${D}" || die
+
+ dodoc ChangeLog CHANGELOG.md README.adoc || die
+}