diff options
author | Tim Harder <radhermit@gentoo.org> | 2013-08-27 22:19:57 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2013-08-27 22:19:57 +0000 |
commit | f321f8268521d755330433ef7cf4e169b7946b77 (patch) | |
tree | b77007c07767925250d19b76a6e3268f762429c8 /dev-python/snakeoil | |
parent | remove geoclue[skyhook] mask since it is masked in all bsd profiles (diff) | |
download | historical-f321f8268521d755330433ef7cf4e169b7946b77.tar.gz historical-f321f8268521d755330433ef7cf4e169b7946b77.tar.bz2 historical-f321f8268521d755330433ef7cf4e169b7946b77.zip |
Convert to distutils-r1 (patch by mgorny).
Package-Manager: portage-2.2.1/cvs/Linux x86_64
Manifest-Sign-Key: 0x4AB3E85B4F064CA3
Diffstat (limited to 'dev-python/snakeoil')
-rw-r--r-- | dev-python/snakeoil/ChangeLog | 5 | ||||
-rw-r--r-- | dev-python/snakeoil/Manifest | 20 | ||||
-rw-r--r-- | dev-python/snakeoil/snakeoil-9999.ebuild | 43 |
3 files changed, 23 insertions, 45 deletions
diff --git a/dev-python/snakeoil/ChangeLog b/dev-python/snakeoil/ChangeLog index f21ee2f0d3f6..a0f847518bf8 100644 --- a/dev-python/snakeoil/ChangeLog +++ b/dev-python/snakeoil/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-python/snakeoil # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/snakeoil/ChangeLog,v 1.59 2013/06/17 18:45:15 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/snakeoil/ChangeLog,v 1.60 2013/08/27 22:19:53 radhermit Exp $ + + 27 Aug 2013; Tim Harder <radhermit@gentoo.org> snakeoil-9999.ebuild: + Convert to distutils-r1 (patch by mgorny). 17 Jun 2013; Tim Harder <radhermit@gentoo.org> metadata.xml: Add myself as a maintainer. diff --git a/dev-python/snakeoil/Manifest b/dev-python/snakeoil/Manifest index be67739a802d..737b91c094e1 100644 --- a/dev-python/snakeoil/Manifest +++ b/dev-python/snakeoil/Manifest @@ -3,17 +3,17 @@ Hash: SHA256 DIST snakeoil-0.5.2.tar.bz2 151814 SHA256 ede87f5dcfc29c6b5ec0ead3e07533b0ed1b3779c79e5d37e542d193a947b5e9 SHA512 c071af6a17912ca64edb8e760c1d5f31a47a206054ff3120562785764c18d9d7045f13447db3c7ba8b33f053941f8dd8d2640733e4e6f85afbac020a65632121 WHIRLPOOL 8d03669e6dc4a2422f87a71e20ec81343a3df0f3a399f712ae6b5a0599ff3caf34986eb7db1c0d2d42818e74710b5aa2f31447db89a8f5e9ed6b04548dd73fb1 EBUILD snakeoil-0.5.2.ebuild 1487 SHA256 c3a4412cef1e09831fdd59cb69b7481d8d13195103f86c21ec828da1ad1f5086 SHA512 7fde923d2afdb6446ce6b3f0cca4364aa82e94654ff8aec25e680c8bd2c1dc5640db317d9e361bf6cad0320fac1d7509aa4c3d3657d5bb07a5233bdfd1717cc8 WHIRLPOOL 9cd74cd4dfe2c0446dbcf46a5d7fef84162253bda5a5938e29c07136203189542112c7516c8d1e28efa63909cddcc14fa5a43598fd524c2c3e9e9d7fe8400c86 -EBUILD snakeoil-9999.ebuild 1438 SHA256 6906d4b5dc81c06c4509854934cdf44a1cda54e86837fe03f1e4df5b704b0835 SHA512 4650e89999f46ddc2312ae2e78e23b6803745aa59ff10bb158713900a597fb0fd1686d49d89771bc646c8c53dc68c932d53a525fd40080cbdce1d2a5a6756ca4 WHIRLPOOL a07c9029ba784a1ef98314677003f813a3fabec8fde998bba76cc15962f56d694de246f4b8c423533e016ce109403c6ba0c8d648f3a7373395c434f962e97581 -MISC ChangeLog 9668 SHA256 5de24db6f963246869578bc6fc118c9e71af0b434d125947cfbf51814b12f03c SHA512 d6b5ea9188868c784d29de22c2812861e67c1ca232997f5b5255bf315d168d534534a51d05fb868e8e747e4f2b640dc17f2d6a7b87027718274b781a9ee84f2d WHIRLPOOL 462fd1d9bfe19046d43e2522289d4a8e11219bb623f48b582b7d4e077030ab93c2a4f2b4adbc1a97df8178ffbcb598296aac951ab5175e574958949d7e238de4 +EBUILD snakeoil-9999.ebuild 665 SHA256 a4a2bd6901e812bcc5b2a0eca1b9e3b1883ddd7b8b9c147fcecd7856a3229f39 SHA512 7f2cbe8d3b773237fdf4a4949a1380f2783707043a6a1543535357e1a61d3535a4d283312372c8159c0c6bd6f8e16b2164f59acf2f1923f98918e7d0bd3e2117 WHIRLPOOL 1a69ee0fdd22b6de01d0708cd38d1fdbfa82035ecfd300f7ef060168ea0004f86413bcf39d760a229fca8c28e0befcc66a8509ac02434786e14ae599fd5de0d8 +MISC ChangeLog 9785 SHA256 c1833171c362333d4d3fd3174721edd6163a78437315fa0137f5949e15824bb0 SHA512 322f40f53206e8fd73d41d63a9d1e85fa353e13241beb03b5e69e41b2d5c3ba4cabc9c7bae51ccb3c3a1931c474290a7f523be9ce89bd18b02b2cdb548eb96f1 WHIRLPOOL f736a498389d0fde658500067638c109ed86ee64d805528398f64887aee60c116b9ac89a86ad8834e3f367c1b3e28c35b430c479f65dff7489090df1a29cd4da MISC metadata.xml 402 SHA256 cd3cf5ec7c3fea385f3babab51cb7188fc818295490cf307492ccf23eb8d7bae SHA512 05269a9377d239ed364f388a7e76f5128841e6a74c82b5643e01c0d465bb389e933a00199cc1e91c497e927226917e1a2f54378233b65bd650448eb9e96a5542 WHIRLPOOL 99f467af29066178c13b6626a1f95e264a2eca4a07fd07b0142b24fdf943271702562c32cceeef2d78f4530602f0e23ab5e6d2801ea4d08f2f95509a108ebfeb -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.20 (GNU/Linux) +Version: GnuPG v2.0.21 (GNU/Linux) -iQEcBAEBCAAGBQJRv1k+AAoJEEqz6FtPBkyjA0YH/3QfghOUu1JBYnwX6WG3H4eH -CJlD1SWYZ4Yz1JQskn8lpJ9UWTw0MJ99QZvCQqfYjz6tFohzRMl9LVcgZuMEnTE8 -IaWoJQcId0GJv8AI8bkNdr42hMskwovczgtin7mIQx7LYjtcwMM1tqCwTd8lTlxm -1Kw6svdBGGI+pyXrBTQgxCPvJZv7xs84vWBXE3FdUl+ttar0LVD+N6tmVkWbYG8m -FCB0R+23R6M62NzIV6HWAJm/M859go6NNpsMip63utOLRsOooG7jO4aZjOqRORq+ -4hSKFTG9zGbTL7qbyF7vo5CrnzjU74wlFbh0uLK/mNaES13c0taiBuFIbPSn6Qg= -=IM6m +iQEcBAEBCAAGBQJSHSYMAAoJEEqz6FtPBkyjBRgH/3ORtMDVfaVcz5IthzoBAL0z +1/GC2WnpJi+TwShuWvZJ32+RQZG59PInesC85t4YdI8UXSTtZxIyBku/tLf1KXZn +aaQndR53QVhq90jaUCGl2ISqu/kioZv5KWHuQ0az3nnReiJXC7FN5eAL7NYqo9yl +dWAGTVo0pDpmQN4rOqMa6GNqAfquy7axkUDnV59idYusgT/GiR+bE4cV5NWx8FOd +jys4dLf4Lup9+nOQVTYxv+JFiVDaD8rUksijnlC2229XJOLQd+24V5CCTyqhdGLq +GfYA+PSjNghsmZxwYchVwo5bZVPkKqdzrsWB5LxhgkWcqcqhEST1FvH5o9h6ois= +=r1eX -----END PGP SIGNATURE----- diff --git a/dev-python/snakeoil/snakeoil-9999.ebuild b/dev-python/snakeoil/snakeoil-9999.ebuild index 1a5e0a8df463..02dd39065179 100644 --- a/dev-python/snakeoil/snakeoil-9999.ebuild +++ b/dev-python/snakeoil/snakeoil-9999.ebuild @@ -1,17 +1,14 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 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.3 2012/10/18 12:18:50 ferringb Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/snakeoil/snakeoil-9999.ebuild,v 1.4 2013/08/27 22:19:53 radhermit Exp $ -EAPI="2" -SUPPORT_PYTHON_ABIS="1" - -PYTHON_ABI="2.5 2.6 2.7 3.1 3.2" -EGIT_REPO_URI="https://code.google.com/p/snakeoil/" -inherit distutils git-2 +EAPI=4 +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) +inherit distutils-r1 git-2 DESCRIPTION="Miscellaneous python utility code." HOMEPAGE="http://snakeoil.googlecode.com/" -SRC_URI="" +EGIT_REPO_URI="https://code.google.com/p/snakeoil/" LICENSE="BSD" SLOT="0" @@ -21,33 +18,11 @@ IUSE="" DEPEND="!<sys-apps/pkgcore-0.4.7.8" RDEPEND=${DEPEND} -DOCS="AUTHORS NEWS" - -pkg_setup() { +python_configure_all() { # 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 +python_test() { + esetup.py test } |