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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Jul 13 03:30:31 2012 UTC (10 months ago) by patrick
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +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.1.ebuild,v 1.2 2012/06/02 15:24:35 xarthisius Exp $
4
5 EAPI=4
6
7 SUPPORT_PYTHON_ABIS="1"
8
9 inherit distutils vcs-snapshot
10
11 DESCRIPTION="Python style guide checker"
12 HOMEPAGE="http://github.com/jcrocholl/pep8 http://pypi.python.org/pypi/pep8"
13 SRC_URI="https://github.com/jcrocholl/${PN}/tarball/${PV} -> ${P}.tar.gz"
14
15 LICENSE="MIT"
16 SLOT="0"
17 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
18 IUSE=""
19
20 DEPEND="dev-python/setuptools"
21 RDEPEND="${DEPEND}"
22
23 PYTHON_MODNAME=${PN}.py
24 DOCS="CHANGES.txt"
25
26 src_test() {
27 test_func() {
28 local test_ok=0
29 PYTHONPATH="${S}" "$(PYTHON)" ${PYTHON_MODNAME} -v --testsuite=testsuite || test_ok=1
30 PYTHONPATH="${S}" "$(PYTHON)" ${PYTHON_MODNAME} --doctest -v || test_ok=1
31 return ${test_ok}
32 }
33 python_execute_function test_func
34 }

  ViewVC Help
Powered by ViewVC 1.1.13