diff options
author | Ian Delaney <idella4@gentoo.org> | 2013-03-14 16:34:13 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2013-03-14 16:34:13 +0000 |
commit | 21dc8ab109f12e59b409a48bc32bb17ea72d1637 (patch) | |
tree | 0be57baa9172f27e57bffefa54f08f5bdb3b2127 /dev-python/astng | |
parent | Stable for s390, wrt bug #461278 (diff) | |
download | gentoo-2-21dc8ab109f12e59b409a48bc32bb17ea72d1637.tar.gz gentoo-2-21dc8ab109f12e59b409a48bc32bb17ea72d1637.tar.bz2 gentoo-2-21dc8ab109f12e59b409a48bc32bb17ea72d1637.zip |
bump
(Portage version: 2.1.11.40/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/astng')
-rw-r--r-- | dev-python/astng/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/astng/astng-0.24.2.ebuild | 43 |
2 files changed, 50 insertions, 1 deletions
diff --git a/dev-python/astng/ChangeLog b/dev-python/astng/ChangeLog index 4d34b499e26e..d38feedf29be 100644 --- a/dev-python/astng/ChangeLog +++ b/dev-python/astng/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/astng # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/ChangeLog,v 1.62 2013/02/14 17:49:02 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/ChangeLog,v 1.63 2013/03/14 16:34:13 idella4 Exp $ + +*astng-0.24.2 (15 Mar 2013) + + 15 Mar 2013; Ian Delaney <idella4@gentoo.org> +astng-0.24.2.ebuild, + astng-0.24.1-r1.ebuild: + bump *astng-0.24.1-r1 (14 Feb 2013) diff --git a/dev-python/astng/astng-0.24.2.ebuild b/dev-python/astng/astng-0.24.2.ebuild new file mode 100644 index 000000000000..458c38d4eb8d --- /dev/null +++ b/dev-python/astng/astng-0.24.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/astng-0.24.2.ebuild,v 1.1 2013/03/14 16:34:13 idella4 Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7,3_2} pypy{1_9,2_0} ) + +inherit distutils-r1 + +DESCRIPTION="Abstract Syntax Tree for logilab packages" +HOMEPAGE="http://www.logilab.org/project/logilab-astng http://pypi.python.org/pypi/logilab-astng" +SRC_URI="ftp://ftp.logilab.org/pub/astng/logilab-${P}.tar.gz mirror://pypi/l/logilab-astng/logilab-${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. +RDEPEND=">=dev-python/logilab-common-0.53.0[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( >=dev-python/egenix-mx-base-3.0.0[$(python_gen_usedep python2*)] )" + +S="${WORKDIR}/logilab-${P}" + +python_test() { + # Make sure that the tests use correct modules & paths, for now at least + # python3 currently doesn't pass all tests on std testing + + cd "${BUILD_DIR}"/lib || die + [[ "${EPYTHON:6:1}" == '3' ]] && return + pushd logilab/astng > /dev/null || return 1 + pytest $(find . -name test) || die "Tests fail with ${EPYTHON}" + popd > /dev/null || return 1 +} + +python_install() { + distutils-r1_python_install + + rm "${D}$(python_get_sitedir)/logilab/__init__.py" || die +} |