blob: 1398375fa19c289675109c70f9e928799c1f50ec (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/gazpacho/gazpacho-0.6.2.ebuild,v 1.1 2005/11/24 15:02:31 marienz Exp $
inherit distutils gnome.org eutils
DESCRIPTION="Gazpacho is a glade-like gtk interface designer."
HOMEPAGE="http://gazpacho.sicem.biz/"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND=">=dev-lang/python-2.3
>=dev-python/pygtk-2.4
>=gnome-base/libglade-2.4.2"
DOCS="AUTHORS NEWS"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-setup-fixes.patch"
# In an attempt to make the above patch reusable across gazpacho
# versions it patched in EBUILD_PF_HERE and EBUILD_PV_HERE markers
# instead of hardcoding version numbers in the patch.
sed -i -e "s/EBUILD_PF_HERE/${PF}/" \
-e "s/EBUILD_PV_HERE/${PV}/" \
setup.py
}
src_install() {
distutils_src_install
docinto internals
dodoc doc/*
insinto /usr/share/doc/${PF}
# these are needed in un-gzipped form or the "about" box crashes
doins AUTHORS CONTRIBUTORS COPYING
rm "${D}"/usr/share/doc/${PF}/{AUTHORS,CONTRIBUTORS}.gz
}
|