summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Harring <ferringb@gentoo.org>2011-08-06 08:51:38 +0000
committerBrian Harring <ferringb@gentoo.org>2011-08-06 08:51:38 +0000
commitdbcffade1987d9968a330c7dd7fa18828c56f3ea (patch)
tree0cb1141842e4caaa50fc8cb5a0373f730d0f50ad /dev-python/snakeoil
parentUpdate branding to version 0.3. Fixes bug #377899. Sync the live and release ... (diff)
downloadgentoo-2-dbcffade1987d9968a330c7dd7fa18828c56f3ea.tar.gz
gentoo-2-dbcffade1987d9968a330c7dd7fa18828c56f3ea.tar.bz2
gentoo-2-dbcffade1987d9968a330c7dd7fa18828c56f3ea.zip
update homepage URLs, add -9999 version for bleeding edge users
(Portage version: 2.1.10.6/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/snakeoil')
-rw-r--r--dev-python/snakeoil/ChangeLog9
-rw-r--r--dev-python/snakeoil/snakeoil-0.4.1.ebuild8
-rw-r--r--dev-python/snakeoil/snakeoil-0.4.ebuild6
-rw-r--r--dev-python/snakeoil/snakeoil-9999.ebuild52
4 files changed, 67 insertions, 8 deletions
diff --git a/dev-python/snakeoil/ChangeLog b/dev-python/snakeoil/ChangeLog
index ad00be115f25..0c96118506fe 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.41 2011/06/22 22:00:07 ferringb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/snakeoil/ChangeLog,v 1.42 2011/08/06 08:51:38 ferringb Exp $
+
+*snakeoil-9999 (06 Aug 2011)
+
+ 06 Aug 2011; Brian Harring <ferringb@gentoo.org> snakeoil-0.4.ebuild,
+ snakeoil-0.4.1.ebuild, +snakeoil-9999.ebuild:
+ Update urls to snakeoils new home, add -9999 build for people running
+ bleeding edge.
*snakeoil-0.4.1 (22 Jun 2011)
diff --git a/dev-python/snakeoil/snakeoil-0.4.1.ebuild b/dev-python/snakeoil/snakeoil-0.4.1.ebuild
index f35ae7013fb5..74bcf3445a7d 100644
--- a/dev-python/snakeoil/snakeoil-0.4.1.ebuild
+++ b/dev-python/snakeoil/snakeoil-0.4.1.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.1 2011/06/22 22:00:07 ferringb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/snakeoil/snakeoil-0.4.1.ebuild,v 1.2 2011/08/06 08:51:38 ferringb Exp $
EAPI="2"
SUPPORT_PYTHON_ABIS="1"
@@ -8,10 +8,10 @@ SUPPORT_PYTHON_ABIS="1"
inherit distutils
DESCRIPTION="Miscellaneous python utility code."
-HOMEPAGE="http://www.pkgcore.org/"
-SRC_URI="http://www.pkgcore.org/releases/${PN}/${P}.tar.bz2"
+HOMEPAGE="http://snakeoil.googlecode.com/"
+SRC_URI="http://snakeoil.googlecode.com/files/${P}.tar.bz2"
-LICENSE="GPL-2"
+LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE=""
diff --git a/dev-python/snakeoil/snakeoil-0.4.ebuild b/dev-python/snakeoil/snakeoil-0.4.ebuild
index b8304e17030c..78ee673b431d 100644
--- a/dev-python/snakeoil/snakeoil-0.4.ebuild
+++ b/dev-python/snakeoil/snakeoil-0.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.ebuild,v 1.2 2011/04/27 16:40:53 ferringb Exp $
+# $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"
@@ -8,8 +8,8 @@ SUPPORT_PYTHON_ABIS="1"
inherit eutils distutils
DESCRIPTION="Miscellaneous python utility code."
-HOMEPAGE="http://www.pkgcore.org/"
-SRC_URI="http://www.pkgcore.org/releases/${PN}/${P}.tar.bz2"
+HOMEPAGE="http://snakeoil.googlecode.com/"
+SRC_URI="http://snakeoil.googlecode.com/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
diff --git a/dev-python/snakeoil/snakeoil-9999.ebuild b/dev-python/snakeoil/snakeoil-9999.ebuild
new file mode 100644
index 000000000000..ccde9c356182
--- /dev/null
+++ b/dev-python/snakeoil/snakeoil-9999.ebuild
@@ -0,0 +1,52 @@
+# 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-9999.ebuild,v 1.1 2011/08/06 08:51:38 ferringb Exp $
+
+EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
+
+EGIT_REPO_URI="http://googlecode.com/p/snakeoil"
+inherit distutils git-2
+
+DESCRIPTION="Miscellaneous python utility code."
+HOMEPAGE="http://snakeoil.googlecode.com/"
+SRC_URI=""
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS=""
+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
+}