Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/retext/
Date: Thu, 22 Nov 2018 20:25:43
Message-Id: 1542918324.f801fe79ed738aeef1282f62370109a943674a40.mgorny@gentoo
1 commit: f801fe79ed738aeef1282f62370109a943674a40
2 Author: Nils Freydank <holgersson <AT> posteo <DOT> de>
3 AuthorDate: Sat Nov 17 12:02:45 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 22 20:25:24 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f801fe79
7
8 app-editors/retext: Bump to 7.0.4 and add python3_7 support
9
10 Closes: https://bugs.gentoo.org/668428
11 Signed-off-by: Nils Freydank <holgersson <AT> posteo.de>
12 Package-Manager: Portage-2.3.51, Repoman-2.3.12
13 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
14
15 app-editors/retext/Manifest | 1 +
16 app-editors/retext/retext-7.0.4.ebuild | 69 ++++++++++++++++++++++++++++++++++
17 2 files changed, 70 insertions(+)
18
19 diff --git a/app-editors/retext/Manifest b/app-editors/retext/Manifest
20 index 1b03448f954..3e3af4c752a 100644
21 --- a/app-editors/retext/Manifest
22 +++ b/app-editors/retext/Manifest
23 @@ -1,3 +1,4 @@
24 DIST ReText-7.0.0.tar.gz 203294 BLAKE2B 613004d9e2aaba52e25dec49270ecaf429f5c9dd27041cf09c8b1eefca59e2116b9904b49f260c6bc2528d65fa846a0cd11930d05297b8567e69086376d411a6 SHA512 0a2e430659e7d87d50780fecbf5f04f852f144d143ec83b90126ab9e7b8006756cbc8710c9cec192ddad2cba9f7236e684fa207e308c565388ede308da3c1a35
25 DIST ReText-7.0.1.tar.gz 266582 BLAKE2B 9a2bf5ee433550b9df777fc65254bf52097730143e491fa52b2312709473905caf45fc63fe96ac04adb94bdbc9ea8e8840c4e5d65cb0da25727d3cdd198d2f97 SHA512 eb6b1f6df1e490d9058f3431c023119afff05e81917bb5402a35a100538283a157d2853d10c015a415a5d7e78aac4a2489307a0ef60004d48d8b1f9207a07567
26 DIST ReText-7.0.3.tar.gz 396334 BLAKE2B f40ffb159f94d28f1649561a41f557a5d11c2d00e4a01a99493ecac9795bca41c4675bc364c3c58e557bd78c2803f774793042426921436b4be43129f3c88170 SHA512 67b16dc2d7207cc72a58a5ede7440b191c8afdd08e6d4b21159e781585ca16ddfb4d0d16052fc50d716e2edfd983559e25c22ac80dd408cdb3fdb82a2f6bce57
27 +DIST ReText-7.0.4.tar.gz 402934 BLAKE2B bae66a5fb8e81192d692d1a239706e2feee6ee940685cffdf3498880b2c9bd67cc85c6150e372a383e4bad13da210426fff95c06b2861b58020c2c6d298cf5d2 SHA512 cb12666b15414f4bf83f3b07c94d3bcba13dd3e6c3832c66520bfe8caafeeb87cc083a1e74530d98d6e00a00363add55fdf873e6de385e637876454130deebb3
28
29 diff --git a/app-editors/retext/retext-7.0.4.ebuild b/app-editors/retext/retext-7.0.4.ebuild
30 new file mode 100644
31 index 00000000000..9067cf820ea
32 --- /dev/null
33 +++ b/app-editors/retext/retext-7.0.4.ebuild
34 @@ -0,0 +1,69 @@
35 +# Copyright 1999-2018 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=6
39 +
40 +# no pypy{,3} support as PyQt5 does not support it at 2018-11-18
41 +# https://bitbucket.org/pypy/compatibility/wiki/Home#!gui-library-bindings
42 +PYTHON_COMPAT=( python3_{4,5,6,7} )
43 +
44 +inherit distutils-r1 gnome2-utils virtualx xdg-utils
45 +
46 +MY_PN="ReText"
47 +MY_P="${MY_PN}-${PV/_/~}"
48 +
49 +DESCRIPTION="Simple editor for Markdown and reStructuredText"
50 +HOMEPAGE="https://github.com/retext-project/retext https://github.com/retext-project/retext/wiki"
51 +
52 +if [[ ${PV} == *9999 ]]
53 + then
54 + inherit git-r3
55 + EGIT_REPO_URI="https://github.com/retext-project/retext.git"
56 + else
57 + SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
58 + KEYWORDS="~amd64 ~x86"
59 + S="${WORKDIR}"/${MY_P}
60 +fi
61 +
62 +LICENSE="GPL-2+"
63 +SLOT="0"
64 +IUSE="+spell"
65 +
66 +RDEPEND="
67 + dev-python/chardet[${PYTHON_USEDEP}]
68 + dev-python/docutils[${PYTHON_USEDEP}]
69 + dev-python/markdown[${PYTHON_USEDEP}]
70 + dev-python/markups[${PYTHON_USEDEP}]
71 + dev-python/pygments[${PYTHON_USEDEP}]
72 + dev-python/python-markdown-math[${PYTHON_USEDEP}]
73 + dev-python/PyQt5[gui,network,printsupport,webengine,widgets,${PYTHON_USEDEP}]
74 + spell? ( dev-python/pyenchant[${PYTHON_USEDEP}] )
75 +"
76 +DEPEND="
77 + ${RDEPEND}
78 + dev-python/setuptools[${PYTHON_USEDEP}]
79 + test? ( x11-base/xorg-server[xvfb] )
80 +"
81 +
82 +src_test() {
83 + virtx distutils-r1_src_test
84 +}
85 +
86 +python_test() {
87 + esetup.py test
88 +}
89 +
90 +pkg_postinst() {
91 + xdg_desktop_database_update
92 + gnome2_icon_cache_update
93 +
94 + einfo "Starting with retext-7.0.4 the markdown-math plugin is installed."
95 + einfo "Note that you can use different math delimiters, e.g. \(...\) for inline math."
96 + einfo "For more details take a look at:"
97 + einfo "https://github.com/mitya57/python-markdown-math#math-delimiters"
98 +}
99 +
100 +pkg_postrm() {
101 + gnome2_icon_cache_update
102 + xdg_desktop_database_update
103 +}