diff options
author | Brian Harring <ferringb@gentoo.org> | 2011-10-27 07:40:26 +0000 |
---|---|---|
committer | Brian Harring <ferringb@gentoo.org> | 2011-10-27 07:40:26 +0000 |
commit | a4e6962ae75b1b764011ca8a39ec24f4434861b1 (patch) | |
tree | df4c8f3e18a4f076480ca7bb188bcb31791f9111 /dev-python | |
parent | unify/update EBUILD_PHASE checks, and simplify egethome/egetshell/is-login-di... (diff) | |
download | gentoo-2-a4e6962ae75b1b764011ca8a39ec24f4434861b1.tar.gz gentoo-2-a4e6962ae75b1b764011ca8a39ec24f4434861b1.tar.bz2 gentoo-2-a4e6962ae75b1b764011ca8a39ec24f4434861b1.zip |
add snakeoil 0.4.4, punt old versions
(Portage version: 2.1.10.19/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/snakeoil/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/snakeoil/files/snakeoil-0.4-lib2to3.patch | 26 | ||||
-rw-r--r-- | dev-python/snakeoil/snakeoil-0.4.2-r1.ebuild | 56 | ||||
-rw-r--r-- | dev-python/snakeoil/snakeoil-0.4.4.ebuild (renamed from dev-python/snakeoil/snakeoil-0.4.1.ebuild) | 6 | ||||
-rw-r--r-- | dev-python/snakeoil/snakeoil-0.4.ebuild | 55 |
5 files changed, 13 insertions, 139 deletions
diff --git a/dev-python/snakeoil/ChangeLog b/dev-python/snakeoil/ChangeLog index e99fbc7feccf..0590ea1bc569 100644 --- a/dev-python/snakeoil/ChangeLog +++ b/dev-python/snakeoil/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-python/snakeoil # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/snakeoil/ChangeLog,v 1.46 2011/09/28 03:54:22 ferringb Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/snakeoil/ChangeLog,v 1.47 2011/10/27 07:40:26 ferringb Exp $ + +*snakeoil-0.4.4 (27 Oct 2011) + + 27 Oct 2011; Brian Harring <ferringb@gentoo.org> -snakeoil-0.4.ebuild, + -snakeoil-0.4.1.ebuild, +snakeoil-0.4.4.ebuild, + -files/snakeoil-0.4-lib2to3.patch, -snakeoil-0.4.2-r1.ebuild: + remove old versions, bump to 0.4.4 *snakeoil-0.4.3 (28 Sep 2011) diff --git a/dev-python/snakeoil/files/snakeoil-0.4-lib2to3.patch b/dev-python/snakeoil/files/snakeoil-0.4-lib2to3.patch deleted file mode 100644 index 5bd01385416f..000000000000 --- a/dev-python/snakeoil/files/snakeoil-0.4-lib2to3.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 018c3d371ff511525666d62fb71e589e193ace55 Mon Sep 17 00:00:00 2001 -From: Brian Harring <ferringb@gmail.com> -Date: Wed, 27 Apr 2011 09:21:06 -0700 -Subject: [PATCH] handle lack of multiprocessing and the affect it has on lib2to3 apis - ---- - snakeoil/distutils_extensions.py | 3 ++- - 1 files changed, 2 insertions(+), 1 deletions(-) - -diff --git a/snakeoil/distutils_extensions.py b/snakeoil/distutils_extensions.py -index e4c0672..2a758a4 100644 ---- a/snakeoil/distutils_extensions.py -+++ b/snakeoil/distutils_extensions.py -@@ -243,7 +243,8 @@ class build_py(dst_build_py.build_py): - f = refactor_kls(fixer_names, options=options).refactor - - def f2(*args, **kwds): -- kwds['num_processes'] = proc_count -+ if caching_2to3.multiprocessing_available: -+ kwds['num_processes'] = proc_count - return f(*args, **kwds) - - return f2 --- -1.7.4.1 - diff --git a/dev-python/snakeoil/snakeoil-0.4.2-r1.ebuild b/dev-python/snakeoil/snakeoil-0.4.2-r1.ebuild deleted file mode 100644 index 22bf9826fa9e..000000000000 --- a/dev-python/snakeoil/snakeoil-0.4.2-r1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/snakeoil/snakeoil-0.4.2-r1.ebuild,v 1.1 2011/09/03 08:12:05 ferringb Exp $ - -EAPI="2" -SUPPORT_PYTHON_ABIS="1" - -inherit distutils - -DESCRIPTION="Miscellaneous python utility code." -HOMEPAGE="http://snakeoil.googlecode.com/" -SRC_URI="http://snakeoil.googlecode.com/files/${P}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="" - -DEPEND="!<sys-apps/pkgcore-0.4.7.8" -RDEPEND=${DEPEND} - -DOCS="AUTHORS NEWS" - -pkg_setup() { - # disable snakeoil 2to3 caching - unset PY2TO3_CACHEDIR - python_pkg_setup - - # A hack to install for all versions of Python in the system. - # pkgcore needs it to support upgrading to a different Python slot. - PYTHON_ABIS="" - local python_interpreter - for python_interpreter in /usr/bin/python{2.[4-9],3.[1-9]}; do - if [[ -x "${python_interpreter}" ]]; then - PYTHON_ABIS+=" ${python_interpreter#/usr/bin/python}" - fi - done - export PYTHON_ABIS="${PYTHON_ABIS# }" -} - -src_test() { - testing() { - local tempdir - tempdir="${T}/tests/python-${PYTHON_ABI}" - mkdir -p "${tempdir}" || die "tempdir creation failed" - cp -r "${S}" "${tempdir}" || die "test copy failed" - cd "${tempdir}/${P}" - PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib*)" "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" test - } - python_execute_function testing -} - -src_install() { - distutils_src_install - rm -f "${D}"/usr/lib*/python2.*/site-packages/snakeoil/compatibility_py3k.py -} diff --git a/dev-python/snakeoil/snakeoil-0.4.1.ebuild b/dev-python/snakeoil/snakeoil-0.4.4.ebuild index 74bcf3445a7d..b6b312d27f6a 100644 --- a/dev-python/snakeoil/snakeoil-0.4.1.ebuild +++ b/dev-python/snakeoil/snakeoil-0.4.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/snakeoil/snakeoil-0.4.1.ebuild,v 1.2 2011/08/06 08:51:38 ferringb Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/snakeoil/snakeoil-0.4.4.ebuild,v 1.1 2011/10/27 07:40:26 ferringb Exp $ EAPI="2" SUPPORT_PYTHON_ABIS="1" @@ -49,3 +49,7 @@ src_test() { } python_execute_function testing } + +src_install() { + distutils_src_install +} diff --git a/dev-python/snakeoil/snakeoil-0.4.ebuild b/dev-python/snakeoil/snakeoil-0.4.ebuild deleted file mode 100644 index 78ee673b431d..000000000000 --- a/dev-python/snakeoil/snakeoil-0.4.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/snakeoil/snakeoil-0.4.ebuild,v 1.3 2011/08/06 08:51:38 ferringb Exp $ - -EAPI="2" -SUPPORT_PYTHON_ABIS="1" - -inherit eutils distutils - -DESCRIPTION="Miscellaneous python utility code." -HOMEPAGE="http://snakeoil.googlecode.com/" -SRC_URI="http://snakeoil.googlecode.com/files/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="" - -DEPEND="!<sys-apps/pkgcore-0.4.7.8" -RDEPEND=${DEPEND} - -DOCS="AUTHORS NEWS" - -src_prepare() { - epatch "${FILESDIR}/snakeoil-0.4-lib2to3.patch" -} - -pkg_setup() { - # disable snakeoil 2to3 caching - unset PY2TO3_CACHEDIR - python_pkg_setup - - # A hack to install for all versions of Python in the system. - # pkgcore needs it to support upgrading to a different Python slot. - PYTHON_ABIS="" - local python_interpreter - for python_interpreter in /usr/bin/python{2.[4-9],3.[1-9]}; do - if [[ -x "${python_interpreter}" ]]; then - PYTHON_ABIS+=" ${python_interpreter#/usr/bin/python}" - fi - done - export PYTHON_ABIS="${PYTHON_ABIS# }" -} - -src_test() { - testing() { - local tempdir - tempdir="${T}/tests/python-${PYTHON_ABI}" - mkdir -p "${tempdir}" || die "tempdir creation failed" - cp -r "${S}" "${tempdir}" || die "test copy failed" - cd "${tempdir}/${P}" - PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib*)" "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" test - } - python_execute_function testing -} |