blob: 05310836fa90a691d23602f3e4877aee85177426 (
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
44
45
46
47
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pythoncard/pythoncard-0.8.2.ebuild,v 1.4 2011/01/01 19:40:45 arfrever Exp $
EAPI="3"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython"
inherit distutils
MY_P="PythonCard-${PV}"
DESCRIPTION="Cross-platform GUI construction kit for python"
HOMEPAGE="http://pythoncard.sourceforge.net/index.html"
SRC_URI="mirror://sourceforge/pythoncard/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
IUSE=""
DEPEND="=dev-python/wxpython-2.6*"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_P}"
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
PYTHON_MODNAME="PythonCard"
src_compile() {
:
}
src_install() {
distutils_src_install
# install-pythoncard.py is only for Windows.
rm -f "${ED}usr/bin/install-pythoncard.py"
dohtml -r docs/html/*
dodoc docs/*.txt
}
pkg_postinst() {
python_mod_optimize -x "/(docs|samples|tools)/" PythonCard
}
|