diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2012-08-03 13:09:18 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2012-08-03 13:09:18 +0000 |
commit | 3ed4b974473363d85e2b460197042e5ecf6b4dcc (patch) | |
tree | 825f10155ce1fb65f0a087e0c92f1fe7de90e76e /app-i18n | |
parent | Stable on amd64 wrt bug #418695 (diff) | |
download | gentoo-2-3ed4b974473363d85e2b460197042e5ecf6b4dcc.tar.gz gentoo-2-3ed4b974473363d85e2b460197042e5ecf6b4dcc.tar.bz2 gentoo-2-3ed4b974473363d85e2b460197042e5ecf6b4dcc.zip |
Initial commit of pology toolkit used to manage and check translations.
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'app-i18n')
-rw-r--r-- | app-i18n/pology/ChangeLog | 11 | ||||
-rw-r--r-- | app-i18n/pology/metadata.xml | 5 | ||||
-rw-r--r-- | app-i18n/pology/pology-0.11.ebuild | 62 | ||||
-rw-r--r-- | app-i18n/pology/pology-9999.ebuild | 62 |
4 files changed, 140 insertions, 0 deletions
diff --git a/app-i18n/pology/ChangeLog b/app-i18n/pology/ChangeLog new file mode 100644 index 000000000000..59ecb2d3c2ed --- /dev/null +++ b/app-i18n/pology/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for app-i18n/pology +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/pology/ChangeLog,v 1.1 2012/08/03 13:09:18 scarabeus Exp $ + +*pology-9999 (03 Aug 2012) +*pology-0.11 (03 Aug 2012) + + 03 Aug 2012; Tomáš Chvátal <scarabeus@gentoo.org> +pology-0.11.ebuild, + +pology-9999.ebuild, +metadata.xml: + Initial commit of pology toolkit used to manage and check translations. + diff --git a/app-i18n/pology/metadata.xml b/app-i18n/pology/metadata.xml new file mode 100644 index 000000000000..a23f444b67d6 --- /dev/null +++ b/app-i18n/pology/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>kde</herd> +</pkgmetadata> diff --git a/app-i18n/pology/pology-0.11.ebuild b/app-i18n/pology/pology-0.11.ebuild new file mode 100644 index 000000000000..3d752aedd294 --- /dev/null +++ b/app-i18n/pology/pology-0.11.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/pology/pology-0.11.ebuild,v 1.1 2012/08/03 13:09:18 scarabeus Exp $ + +EAPI=4 + +ESVN_REPO_URI="svn://anonsvn.kde.org/home/kde/trunk/l10n-support/pology" +PYTHON_DEPEND="2:2.7" + +[[ ${PV} == 9999 ]] && VCS_ECLASS="subversion" + +inherit python cmake-utils bash-completion-r1 ${VCS_ECLASS} +unset VCS_ECLASS + +DESCRIPTION="A framework for custom processing of PO files." +HOMEPAGE="http://pology.nedohodnik.nete" +[[ ${PV} == 9999 ]] || SRC_URI="http://pology.nedohodnik.net//release/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +[[ ${PV} == 9999 ]] || KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + dev-libs/libxslt + dev-libs/libxml2 + dev-python/dbus-python + sys-devel/gettext +" +DEPEND="${RDEPEND} + app-text/docbook-xsl-stylesheets + app-text/docbook-xml-dtd:4.5 + dev-python/epydoc +" + +# Magic on python parsing makes it impossible to make it parallel safe +MAKEOPTS+=" -j1" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + python_convert_shebangs -r 2 . +} + +src_install() { + cmake-utils_src_install + + dosym /usr/share/pology/syntax/kate/synder.xml /usr/share/apps/katepart/syntax/synder.xml + + newbashcomp "${ED}"/usr/share/pology/completion/bash/pology ${PN} + + + einfo "You should also consider following packages to install:" + einfo " app-text/aspell" + einfo " app-text/hunspell" + einfo " dev-vcs/git" + einfo " dev-vcs/subversion" + einfo " sci-misc/apertium" +} diff --git a/app-i18n/pology/pology-9999.ebuild b/app-i18n/pology/pology-9999.ebuild new file mode 100644 index 000000000000..9e736b4d6fd6 --- /dev/null +++ b/app-i18n/pology/pology-9999.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/pology/pology-9999.ebuild,v 1.1 2012/08/03 13:09:18 scarabeus Exp $ + +EAPI=4 + +ESVN_REPO_URI="svn://anonsvn.kde.org/home/kde/trunk/l10n-support/pology" +PYTHON_DEPEND="2:2.7" + +[[ ${PV} == 9999 ]] && VCS_ECLASS="subversion" + +inherit python cmake-utils bash-completion-r1 ${VCS_ECLASS} +unset VCS_ECLASS + +DESCRIPTION="A framework for custom processing of PO files." +HOMEPAGE="http://pology.nedohodnik.nete" +[[ ${PV} == 9999 ]] || SRC_URI="http://pology.nedohodnik.net//release/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +[[ ${PV} == 9999 ]] || KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + dev-libs/libxslt + dev-libs/libxml2 + dev-python/dbus-python + sys-devel/gettext +" +DEPEND="${RDEPEND} + app-text/docbook-xsl-stylesheets + app-text/docbook-xml-dtd:4.5 + dev-python/epydoc +" + +# Magic on python parsing makes it impossible to make it parallel safe +MAKEOPTS+=" -j1" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + python_convert_shebangs -r 2 . +} + +src_install() { + cmake-utils_src_install + + dosym /usr/share/pology/syntax/kate/synder.xml /usr/share/apps/katepart/syntax/synder.xml + + newbashcomp "${ED}"/usr/share/pology/completion/bash/pology ${PN} + + + einfo "You should also consider following packages to install:" + einfo " app-text/aspell" + einfo " app-text/hunspell" + einfo " dev-vcs/git" + einfo " dev-vcs/subversion" + einfo " sci-misc/apertium" +} |