diff options
author | Jeremy Olexa <darkside@gentoo.org> | 2012-05-06 20:28:51 +0000 |
---|---|---|
committer | Jeremy Olexa <darkside@gentoo.org> | 2012-05-06 20:28:51 +0000 |
commit | 5cbb1d210322de7306f9c001b56ef764fd16ed43 (patch) | |
tree | 9f5436e0de8cbc4c9ce55bfef1cfc4aa4a2d9387 /app-portage | |
parent | Marking Convert-UUlib-1.400.0 ppc for bug 413087 (diff) | |
download | gentoo-2-5cbb1d210322de7306f9c001b56ef764fd16ed43.tar.gz gentoo-2-5cbb1d210322de7306f9c001b56ef764fd16ed43.tar.bz2 gentoo-2-5cbb1d210322de7306f9c001b56ef764fd16ed43.zip |
Version bump, mostly bug fixixes. Closes Gentoo bugs 410205 & 408509
(Portage version: 2.1.10.56/cvs/Linux x86_64)
Diffstat (limited to 'app-portage')
-rw-r--r-- | app-portage/eix/ChangeLog | 8 | ||||
-rw-r--r-- | app-portage/eix/eix-0.25.4.ebuild (renamed from app-portage/eix/eix-0.25.0.ebuild) | 22 |
2 files changed, 27 insertions, 3 deletions
diff --git a/app-portage/eix/ChangeLog b/app-portage/eix/ChangeLog index 2df75ba6c766..b879c178ac90 100644 --- a/app-portage/eix/ChangeLog +++ b/app-portage/eix/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-portage/eix # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/eix/ChangeLog,v 1.411 2012/05/05 22:59:28 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/eix/ChangeLog,v 1.412 2012/05/06 20:28:51 darkside Exp $ + +*eix-0.25.4 (06 May 2012) + + 06 May 2012; Jeremy Olexa <darkside@gentoo.org> -eix-0.25.0.ebuild, + +eix-0.25.4.ebuild: + Version bump, mostly bug fixixes. Closes Gentoo bugs 410205 & 408509 05 May 2012; Alexis Ballier <aballier@gentoo.org> eix-0.25.3.ebuild: keyword ~amd64-fbsd diff --git a/app-portage/eix/eix-0.25.0.ebuild b/app-portage/eix/eix-0.25.4.ebuild index f2c1744a5e3c..108c5dce58e1 100644 --- a/app-portage/eix/eix-0.25.0.ebuild +++ b/app-portage/eix/eix-0.25.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/eix/eix-0.25.0.ebuild,v 1.1 2012/03/08 14:14:57 darkside Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/eix/eix-0.25.4.ebuild,v 1.1 2012/05/06 20:28:51 darkside Exp $ EAPI=4 @@ -12,7 +12,7 @@ SRC_URI="mirror://berlios/${PN}/${P}.tar.xz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris" IUSE="debug +dep doc nls optimization security strong-optimization sqlite tools zsh-completion" RDEPEND="sqlite? ( >=dev-db/sqlite-3 ) @@ -22,6 +22,13 @@ DEPEND="${RDEPEND} app-arch/xz-utils nls? ( sys-devel/gettext )" +pkg_setup() { + if has_version "<${CATEGORY}/${PN}-0.25.3"; then + local eixcache="${EROOT}"/var/cache/${PN} + [[ -f ${eixcache} ]] && rm -f "${eixcache}" + fi +} + src_configure() { econf $(use_with sqlite) $(use_with doc extra-doc) \ $(use_with zsh-completion) \ @@ -40,4 +47,15 @@ src_configure() { src_install() { default dobashcomp bash/eix + keepdir "/var/cache/${PN}" + fowners portage:portage "/var/cache/${PN}" + fperms 775 "/var/cache/${PN}" +} + +pkg_postinst() { + # fowners in src_install doesn't work for owner/group portage: + # merging changes this owner/group back to root. + use prefix || chown portage:portage "${EROOT}var/cache/${PN}" + local obs="${EROOT}var/cache/eix.previous" + ! test -f "${obs}" || ewarn "Found obsolete ${obs}, please remove it" } |