mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-04-27 03:47:32 -07:00
35 lines
696 B
Bash
35 lines
696 B
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=5
|
|
PYTHON_COMPAT=( python2_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() {
|
|
if use examples; then
|
|
docinto examples
|
|
dodoc -r demo/.
|
|
docompress -x /usr/share/doc/${PF}/examples
|
|
fi
|
|
|
|
distutils-r1_python_install_all
|
|
}
|