1 |
floppym 14/04/01 04:47:48 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: docutils-0.11.ebuild |
5 |
Log: |
6 |
Version bump, add python3.4. |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.199 dev-python/docutils/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/docutils/ChangeLog?rev=1.199&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/docutils/ChangeLog?rev=1.199&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/docutils/ChangeLog?r1=1.198&r2=1.199 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/docutils/ChangeLog,v |
20 |
retrieving revision 1.198 |
21 |
retrieving revision 1.199 |
22 |
diff -u -r1.198 -r1.199 |
23 |
--- ChangeLog 31 Mar 2014 21:13:00 -0000 1.198 |
24 |
+++ ChangeLog 1 Apr 2014 04:47:48 -0000 1.199 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for dev-python/docutils |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/ChangeLog,v 1.198 2014/03/31 21:13:00 mgorny Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/ChangeLog,v 1.199 2014/04/01 04:47:48 floppym Exp $ |
30 |
+ |
31 |
+*docutils-0.11 (01 Apr 2014) |
32 |
+ |
33 |
+ 01 Apr 2014; Mike Gilbert <floppym@g.o> +docutils-0.11.ebuild, |
34 |
+ +files/docutils-0.11-python3.3-odt-writer.patch: |
35 |
+ Version bump, add python3.4. |
36 |
|
37 |
31 Mar 2014; Michał Górny <mgorny@g.o> docutils-0.10.ebuild: |
38 |
Add support for the new PyPy slotting. |
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-python/docutils/docutils-0.11.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/docutils/docutils-0.11.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/docutils/docutils-0.11.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: docutils-0.11.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2014 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/docutils-0.11.ebuild,v 1.1 2014/04/01 04:47:48 floppym Exp $ |
52 |
|
53 |
EAPI="5" |
54 |
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} pypy pypy2_0 ) |
55 |
|
56 |
inherit distutils-r1 |
57 |
|
58 |
DESCRIPTION="Python Documentation Utilities" |
59 |
HOMEPAGE="http://docutils.sourceforge.net/ http://pypi.python.org/pypi/docutils" |
60 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
61 |
|
62 |
LICENSE="BSD-2 GPL-3 public-domain" |
63 |
SLOT="0" |
64 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
65 |
IUSE="" |
66 |
|
67 |
DEPEND="dev-python/pygments[${PYTHON_USEDEP}]" |
68 |
RDEPEND="${DEPEND}" |
69 |
|
70 |
DISTUTILS_NO_PARALLEL_BUILD=1 |
71 |
|
72 |
PATCHES=( "${FILESDIR}"/docutils-0.11-python3.3-odt-writer.patch ) |
73 |
|
74 |
python_compile_all() { |
75 |
# Generate html docs from reStructured text sources. |
76 |
|
77 |
# Place html4css1.css in base directory to ensure that the generated reference to it is correct. |
78 |
cp docutils/writers/html4css1/html4css1.css . || die |
79 |
|
80 |
cd tools || die |
81 |
"${PYTHON}" buildhtml.py --input-encoding=utf-8 \ |
82 |
--stylesheet-path=../html4css1.css, --traceback ../docs || die |
83 |
} |
84 |
|
85 |
python_test() { |
86 |
if python_is_python3; then |
87 |
pushd test3 > /dev/null || die |
88 |
else |
89 |
pushd test > /dev/null || die |
90 |
fi |
91 |
"${PYTHON}" alltests.py || die "Testing failed with ${EPYTHON}" |
92 |
popd > /dev/null || die |
93 |
} |
94 |
|
95 |
python_install() { |
96 |
distutils-r1_python_install |
97 |
|
98 |
# Install tools. |
99 |
python_doscript tools/{buildhtml,quicktest}.py |
100 |
} |
101 |
|
102 |
install_txt_doc() { |
103 |
local doc="${1}" |
104 |
local dir="txt/$(dirname ${doc})" |
105 |
docinto "${dir}" |
106 |
dodoc "${doc}" |
107 |
} |
108 |
|
109 |
python_install_all() { |
110 |
local DOCS=( *.txt ) |
111 |
local HTML_DOCS=( docs tools docutils/writers/html4css1/html4css1.css ) |
112 |
|
113 |
distutils-r1_python_install_all |
114 |
|
115 |
local doc |
116 |
while IFS= read -r -d '' doc; do |
117 |
install_txt_doc "${doc}" |
118 |
done < <(find docs tools -name '*.txt' -print0) |
119 |
} |