Files
gentoo/dev-python/editobj/editobj-0.5.7-r2.ebuild
David Seifert 05998e1882 dev-python/editobj: Replace distutils-r1 EXAMPLES use
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: David Seifert <soap@gentoo.org>
2020-03-20 10:56:13 +01:00

35 lines
695 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
}