diff options
author | Justin Lecher <jlec@gentoo.org> | 2015-03-15 13:28:46 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2015-03-15 13:28:46 +0000 |
commit | 396221edc4de593c47d187459f1104eff91a87fb (patch) | |
tree | a9a3b7afeea850839ac7c9d48624e596a6ba228a /app-editors | |
parent | x86 stable, bug 534012 (diff) | |
download | gentoo-2-396221edc4de593c47d187459f1104eff91a87fb.tar.gz gentoo-2-396221edc4de593c47d187459f1104eff91a87fb.tar.bz2 gentoo-2-396221edc4de593c47d187459f1104eff91a87fb.zip |
Version Bump, #530262
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/retext/ChangeLog | 8 | ||||
-rw-r--r-- | app-editors/retext/retext-5.0.1.ebuild | 60 | ||||
-rw-r--r-- | app-editors/retext/retext-9999.ebuild | 11 |
3 files changed, 73 insertions, 6 deletions
diff --git a/app-editors/retext/ChangeLog b/app-editors/retext/ChangeLog index 8f99324bc43f..411b9a3b7380 100644 --- a/app-editors/retext/ChangeLog +++ b/app-editors/retext/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-editors/retext # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/retext/ChangeLog,v 1.16 2015/01/31 13:16:48 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/retext/ChangeLog,v 1.17 2015/03/15 13:28:46 jlec Exp $ + +*retext-5.0.1 (15 Mar 2015) + + 15 Mar 2015; Justin Lecher <jlec@gentoo.org> +retext-5.0.1.ebuild, + retext-9999.ebuild: + Version Bump, #530262 31 Jan 2015; Agostino Sarubbo <ago@gentoo.org> retext-4.1.3.ebuild: Stable for amd64, wrt bug #530262 diff --git a/app-editors/retext/retext-5.0.1.ebuild b/app-editors/retext/retext-5.0.1.ebuild new file mode 100644 index 000000000000..a42b3146aa6d --- /dev/null +++ b/app-editors/retext/retext-5.0.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-editors/retext/retext-5.0.1.ebuild,v 1.1 2015/03/15 13:28:46 jlec Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python3_{3,4} ) + +PLOCALES="ca cs cy da de es et eu fr it ja pl pt pt_BR ru sk uk vi zh_CN zh_TW" + +inherit distutils-r1 l10n + +MY_PN="ReText" +MY_P="${MY_PN}-${PV/_/~}" + +if [[ ${PV} == *9999* ]] ; then + inherit git-2 + EGIT_REPO_URI="git://git.code.sf.net/p/retext/git" + KEYWORDS="" +else + SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="A Qt-based text editor for Markdown and reStructuredText" +HOMEPAGE="http://sourceforge.net/p/retext/home/ReText/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="+spell" + +RDEPEND=" + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/markdown[${PYTHON_USEDEP}] + dev-python/markups[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/PyQt5[gui,network,printsupport,webkit,widgets,${PYTHON_USEDEP}] + spell? ( dev-python/pyenchant[${PYTHON_USEDEP}] ) +" + +S="${WORKDIR}"/${MY_P} + +remove_locale() { + find "${ED}" -name "retext_${1}.qm" -delete || die "Failed to remove locale ${1}." +} + +python_test() { + esetup.py test +} + +python_install_all() { + distutils-r1_python_install_all + + newicon {icons/,}${PN}.png + newicon {icons/,}${PN}.svg + + l10n_for_each_disabled_locale_do remove_locale + + make_desktop_entry ${PN} "${MY_PN} Editor" ${PN} "Development;Utility;TextEditor" +} diff --git a/app-editors/retext/retext-9999.ebuild b/app-editors/retext/retext-9999.ebuild index d3e81242cbd0..ae3641a10eb2 100644 --- a/app-editors/retext/retext-9999.ebuild +++ b/app-editors/retext/retext-9999.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/retext/retext-9999.ebuild,v 1.5 2014/11/14 07:35:41 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/retext/retext-9999.ebuild,v 1.6 2015/03/15 13:28:46 jlec Exp $ EAPI=5 PYTHON_COMPAT=( python3_{3,4} ) -PLOCALES="ca cs cy da de es et eu fr it ja pl pt pt_BR ru sk uk zh_CN zh_TW" +PLOCALES="ca cs cy da de es et eu fr it ja pl pt pt_BR ru sk uk vi zh_CN zh_TW" inherit distutils-r1 l10n @@ -29,11 +29,12 @@ LICENSE="GPL-2" SLOT="0" IUSE="+spell" -RDEPEND+=" +RDEPEND=" dev-python/docutils[${PYTHON_USEDEP}] dev-python/markdown[${PYTHON_USEDEP}] dev-python/markups[${PYTHON_USEDEP}] - dev-python/PyQt5[webkit,${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/PyQt5[gui,network,printsupport,webkit,widgets,${PYTHON_USEDEP}] spell? ( dev-python/pyenchant[${PYTHON_USEDEP}] ) " |