Gentoo Archives: gentoo-commits

From: Dirkjan Ochtman <djc@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/pelican/
Date: Mon, 20 Jan 2020 09:24:48
Message-Id: 1579512274.045e67c650113072db4a06201cb162debccd6c2a.djc@gentoo
1 commit: 045e67c650113072db4a06201cb162debccd6c2a
2 Author: Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 20 09:24:08 2020 +0000
4 Commit: Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 20 09:24:34 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=045e67c6
7
8 app-text/pelican: version bump to 4.2.0
9
10 Package-Manager: Portage-2.3.79, Repoman-2.3.16
11 Signed-off-by: Dirkjan Ochtman <djc <AT> gentoo.org>
12
13 app-text/pelican/Manifest | 1 +
14 app-text/pelican/pelican-4.2.0.ebuild | 54 +++++++++++++++++++++++++++++++++++
15 2 files changed, 55 insertions(+)
16
17 diff --git a/app-text/pelican/Manifest b/app-text/pelican/Manifest
18 index c8b3af10c27..1b01b3a11ed 100644
19 --- a/app-text/pelican/Manifest
20 +++ b/app-text/pelican/Manifest
21 @@ -2,3 +2,4 @@ DIST pelican-3.7.1.tar.gz 784605 BLAKE2B 42adef016f54a931e4fef225af9a4c5c880b66c
22 DIST pelican-4.0.0.tar.gz 1314626 BLAKE2B 18924209949b43063416f2e2c6e22a5524a36bab79a801f7cc6953c0822beb1bd5b05e715f5bcdb7c4877aba8d7a62cf4276e8abc43406f3c6fd7af8ef0c7c2f SHA512 5d98f5e13e6dde6b27cc299f9fb166edec79efb3fc53b29567218e0d0ba164989ce51830029ec8359697bc039661f6b0ced8d4155105e29098c038840c97d253
23 DIST pelican-4.0.1.tar.gz 1314716 BLAKE2B 1fbe01f5df7f1c730d7a45429369311f77c7e8e278a05cc037e03d8193dc2ae9075ee1346fea072a08ee5d73baf9aaed8c1f8f210fd4331754accca9ebffa4da SHA512 26f91046124bb92de6fa31d17ab89f743cf9408c15b9b259875e2378342133313368418da083d1d4abc5de0537806a9dede327719c8fcf89d135805c47618a4a
24 DIST pelican-4.1.2.tar.gz 1329126 BLAKE2B ec6067b9df2bf37877ca23602228b2eff035221ef16ed1f185e2806fd661c8b733603506f3f1d9516422bd8009a0712f726d40559a39b0d100224ee56c3e706c SHA512 9a20e3a16e2caa15b6a47281d4acd6ada344292f011d4fd30c6ac786aebbccffd9cd0b2fd80471d3a383d4cb0ba779c51653705572760e62f6c2d3d49a862a67
25 +DIST pelican-4.2.0.tar.gz 1332348 BLAKE2B 879a9d51f2b2956e895302dd613c877ff65bf8d420cd70144618ada07723037bca680f6983bdf3860d144ebae4eca8198219dad9caf0d6ecc06745a3881447fa SHA512 9c9f41306739acc4c6c6a7ddf50d955d958af7be1da197b42859b95405b18ab5b597fee4f9aabdf98cd508204558bff9c4f0c11bf4e5367b16e32568682a21e6
26
27 diff --git a/app-text/pelican/pelican-4.2.0.ebuild b/app-text/pelican/pelican-4.2.0.ebuild
28 new file mode 100644
29 index 00000000000..95251b6cc3f
30 --- /dev/null
31 +++ b/app-text/pelican/pelican-4.2.0.ebuild
32 @@ -0,0 +1,54 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +PYTHON_COMPAT=( python{2_7,3_5,3_6} )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="A tool to generate a static blog, with restructured text or markdown input files"
42 +HOMEPAGE="https://blog.getpelican.com/ https://pypi.org/project/pelican/"
43 +SRC_URI="https://github.com/getpelican/pelican/archive/${PV}.tar.gz -> ${P}.tar.gz"
44 +
45 +LICENSE="AGPL-3"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86"
48 +IUSE="doc examples markdown test"
49 +
50 +DEPEND=">=dev-python/feedgenerator-1.9[${PYTHON_USEDEP}]
51 + >=dev-python/jinja-2.7[${PYTHON_USEDEP}]
52 + dev-python/docutils[${PYTHON_USEDEP}]
53 + dev-python/pygments[${PYTHON_USEDEP}]
54 + dev-python/pytz[${PYTHON_USEDEP}]
55 + dev-python/unidecode[${PYTHON_USEDEP}]
56 + dev-python/blinker[${PYTHON_USEDEP}]
57 + >=dev-python/six-1.4[${PYTHON_USEDEP}]
58 + dev-python/python-dateutil[${PYTHON_USEDEP}]
59 + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
60 + markdown? ( dev-python/markdown[${PYTHON_USEDEP}] )
61 + test? (
62 + dev-python/nose[${PYTHON_USEDEP}]
63 + dev-python/markdown[${PYTHON_USEDEP}]
64 + )"
65 +RDEPEND=""
66 +RESTRICT="test"
67 +
68 +DOCS=( README.rst )
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 +}
83 +
84 +python_test() {
85 + nosetests || die "Testing failed with ${EPYTHON}"
86 +}