You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-util/gquilt/gquilt-0.25.ebuild

41 lines
857 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/gquilt/gquilt-0.25.ebuild,v 1.3 2012/11/06 20:31:24 xarthisius Exp $
EAPI="3"
PYTHON_DEPEND="2"
inherit distutils
DESCRIPTION="A Python/GTK wrapper for quilt"
HOMEPAGE="http://gquilt.sourceforge.net/ http://sourceforge.net/projects/gquilt/"
SRC_URI="mirror://sourceforge/gquilt/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND="dev-python/pygtk:2
|| ( dev-util/quilt dev-util/mercurial )"
RDEPEND="${DEPEND}"
PYTHON_MODNAME="gquilt_pkg"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
distutils_src_prepare
python_convert_shebangs -r 2 .
}
src_install() {
distutils_src_install
dobin ${PN} || die
domenu ${PN}.desktop || die
}