idella4 14/06/15 11:33:58 Modified: msgpack-0.4.2.ebuild ChangeLog Log: drop py2.6 add pypy supp., update test phase accordingly (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Revision Changes Path 1.2 dev-python/msgpack/msgpack-0.4.2.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/msgpack/msgpack-0.4.2.ebuild?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/msgpack/msgpack-0.4.2.ebuild?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/msgpack/msgpack-0.4.2.ebuild?r1=1.1&r2=1.2 Index: msgpack-0.4.2.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/msgpack/msgpack-0.4.2.ebuild,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- msgpack-0.4.2.ebuild 3 Apr 2014 01:58:38 -0000 1.1 +++ msgpack-0.4.2.ebuild 15 Jun 2014 11:33:57 -0000 1.2 @@ -1,9 +1,9 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/msgpack/msgpack-0.4.2.ebuild,v 1.1 2014/04/03 01:58:38 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/msgpack/msgpack-0.4.2.ebuild,v 1.2 2014/06/15 11:33:57 idella4 Exp $ EAPI=5 -PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} ) +PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} pypy ) inherit distutils-r1 @@ -11,7 +11,7 @@ MY_P="${MY_PN}-${PV}" DESCRIPTION="MessagePack (de)serializer for Python" -HOMEPAGE="http://msgpack.org http://pypi.python.org/pypi/msgpack-python/" +HOMEPAGE="http://msgpack.org https://github.com/msgpack/msgpack/" SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" LICENSE="Apache-2.0" @@ -19,17 +19,20 @@ KEYWORDS="~amd64 ~x86" IUSE="test" -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] test? ( dev-python/six[${PYTHON_USEDEP}] dev-python/pytest[${PYTHON_USEDEP}] dev-python/nose[${PYTHON_USEDEP}] - ) -" + )" S="${WORKDIR}/${MY_P}" +DISTUTILS_IN_SOURCE_BUILD=1 python_test() { + # https://github.com/msgpack/msgpack/issues/173 + if [[ "${EPYTHON}" == pypy ]]; then + sed -e s':test_unpacker_hook_refcnt:_&:' -i test/test_unpack.py || die + fi nosetests -P -w test || die "Tests fail with ${EPYTHON}" } 1.19 dev-python/msgpack/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/msgpack/ChangeLog?rev=1.19&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/msgpack/ChangeLog?rev=1.19&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/msgpack/ChangeLog?r1=1.18&r2=1.19 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/msgpack/ChangeLog,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- ChangeLog 3 Apr 2014 01:58:38 -0000 1.18 +++ ChangeLog 15 Jun 2014 11:33:57 -0000 1.19 @@ -1,6 +1,9 @@ # ChangeLog for dev-python/msgpack # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/msgpack/ChangeLog,v 1.18 2014/04/03 01:58:38 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/msgpack/ChangeLog,v 1.19 2014/06/15 11:33:57 idella4 Exp $ + + 15 Jun 2014; Ian Delaney <idel...@gentoo.org> msgpack-0.4.2.ebuild: + drop py2.6 add pypy supp., update test phase accordingly *msgpack-0.4.2 (03 Apr 2014)