/[gentoo-x86]/dev-python/pep8/pep8-1.0.1.ebuild
Gentoo

Contents of /dev-python/pep8/pep8-1.0.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri Jul 13 03:30:31 2012 UTC (2 years ago) by patrick
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Bump for #426278

(Portage version: 2.2.0_alpha117/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/pep8/pep8-1.0.1.ebuild,v 1.4 2012/06/02 15:24:35 xarthisius Exp $
4
5 EAPI=3
6
7 PYTHON_DEPEND="2:2.5 3:3.1"
8 SUPPORT_PYTHON_ABIS="1"
9
10 inherit distutils
11
12 DESCRIPTION="Python style guide checker"
13 HOMEPAGE="http://github.com/jcrocholl/pep8 http://pypi.python.org/pypi/pep8"
14 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
15
16 LICENSE="MIT"
17 SLOT="0"
18 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
19 IUSE=""
20
21 DEPEND="dev-python/setuptools"
22 RDEPEND="${DEPEND}"
23
24 PYTHON_MODNAME=${PN}.py
25
26 src_test() {
27
28 test_func() {
29 PYTHONPATH="${S}" "$(PYTHON)" ${PYTHON_MODNAME} -v --testsuite=testsuite
30 }
31
32 python_execute_function test_func
33 }

  ViewVC Help
Powered by ViewVC 1.1.20