summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Varner <fuzzyray@gentoo.org>2010-02-05 20:48:48 +0000
committerPaul Varner <fuzzyray@gentoo.org>2010-02-05 20:48:48 +0000
commit6cea24d01f0d91dd231bbc91813751eb8f6db1ff (patch)
tree3d4b2ede2ee5108b1f2b1b5639a6e9f5ba027faf /app-portage
parentSupport -gmp in USE flag. Closes #302941 (diff)
downloadgentoo-2-6cea24d01f0d91dd231bbc91813751eb8f6db1ff.tar.gz
gentoo-2-6cea24d01f0d91dd231bbc91813751eb8f6db1ff.tar.bz2
gentoo-2-6cea24d01f0d91dd231bbc91813751eb8f6db1ff.zip
Update ebuild to run 'setup.py set_version' to set the gentoolkit version number to PVR
(Portage version: 2.2_rc62/cvs/Linux i686)
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/gentoolkit/ChangeLog7
-rw-r--r--app-portage/gentoolkit/gentoolkit-0.3.0_rc8-r1.ebuild7
2 files changed, 12 insertions, 2 deletions
diff --git a/app-portage/gentoolkit/ChangeLog b/app-portage/gentoolkit/ChangeLog
index 83fe1f4414f0..e76717b9ee35 100644
--- a/app-portage/gentoolkit/ChangeLog
+++ b/app-portage/gentoolkit/ChangeLog
@@ -1,6 +1,11 @@
# 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.177 2010/01/11 18:57:19 fuzzyray Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/ChangeLog,v 1.178 2010/02/05 20:48:48 fuzzyray Exp $
+
+ 05 Feb 2010; Paul Varner <fuzzyray@gentoo.org>
+ gentoolkit-0.3.0_rc8-r1.ebuild:
+ Update ebuild to run 'setup.py set_version' to set the gentoolkit version
+ number to PVR
11 Jan 2010; Paul Varner <fuzzyray@gentoo.org> gentoolkit-9999.ebuild:
Fix previous commit.
diff --git a/app-portage/gentoolkit/gentoolkit-0.3.0_rc8-r1.ebuild b/app-portage/gentoolkit/gentoolkit-0.3.0_rc8-r1.ebuild
index 5e8599392731..bdbef0b67bfc 100644
--- a/app-portage/gentoolkit/gentoolkit-0.3.0_rc8-r1.ebuild
+++ b/app-portage/gentoolkit/gentoolkit-0.3.0_rc8-r1.ebuild
@@ -1,6 +1,6 @@
# 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_rc8-r1.ebuild,v 1.1 2010/01/11 10:27:28 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0_rc8-r1.ebuild,v 1.2 2010/02/05 20:48:48 fuzzyray Exp $
EAPI="2"
SUPPORT_PYTHON_ABIS="1"
@@ -27,6 +27,11 @@ RDEPEND="${DEPEND}
app-misc/realpath"
RESTRICT_PYTHON_ABIS="3.*"
+distutils_src_compile_pre_hook() {
+ echo VERSION="$PVR" "$(PYTHON)" setup.py set_version
+ VERSION="$PVR" "$(PYTHON)" setup.py set_version
+}
+
src_install() {
distutils_src_install