diff options
author | Ian Delaney <idella4@gentoo.org> | 2013-05-29 19:50:43 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2013-05-29 19:50:43 +0000 |
commit | 573793b6fc4e8131459846c2d6889f3cd9c63827 (patch) | |
tree | 9f69949913455e61eff39ab20392946b2b060af1 | |
parent | Fix rspec dependency: bug 471416. (diff) | |
download | historical-573793b6fc4e8131459846c2d6889f3cd9c63827.tar.gz historical-573793b6fc4e8131459846c2d6889f3cd9c63827.tar.bz2 historical-573793b6fc4e8131459846c2d6889f3cd9c63827.zip |
add pypy support, test phase
Package-Manager: portage-2.1.11.63/cvs/Linux x86_64
Manifest-Sign-Key: 0xB8072B0D
-rw-r--r-- | dev-python/doit/ChangeLog | 5 | ||||
-rw-r--r-- | dev-python/doit/Manifest | 14 | ||||
-rw-r--r-- | dev-python/doit/doit-0.20.0.ebuild | 33 |
3 files changed, 45 insertions, 7 deletions
diff --git a/dev-python/doit/ChangeLog b/dev-python/doit/ChangeLog index dfedd957c7fb..c8a6c7e2f4e3 100644 --- a/dev-python/doit/ChangeLog +++ b/dev-python/doit/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-python/doit # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/doit/ChangeLog,v 1.3 2013/02/02 09:17:36 yngwin Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/doit/ChangeLog,v 1.4 2013/05/29 19:50:14 idella4 Exp $ + + 29 May 2013; Ian Delaney <idella4@gentoo.org> doit-0.20.0.ebuild: + add pypy support, test phase *doit-0.20.0 (02 Feb 2013) diff --git a/dev-python/doit/Manifest b/dev-python/doit/Manifest index 3cba2a73b856..02b20e8b5f4f 100644 --- a/dev-python/doit/Manifest +++ b/dev-python/doit/Manifest @@ -1,7 +1,17 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX doit-0.16.1-setup.py-encoding.patch 486 SHA256 f325efab0cb35db71606d29c9955f256e00c80aa4ac8355a6c69596193d5723a SHA512 3be963571a9f26acb8b99a6b8e086ef7ca03587c39615a266d0e4674a1c0653c205265c53aafaa7bd2ea26d86913e27da1697b80b3a901ba05cc6c2c9402973d WHIRLPOOL 52e5eece0a13ff96ecc030ce83a16359d671281045579a60d0fedcad828683dc572fae6a6de3bab16d06fdc63110a5f99267bd6e19d758e62146758a06e4c47d DIST doit-0.16.1.tar.gz 279086 SHA256 02a36ae4efa7dd5ae3bff0799daa302653431b49c2b5a6b03ef12eae118aa704 SHA512 8e4ef8d8aa3f1b4f78f61d1feb769102bb816de1d178582f907e3ea894a5302e2f19314f159de5cd7180c590c15236260fa2ecb6cbeef1f5148b7901e14ef3d6 WHIRLPOOL 9b9a69efa2da7a4bd7dd67cc201f26fbbb4a5663590d5024e98e43c95f453d34c3d42422170509ac0f255c897b594893ad6748fcb02e6641affcc9d01178d2ca DIST doit-0.20.0.tar.gz 318963 SHA256 78c5e9c4db69871e2cacadad3c73a051f6833d2baf0f13c40676b2ccea061166 SHA512 e75c83888a5ea0c3cea3b6dae4c266306c2f607e465d1f94953384bacedaeaa1b7067dc1449d08d08c9969b5d4376187342c2fc8f729be3bc90a8b16a8d8bc8e WHIRLPOOL 6b8995ea02b39d3aca24834958dc88c67d8c5c1e367153a0f27e45b97f273c65ba8f63d713d5754dec266dfeac7a4d8726d91f414a574a85a19c5e836f38d617 EBUILD doit-0.16.1.ebuild 818 SHA256 d78b4f8962ea6c5b34ec7cda291e8860f23c2939eeb159f1a899841fb8cd6444 SHA512 c0126452b81e5ebfa8b8b25029ed6a91cf16c2b72fd62bfe7bd1c726731b6b5969bf521b1ac5b6c9c044f66491d90bfea648ae534f8ee91ae188dc07024eae6c WHIRLPOOL 8c13269717fdbf436f2e0c75e17221c8d9bc1a6d080d38c2659c2f00508683c33f373204bda90c0dad7dff8e9d52bb84111470a1a0529f466a0de4c63631af01 -EBUILD doit-0.20.0.ebuild 708 SHA256 932f4bc27c278af7b18ea18f64fd5e94cfd4675de093833079383f5e724c65af SHA512 62de9fb3140ffdc0ad8f38feb654ab46db89befab8b730d72185a8729ccc29c0edc1508d15aed8e3b22f9750d51b29639d400278d7167e99e0ee203b9a311cfb WHIRLPOOL 1f5d31d2a293f3a3449bb5a88ab10dd26f3b704550f9e19689188741187aef210ee07816e1e0dc5de842687bc9ec6c93990d7679a746e1288bf4c605d5ae081d -MISC ChangeLog 693 SHA256 2ba5c9da36776da9b9049279ac706f8193ee0be1f32ae27ecd658589609fd5cf SHA512 b15b5198174f3f826f864a41db6da95208f8c5775191c08479a1625a4a19af02cbf885367449e6d52d58a17806a0d90d175cb391b83e4ab9592d62bf74a14421 WHIRLPOOL 78e895331792708cd06c3077ea0eaa438e8aee66c48ea85f46ddd97b9deb32e6d7795b48ff97f158279236d4af921ff154d2e8c72b47d7bb3a7bb438b5928044 +EBUILD doit-0.20.0.ebuild 1375 SHA256 ff646a938932357b373ad535878be1c956b9c31d8791518b015d55b702fb505a SHA512 12a7351078ac6b084a98815c665151b707d023b7b932d6be7db2e18bfeaeecd398517f0faff6d2d9c74c9af3037126f51d73c46c3a5db74981fb31720ecdc881 WHIRLPOOL 4bf60a72d049ffaff5adf9440cb70e84774870ac0a82abf4260e1d46dc27d34eb0b1fc4b8b2a37845ddb8856bf63333eb3f438eed89367d7cd9a8d2074ee8a31 +MISC ChangeLog 794 SHA256 1f9a2217e0ed6c999616a71540057cdfd5b84620d0719e3c3f13b6714c31a79a SHA512 ae1e7545563d123a26210cb259be6c78c22e62bbf708dcb9fea204437324ded63da15a1496e8c664b804796edd2eae7dcaff8e464eb746a72ea3ee2071e03253 WHIRLPOOL 68f83fb03942d47ddbc2f2fb4601f4e0cda9d35beb824688cad77789e7c220a11ad50de315a914f07d65f90b6c422dc846631ec519a1c75490527951d3bffcc1 MISC metadata.xml 259 SHA256 3d6cf397ee3ffe54da22c27a1cc87794c6e81e4939bb95facd7a0cfb344d6c8f SHA512 8267c7aecd866ea7616a48a4ea006a8eac7b134c02ae996a7e9f690f465ac3a330984fb97f55bcc72f792faaaee4dff2178c7bd38fb8fb3796329c508899d900 WHIRLPOOL 1701b88f3ed993eaa67a14d457a7587c1a3dff0e750e2e897a0961c9618f09c5b49ed9e418b78e885bccdf1c83b03e2706133c7d624ff189e32b9834769217cf +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iEUEAREIAAYFAlGmXAUACgkQso7CE7gHKw1fxQCgntPO3h5DtU6hN7q/H1e6JeFY +sCwAl1Wb9M172gvcSaVuHjRk3xuKNWs= +=QxM9 +-----END PGP SIGNATURE----- diff --git a/dev-python/doit/doit-0.20.0.ebuild b/dev-python/doit/doit-0.20.0.ebuild index c358fe6e0d10..2891ce766166 100644 --- a/dev-python/doit/doit-0.20.0.ebuild +++ b/dev-python/doit/doit-0.20.0.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/doit/doit-0.20.0.ebuild,v 1.1 2013/02/02 09:17:36 yngwin Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/doit/doit-0.20.0.ebuild,v 1.2 2013/05/29 19:50:14 idella4 Exp $ EAPI=5 -PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 ) inherit eutils distutils-r1 DESCRIPTION="Automation tool" @@ -13,10 +13,35 @@ SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -IUSE="" +IUSE="test" DEPEND="" -RDEPEND="dev-python/pyinotify" +RDEPEND="dev-python/pyinotify[${PYTHON_USEDEP}]" + +python_prepare_all() { + use test && DISTUTILS_IN_SOURCE_BUILD=1 + sed -e 's:from .conf:from conf:' -i tests/test_dependency.py || die + distutils-r1_python_prepare_all +} + +python_test() { + local test + # https://bitbucket.org/schettino72/doit/issue/48/test-suite-has-me-perplexed-doit-0200 + # "${PYTHON}" runtests.py # How it's supposed to work + # How it works + if [[ "${EPYTHON}" == python3* ]]; then + einfo "tests don't work for py3" + else + for test in tests/test_*.py + do + if ! "${PYTHON}" $test; then + die "Test $test failed under ${EPYTHON}" + else + einfo "Test ${test#tests/} passed under ${EPYTHON}" + fi + done + fi +} src_install() { distutils-r1_src_install |