/[gentoo-x86]/dev-python/3to2/3to2-1.0.ebuild
Gentoo

Contents of /dev-python/3to2/3to2-1.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sun Mar 8 23:37:54 2015 UTC (5 years, 4 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +2 -2 lines
x86 stable, bug 540290

(Portage version: 2.2.17/cvs/Linux x86_64, RepoMan options: --include-arches="x86", signed Manifest commit with key A188FBD4)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/3to2/3to2-1.0.ebuild,v 1.7 2015/03/06 22:04:43 pacho Exp $
4
5 EAPI=5
6
7 PYTHON_COMPAT=(python2_7)
8 inherit distutils-r1
9
10 DESCRIPTION="Refactors valid 3.x syntax into valid 2.x syntax, if a syntactical conversion is possible"
11 HOMEPAGE="http://pypi.python.org/pypi/3to2"
12 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
13
14 LICENSE="Apache-1.1"
15 SLOT="0"
16 KEYWORDS="amd64 x86"
17 IUSE=""
18
19 python_test() {
20 cd "${BUILD_DIR}"/lib || die
21 # the standard test runner fails to properly return failure
22 "${PYTHON}" -m unittest discover || die "Tests fail with ${EPYTHON}"
23 }

  ViewVC Help
Powered by ViewVC 1.1.20