1 |
commit: c233a7e833165d0cf86479d51c894ce8c58a32dd |
2 |
Author: Dirkjan Ochtman <djc <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 29 08:13:26 2022 +0000 |
4 |
Commit: Dirkjan Ochtman <djc <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 29 08:13:26 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c233a7e8 |
7 |
|
8 |
app-text/pelican: version bump to 4.7.2 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=836337 |
11 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=836336 |
12 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
13 |
Signed-off-by: Dirkjan Ochtman <djc <AT> gentoo.org> |
14 |
|
15 |
app-text/pelican/Manifest | 1 + |
16 |
app-text/pelican/pelican-4.7.2.ebuild | 50 +++++++++++++++++++++++++++++++++++ |
17 |
2 files changed, 51 insertions(+) |
18 |
|
19 |
diff --git a/app-text/pelican/Manifest b/app-text/pelican/Manifest |
20 |
index b883eb6230cb..a900cf6df054 100644 |
21 |
--- a/app-text/pelican/Manifest |
22 |
+++ b/app-text/pelican/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST pelican-4.5.3.tar.gz 1397896 BLAKE2B 86651f627af67c571ea65a7ddfe7b62747fd2798575d6c4f29455da9b2371ce22ff42d715f148925724764e0a9fbb8aeba1dea401226856d3681b520dbb0a7af SHA512 b1ef5f145b448f6af2e25a1adb399521d4c5f7eef3ee2aa5ab9e50c223623b5c9961622e5cd835a3cb72dbbe905da6ac9217128f2459a35892bbac9b9cb6d26a |
25 |
+DIST pelican-4.7.2.tar.gz 1401737 BLAKE2B c277844c0c153f71aae051dd8897e9abf8fd1ddc7c49251aaa7b85b7324a85da0ded74e8328a4b64ec79b8e6b4e143d5496b8535900c8a88bfa6198489c0a80c SHA512 9fbf2ecb3c193e976e01a4d095095ac55d56fe45aa24467d91635bbecb9df933ccabd6a456e14c6ee14ce0a845820be8d887917af314e13c7a3eb830cb0ce7e6 |
26 |
|
27 |
diff --git a/app-text/pelican/pelican-4.7.2.ebuild b/app-text/pelican/pelican-4.7.2.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..bc44f2e4f3c2 |
30 |
--- /dev/null |
31 |
+++ b/app-text/pelican/pelican-4.7.2.ebuild |
32 |
@@ -0,0 +1,50 @@ |
33 |
+# Copyright 1999-2022 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python3_{7,8,9,10} ) |
39 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
40 |
+ |
41 |
+inherit distutils-r1 |
42 |
+ |
43 |
+DESCRIPTION="A tool to generate a static blog, with restructured text or markdown input files" |
44 |
+HOMEPAGE="https://blog.getpelican.com/ https://pypi.org/project/pelican/" |
45 |
+SRC_URI="https://github.com/getpelican/pelican/archive/${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="AGPL-3" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+IUSE="doc examples markdown" |
51 |
+ |
52 |
+RESTRICT="test" |
53 |
+RDEPEND=">=dev-python/feedgenerator-1.9[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/jinja-2.7[${PYTHON_USEDEP}] |
55 |
+ dev-python/docutils[${PYTHON_USEDEP}] |
56 |
+ dev-python/pygments[${PYTHON_USEDEP}] |
57 |
+ dev-python/pytz[${PYTHON_USEDEP}] |
58 |
+ dev-python/unidecode[${PYTHON_USEDEP}] |
59 |
+ dev-python/blinker[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/six-1.4[${PYTHON_USEDEP}] |
61 |
+ dev-python/python-dateutil[${PYTHON_USEDEP}] |
62 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
63 |
+ markdown? ( dev-python/markdown[${PYTHON_USEDEP}] )" |
64 |
+DEPEND="test? ( dev-python/markdown[${PYTHON_USEDEP}] )" |
65 |
+ |
66 |
+DOCS=( README.rst ) |
67 |
+ |
68 |
+distutils_enable_tests nose |
69 |
+ |
70 |
+python_compile_all() { |
71 |
+ use doc && emake -C docs html |
72 |
+} |
73 |
+ |
74 |
+python_install_all() { |
75 |
+ use doc && local HTML_DOCS=( docs/_build/html/. ) |
76 |
+ if use examples; then |
77 |
+ insinto "/usr/share/doc/${PF}" |
78 |
+ docompress -x "/usr/share/doc/${PF}/samples" |
79 |
+ doins -r samples |
80 |
+ fi |
81 |
+ distutils-r1_python_install_all |
82 |
+} |