1 |
tomwij 14/02/28 13:38:12 |
2 |
|
3 |
Added: metadata.xml mate-doc-utils-1.6.2.ebuild ChangeLog |
4 |
Log: |
5 |
New ebuild for app-text/mate-doc-utils, Documentation utilities for MATE; imported from the mate-overlay, reviewed and adjusted. |
6 |
|
7 |
(Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 app-text/mate-doc-utils/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mate-doc-utils/metadata.xml?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mate-doc-utils/metadata.xml?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: metadata.xml |
16 |
=================================================================== |
17 |
<?xml version="1.0" encoding="UTF-8"?> |
18 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 |
<pkgmetadata> |
20 |
<maintainer> |
21 |
<email>TomWij@g.o</email> |
22 |
<name>Tom Wijsman</name> |
23 |
</maintainer> |
24 |
</pkgmetadata> |
25 |
|
26 |
|
27 |
|
28 |
1.1 app-text/mate-doc-utils/mate-doc-utils-1.6.2.ebuild |
29 |
|
30 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mate-doc-utils/mate-doc-utils-1.6.2.ebuild?rev=1.1&view=markup |
31 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mate-doc-utils/mate-doc-utils-1.6.2.ebuild?rev=1.1&content-type=text/plain |
32 |
|
33 |
Index: mate-doc-utils-1.6.2.ebuild |
34 |
=================================================================== |
35 |
# Copyright 1999-2014 Gentoo Foundation |
36 |
# Distributed under the terms of the GNU General Public License v2 |
37 |
# $Header: /var/cvsroot/gentoo-x86/app-text/mate-doc-utils/mate-doc-utils-1.6.2.ebuild,v 1.1 2014/02/28 13:38:12 tomwij Exp $ |
38 |
|
39 |
EAPI="5" |
40 |
|
41 |
GCONF_DEBUG="no" |
42 |
PYTHON_COMPAT=( python2_{6,7} ) |
43 |
|
44 |
inherit gnome2 multilib python-r1 versionator |
45 |
|
46 |
MATE_BRANCH="$(get_version_component_range 1-2)" |
47 |
|
48 |
SRC_URI="http://pub.mate-desktop.org/releases/${MATE_BRANCH}/${P}.tar.xz" |
49 |
DESCRIPTION="Documentation utilities for MATE" |
50 |
HOMEPAGE="http://mate-desktop.org" |
51 |
|
52 |
LICENSE="GPL-2 LGPL-2" |
53 |
SLOT="0" |
54 |
KEYWORDS="~amd64" |
55 |
|
56 |
RDEPEND="${PYTHON_DEPS} |
57 |
>=app-text/gnome-doc-utils-0.20.10:0[${PYTHON_USEDEP}] |
58 |
>=dev-libs/libxml2-2.6.12:2[python,${PYTHON_USEDEP}] |
59 |
>=dev-libs/libxslt-1.1.8:0 |
60 |
virtual/libintl:0" |
61 |
|
62 |
DEPEND="${RDEPEND} |
63 |
app-text/docbook-xml-dtd:4.4 |
64 |
app-text/rarian:0 |
65 |
app-text/scrollkeeper-dtd:1.0 |
66 |
>=dev-util/intltool-0.35:0 |
67 |
>=mate-base/mate-common-1.5.0:0 |
68 |
>=sys-apps/gawk-3:0 |
69 |
sys-devel/gettext:0 |
70 |
virtual/pkgconfig:0" |
71 |
|
72 |
src_prepare() { |
73 |
gnome2_src_prepare |
74 |
|
75 |
# Leave shebang alone. |
76 |
sed -e '/s+^#!.*python.*+#/d' \ |
77 |
-i xml2po/xml2po/Makefile.{am,in} || die |
78 |
|
79 |
python_prepare() { |
80 |
mkdir -p "${BUILD_DIR}" |
81 |
} |
82 |
|
83 |
python_foreach_impl python_prepare |
84 |
} |
85 |
|
86 |
src_configure() { |
87 |
ECONF_SOURCE="${S}" python_foreach_impl run_in_build_dir gnome2_src_configure |
88 |
} |
89 |
|
90 |
src_compile() { |
91 |
python_foreach_impl run_in_build_dir gnome2_src_compile |
92 |
} |
93 |
|
94 |
src_test() { |
95 |
python_foreach_impl run_in_build_dir emake check |
96 |
} |
97 |
|
98 |
src_install() { |
99 |
dodoc AUTHORS ChangeLog NEWS README |
100 |
|
101 |
python_foreach_impl run_in_build_dir gnome2_src_install |
102 |
|
103 |
# Uncomment the below line when we stop relying on gnome-doc-utils. |
104 |
#python_replicate_script "${ED}"/usr/bin/xml2po |
105 |
|
106 |
# Remove xml2po, already provided by gnome-doc-utils. |
107 |
rm -rf "${ED}"usr/$(get_libdir)/python*/site-packages/xml2po || die |
108 |
rm -rf "${ED}"usr/bin/xml2po || die |
109 |
rm -rf "${ED}"usr/share/man/man*/xml2po* || die |
110 |
rm -rf "${ED}"usr/share/pkgconfig/xml2po* || die |
111 |
rm -rf "${ED}"usr/share/xml/mallard/*/mallard.{rnc,rng} || die |
112 |
} |
113 |
|
114 |
|
115 |
|
116 |
1.1 app-text/mate-doc-utils/ChangeLog |
117 |
|
118 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mate-doc-utils/ChangeLog?rev=1.1&view=markup |
119 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mate-doc-utils/ChangeLog?rev=1.1&content-type=text/plain |
120 |
|
121 |
Index: ChangeLog |
122 |
=================================================================== |
123 |
# ChangeLog for app-text/mate-doc-utils |
124 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
125 |
# $Header: /var/cvsroot/gentoo-x86/app-text/mate-doc-utils/ChangeLog,v 1.1 2014/02/28 13:38:12 tomwij Exp $ |
126 |
|
127 |
*mate-doc-utils-1.6.2 (28 Feb 2014) |
128 |
|
129 |
28 Feb 2014; Tom Wijsman <TomWij@g.o> +mate-doc-utils-1.6.2.ebuild, |
130 |
+metadata.xml: |
131 |
New ebuild for app-text/mate-doc-utils, Documentation utilities for MATE; |
132 |
imported from the mate-overlay, reviewed and adjusted. |