Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emacs/nxml-libvirt-schemas: nxml-libvirt-schemas-0.8.6.ebuild ChangeLog
Date: Wed, 01 Dec 2010 21:09:34
Message-Id: 20101201210924.B623C20054@flycatcher.gentoo.org
1 flameeyes 10/12/01 21:09:24
2
3 Modified: ChangeLog
4 Added: nxml-libvirt-schemas-0.8.6.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha6/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.4 app-emacs/nxml-libvirt-schemas/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/nxml-libvirt-schemas/ChangeLog?rev=1.4&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/nxml-libvirt-schemas/ChangeLog?rev=1.4&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/nxml-libvirt-schemas/ChangeLog?r1=1.3&r2=1.4
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-emacs/nxml-libvirt-schemas/ChangeLog,v
20 retrieving revision 1.3
21 retrieving revision 1.4
22 diff -u -r1.3 -r1.4
23 --- ChangeLog 29 Oct 2010 18:46:14 -0000 1.3
24 +++ ChangeLog 1 Dec 2010 21:09:24 -0000 1.4
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-emacs/nxml-libvirt-schemas
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-libvirt-schemas/ChangeLog,v 1.3 2010/10/29 18:46:14 flameeyes Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-libvirt-schemas/ChangeLog,v 1.4 2010/12/01 21:09:24 flameeyes Exp $
30 +
31 +*nxml-libvirt-schemas-0.8.6 (01 Dec 2010)
32 +
33 + 01 Dec 2010; Diego E. Pettenò <flameeyes@g.o>
34 + +nxml-libvirt-schemas-0.8.6.ebuild:
35 + Version bump.
36
37 *nxml-libvirt-schemas-0.8.5 (29 Oct 2010)
38
39
40
41
42 1.1 app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-0.8.6.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-0.8.6.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-0.8.6.ebuild?rev=1.1&content-type=text/plain
46
47 Index: nxml-libvirt-schemas-0.8.6.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-0.8.6.ebuild,v 1.1 2010/12/01 21:09:24 flameeyes Exp $
52
53 BACKPORTS=
54
55 EAPI=2
56
57 inherit elisp eutils
58
59 MY_P="libvirt-${PV}"
60
61 DESCRIPTION="Extension for nxml-mode with libvirt schemas"
62 HOMEPAGE="http://www.libvirt.org/"
63
64 SRC_URI="http://libvirt.org/sources/${MY_P}.tar.gz
65 ${BACKPORTS:+mirror://gentoo/${MY_P}-backports-${BACKPORTS}.tar.bz2}"
66
67 # This is the license of the package, but the schema files are
68 # provided without license, maybe it's bad.
69 LICENSE="LGPL-2.1"
70
71 SLOT="0"
72
73 KEYWORDS="~amd64 ~x86"
74 IUSE=""
75
76 RDEPEND="|| ( >=app-emacs/nxml-mode-20041004-r3 >=virtual/emacs-23 )"
77
78 # Yes this requires Java, but I'd rather not repackage this, if you
79 # know something better in C, I'll be glad to use that.
80 DEPEND="app-text/trang"
81
82 SITEFILE=60${PN}-gentoo.el
83
84 S="${WORKDIR}/${MY_P}"
85
86 src_prepare() {
87 [[ -d "${WORKDIR}/patches" ]] && \
88 EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" EPATCH_SOURCE="${WORKDIR}/patches" epatch
89 }
90
91 src_compile() {
92 emake -C docs/schemas -f "${FILESDIR}/Makefile-trang" || die "trang failed"
93 }
94
95 src_test() {
96 # No we don't need tests here… trang will take care of checking
97 # the well-formedness of the schema files for us
98 :
99 }
100
101 src_install() {
102 insinto ${SITEETC}/${PN}
103 doins "${FILESDIR}/schemas.xml" docs/schemas/*.rnc || die "install failed"
104 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
105 }
106
107 pkg_postinst () {
108 elisp-site-regen
109
110 if [ $(emacs -batch -q --eval "(princ (fboundp 'nxml-mode))") = nil ]; then
111 ewarn "This package needs nxml-mode. You should either install"
112 ewarn "app-emacs/nxml-mode, or use \"eselect emacs\" to select"
113 ewarn "an Emacs version >= 23."
114 fi
115 }