gentoo-full-overlay/dev-python/editobj/editobj-0.5.7-r2.ebuild

31 lines
763 B
Bash
Raw Normal View History

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/editobj/editobj-0.5.7-r2.ebuild,v 1.1 2013/06/03 17:15:23 idella4 Exp $
EAPI=5
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
PYTHON_REQ_USE="tk"
inherit distutils-r1
MY_P="${P/editobj/EditObj}"
DESCRIPTION="EditObj can create a dialog box to edit ANY Python object."
SRC_URI="http://download.gna.org/songwrite/${MY_P}.tar.gz"
HOMEPAGE="http://home.gna.org/oomadness/en/editobj/index.html"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
SLOT="0"
IUSE="+examples"
DEPEND=""
RDEPEND=""
S="${WORKDIR}/${MY_P}"
python_install_all() {
use examples && local EXAMPLES=( demo/. )
distutils-r1_python_install_all
}