media-sound/lilycomp: Bump eapi, use new python eclasses, fix docs installation.
authorPacho Ramos <pacho@gentoo.org>
Wed, 17 Aug 2016 13:16:55 +0000 (15:16 +0200)
committerPacho Ramos <pacho@gentoo.org>
Wed, 17 Aug 2016 13:50:01 +0000 (15:50 +0200)
Package-Manager: portage-2.3.0

media-sound/lilycomp/lilycomp-1.0.2-r2.ebuild [new file with mode: 0644]

diff --git a/media-sound/lilycomp/lilycomp-1.0.2-r2.ebuild b/media-sound/lilycomp/lilycomp-1.0.2-r2.ebuild
new file mode 100644 (file)
index 0000000..57af1c7
--- /dev/null
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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=""
+
+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
+}