37 lines
697 B
Bash
37 lines
697 B
Bash
# Copyright 1999-2017 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
PYTHON_COMPAT=( python2_7 )
|
|
PYTHON_REQ_USE="tk"
|
|
|
|
inherit python-single-r1
|
|
|
|
MY_P="${P/-/.}"
|
|
|
|
DESCRIPTION="graphical note entry program for use with LilyPond"
|
|
HOMEPAGE="http://lilycomp.sourceforge.net/"
|
|
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
|
IUSE=""
|
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
|
|
DEPEND="${PYTHON_DEPS}"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
S="${WORKDIR}/${MY_P}"
|
|
HTML_DOCS=( "${S}/lilycomp.html" )
|
|
|
|
src_prepare() {
|
|
default
|
|
python_fix_shebang lilycomp.py
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
newbin lilycomp.py lilycomp
|
|
}
|