diff options
author | Paul Varner <fuzzyray@gentoo.org> | 2010-11-18 21:57:20 +0000 |
---|---|---|
committer | Paul Varner <fuzzyray@gentoo.org> | 2010-11-18 21:57:20 +0000 |
commit | 4211c7bb1236910f83f809456115f04b3f52fad3 (patch) | |
tree | 4b3ccbec8a440a3d1c79702a5741800cc21803e4 /app-portage | |
parent | Version bump. (diff) | |
download | gentoo-2-4211c7bb1236910f83f809456115f04b3f52fad3.tar.gz gentoo-2-4211c7bb1236910f83f809456115f04b3f52fad3.tar.bz2 gentoo-2-4211c7bb1236910f83f809456115f04b3f52fad3.zip |
Version bump to 0.3.0_rc11, please take a look at bug 237964 for more information about the changes in this release. Thanks to all contributors!
(Portage version: 2.1.9.24/cvs/Linux i686)
Diffstat (limited to 'app-portage')
-rw-r--r-- | app-portage/gentoolkit/ChangeLog | 8 | ||||
-rw-r--r-- | app-portage/gentoolkit/gentoolkit-0.3.0_rc11.ebuild | 68 |
2 files changed, 75 insertions, 1 deletions
diff --git a/app-portage/gentoolkit/ChangeLog b/app-portage/gentoolkit/ChangeLog index 0e3838dc9964..f02fc97ef928 100644 --- a/app-portage/gentoolkit/ChangeLog +++ b/app-portage/gentoolkit/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-portage/gentoolkit # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/ChangeLog,v 1.195 2010/11/18 21:48:20 fuzzyray Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/ChangeLog,v 1.196 2010/11/18 21:57:20 fuzzyray Exp $ + +*gentoolkit-0.3.0_rc11 (18 Nov 2010) + + 18 Nov 2010; Paul Varner <fuzzyray@gentoo.org> +gentoolkit-0.3.0_rc11.ebuild: + Version bump to 0.3.0_rc11, please take a look at bug 237964 for more + information about the changes in this release. Thanks to all contributors! 18 Nov 2010; Paul Varner <fuzzyray@gentoo.org> -gentoolkit-0.2.4.5.ebuild, -gentoolkit-0.2.4.6.1.ebuild, -gentoolkit-0.3.0_rc7.ebuild, diff --git a/app-portage/gentoolkit/gentoolkit-0.3.0_rc11.ebuild b/app-portage/gentoolkit/gentoolkit-0.3.0_rc11.ebuild new file mode 100644 index 000000000000..d1f80b57e370 --- /dev/null +++ b/app-portage/gentoolkit/gentoolkit-0.3.0_rc11.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0_rc11.ebuild,v 1.1 2010/11/18 21:57:20 fuzzyray Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" +DISTUTILS_DISABLE_VERSIONING_OF_PYTHON_SCRIPTS="1" +RESTRICT_PYTHON_ABIS="2.[45]" + +inherit distutils python eutils + +DESCRIPTION="Collection of administration scripts for Gentoo" +HOMEPAGE="http://www.gentoo.org/proj/en/portage/tools/index.xml" +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +# Drop "~m68k ~s390 ~sh ~sparc-fbsd ~x86-fbsd" due to dev-python/argparse dependency +# Note: argparse is provided in python 2.7 and 3.2 +# KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" + +DEPEND="sys-apps/portage + >=dev-lang/python-2.6[xml] + !!>=dev-lang/python-2.6[-xml]" +RDEPEND="${DEPEND} + !<=app-portage/gentoolkit-dev-0.2.7 + dev-python/argparse + || ( app-misc/realpath sys-freebsd/freebsd-bin ) + sys-apps/gawk + sys-apps/grep" + +distutils_src_compile_pre_hook() { + echo VERSION="${PVR}" "$(PYTHON)" setup.py set_version + VERSION="${PVR}" "$(PYTHON)" setup.py set_version \ + || die "setup.py set_version failed" +} + +src_install() { + python_convert_shebangs -r "" build-*/scripts-* + distutils_src_install + + # Create cache directory for revdep-rebuild + dodir /var/cache/revdep-rebuild + keepdir /var/cache/revdep-rebuild + fowners root:root /var/cache/revdep-rebuild + fperms 0700 /var/cache/revdep-rebuild + + # Can distutils handle this? + dosym eclean /usr/bin/eclean-dist + dosym eclean /usr/bin/eclean-pkg +} + +pkg_postinst() { + distutils_pkg_postinst + + # Make sure that our ownership and permissions stuck + chown root:root "${ROOT}/var/cache/revdep-rebuild" + chmod 0700 "${ROOT}/var/cache/revdep-rebuild" + + einfo + einfo "For further information on gentoolkit, please read the gentoolkit" + einfo "guide: http://www.gentoo.org/doc/en/gentoolkit.xml" + einfo + einfo "Another alternative to equery is app-portage/portage-utils" +} |