summaryrefslogtreecommitdiff
path: root/app-office/unoconv
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-office/unoconv
reinit the tree, so we can have metadata
Diffstat (limited to 'app-office/unoconv')
-rw-r--r--app-office/unoconv/Manifest7
-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-99999999.ebuild41
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..aef3373d514f
--- /dev/null
+++ b/app-office/unoconv/Manifest
@@ -0,0 +1,7 @@
+AUX timeout.patch 460 SHA256 f1f20b8719a0b59ffac4c0ec212ff9d1d17e74daba3b94581e073dfc352e0204 SHA512 00ccee1c2040149432565abf4cc0bc8966801202a88c75f246d4b4c986dd43288f30045d4e966c973efa946532eec1f07a6bdff0b9307bd9c12475c9309f3fa5 WHIRLPOOL 6ab84e0f3b7d1c900d9e682a9a0c178f98086c326c7525d17afe91db45d6cb93336f32c11b999c631e45f7d30ac23b8c3774eed5d61cb78839254be729e5fcc2
+DIST unoconv-0.7.tar.gz 96151 SHA256 b3f58573aba59d3ada7d8f51cd6844b6abc20251cf89820e939dcf9b5a4eb2dc SHA512 3b0837e11f22733e0fbef93dc6aeabd0e2d3d59b6c35a6f7b29b86506a5842bcbffb3e889864d6e14c1e53dd306354690a699257fe60f36ce1d4455ab52b5df7 WHIRLPOOL 4c123ccddb68c2edfbcf20ec8606d434b8daa62726efdfc7e253ccd11fe9e26ffdece2796db34f6dd7ae5fbdf5b20c3eaa3948a749b2c5ae4b5c52a7cf5de3d0
+EBUILD unoconv-0.7.ebuild 808 SHA256 0b235bea7cd79c0e63a2be97ab5c16512f93d2c11a7d702b74e6ac54eda137e6 SHA512 f37b64e4fb44504282de0a173020add59a94474bb89d886b690f73f0311af607f8c0499f5078e5e0f0b7a4ecd5be7412c2b29b7d65b20e72b402fb2c68ac3f89 WHIRLPOOL 440da767a9f880878b02b3f16311ddf8712761723026a1758815a9c5b93f5a52aba0130ed6732ab63965c41269e74be5bfd5a5b00a16c297db9f901ae1163fb9
+EBUILD unoconv-99999999.ebuild 959 SHA256 1980bf7ab71affcface70cf28a3897b15dd0f4cf1a894f8c99e4d23bc44d7213 SHA512 be39559a03aac0864a126a3e84843351f1e354d6c1404cb20602520e4c2c3c17873337893a45f62947f016fe87b972b3e7d7283a7dbfb419ba76029ded239a89 WHIRLPOOL acea0d77bd5d0db8ff94736615ba8568775feab0d4f025120f77772b7c93896e9f34de013d9e57fa5551cb4c5851850723ea9a9ed915f97b59574d7a448449a1
+MISC ChangeLog 4269 SHA256 e12ce97fce866c80b36256fa5a4d7e1d9108fa038e1b4a703faa8ca6253f7924 SHA512 096870ea393fda5e2cdf11eb377a445b713d7992e7783f839ff58546ce52b8ef10642a1e5d91b27a180010870c2018e7462488776beda634bb817f5944ad5fc6 WHIRLPOOL ccc616725902f261204f8989f7c9aac595a9155d44f2fb44ebab2ee5bc5c04086ae73ddf0117f747af59f4672bd99e9bf4cfe9a423575a377fef6dfc675664e7
+MISC ChangeLog-2015 2948 SHA256 e0b595c581b7da3b9dac72b8046d3e020c0a540a02f593453b6a3baece185245 SHA512 e3bff4eee91b1f5bfba7f46351b6e3d878ce79fa9d743965081c9b64454ff8d00fe997c756071ef51452e2e2a7bbc7d23b5638a2cdd92d3c90b65c021ed2e5b2 WHIRLPOOL 390714b2c4eac3336b1e154b2170718b5fa41016afac47917457c7bb5662f8a5081d11f9574157eb17956ceed717778661b9b77d4df7b76189e3d26733cc858d
+MISC metadata.xml 429 SHA256 f2f633813556c82c6b4f81b86342050b7101ba5d5d643ec3918f8b5fdefe871a SHA512 3875bd4f015c8ffc902a3aedf042cd46cbe86f4ef6dfd1a493d3d7c171bf12248763e64d1f448800fa571157d3e5adac0aa191c9ad40667762ed17eadf3840ed WHIRLPOOL 1e95652f5631f1951d238ab610533949b97e0c3e9bcbd11360d90a81748fe5b0174d8afff717359d9a5b5f46e3f772f61cab0a71e53a52a3b9f81e6d32f7b501
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-99999999.ebuild b/app-office/unoconv/unoconv-99999999.ebuild
new file mode 100644
index 000000000000..38c911aa3f85
--- /dev/null
+++ b/app-office/unoconv/unoconv-99999999.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5} )
+EGIT_REPO_URI="https://github.com/dagwieers/unoconv.git"
+[[ ${PV} == 9999* ]] && SCM_ECLASS="git-r3"
+inherit python-single-r1 ${SCM_ECLASS}
+unset SCM_ECLASS
+
+DESCRIPTION="Convert between document formats supported by Libreoffice"
+HOMEPAGE="http://dag.wieers.com/home-made/unoconv/"
+[[ ${PV} == 9999* ]] || SRC_URI="http://dev.gentooexperimental.org/~scarabeus/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+[[ ${PV} == 9999* ]] || \
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ ${PYTHON_DEPS}
+ !app-text/odt2txt
+ virtual/ooo
+"
+
+DOCS=( ChangeLog CHANGELOG.md README.adoc )
+
+PATCHES=( "${FILESDIR}/timeout.patch" )
+
+src_compile() { :; }
+
+src_install() {
+ emake doc-install install install-links DESTDIR="${D}" || die
+ einstalldocs
+ python_fix_shebang .
+}