summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2014-10-24 17:43:00 +0000
committerMichał Górny <mgorny@gentoo.org>2014-10-24 17:43:00 +0000
commitcb81ff8e8f59d0d1fa26ff8dcbc1ccd7218b2262 (patch)
treead6b07bee5b2fa37cace882357874e8eaa4a0ce8 /app-i18n
parentMask bashcomp update of app-i18n/pology. (diff)
downloadgentoo-2-cb81ff8e8f59d0d1fa26ff8dcbc1ccd7218b2262.tar.gz
gentoo-2-cb81ff8e8f59d0d1fa26ff8dcbc1ccd7218b2262.tar.bz2
gentoo-2-cb81ff8e8f59d0d1fa26ff8dcbc1ccd7218b2262.zip
Alias additional commands for bash-completion, bug #526240.
(Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/pology/ChangeLog8
-rw-r--r--app-i18n/pology/pology-0.11-r1.ebuild66
-rw-r--r--app-i18n/pology/pology-9999.ebuild5
3 files changed, 76 insertions, 3 deletions
diff --git a/app-i18n/pology/ChangeLog b/app-i18n/pology/ChangeLog
index 75fe546f4656..af60c04cac7a 100644
--- a/app-i18n/pology/ChangeLog
+++ b/app-i18n/pology/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-i18n/pology
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/pology/ChangeLog,v 1.6 2014/08/10 17:52:30 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/pology/ChangeLog,v 1.7 2014/10/24 17:43:00 mgorny Exp $
+
+*pology-0.11-r1 (24 Oct 2014)
+
+ 24 Oct 2014; Michał Górny <mgorny@gentoo.org> +pology-0.11-r1.ebuild,
+ pology-9999.ebuild:
+ Alias additional commands for bash-completion, bug #526240.
10 Aug 2014; Sergei Trofimovich <slyfox@gentoo.org> pology-0.11.ebuild,
pology-9999.ebuild:
diff --git a/app-i18n/pology/pology-0.11-r1.ebuild b/app-i18n/pology/pology-0.11-r1.ebuild
new file mode 100644
index 000000000000..6c0462b96557
--- /dev/null
+++ b/app-i18n/pology/pology-0.11-r1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/pology/pology-0.11-r1.ebuild,v 1.1 2014/10/24 17:43:00 mgorny 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.net"
+[[ ${PV} == 9999 ]] || SRC_URI="http://pology.nedohodnik.net//release/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+
+# Don't move KEYWORDS on the previous line or ekeyword won't work # 399061
+[[ ${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 posieve
+ bashcomp_alias {posieve,poediff}{,.py}
+
+ 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
index 1ef92f0dd8f8..68f04c3450db 100644
--- a/app-i18n/pology/pology-9999.ebuild
+++ b/app-i18n/pology/pology-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 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.4 2014/08/10 17:52:30 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/pology/pology-9999.ebuild,v 1.5 2014/10/24 17:43:00 mgorny Exp $
EAPI=4
@@ -50,7 +50,8 @@ 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}
+ newbashcomp "${ED}"/usr/share/pology/completion/bash/pology posieve
+ bashcomp_alias {posieve,poediff}{,.py}
einfo "You should also consider following packages to install:"
einfo " app-text/aspell"