Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libxslt: ChangeLog libxslt-1.1.28.ebuild
Date: Thu, 29 Nov 2012 13:20:43
Message-Id: 20121129132030.3B7BC20C65@flycatcher.gentoo.org
1 ssuominen 12/11/29 13:20:30
2
3 Modified: ChangeLog
4 Added: libxslt-1.1.28.ebuild
5 Log:
6 Version bump wrt #445016 by Andrew Oakley
7
8 (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
9
10 Revision Changes Path
11 1.245 dev-libs/libxslt/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libxslt/ChangeLog?rev=1.245&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libxslt/ChangeLog?rev=1.245&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libxslt/ChangeLog?r1=1.244&r2=1.245
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libxslt/ChangeLog,v
20 retrieving revision 1.244
21 retrieving revision 1.245
22 diff -u -r1.244 -r1.245
23 --- ChangeLog 29 Sep 2012 17:38:54 -0000 1.244
24 +++ ChangeLog 29 Nov 2012 13:20:30 -0000 1.245
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-libs/libxslt
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxslt/ChangeLog,v 1.244 2012/09/29 17:38:54 jer Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxslt/ChangeLog,v 1.245 2012/11/29 13:20:30 ssuominen Exp $
30 +
31 +*libxslt-1.1.28 (29 Nov 2012)
32 +
33 + 29 Nov 2012; Samuli Suominen <ssuominen@g.o> +libxslt-1.1.28.ebuild:
34 + Version bump wrt #445016 by Andrew Oakley
35
36 29 Sep 2012; Jeroen Roovers <jer@g.o> libxslt-1.1.27.ebuild:
37 Stable for HPPA (bug #436284).
38
39
40
41 1.1 dev-libs/libxslt/libxslt-1.1.28.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libxslt/libxslt-1.1.28.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libxslt/libxslt-1.1.28.ebuild?rev=1.1&content-type=text/plain
45
46 Index: libxslt-1.1.28.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libxslt/libxslt-1.1.28.ebuild,v 1.1 2012/11/29 13:20:30 ssuominen Exp $
51
52 EAPI=5
53
54 PYTHON_DEPEND="python? 2:2.5"
55 SUPPORT_PYTHON_ABIS="1"
56 RESTRICT_PYTHON_ABIS="3.* *-jython *-pypy-*"
57
58 inherit autotools eutils python toolchain-funcs
59
60 DESCRIPTION="XSLT libraries and tools"
61 HOMEPAGE="http://www.xmlsoft.org/"
62 SRC_URI="ftp://xmlsoft.org/${PN}/${P}.tar.gz"
63
64 LICENSE="MIT"
65 SLOT="0"
66 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
67 IUSE="crypt debug python static-libs"
68
69 RDEPEND=">=dev-libs/libxml2-2.8.0
70 crypt? ( >=dev-libs/libgcrypt-1.1.42 )"
71 DEPEND="${RDEPEND}"
72
73 DOCS="AUTHORS ChangeLog FEATURES NEWS README TODO"
74
75 pkg_setup() {
76 use python && python_pkg_setup
77 }
78
79 src_prepare() {
80 # https://bugzilla.gnome.org/show_bug.cgi?id=684621
81 epatch "${FILESDIR}"/${PN}.m4-${PN}-1.1.26.patch
82
83 epatch "${FILESDIR}"/${PN}-1.1.26-disable_static_modules.patch
84
85 # Use python-config, not python2.7-config
86 epatch "${FILESDIR}"/${PN}-1.1.27-python-config.patch
87
88 # Python bindings are built/tested/installed manually.
89 sed -i -e 's/$(PYTHON_SUBDIR)//' Makefile.am || die
90
91 eautoreconf
92 epunt_cxx
93 }
94
95 src_configure() {
96 # libgcrypt is missing pkg-config file, so fixing cross-compile
97 # here. see bug 267503.
98 tc-is-cross-compiler && \
99 export LIBGCRYPT_CONFIG="${SYSROOT}"/usr/bin/libgcrypt-config
100
101 econf \
102 $(use_enable static-libs static) \
103 --with-html-dir=/usr/share/doc/${PF} \
104 --with-html-subdir=html \
105 $(use_with crypt crypto) \
106 $(use_with python) \
107 $(use_with debug) \
108 $(use_with debug mem-debug)
109 }
110
111 src_compile() {
112 default
113
114 if use python; then
115 python_copy_sources python
116 building() {
117 emake PYTHON_INCLUDES="$(python_get_includedir)" \
118 PYTHON_SITE_PACKAGES="$(python_get_sitedir)" \
119 PYTHON_VERSION="$(python_get_version)"
120 }
121 python_execute_function -s --source-dir python building
122 fi
123 }
124
125 src_test() {
126 default
127
128 if use python; then
129 testing() {
130 emake test
131 }
132 python_execute_function -s --source-dir python testing
133 fi
134 }
135
136 src_install() {
137 default
138
139 if use python; then
140 installation() {
141 emake DESTDIR="${D}" \
142 PYTHON_SITE_PACKAGES="$(python_get_sitedir)" \
143 install
144 }
145 python_execute_function -s --source-dir python installation
146
147 python_clean_installation_image
148
149 mv "${ED}"/usr/share/doc/${PN}-python-${PV} "${ED}"/usr/share/doc/${PF}/python
150 fi
151
152 prune_libtool_files
153 }
154
155 pkg_postinst() {
156 use python && python_mod_optimize ${PN}.py
157 }
158
159 pkg_postrm() {
160 use python && python_mod_cleanup ${PN}.py
161 }