diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-03-28 07:58:56 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-03-28 07:58:56 +0000 |
commit | 0f2ad8747ac99b9eb7e9c28d4c7994ccf3891169 (patch) | |
tree | f9a5db1514d8c2d0e2b84cd0215a7471c49259c7 /app-emacs/nxml-libvirt-schemas | |
parent | Remove old version; bump to 0.9.0_rc1; add the new 9999 ebuild. (diff) | |
download | gentoo-2-0f2ad8747ac99b9eb7e9c28d4c7994ccf3891169.tar.gz gentoo-2-0f2ad8747ac99b9eb7e9c28d4c7994ccf3891169.tar.bz2 gentoo-2-0f2ad8747ac99b9eb7e9c28d4c7994ccf3891169.zip |
Version bump to 0.9.0_rc1; update 0.8.8 to use identical content.
(Portage version: 2.2.0_alpha29/cvs/Linux x86_64)
Diffstat (limited to 'app-emacs/nxml-libvirt-schemas')
3 files changed, 65 insertions, 5 deletions
diff --git a/app-emacs/nxml-libvirt-schemas/ChangeLog b/app-emacs/nxml-libvirt-schemas/ChangeLog index bcda7377e8ac..7d6ee63e1030 100644 --- a/app-emacs/nxml-libvirt-schemas/ChangeLog +++ b/app-emacs/nxml-libvirt-schemas/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-emacs/nxml-libvirt-schemas # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-libvirt-schemas/ChangeLog,v 1.6 2011/03/12 14:42:29 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-libvirt-schemas/ChangeLog,v 1.7 2011/03/28 07:58:56 flameeyes Exp $ + +*nxml-libvirt-schemas-0.9.0_rc1 (28 Mar 2011) + + 28 Mar 2011; Diego E. Pettenò <flameeyes@gentoo.org> + nxml-libvirt-schemas-0.8.8.ebuild, +nxml-libvirt-schemas-0.9.0_rc1.ebuild: + Version bump to 0.9.0_rc1; update 0.8.8 to use identical content. 12 Mar 2011; Ulrich Mueller <ulm@gentoo.org> nxml-libvirt-schemas-0.8.8.ebuild: diff --git a/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-0.8.8.ebuild b/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-0.8.8.ebuild index 2bcda3e42204..291bdc160060 100644 --- a/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-0.8.8.ebuild +++ b/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-0.8.8.ebuild @@ -1,14 +1,15 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-0.8.8.ebuild,v 1.2 2011/03/12 14:42:29 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-0.8.8.ebuild,v 1.3 2011/03/28 07:58:56 flameeyes Exp $ EAPI=2 -BACKPORTS= +#BACKPORTS= NEED_EMACS=23 + inherit elisp eutils -MY_P="libvirt-${PV}" +MY_P="libvirt-${PV/_rc/-rc}" DESCRIPTION="Extension for nxml-mode with libvirt schemas" HOMEPAGE="http://www.libvirt.org/" @@ -28,7 +29,7 @@ DEPEND="app-text/trang" RDEPEND="" SITEFILE=60${PN}-gentoo.el -S="${WORKDIR}/${MY_P}" +S="${WORKDIR}/${MY_P%-rc*}" src_prepare() { [[ -d "${WORKDIR}/patches" ]] && \ diff --git a/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-0.9.0_rc1.ebuild b/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-0.9.0_rc1.ebuild new file mode 100644 index 000000000000..301f77240498 --- /dev/null +++ b/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-0.9.0_rc1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-0.9.0_rc1.ebuild,v 1.1 2011/03/28 07:58:56 flameeyes Exp $ + +EAPI=2 + +#BACKPORTS= +NEED_EMACS=23 + +inherit elisp eutils + +MY_P="libvirt-${PV/_rc/-rc}" + +DESCRIPTION="Extension for nxml-mode with libvirt schemas" +HOMEPAGE="http://www.libvirt.org/" +SRC_URI="http://libvirt.org/sources/${MY_P}.tar.gz + ${BACKPORTS:+mirror://gentoo/${MY_P}-backports-${BACKPORTS}.tar.bz2}" + +# This is the license of the package, but the schema files are +# provided without license, maybe it's bad. +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +# Yes this requires Java, but I'd rather not repackage this, if you +# know something better in C, I'll be glad to use that. +DEPEND="app-text/trang" +RDEPEND="" + +SITEFILE=60${PN}-gentoo.el +S="${WORKDIR}/${MY_P%-rc*}" + +src_prepare() { + [[ -d "${WORKDIR}/patches" ]] && \ + EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" EPATCH_SOURCE="${WORKDIR}/patches" epatch +} + +src_compile() { + emake -C docs/schemas -f "${FILESDIR}/Makefile-trang" || die "trang failed" +} + +src_test() { + # No we don't need tests here… trang will take care of checking + # the well-formedness of the schema files for us + : +} + +src_install() { + insinto ${SITEETC}/${PN} + doins "${FILESDIR}/schemas.xml" docs/schemas/*.rnc || die "install failed" + elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die +} |