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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Aug 1 10:08:22 2015 UTC (4 years, 11 months ago) by patrick
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
Add py3.4 hugs

(Portage version: 2.2.20/cvs/Linux x86_64, unsigned Manifest commit)

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.1.1.ebuild,v 1.1 2015/06/15 14:53:34 mrueg Exp $
4
5 EAPI=5
6
7 PYTHON_COMPAT=(python{2_7,3_3,3_4})
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}.zip"
13
14 LICENSE="Apache-1.1"
15 SLOT="0"
16 KEYWORDS="~amd64 ~x86"
17 IUSE=""
18
19 DEPEND="app-arch/unzip"
20
21 python_test() {
22 cd "${BUILD_DIR}"/lib || die
23 # the standard test runner fails to properly return failure
24 "${PYTHON}" -m unittest discover || die "Tests fail with ${EPYTHON}"
25 }

  ViewVC Help
Powered by ViewVC 1.1.20