diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-i18n/pology | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-i18n/pology')
-rw-r--r-- | app-i18n/pology/Manifest | 4 | ||||
-rw-r--r-- | app-i18n/pology/metadata.xml | 8 | ||||
-rw-r--r-- | app-i18n/pology/pology-0.12.ebuild | 61 | ||||
-rw-r--r-- | app-i18n/pology/pology-9999.ebuild | 61 |
4 files changed, 134 insertions, 0 deletions
diff --git a/app-i18n/pology/Manifest b/app-i18n/pology/Manifest new file mode 100644 index 000000000000..23c4b1abc77e --- /dev/null +++ b/app-i18n/pology/Manifest @@ -0,0 +1,4 @@ +DIST pology-0.12.tar.bz2 1773467 BLAKE2B 7725b6dcb10c0f14533ee31a3d75c78e4fbd12d79ce21017b16d339a880cb73c47c8801e54f5ca0c49d8f364a12179caf6f4100b6eee5b5c47638f61d47a30d0 SHA512 2e23d1dd0c38cc17826908734adf46fb30c30d58f906fc223e2e9251791dad43d02840ae4eca55e04682af574df45a553ccd83faf85a785a1446f645e4222b4f +EBUILD pology-0.12.ebuild 1518 BLAKE2B 3a06c328587ff66ea3b6de85296e3545c2c51c1fd4fd2487bd0984da799661053b631acfef42e2dcaf40b97313cc96871c8152ecfc265c8d9e234383078c58e0 SHA512 6b2a457f20c3e4fb8300af4b0aff6f502abe0cc405c5faec1111fe62183d9e75d489a9f9467061c8d553ed5777e10b719332a6da5d751b5c993249a525ec37ea +EBUILD pology-9999.ebuild 1520 BLAKE2B 363e87934d6b2664dcc076611232df108638601ecd925c9df580d30009cc9954b37b41cabcc49ac2a5656eb0c1f42b949fd5c0adcd59b519cd666301739ad8d9 SHA512 17b869529d4dda2adb335a4e1be4999ffcc173c7eed73e88d4889b479a31fe53ca389176114b7f3bc538a9e501c91170f3fca7afceb5724acf1f854ccba186b0 +MISC metadata.xml 249 BLAKE2B ad415db89e5dee1627aa77f44ded9d4e1e5b8217d06c7ca25bbaa3fe92ce67c2b1090957c45a821b407d7927e5af798498aa6a5b903895ee1af8ee20a446c7f7 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3 diff --git a/app-i18n/pology/metadata.xml b/app-i18n/pology/metadata.xml new file mode 100644 index 000000000000..2fdbf33d963d --- /dev/null +++ b/app-i18n/pology/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>kde@gentoo.org</email> + <name>Gentoo KDE Project</name> + </maintainer> +</pkgmetadata> diff --git a/app-i18n/pology/pology-0.12.ebuild b/app-i18n/pology/pology-0.12.ebuild new file mode 100644 index 000000000000..f30202d5f5e6 --- /dev/null +++ b/app-i18n/pology/pology-0.12.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +ESVN_REPO_URI="svn://anonsvn.kde.org/home/kde/trunk/l10n-support/pology" +PYTHON_COMPAT=( python2_7 ) + +[[ ${PV} == 9999 ]] && VCS_ECLASS="subversion" + +inherit python-single-r1 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" +[[ ${PV} == 9999 ]] || \ +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=" + dev-libs/libxslt + dev-libs/libxml2 + dev-python/dbus-python[${PYTHON_USEDEP}] + sys-devel/gettext + ${PYTHON_DEPS} +" +DEPEND="${RDEPEND} + app-text/docbook-xsl-stylesheets + app-text/docbook-xml-dtd:4.5 + dev-python/epydoc[${PYTHON_USEDEP}] +" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# Magic on python parsing makes it impossible to make it parallel safe +MAKEOPTS+=" -j1" + +src_prepare() { + cmake-utils_src_prepare + python_fix_shebang . +} + +src_install() { + cmake-utils_src_install + + dosym ../../../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 new file mode 100644 index 000000000000..a1c06c9a1711 --- /dev/null +++ b/app-i18n/pology/pology-9999.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +ESVN_REPO_URI="svn://anonsvn.kde.org/home/kde/trunk/l10n-support/pology" +PYTHON_COMPAT=( python2_7 ) + +[[ ${PV} == 9999 ]] && VCS_ECLASS="subversion" + +inherit python-single-r1 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" +[[ ${PV} == 9999 ]] || \ +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + dev-libs/libxslt + dev-libs/libxml2 + dev-python/dbus-python[${PYTHON_USEDEP}] + sys-devel/gettext + ${PYTHON_DEPS} +" +DEPEND="${RDEPEND} + app-text/docbook-xsl-stylesheets + app-text/docbook-xml-dtd:4.5 + dev-python/epydoc[${PYTHON_USEDEP}] +" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# Magic on python parsing makes it impossible to make it parallel safe +MAKEOPTS+=" -j1" + +src_prepare() { + cmake-utils_src_prepare + python_fix_shebang . +} + +src_install() { + cmake-utils_src_install + + dosym ../../../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" +} |