1 |
mgorny 13/08/31 16:41:52 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: utidylib-0.2-r2.ebuild |
5 |
Log: |
6 |
Convert to distutils-r1. |
7 |
|
8 |
(Portage version: 2.2.1_p7/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.15 dev-python/utidylib/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/utidylib/ChangeLog?rev=1.15&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/utidylib/ChangeLog?rev=1.15&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/utidylib/ChangeLog?r1=1.14&r2=1.15 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/utidylib/ChangeLog,v |
20 |
retrieving revision 1.14 |
21 |
retrieving revision 1.15 |
22 |
diff -u -r1.14 -r1.15 |
23 |
--- ChangeLog 1 Mar 2012 23:40:55 -0000 1.14 |
24 |
+++ ChangeLog 31 Aug 2013 16:41:51 -0000 1.15 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-python/utidylib |
27 |
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/utidylib/ChangeLog,v 1.14 2012/03/01 23:40:55 ranger Exp $ |
29 |
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/utidylib/ChangeLog,v 1.15 2013/08/31 16:41:51 mgorny Exp $ |
31 |
+ |
32 |
+*utidylib-0.2-r2 (31 Aug 2013) |
33 |
+ |
34 |
+ 31 Aug 2013; Michał Górny <mgorny@g.o> +utidylib-0.2-r2.ebuild: |
35 |
+ Convert to distutils-r1. |
36 |
|
37 |
01 Mar 2012; Brent Baude <ranger@g.o> utidylib-0.2-r1.ebuild: |
38 |
Marking utidylib-0.2-r1 ppc for bug 386673 |
39 |
@@ -55,4 +60,3 @@ |
40 |
+utidylib-0.2.ebuild: |
41 |
New ebuild, based on a contribution from Andy Dustman <farcepest@×××××.com> |
42 |
(bug #79856). |
43 |
- |
44 |
|
45 |
|
46 |
|
47 |
1.1 dev-python/utidylib/utidylib-0.2-r2.ebuild |
48 |
|
49 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/utidylib/utidylib-0.2-r2.ebuild?rev=1.1&view=markup |
50 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/utidylib/utidylib-0.2-r2.ebuild?rev=1.1&content-type=text/plain |
51 |
|
52 |
Index: utidylib-0.2-r2.ebuild |
53 |
=================================================================== |
54 |
# Copyright 1999-2013 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/utidylib/utidylib-0.2-r2.ebuild,v 1.1 2013/08/31 16:41:51 mgorny Exp $ |
57 |
|
58 |
EAPI=5 |
59 |
|
60 |
PYTHON_COMPAT=( python{2_6,2_7} ) |
61 |
|
62 |
inherit distutils-r1 |
63 |
|
64 |
MY_P="uTidylib-${PV}" |
65 |
|
66 |
DESCRIPTION="TidyLib Python wrapper" |
67 |
HOMEPAGE="http://utidylib.berlios.de/" |
68 |
SRC_URI="mirror://berlios/${PN}/${MY_P}.zip" |
69 |
|
70 |
LICENSE="MIT" |
71 |
SLOT="0" |
72 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
73 |
IUSE="doc test" |
74 |
|
75 |
RDEPEND="app-text/htmltidy" |
76 |
DEPEND="${RDEPEND} |
77 |
app-arch/unzip |
78 |
doc? ( dev-python/epydoc[${PYTHON_USEDEP}] ) |
79 |
test? ( dev-python/twisted-core[${PYTHON_USEDEP}] )" |
80 |
|
81 |
S="${WORKDIR}/${MY_P}" |
82 |
|
83 |
python_prepare_all() { |
84 |
local PATCHES=( |
85 |
"${FILESDIR}/${P}-no-docs-in-site-packages.patch" |
86 |
"${FILESDIR}/${P}-fix_tests.patch" |
87 |
) |
88 |
|
89 |
distutils-r1_python_prepare_all |
90 |
} |
91 |
|
92 |
python_compile_all() { |
93 |
if use doc; then |
94 |
"${PYTHON}" gendoc.py || die |
95 |
fi |
96 |
} |
97 |
|
98 |
python_test() { |
99 |
trial tidy || die "Tests fail with ${EPYTHON}" |
100 |
} |
101 |
|
102 |
python_install_all() { |
103 |
use doc && local HTML_DOCS=( apidoc/. ) |
104 |
distutils-r1_python_install_all |
105 |
} |