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