1 |
commit: 48178c2f3060cc34ca1ea317635096ffa3b54cd0 |
2 |
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 30 15:22:05 2017 +0000 |
4 |
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 30 15:29:52 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48178c2f |
7 |
|
8 |
dev-python/docutils: Bump |
9 |
|
10 |
Package-Manager: Portage-2.3.10, Repoman-2.3.3 |
11 |
|
12 |
dev-python/docutils/Manifest | 1 + |
13 |
dev-python/docutils/docutils-0.14.ebuild | 67 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 68 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/docutils/Manifest b/dev-python/docutils/Manifest |
17 |
index f3024bae23f..05068515947 100644 |
18 |
--- a/dev-python/docutils/Manifest |
19 |
+++ b/dev-python/docutils/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST docutils-0.11.tar.gz 1611755 SHA256 9af4166adf364447289c5c697bb83c52f1d6f57e77849abcccd6a4a18a5e7ec9 SHA512 8e87581b27ce4fb5e97dcef56047f4bf3a076b98e9e42f5dc66f4c370e5893d1571e46f00fee6f1c8b9f8c8a79e128e4599b9ee213ad1dee2bf16a0246e187df WHIRLPOOL 0231e34e8c84a29f52f244dfe8d3fdbb8f2db9f6e5f26d0a5953c109a2620b15f86874e3b7604aeccf805f789abef7e7af5cc076dde25f2e2947bad11d2ae58c |
22 |
DIST docutils-0.12.tar.gz 1618353 SHA256 c7db717810ab6965f66c8cf0398a98c9d8df982da39b4cd7f162911eb89596fa SHA512 0087433f8b76e1d0302d2fab77fdbda941132d16ac1fcecb26ca66119687eefd9e2f6901e05d705f857fa31e2526136c9827dfd57c44cd295bd10dcce3faebf9 WHIRLPOOL 9b9d9d7315351e4b803195a157836df13a10fc706c0aea2c6ac7c6d01bd034870106d0ceedfbd7e9fae17420f3d116df30cc222ad5b3c7205d5eca767d550564 |
23 |
DIST docutils-0.13.1.tar.gz 1735216 SHA256 718c0f5fb677be0f34b781e04241c4067cbd9327b66bdd8e763201130f5175be SHA512 6a68b27dac3705ff532cb79d6b6808071206544a1c653e6a24d46971a5e10edffc7d275834eec4e80d948eb066bb099cae0195c0ab674e68747820e54f0ea64e WHIRLPOOL 08fb2511bbf60b8b7e7cb160c5a04ebc7c4bd7a8b29263a63ab8fe4506d6655e8649af3d7bfd93097c463e2a0da8995de416689895228dab1bfadb0d41e56d90 |
24 |
+DIST docutils-0.14.tar.gz 1727105 SHA256 51e64ef2ebfb29cae1faa133b3710143496eca21c530f3f71424d77687764274 SHA512 1ed72c2ef7d2ca38d1c6f3154b7986ea46f599d9bd826405a5257fdd7740c8626957d6298aa95fb0edea8a24515de22f1ad9b2ecbd59341a1ab7a2bab30f500c WHIRLPOOL f415ca2492bc4ccece104e69e9e2b611c0f5c86530906f2a1110ee6a53d4020b245ba973fda236dbd432877556c16f07aaffab69fa8c2cf6bb4c70e92ffbee37 |
25 |
|
26 |
diff --git a/dev-python/docutils/docutils-0.14.ebuild b/dev-python/docutils/docutils-0.14.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..47f8bb06d9f |
29 |
--- /dev/null |
30 |
+++ b/dev-python/docutils/docutils-0.14.ebuild |
31 |
@@ -0,0 +1,67 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Python Documentation Utilities" |
42 |
+HOMEPAGE="http://docutils.sourceforge.net/ https://pypi.python.org/pypi/docutils" |
43 |
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="BSD-2 GPL-3 public-domain" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
48 |
+IUSE="" |
49 |
+ |
50 |
+DEPEND="dev-python/pygments[${PYTHON_USEDEP}]" |
51 |
+RDEPEND="${DEPEND}" |
52 |
+ |
53 |
+python_compile_all() { |
54 |
+ # Generate html docs from reStructured text sources. |
55 |
+ |
56 |
+ # Place html4css1.css in base directory to ensure that the generated reference to it is correct. |
57 |
+ cp docutils/writers/html4css1/html4css1.css . || die |
58 |
+ |
59 |
+ cd tools || die |
60 |
+ "${EPYTHON}" buildhtml.py --input-encoding=utf-8 \ |
61 |
+ --stylesheet-path=../html4css1.css, --traceback ../docs || die |
62 |
+} |
63 |
+ |
64 |
+python_test() { |
65 |
+ if python_is_python3; then |
66 |
+ pushd test3 > /dev/null || die |
67 |
+ else |
68 |
+ pushd test > /dev/null || die |
69 |
+ fi |
70 |
+ "${EPYTHON}" alltests.py || die "Testing failed with ${EPYTHON}" |
71 |
+ popd > /dev/null || die |
72 |
+} |
73 |
+ |
74 |
+python_install() { |
75 |
+ distutils-r1_python_install |
76 |
+ |
77 |
+ # Install tools. |
78 |
+ python_doscript tools/{buildhtml,quicktest}.py |
79 |
+} |
80 |
+ |
81 |
+install_txt_doc() { |
82 |
+ local doc="${1}" |
83 |
+ local dir="txt/$(dirname ${doc})" |
84 |
+ docinto "${dir}" |
85 |
+ dodoc "${doc}" |
86 |
+} |
87 |
+ |
88 |
+python_install_all() { |
89 |
+ local DOCS=( *.txt ) |
90 |
+ local HTML_DOCS=( docs tools docutils/writers/html4css1/html4css1.css ) |
91 |
+ |
92 |
+ distutils-r1_python_install_all |
93 |
+ |
94 |
+ local doc |
95 |
+ while IFS= read -r -d '' doc; do |
96 |
+ install_txt_doc "${doc}" |
97 |
+ done < <(find docs tools -name '*.txt' -print0) |
98 |
+} |