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-python/editobj/editobj-0.5.7-r2.ebuild

35 lines
696 B

# 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
}