diff options
author | Piotr Jaroszyński <peper@gentoo.org> | 2007-12-10 19:39:16 +0000 |
---|---|---|
committer | Piotr Jaroszyński <peper@gentoo.org> | 2007-12-10 19:39:16 +0000 |
commit | cda5796f986baad4fde104167d26bdc7bb8cc81b (patch) | |
tree | 8e3bda8156ed5c28c7130822e03a8e70336e79c6 /sys-apps | |
parent | ppc stable, bug #201546 (diff) | |
download | gentoo-2-cda5796f986baad4fde104167d26bdc7bb8cc81b.tar.gz gentoo-2-cda5796f986baad4fde104167d26bdc7bb8cc81b.tar.bz2 gentoo-2-cda5796f986baad4fde104167d26bdc7bb8cc81b.zip |
Add patch fixing news test.
(Portage version: 2.1.4_rc9)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/paludis/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/paludis/files/paludis-0.26.0_alpha4-news_test.patch | 24 | ||||
-rw-r--r-- | sys-apps/paludis/paludis-0.26.0_alpha4.ebuild | 9 |
3 files changed, 38 insertions, 2 deletions
diff --git a/sys-apps/paludis/ChangeLog b/sys-apps/paludis/ChangeLog index 90536491e73a..8d156e15f094 100644 --- a/sys-apps/paludis/ChangeLog +++ b/sys-apps/paludis/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/paludis # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/ChangeLog,v 1.71 2007/11/19 21:19:34 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/ChangeLog,v 1.72 2007/12/10 19:39:13 peper Exp $ + + 10 Dec 2007; Piotr Jaroszyński <peper@gentoo.org> + +files/paludis-0.26.0_alpha4-news_test.patch, + paludis-0.26.0_alpha4.ebuild: + Add patch fixing news test. *paludis-0.26.0_alpha4 (17 Nov 2007) diff --git a/sys-apps/paludis/files/paludis-0.26.0_alpha4-news_test.patch b/sys-apps/paludis/files/paludis-0.26.0_alpha4-news_test.patch new file mode 100644 index 000000000000..4bc13a1f8a94 --- /dev/null +++ b/sys-apps/paludis/files/paludis-0.26.0_alpha4-news_test.patch @@ -0,0 +1,24 @@ +diff --git a/hooks/news_TEST_setup.sh b/hooks/news_TEST_setup.sh +index ceccb99..c895b1c 100755 +--- a/hooks/news_TEST_setup.sh ++++ b/hooks/news_TEST_setup.sh +@@ -32,14 +32,14 @@ names_cache = /var/empty + profiles = \${location}/profiles/testprofile + END + +-mkdir -p var/lib/paludis/news +-cat <<END > var/lib/paludis/news/news-one.read ++mkdir -p var/lib/gentoo/news ++cat <<END > var/lib/gentoo/news/news-one.read + END +-cat <<END > var/lib/paludis/news/news-one.unread ++cat <<END > var/lib/gentoo/news/news-one.unread + END +-cat <<END > var/lib/paludis/news/news-two.read ++cat <<END > var/lib/gentoo/news/news-two.read + END +-cat <<END > var/lib/paludis/news/news-two.unread ++cat <<END > var/lib/gentoo/news/news-two.unread + monkey + END + diff --git a/sys-apps/paludis/paludis-0.26.0_alpha4.ebuild b/sys-apps/paludis/paludis-0.26.0_alpha4.ebuild index a8c1414824fd..5f584c92900b 100644 --- a/sys-apps/paludis/paludis-0.26.0_alpha4.ebuild +++ b/sys-apps/paludis/paludis-0.26.0_alpha4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/paludis-0.26.0_alpha4.ebuild,v 1.1 2007/11/19 21:19:34 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/paludis-0.26.0_alpha4.ebuild,v 1.2 2007/12/10 19:39:13 peper Exp $ inherit bash-completion eutils flag-o-matic @@ -66,6 +66,13 @@ pkg_setup() { fi } +src_unpack() { + unpack ${A} + + cd "${S}" + epatch "${FILESDIR}/${P}-news_test.patch" +} + src_compile() { local repositories=`echo default unpackaged $(usev cran ) | tr -s \ ,` local clients=`echo default accerso adjutrix contrarius importare \ |