1 |
commit: 3a2e2e19e88bd13050eda71c0cd931506ee55506 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 26 17:30:47 2017 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 26 17:30:47 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a2e2e19 |
7 |
|
8 |
app-editors/retext: Version bump to 7.0.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
app-editors/retext/Manifest | 1 + |
13 |
app-editors/retext/retext-7.0.1.ebuild | 53 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 54 insertions(+) |
15 |
|
16 |
diff --git a/app-editors/retext/Manifest b/app-editors/retext/Manifest |
17 |
index 6ddefb9348f..909fb198f32 100644 |
18 |
--- a/app-editors/retext/Manifest |
19 |
+++ b/app-editors/retext/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST ReText-7.0.0.tar.gz 203294 SHA256 01eaf11768f27ba1da2572f2dbcf9b6857d5baa3ca1f50d1cacad894a228f032 SHA512 0a2e430659e7d87d50780fecbf5f04f852f144d143ec83b90126ab9e7b8006756cbc8710c9cec192ddad2cba9f7236e684fa207e308c565388ede308da3c1a35 WHIRLPOOL 5f3633c45c6ef7cb44cbd805849a97b81536d762910d44380a6d2836eb7308ed0c449ec282139b0eea07445be051a0cfa4ab7d3b077693a07f4d14beffbfc8ae |
22 |
+DIST ReText-7.0.1.tar.gz 266582 SHA256 f5a2dbfb32b96423fd3e5ef00488440c36a2bcecbc6356f5c17674b265316eea SHA512 eb6b1f6df1e490d9058f3431c023119afff05e81917bb5402a35a100538283a157d2853d10c015a415a5d7e78aac4a2489307a0ef60004d48d8b1f9207a07567 WHIRLPOOL a9041e9238b78bd722e4ffe40637351bce2242daa87ff12b8441c0a25321ecc367e8842927b98562be1f3c03835d8a494e6bcb245592ca06d9eaf7c257f2e205 |
23 |
|
24 |
diff --git a/app-editors/retext/retext-7.0.1.ebuild b/app-editors/retext/retext-7.0.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..537e065a9b5 |
27 |
--- /dev/null |
28 |
+++ b/app-editors/retext/retext-7.0.1.ebuild |
29 |
@@ -0,0 +1,53 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{4,5} ) |
36 |
+ |
37 |
+PLOCALES="ca cs cy da de es et eu fr hu it ja pl pt pt_BR ru sk sr sr@latin uk zh_TW" |
38 |
+ |
39 |
+inherit distutils-r1 virtualx l10n eutils |
40 |
+ |
41 |
+MY_PN="ReText" |
42 |
+MY_P="${MY_PN}-${PV/_/~}" |
43 |
+ |
44 |
+DESCRIPTION="Simple editor for Markdown and reStructuredText" |
45 |
+HOMEPAGE="https://github.com/retext-project/retext https://github.com/retext-project/retext/wiki" |
46 |
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="GPL-2" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~x86" |
51 |
+IUSE="+spell" |
52 |
+ |
53 |
+RDEPEND=" |
54 |
+ dev-python/docutils[${PYTHON_USEDEP}] |
55 |
+ dev-python/markdown[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/markups-2.0[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/chardet-2.3[${PYTHON_USEDEP}] |
58 |
+ dev-python/pygments[${PYTHON_USEDEP}] |
59 |
+ dev-python/PyQt5[gui,network,printsupport,webkit,widgets,${PYTHON_USEDEP}] |
60 |
+ spell? ( dev-python/pyenchant[${PYTHON_USEDEP}] ) |
61 |
+" |
62 |
+ |
63 |
+S="${WORKDIR}"/${MY_P} |
64 |
+ |
65 |
+remove_locale() { |
66 |
+ find "${ED}" -name "retext_${1}.qm" -delete || die "Failed to remove locale ${1}." |
67 |
+} |
68 |
+ |
69 |
+python_test() { |
70 |
+ virtx esetup.py test |
71 |
+} |
72 |
+ |
73 |
+python_install_all() { |
74 |
+ distutils-r1_python_install_all |
75 |
+ |
76 |
+ newicon {icons/,}${PN}.png |
77 |
+ newicon {icons/,}${PN}.svg |
78 |
+ |
79 |
+ l10n_for_each_disabled_locale_do remove_locale |
80 |
+ |
81 |
+ make_desktop_entry ${PN} "${MY_PN} Editor" ${PN} "Development;Utility;TextEditor" |
82 |
+} |