Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/pelican/
Date: Thu, 03 Dec 2020 15:07:33
Message-Id: 1607008031.e047ecc78e2e8ba48f0a178b80d60e0368cdbee4.sam@gentoo
1 commit: e047ecc78e2e8ba48f0a178b80d60e0368cdbee4
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 3 15:03:15 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 3 15:07:11 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e047ecc7
7
8 app-text/pelican: bump to 4.5.3
9
10 Bug: https://bugs.gentoo.org/758281
11 Package-Manager: Portage-3.0.9, Repoman-3.0.2
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 app-text/pelican/Manifest | 1 +
15 .../{pelican-9999.ebuild => pelican-4.5.3.ebuild} | 32 +++++++++-------------
16 app-text/pelican/pelican-9999.ebuild | 27 +++++++-----------
17 3 files changed, 24 insertions(+), 36 deletions(-)
18
19 diff --git a/app-text/pelican/Manifest b/app-text/pelican/Manifest
20 index c3c010c88f6..733277c2ae0 100644
21 --- a/app-text/pelican/Manifest
22 +++ b/app-text/pelican/Manifest
23 @@ -1,2 +1,3 @@
24 DIST pelican-4.2.0.tar.gz 1332348 BLAKE2B 879a9d51f2b2956e895302dd613c877ff65bf8d420cd70144618ada07723037bca680f6983bdf3860d144ebae4eca8198219dad9caf0d6ecc06745a3881447fa SHA512 9c9f41306739acc4c6c6a7ddf50d955d958af7be1da197b42859b95405b18ab5b597fee4f9aabdf98cd508204558bff9c4f0c11bf4e5367b16e32568682a21e6
25 DIST pelican-4.5.1.tar.gz 1397023 BLAKE2B f12b16045feaf001c8f6e57116fb8e807ce1d51f16bf7a373203edec3d1edb91a2386dbf8fb008efbc11654ae1cbe678b4a3cbf99349340db1d784962e81ab5b SHA512 cb27399d3c280981d1e8cd01dbfd54b1a8bd11d9b87c4717226a2a467d73c3ad4e038a8e544534289a73e9e3cc64b4414e2b3bbf2cdd05b917d02df79ab40b5a
26 +DIST pelican-4.5.3.tar.gz 1397896 BLAKE2B 86651f627af67c571ea65a7ddfe7b62747fd2798575d6c4f29455da9b2371ce22ff42d715f148925724764e0a9fbb8aeba1dea401226856d3681b520dbb0a7af SHA512 b1ef5f145b448f6af2e25a1adb399521d4c5f7eef3ee2aa5ab9e50c223623b5c9961622e5cd835a3cb72dbbe905da6ac9217128f2459a35892bbac9b9cb6d26a
27
28 diff --git a/app-text/pelican/pelican-9999.ebuild b/app-text/pelican/pelican-4.5.3.ebuild
29 similarity index 65%
30 copy from app-text/pelican/pelican-9999.ebuild
31 copy to app-text/pelican/pelican-4.5.3.ebuild
32 index cda70ce55f5..3b4f480c8e0 100644
33 --- a/app-text/pelican/pelican-9999.ebuild
34 +++ b/app-text/pelican/pelican-4.5.3.ebuild
35 @@ -2,23 +2,23 @@
36 # Distributed under the terms of the GNU General Public License v2
37
38 EAPI=7
39 -PYTHON_COMPAT=( python{3_6,3_7} )
40
41 -inherit distutils-r1 git-r3
42 +PYTHON_COMPAT=( python3_{6,7,8,9} )
43 +DISTUTILS_USE_SETUPTOOLS=rdepend
44 +
45 +inherit distutils-r1
46
47 DESCRIPTION="A tool to generate a static blog, with restructured text or markdown input files"
48 HOMEPAGE="https://blog.getpelican.com/ https://pypi.org/project/pelican/"
49 -EGIT_REPO_URI="https://github.com/getpelican/pelican.git"
50 -EGIT_CHECKOUT_DIR="${WORKDIR}/${P}"
51 +SRC_URI="https://github.com/getpelican/pelican/archive/${PV}.tar.gz -> ${P}.tar.gz"
52
53 LICENSE="AGPL-3"
54 SLOT="0"
55 -KEYWORDS=""
56 -IUSE="doc examples markdown test"
57 -# Tests fail for this release but are fixed upstream
58 -RESTRICT="test"
59 +KEYWORDS="~amd64 ~x86"
60 +IUSE="doc examples markdown"
61
62 -DEPEND=">=dev-python/feedgenerator-1.6[${PYTHON_USEDEP}]
63 +RESTRICT="test"
64 +RDEPEND=">=dev-python/feedgenerator-1.9[${PYTHON_USEDEP}]
65 >=dev-python/jinja-2.7[${PYTHON_USEDEP}]
66 dev-python/docutils[${PYTHON_USEDEP}]
67 dev-python/pygments[${PYTHON_USEDEP}]
68 @@ -28,15 +28,13 @@ DEPEND=">=dev-python/feedgenerator-1.6[${PYTHON_USEDEP}]
69 >=dev-python/six-1.4[${PYTHON_USEDEP}]
70 dev-python/python-dateutil[${PYTHON_USEDEP}]
71 doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
72 - markdown? ( dev-python/markdown[${PYTHON_USEDEP}] )
73 - test? (
74 - dev-python/nose[${PYTHON_USEDEP}]
75 - dev-python/markdown[${PYTHON_USEDEP}]
76 - )"
77 -RDEPEND=""
78 + markdown? ( dev-python/markdown[${PYTHON_USEDEP}] )"
79 +DEPEND="test? ( dev-python/markdown[${PYTHON_USEDEP}] )"
80
81 DOCS=( README.rst )
82
83 +distutils_enable_tests nose
84 +
85 python_compile_all() {
86 use doc && emake -C docs html
87 }
88 @@ -50,7 +48,3 @@ python_install_all() {
89 fi
90 distutils-r1_python_install_all
91 }
92 -
93 -python_test() {
94 - nosetests || die "Testing failed with ${EPYTHON}"
95 -}
96
97 diff --git a/app-text/pelican/pelican-9999.ebuild b/app-text/pelican/pelican-9999.ebuild
98 index cda70ce55f5..5ef3211ca69 100644
99 --- a/app-text/pelican/pelican-9999.ebuild
100 +++ b/app-text/pelican/pelican-9999.ebuild
101 @@ -2,7 +2,9 @@
102 # Distributed under the terms of the GNU General Public License v2
103
104 EAPI=7
105 -PYTHON_COMPAT=( python{3_6,3_7} )
106 +
107 +PYTHON_COMPAT=( python3_{6,7,8,9} )
108 +DISTUTILS_USE_SETUPTOOLS=rdepend
109
110 inherit distutils-r1 git-r3
111
112 @@ -13,12 +15,10 @@ EGIT_CHECKOUT_DIR="${WORKDIR}/${P}"
113
114 LICENSE="AGPL-3"
115 SLOT="0"
116 -KEYWORDS=""
117 -IUSE="doc examples markdown test"
118 -# Tests fail for this release but are fixed upstream
119 -RESTRICT="test"
120 +IUSE="doc examples markdown"
121
122 -DEPEND=">=dev-python/feedgenerator-1.6[${PYTHON_USEDEP}]
123 +RESTRICT="test"
124 +RDEPEND=">=dev-python/feedgenerator-1.9[${PYTHON_USEDEP}]
125 >=dev-python/jinja-2.7[${PYTHON_USEDEP}]
126 dev-python/docutils[${PYTHON_USEDEP}]
127 dev-python/pygments[${PYTHON_USEDEP}]
128 @@ -28,15 +28,12 @@ DEPEND=">=dev-python/feedgenerator-1.6[${PYTHON_USEDEP}]
129 >=dev-python/six-1.4[${PYTHON_USEDEP}]
130 dev-python/python-dateutil[${PYTHON_USEDEP}]
131 doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
132 - markdown? ( dev-python/markdown[${PYTHON_USEDEP}] )
133 - test? (
134 - dev-python/nose[${PYTHON_USEDEP}]
135 - dev-python/markdown[${PYTHON_USEDEP}]
136 - )"
137 -RDEPEND=""
138 -
139 + markdown? ( dev-python/markdown[${PYTHON_USEDEP}] )"
140 +DEPEND="test? ( dev-python/markdown[${PYTHON_USEDEP}] )"
141 DOCS=( README.rst )
142
143 +distutils_enable_tests nose
144 +
145 python_compile_all() {
146 use doc && emake -C docs html
147 }
148 @@ -50,7 +47,3 @@ python_install_all() {
149 fi
150 distutils-r1_python_install_all
151 }
152 -
153 -python_test() {
154 - nosetests || die "Testing failed with ${EPYTHON}"
155 -}