summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2011-08-24 16:45:30 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2011-08-24 16:45:30 +0000
commit17b1f96ba12f86e4ec2b08904c8f1dd8d26f1eb7 (patch)
tree1c169ae7edf7ed22905e67dabd5dece78c07154a /app-admin
parentSet PYTHON_MODNAME. Patch by Arfrever. (diff)
downloadgentoo-2-17b1f96ba12f86e4ec2b08904c8f1dd8d26f1eb7.tar.gz
gentoo-2-17b1f96ba12f86e4ec2b08904c8f1dd8d26f1eb7.tar.bz2
gentoo-2-17b1f96ba12f86e4ec2b08904c8f1dd8d26f1eb7.zip
Version bumped, bug #380239.
(Portage version: 2.1.10.11/cvs/Linux x86_64)
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/augeas/ChangeLog8
-rw-r--r--app-admin/augeas/augeas-0.9.0.ebuild43
-rw-r--r--app-admin/augeas/files/augeas-0.9.0-gnulib-test.patch12
3 files changed, 62 insertions, 1 deletions
diff --git a/app-admin/augeas/ChangeLog b/app-admin/augeas/ChangeLog
index 065d075c8c9d..22129976054a 100644
--- a/app-admin/augeas/ChangeLog
+++ b/app-admin/augeas/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-admin/augeas
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/augeas/ChangeLog,v 1.25 2011/06/30 15:05:29 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/augeas/ChangeLog,v 1.26 2011/08/24 16:45:30 matsuu Exp $
+
+*augeas-0.9.0 (24 Aug 2011)
+
+ 24 Aug 2011; MATSUU Takuto <matsuu@gentoo.org> +augeas-0.9.0.ebuild,
+ +files/augeas-0.9.0-gnulib-test.patch:
+ Version bumped, bug #380239.
30 Jun 2011; Brent Baude <ranger@gentoo.org> augeas-0.7.1.ebuild:
Marking augeas-0.7.1 ppc for bug 325111
diff --git a/app-admin/augeas/augeas-0.9.0.ebuild b/app-admin/augeas/augeas-0.9.0.ebuild
new file mode 100644
index 000000000000..3d3a95f6bb8f
--- /dev/null
+++ b/app-admin/augeas/augeas-0.9.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/augeas/augeas-0.9.0.ebuild,v 1.1 2011/08/24 16:45:30 matsuu Exp $
+
+EAPI="4"
+inherit eutils
+
+DESCRIPTION="A library for changing configuration files"
+HOMEPAGE="http://augeas.net/"
+SRC_URI="http://augeas.net/download/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
+IUSE="static-libs test"
+
+RDEPEND="sys-libs/readline"
+DEPEND="${RDEPEND}
+ >=app-doc/NaturalDocs-1.40
+ test? ( dev-lang/ruby )"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-gnulib-test.patch"
+
+ if [ -f /usr/share/NaturalDocs/Config/Languages.txt ] ; then
+ addwrite /usr/share/NaturalDocs/Config/Languages.txt
+ fi
+ if [ -f /usr/share/NaturalDocs/Config/Topics.txt ] ; then
+ addwrite /usr/share/NaturalDocs/Config/Topics.txt
+ fi
+}
+
+src_configure() {
+ econf $(use_enable static-libs static) || die
+}
+
+src_install() {
+ default
+
+ use static-libs || find "${ED}" -name '*.la' -delete
+
+ dodoc AUTHORS ChangeLog README NEWS
+}
diff --git a/app-admin/augeas/files/augeas-0.9.0-gnulib-test.patch b/app-admin/augeas/files/augeas-0.9.0-gnulib-test.patch
new file mode 100644
index 000000000000..0053d5c6a583
--- /dev/null
+++ b/app-admin/augeas/files/augeas-0.9.0-gnulib-test.patch
@@ -0,0 +1,12 @@
+diff -Naur augeas-0.9.0.orig/gnulib/tests/test-readlink.h augeas-0.9.0/gnulib/tests/test-readlink.h
+--- augeas-0.9.0.orig/gnulib/tests/test-readlink.h 2011-03-04 10:08:01.000000000 +0900
++++ augeas-0.9.0/gnulib/tests/test-readlink.h 2011-08-25 01:33:00.332844641 +0900
+@@ -38,7 +38,7 @@
+ ASSERT (errno == ENOENT);
+ errno = 0;
+ ASSERT (func ("", buf, sizeof buf) == -1);
+- ASSERT (errno == ENOENT);
++ ASSERT (errno == ENOENT || errno == EINVAL);
+ errno = 0;
+ ASSERT (func (".", buf, sizeof buf) == -1);
+ ASSERT (errno == EINVAL);