summaryrefslogtreecommitdiff
blob: 146cf6f1151549d7187de749f75d02f8b7fb154a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

PYTHON_COMPAT=( python2_7 )

inherit python-r1

MY_PN=PythonTidy

DESCRIPTION="Cleans up, regularizes, and reformats the text of Python scripts"
HOMEPAGE="http://pypi.python.org/pypi/PythonTidy/"
SRC_URI="http://lacusveris.com/${MY_PN}/${MY_PN}-${PV}.python"

LICENSE="|| ( GPL-2 GPL-3 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

S="${WORKDIR}"

src_install() {
	python_foreach_impl python_newscript "${DISTDIR}"/${A} ${PN}
	python_foreach_impl python_optimize
}