summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Harring <ferringb@gentoo.org>2011-04-25 03:09:17 +0000
committerBrian Harring <ferringb@gentoo.org>2011-04-25 03:09:17 +0000
commit16ed3c062b6d4335f99fc77296d377c5bff3690c (patch)
treed6b46b1370697b638f9b762be18d393ef9b4e38a /dev-python/snakeoil
parentBuild with USE=gtk again. Oops. Respect more CFLAGS (bug #364667). (diff)
downloadhistorical-16ed3c062b6d4335f99fc77296d377c5bff3690c.tar.gz
historical-16ed3c062b6d4335f99fc77296d377c5bff3690c.tar.bz2
historical-16ed3c062b6d4335f99fc77296d377c5bff3690c.zip
add snakeoil 0.4
Package-Manager: portage-2.1.9.44/cvs/Linux x86_64
Diffstat (limited to 'dev-python/snakeoil')
-rw-r--r--dev-python/snakeoil/ChangeLog7
-rw-r--r--dev-python/snakeoil/Manifest10
-rw-r--r--dev-python/snakeoil/snakeoil-0.4.ebuild51
3 files changed, 63 insertions, 5 deletions
diff --git a/dev-python/snakeoil/ChangeLog b/dev-python/snakeoil/ChangeLog
index dfc04e046c74..30f89d3873ab 100644
--- a/dev-python/snakeoil/ChangeLog
+++ b/dev-python/snakeoil/ChangeLog
@@ -1,6 +1,11 @@
# 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.38 2011/03/22 06:07:56 ferringb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/snakeoil/ChangeLog,v 1.39 2011/04/25 03:09:17 ferringb Exp $
+
+*snakeoil-0.4 (25 Apr 2011)
+
+ 25 Apr 2011; Brian Harring <ferringb@gentoo.org> +snakeoil-0.4.ebuild:
+ add snakeoil 0.4
22 Mar 2011; Brian Harring <ferringb@gentoo.org> snakeoil-0.3.6.4.ebuild,
snakeoil-0.3.6.5.ebuild, snakeoil-0.3.7-r1.ebuild:
diff --git a/dev-python/snakeoil/Manifest b/dev-python/snakeoil/Manifest
index fa16b1805956..96f166d5a7eb 100644
--- a/dev-python/snakeoil/Manifest
+++ b/dev-python/snakeoil/Manifest
@@ -6,15 +6,17 @@ AUX snakeoil-issue-7567-term-invocation.patch 2430 RMD160 25b8e7a14b760150383e47
DIST snakeoil-0.3.6.4.tar.bz2 95636 RMD160 7125114464f0755ddfa15d7f8e31c356b2e78394 SHA1 7cd23193a6d802ae41c08fffa6fd0f8582b61a4f SHA256 beb18c3fd9b9f951951cb06919845a84e9603df0fa79288b43f1961bd62fe5bc
DIST snakeoil-0.3.6.5.tar.bz2 95510 RMD160 79d4e895677f6a895d277a4d98446ed4fed01857 SHA1 0e915f1b0a9155909a0d90a4be5edb6ee23e7260 SHA256 57414973ccd8aa1df7650aa5c2e9b1f032901d7730cf36e93e12dafba1d8dce2
DIST snakeoil-0.3.7.tar.bz2 97316 RMD160 9495ac2ac8276bea1cc96998767784f824246a9c SHA1 3602f3ab6cf4b20784ecb1e90f08208888eb6307 SHA256 769e27c5548eccc8b21db5eddae3236d840fbde261f563f9d4381a7068ce0b6c
+DIST snakeoil-0.4.tar.bz2 124691 RMD160 1cc31afad6950fca7fc96ce536d133b377fe0ac5 SHA1 ee76846f224e3461cc380e1d65e99783ce2f0234 SHA256 af484b71f1c358d144d029b6a4f9a4af50cd16f48c0c15e5cca0b7066935fe8f
EBUILD snakeoil-0.3.6.4.ebuild 1458 RMD160 842f124712aac242499cfa709cedbc97b5ecb50f SHA1 585077188a1cb4c686ae743c0a46bb6728398a45 SHA256 cabdd339c8f4c24d2ff77fe35f0198e60c68868259cebe5bf6a46d70e414646b
EBUILD snakeoil-0.3.6.5.ebuild 1458 RMD160 d60bdf09e762d3972ce6d4636723cb652562a1de SHA1 1033e227e5326ccb7114409543c8437dcf748d7a SHA256 3d782fa3bcefd69fe8c53eb9c39d1ba31b147a980b7c806d9d7b3feee265d845
EBUILD snakeoil-0.3.7-r1.ebuild 1605 RMD160 a4119e08e082d43ec149b343d35d8006e9f7001b SHA1 403fc63ae6104b83639f7775ba4fb7f0cfc3fb38 SHA256 f6b5af4f29e004cd0c5b15b08c2e72fc360ab5af69ed2ac166b3ca94af196fac
-MISC ChangeLog 5672 RMD160 9e892c8cbd5ce64b658ba0d27bb9752ca2c7a006 SHA1 9d9aa2ee767427cd70a065b1c4eeb520bb0037fb SHA256 bf603b2d09201913353ed8ca0db91668c281ad03bc5bb03c42bc618c98bb62a2
+EBUILD snakeoil-0.4.ebuild 1454 RMD160 59a16fbf936caf86e46bdd5690c9d1814cda60a9 SHA1 82da4706fa62abd3aae9bd28aa7f652fc5b92334 SHA256 ff332e1fc7765f6026ea2ed72e3794f70777cd683f506c0e773ab4dce598212e
+MISC ChangeLog 5794 RMD160 9e74be53586e23bf0670496b7ed7b5cb2f193d76 SHA1 93a693c5fb4ee22fdfa258ecbf8cc067eb6e1837 SHA256 90a03e3b15fbc7369278733d9fd393b5fe99ac4571431f9fcbf6cdebe75f9cce
MISC metadata.xml 263 RMD160 33d1e2440f53cc20d556d8629ecaebe9205db69b SHA1 527ae61f12d6893ccbd46bb6addec2a868c0c65c SHA256 c93cfff3fe13e72e0bfb83b9e668504226d3edf2c7eb8cd1cfb89fb9a38c0ecd
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
-iEYEARECAAYFAk2IPMUACgkQsiLx3HvNzgeDMACeOIHkyF9KHDzmlYMizq1Upy6J
-ANYAni6jFCHYO7kiYCedc3/2VKQMTSdl
-=f/OZ
+iEYEARECAAYFAk205eUACgkQsiLx3HvNzgenywCgzhZbFgIqzPg9OoEsGfvQkJmc
+9j8AoLxEHekJeKt3w5eiDk4NAyzt3giR
+=Bune
-----END PGP SIGNATURE-----
diff --git a/dev-python/snakeoil/snakeoil-0.4.ebuild b/dev-python/snakeoil/snakeoil-0.4.ebuild
new file mode 100644
index 000000000000..e352da6728fa
--- /dev/null
+++ b/dev-python/snakeoil/snakeoil-0.4.ebuild
@@ -0,0 +1,51 @@
+# 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.1 2011/04/25 03:09:17 ferringb Exp $
+
+EAPI="2"
+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"
+
+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"
+
+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
+}