Gentoo Archives: gentoo-commits

From: "Markus Ullmann (jokey)" <jokey@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/snakeoil: ChangeLog snakeoil-0.1.ebuild
Date: Sat, 03 Nov 2007 16:01:37
Message-Id: E1IoLRD-00073c-3X@stork.gentoo.org
jokey       07/11/03 16:01:31

  Modified:             ChangeLog
  Added:                snakeoil-0.1.ebuild
  Log:
  Version bump, only fixes
  (Portage version: 2.1.3.16)

Revision  Changes    Path
1.8                  dev-python/snakeoil/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/snakeoil/ChangeLog?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/snakeoil/ChangeLog?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/snakeoil/ChangeLog?r1=1.7&r2=1.8

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/snakeoil/ChangeLog,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ChangeLog	16 Jun 2007 11:17:55 -0000	1.7
+++ ChangeLog	3 Nov 2007 16:01:30 -0000	1.8
@@ -1,6 +1,11 @@
 # ChangeLog for dev-python/snakeoil
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/snakeoil/ChangeLog,v 1.7 2007/06/16 11:17:55 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/snakeoil/ChangeLog,v 1.8 2007/11/03 16:01:30 jokey Exp $
+
+*snakeoil-0.1 (03 Nov 2007)
+
+  03 Nov 2007; Markus Ullmann <jokey@g.o> +snakeoil-0.1.ebuild:
+  Version bump, only fixes
 
   16 Jun 2007; Tobias Scherbaum <dertobi123@g.o>
   snakeoil-0.1_rc2.ebuild:



1.1                  dev-python/snakeoil/snakeoil-0.1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/snakeoil/snakeoil-0.1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/snakeoil/snakeoil-0.1.ebuild?rev=1.1&content-type=text/plain

Index: snakeoil-0.1.ebuild
===================================================================
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/snakeoil/snakeoil-0.1.ebuild,v 1.1 2007/11/03 16:01:30 jokey Exp $

NEED_PYTHON=2.4

inherit distutils

DESCRIPTION="Miscellaneous python utility code."
HOMEPAGE="http://www.pkgcore.org/"
SRC_URI="http://www.pkgcore.org/releases/${PN}/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""

DOCS="AUTHORS NEWS"

# Uses an ugly hack to install for all versions of python on the
# system. This should be supported through the eclass at some point.
# pkgcore needs it now to support upgrading to a different python slot.

src_compile() {
	local opython=${python}
	for python in /usr/bin/python2.[4-9]; do
		distutils_src_compile
	done
	python=${opython}
}

src_test() {
	local opython=${python} tempdir
	for python in /usr/bin/python2.[4-9]; do
		tempdir="${T}/tests/$(basename ${python})"
		mkdir -p "${tempdir}" || die "tempdir creation failed"
		cp -r "${S}" "${tempdir}" || die "test copy failed"
		cd "${tempdir}/${P}"
		"${python}" setup.py test || die "testing returned non zero"
	done
	python=${opython}
	rm -rf "${T}/tests"
}

src_install() {
	local opython=${python}
	for python in /usr/bin/python2.[4-9]; do
		distutils_src_install
	done
}



-- 
gentoo-commits@g.o mailing list