summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2013-04-03 04:21:28 +0000
committerPatrick Lauer <patrick@gentoo.org>2013-04-03 04:21:28 +0000
commit22bdfed7b509d781fa20d67b1df63a9428633f67 (patch)
tree1ffeb384caaae7e54c46b1294fe858c9e8a993aa /dev-python/translate-toolkit
parentIntroduced dependencies and USE conditional dependencies that are mentioned t... (diff)
downloadhistorical-22bdfed7b509d781fa20d67b1df63a9428633f67.tar.gz
historical-22bdfed7b509d781fa20d67b1df63a9428633f67.tar.bz2
historical-22bdfed7b509d781fa20d67b1df63a9428633f67.zip
Bump, restructure use=doc
Package-Manager: portage-2.2.0_alpha171/cvs/Linux x86_64
Diffstat (limited to 'dev-python/translate-toolkit')
-rw-r--r--dev-python/translate-toolkit/ChangeLog11
-rw-r--r--dev-python/translate-toolkit/Manifest4
-rw-r--r--dev-python/translate-toolkit/translate-toolkit-1.10.0.ebuild74
3 files changed, 85 insertions, 4 deletions
diff --git a/dev-python/translate-toolkit/ChangeLog b/dev-python/translate-toolkit/ChangeLog
index 773d3343eb9d..3756dabcc4ed 100644
--- a/dev-python/translate-toolkit/ChangeLog
+++ b/dev-python/translate-toolkit/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/translate-toolkit
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/translate-toolkit/ChangeLog,v 1.7 2012/05/24 12:53:04 johu Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/translate-toolkit/ChangeLog,v 1.8 2013/04/03 04:21:19 patrick Exp $
+
+*translate-toolkit-1.10.0 (03 Apr 2013)
+
+ 03 Apr 2013; Patrick Lauer <patrick@gentoo.org>
+ +translate-toolkit-1.10.0.ebuild:
+ Bump, restructure use=doc
24 May 2012; Johannes Huber <johu@gentoo.org> translate-toolkit-1.9.0.ebuild:
Stable for x86, wrt bug #410859
@@ -31,4 +37,3 @@
Inital ebuild. Partialy fixes bug #153512. Thanks to the Ihar Hrachyshka for
the ebuild. Not tested yet, just adding to cvs so i can deploy it on my
testing machines, keywords will be added later.
-
diff --git a/dev-python/translate-toolkit/Manifest b/dev-python/translate-toolkit/Manifest
index 21b9f7e62b3f..d9574046dcc9 100644
--- a/dev-python/translate-toolkit/Manifest
+++ b/dev-python/translate-toolkit/Manifest
@@ -1,4 +1,6 @@
+DIST translate-toolkit-1.10.0.tar.bz2 4201705 SHA256 2db825cd039648b4f29c1530334f22dc25fe85ea2cefa4b393488aefd76554b1 SHA512 bdc85ab5c1f86ccd274842efbaccc6ca69828630aef9afaed54b809327111ede7ccaa7e0916332659de85b9fb1e819c8f99b0f6d3f96117b0aa99a03757225a3 WHIRLPOOL cca3d3eec0ebeac8885c4ec3463d76a26147054590dae80d7139294feadb9c4e3a949269d4471adae8c80a8ccdbeca1a9c86704a9b0a9ee7c83c51c3fcd3f830
DIST translate-toolkit-1.9.0.tar.bz2 2782257 SHA256 58997d5783a1bbf3592c899012df840dab1438b51af8d4810dc36d2d3463e75a SHA512 1280f037a491905e1a53e9ee4635fdbe5f8e2afe30b3b384bdbf62be26a35560153698bb8dedb170899b3570878397bef69f0895ebae3ec5c930f22f713e9a35 WHIRLPOOL 11505941d236d0a973e0fb4247d26048052e047be229eeb7c455a165626d8a76afbb847df7fb7cd32680fdff6aff049b28a743011fd11ab6a0a60aae5e03dd00
+EBUILD translate-toolkit-1.10.0.ebuild 1796 SHA256 07e8d4d2d5abb7b44101f47996b33cb0dc30c24e12c3019a57afb80d402031f6 SHA512 1f063dc289d115c5d03782aca1f288b457a20aa7259a87960ff2ccf041a9d2af276b178ee738e0f4b1d8879b85e1acb935898e42983aa04d379257e5e0c72f32 WHIRLPOOL 64e5cd95f2330a9aa581392e54e194200430accf8c54409c76df4689804f38c3ab8c7b078278ffb98b13de42d994e74ba0910fb908cb1e2cf2ae4cf8ece844f5
EBUILD translate-toolkit-1.9.0.ebuild 1690 SHA256 8881192cde8b207868bcd5d154f7b9d8fbcd536f591627cce6908cffe568f1d0 SHA512 4e6b299edb333b6788cc442ad7278798daba2a4811fc02e86d8b0dd183475bf8a87c55653f08111ec0861c25be0a27e98501c3ef0ee0864a2ad110de74170061 WHIRLPOOL c818f11bcf995457df0334dd607943a207a5eeea01f113d4869ef973b63c6414f8fa1321d9b121f3f64ef3dffc78b156e92f7fb68ea094de2b3aa21c9e491bd4
-MISC ChangeLog 1377 SHA256 f19db301b860218f6dd00fd7287e7133e58a09caf0ded3ed6952828da9c1665e SHA512 90ba076c3480e2e795469fa3710425c5aef0c5c07b064210160841ea3c398c4726a9f250c8312a88499944db39916aa857de1ea1d264f88184414e120afbabc7 WHIRLPOOL 7334bf84f652896adfc6846045f4d1ad7d40f54de0702e685127c722cf0cc614b0d96270a51f0afaeadbfae1870fa1b81f80cb437ef0a5bf2a3f9c6e5ccb11b3
+MISC ChangeLog 1535 SHA256 67c14e7c1cc4ff241cbebfdcd2e4e0569104d7fcc8830df7ac8f61965dc97a9f SHA512 49e601fac5b11e3b94054ee1c0341063aed7211b975ac21cf8adc4875e3d15bff41fdf0d16374e830a4da1740626629ab7ee176222491aa79db0486d9f1358ee WHIRLPOOL 7f5ecc497fd17cd4e5846fb8b3d5fa0a05fc01157ac33e67feb1fe7a0941855f87cff8de442b8cc400b6399e4b89b8ff5a135c97f462065970f300f626c2f813
MISC metadata.xml 459 SHA256 0370b089719bd46b7656cf2f12804e1e65cbf175175e79314fb3251b5353ac02 SHA512 ab5255179e8c2d15c77644691bf29d58937bd15b58b9ec00c8d5be88edf220a3f12e7fe9c981215497cab25d136e7e2a1fc5748a49a5526c1d3d4f61fa674a53 WHIRLPOOL e674b1e3833964a1f88cb0748508786e13ee20d0087efc53707de09c2b56d783a7e67e9b5356c4626597c122482e85b411122649fbcb077ae4af107aeaa41be6
diff --git a/dev-python/translate-toolkit/translate-toolkit-1.10.0.ebuild b/dev-python/translate-toolkit/translate-toolkit-1.10.0.ebuild
new file mode 100644
index 000000000000..34d97c050c8d
--- /dev/null
+++ b/dev-python/translate-toolkit/translate-toolkit-1.10.0.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/translate-toolkit/translate-toolkit-1.10.0.ebuild,v 1.1 2013/04/03 04:21:19 patrick Exp $
+
+EAPI=3
+
+PYTHON_USE_WITH="sqlite"
+PYTHON_DEPEND="2:2.6"
+PYTHON_MODNAME=translate
+
+inherit distutils python
+
+DESCRIPTION="Toolkit to convert between many translation formats"
+HOMEPAGE="http://translate.sourceforge.net"
+SRC_URI="mirror://sourceforge/translate/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc +html +ical +ini +subtitles"
+
+RDEPEND="
+ app-text/iso-codes
+ dev-python/lxml
+ dev-python/python-levenshtein
+ sys-devel/gettext
+ html? ( dev-python/utidylib )
+ ical? ( dev-python/vobject )
+ ini? ( dev-python/iniparse )
+ dev-python/sphinx
+"
+DEPEND="${RDEPEND}"
+
+src_compile() {
+ distutils_src_compile
+ use doc && { cd docs && make html || die "Failed to generate documentation" ; }
+}
+
+src_install() {
+ local filename binary
+
+ dodoc README.rst || die
+ use doc && { dohtml -r docs/_build/html/* || die ; }
+ rm -Rf docs || die
+
+ distutils_src_install
+
+ if ! use html; then
+ rm "${ED}"/usr/bin/html2po || die
+ rm "${ED}"/usr/bin/po2html || die
+ fi
+ if ! use ical; then
+ rm "${ED}"/usr/bin/ical2po || die
+ rm "${ED}"/usr/bin/po2ical || die
+ fi
+ if ! use ini; then
+ rm "${ED}"/usr/bin/ini2po || die
+ rm "${ED}"/usr/bin/po2ini || die
+ fi
+ if ! use subtitles; then
+ rm "${ED}"/usr/bin/sub2po || die
+ rm "${ED}"/usr/bin/po2sub || die
+ fi
+
+ einfo "Generating man pages..."
+ for binary in "${ED}"/usr/bin/*; do
+ filename=$(basename "${binary}")
+ PYTHONPATH=${WORKDIR}/${PF}:${PYTHONPATH}
+
+ if ${file} --man > "${T}/${filename}.1" 2> /dev/null; then
+ doman "${T}/${filename}.1" || die
+ fi
+ done
+}