/[gentoo-x86]/dev-python/astng/astng-0.24.1-r1.ebuild
Gentoo

Contents of /dev-python/astng/astng-0.24.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Aug 26 11:36:28 2013 UTC (6 years, 11 months ago) by djc
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Remove old versions.

(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 6B065BFB)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/astng/astng-0.24.1-r1.ebuild,v 1.2 2013/03/30 13:00:41 floppym Exp $
4
5 EAPI=5
6
7 PYTHON_COMPAT=( python{2_6,2_7,3_2} pypy{1_9,2_0} )
8
9 inherit distutils-r1
10
11 DESCRIPTION="Abstract Syntax Tree for logilab packages"
12 HOMEPAGE="http://www.logilab.org/project/logilab-astng http://pypi.python.org/pypi/logilab-astng"
13 SRC_URI="ftp://ftp.logilab.org/pub/astng/logilab-${P}.tar.gz mirror://pypi/l/logilab-astng/logilab-${P}.tar.gz"
14
15 LICENSE="LGPL-2.1"
16 SLOT="0"
17 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos ~x86-macos"
18 IUSE="test"
19
20 # Version specified in __pkginfo__.py.
21 RDEPEND=">=dev-python/logilab-common-0.53.0[${PYTHON_USEDEP}]"
22 DEPEND="${RDEPEND}
23 dev-python/setuptools[${PYTHON_USEDEP}]
24 test? ( >=dev-python/egenix-mx-base-3.0.0[$(python_gen_usedep 'python2*')] )"
25
26 S="${WORKDIR}/logilab-${P}"
27
28 python_test() {
29 distutils_install_for_testing
30
31 # Make sure that the tests use correct modules.
32 cd "${TEST_DIR}"/lib || die
33 pytest -v || die "Tests fail with ${EPYTHON}"
34 }
35
36 python_install() {
37 distutils-r1_python_install
38
39 rm "${D}$(python_get_sitedir)/logilab/__init__.py" || die
40 }

  ViewVC Help
Powered by ViewVC 1.1.20