blob: c80f191eb91d91d2b618cc6388a83fe4689d4035 (
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
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pythondialog/pythondialog-1.0.ebuild,v 1.1 2003/02/07 22:55:41 gerk Exp $
IUSE=""
S=${WORKDIR}/${P}
DESCRIPTION="A Python module for making simple text/console-mode user interfaces."
HOMEPAGE="http://pythondialog.sourceforge.net/"
SRC_URI="mirror://sourceforge/pythondialog/dialog.py"
DEPEND="virtual/python"
RDEPEND="dev-util/dialog"
SLOT="0"
KEYWORDS="~x86 ~ppc ~sparc ~alpha"
LICENSE="LGPL-2"
inherit eutils distutils
EPATCH_SOURCE="${FILESDIR}"
src_unpack(){
mkdir "${S}"
cp "${DISTDIR}/dialog.py" "${S}"
cd "${S}"
epatch
mv setup.py setup.py.orig
sed -e "s:__version__:${PV}:g" setup.py.orig > setup.py
rm setup.py.orig
}
src_install(){
distutils_src_install
}
|