diff options
-rw-r--r-- | dev-python/astroid/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/astroid/Manifest | 9 | ||||
-rw-r--r-- | dev-python/astroid/astroid-1.0.1-r1.ebuild | 54 |
3 files changed, 66 insertions, 5 deletions
diff --git a/dev-python/astroid/ChangeLog b/dev-python/astroid/ChangeLog index d99e6e96f428..67e1809f064f 100644 --- a/dev-python/astroid/ChangeLog +++ b/dev-python/astroid/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/astroid # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/astroid/ChangeLog,v 1.1 2014/02/12 08:03:26 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/astroid/ChangeLog,v 1.2 2014/03/22 06:40:50 idella4 Exp $ + +*astroid-1.0.1-r1 (22 Mar 2014) + + 22 Mar 2014; Ian Delaney <idella4@gentoo.org> +astroid-1.0.1-r1.ebuild: + revbump; add optional dep for testsuite, update ebuild according re python + impl deps fixes Bug #501550 by an eroen *astroid-1.0.1 (12 Feb 2014) diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest index 2f4c08d45b23..68bbb79237cb 100644 --- a/dev-python/astroid/Manifest +++ b/dev-python/astroid/Manifest @@ -2,13 +2,14 @@ Hash: SHA256 DIST astroid-1.0.1.tar.gz 112597 SHA256 46c2b57ab1eedd1b0931c075c21644445dd589a92481e938cf66495e0f205fda SHA512 277353f30b8f3ce509f65f3f4b5f6da70bd96483ef22cb03beebe141c9eece1baa2989b40b545ed71952619814ba049796b13727d97531d2630ebfcbf1cb6cff WHIRLPOOL 85c83ab850bc0d9d692995127e8d51803aca824425e2afe204479437b618b2821ed3ede3d54af043c9a164d0e419b54647910b1e5785c0fcdeadb1c56fa7c818 +EBUILD astroid-1.0.1-r1.ebuild 1847 SHA256 f507196df9157a132ae569da393f9d2e05be3c47de993a9358f648084e004095 SHA512 cc69dc45252d5165618c7dbd11b3df8240a71cfd0b22ab0da4a9acce1f95822ae69c76226615e49c992b6408f5cc44e61ac72c0c5ad2d9187cebf24cddc5a67e WHIRLPOOL 707c5b70d62e89b7e2e70b3f1ec31b97119eb1ef75ad1eb16735fe06d60e939b5d69e3b2b8e27459671c31d55615297bc8596a4c4d3ebb9bb439202f5ecafa73 EBUILD astroid-1.0.1.ebuild 1611 SHA256 c54c28d2e01906ac16fc154cc28113727a93142b852c79f4af79b879f7d1bb34 SHA512 11c7e7eaecabbac5b8cda15b1631b1ded0bc670b0368ee23de1836aa12ea6e6c1fd53b4b505e67a9f872464ea2c306515a35287ae6a921baa27824c0ff4cff5a WHIRLPOOL 4f091437bb1a966ab46e11d29493fc75924dddacd3094cfd6384faee08bf450505c9b643979a2ac6acc70ce0db26c63ef7aeb68e87e9a7e3530443c2c053c395 -MISC ChangeLog 488 SHA256 e2673843ac1054518b1584e585aa44fa83f9a6d2ef80504515da87dceba6f218 SHA512 672e42a53927bc99da7e38c81c6aba8e842ec318a1929c531aa0e5d540e21be922b58a0779a10bca24a1552fca31703d241b0883a623aece3d6ec0ea01fef76c WHIRLPOOL 96a7d4de78a30595d76c18b4a4db8c9015438b6e6a52ad23d064a28f239ea69a68afdc0a321205b7dc4cce188d12d471ae3066e1582ef8ba88f29c7a23985a26 +MISC ChangeLog 715 SHA256 b16adcc6ac08c14a98c702b71ea4ad0f65b5b5237b000f4eadb5a519cf7ebd7d SHA512 a83014a3c0e7dd0ce1c54845276f7a299fb187a1e9e0484315ebf9f88bf7a04808d60263da41ac9a2eeac8e3c9ecc3235d555500ba662193a6e425e1e3f37b3e WHIRLPOOL d6ec33290d40a4e40f2136de79c49d7295a12b038ce7770fdd822bc4206ece66752ee0edccbf9d102e2464b655912ed6735ca91bb2f3a95f1bfa9cf027c60e11 MISC metadata.xml 903 SHA256 30c79ff0c1bb5877b5f42686900f1b7c7edefd76834a5d96a1e7d3a64c6b91ab SHA512 edb464d771c46b5d66ab0246f7c6e8901863a197d70ae9139a38c61d92aa4a6ce8bbc4db4b236b61b9ecd9c4e428b6be7c78328a0743a5fa8ac4407b794dba14 WHIRLPOOL 6e0d3de24dd81950bcdc82a85f725d65b739f36e66a248b14d8b34894fa66c51ef3e40f57670e81b49baac459c7ca8c4454c2e3cc8f94e5c4f73aa55770f0118 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iEYEAREIAAYFAlL7KWgACgkQso7CE7gHKw3OzwCgn+JZXhhL+7sEsQRGCFzW3mzk -w8gAnixJvTXun42D8HxGR6dMJa6IBWPV -=J8pT +iEYEAREIAAYFAlMtLs4ACgkQso7CE7gHKw0F4gCg1qavJt5PlkbtOeBhmihyBaAL +RmQAnjngcTFEN7PT5RW7fxFdvrNqmZkh +=URXN -----END PGP SIGNATURE----- diff --git a/dev-python/astroid/astroid-1.0.1-r1.ebuild b/dev-python/astroid/astroid-1.0.1-r1.ebuild new file mode 100644 index 000000000000..67e8bc189877 --- /dev/null +++ b/dev-python/astroid/astroid-1.0.1-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/astroid/astroid-1.0.1-r1.ebuild,v 1.1 2014/03/22 06:40:50 idella4 Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 ) + +inherit distutils-r1 + +DESCRIPTION="Abstract Syntax Tree for logilab packages" +HOMEPAGE="http://bitbucket.org/logilab/astroid http://pypi.python.org/pypi/astroid" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos ~x86-macos" +IUSE="test" + +# Version specified in __pkginfo__.py. +# pylint supports only Cpython +PY23_USEDEP=$(python_gen_usedep 'python2*' 'python3*') +RDEPEND=">=dev-python/logilab-common-0.60.0[${PYTHON_USEDEP}]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( ${RDEPEND} + >=dev-python/pylint-1.1.0[${PY23_USEDEP}] )" +# Required for tests +DISTUTILS_IN_SOURCE_BUILD=1 + +PY23_REQUSE="|| ( $(python_gen_useflags python2* python3*) )" +REQUIRED_USE="test? ( ${PY23_REQUSE} )" + +python_prepare_all() { + # https://bitbucket.org/logilab/astroid/issue/8/ + sed -e "s/test_numpy_crash/_&/" -i test/unittest_regrtest.py + + distutils-r1_python_prepare_all +} + +python_test() { + # https://bitbucket.org/logilab/astroid/issue/1/test-suite-fails-in-0243-under-py32-pypy + # https://bitbucket.org/logilab/astroid/issue/16/1-test-fail-test_socket_build-under-pypy + # test_hashlib fails only in py3.2 + python setup.py build + + pushd build/lib > /dev/null + if [[ "${EPYTHON}" == pypy* ]]; then + sed -e 's:test_socket_build:_&:' -i ${PN}/test/unittest_builder.py || die + elif [[ "${EPYTHON}" == 'python3.2' ]]; then + sed -e 's:test_hashlib:_&:' -i ${PN}/test/unittest_brain.py || die + fi + PYTHONPATH=. pytest || die "Tests fail with ${EPYTHON}" + popd > /dev/null +} |