summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-02-18 22:29:32 +0100
committerMichał Górny <mgorny@gentoo.org>2017-02-18 22:32:33 +0100
commit24e996cef52301b5c8acbb4f114f4d860c504bd4 (patch)
treedef14acee18a930ea4d7782a803d1ca7a5109313 /media-sound
parentmedia-sound/apetag: python-single-r1, EAPI=6 (diff)
downloadgentoo-24e996cef52301b5c8acbb4f114f4d860c504bd4.tar.gz
gentoo-24e996cef52301b5c8acbb4f114f4d860c504bd4.tar.bz2
gentoo-24e996cef52301b5c8acbb4f114f4d860c504bd4.zip
media-sound/codecgraph: python-single-r1, EAPI=6
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/codecgraph/codecgraph-20120114-r1.ebuild (renamed from media-sound/codecgraph/codecgraph-20120114.ebuild)18
1 files changed, 11 insertions, 7 deletions
diff --git a/media-sound/codecgraph/codecgraph-20120114.ebuild b/media-sound/codecgraph/codecgraph-20120114-r1.ebuild
index e92d05301f97..4e5429eaa6a2 100644
--- a/media-sound/codecgraph/codecgraph-20120114.ebuild
+++ b/media-sound/codecgraph/codecgraph-20120114-r1.ebuild
@@ -1,15 +1,16 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=4
-PYTHON_DEPEND="2"
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
-inherit base python
+inherit python-single-r1
DESCRIPTION="Generates a graph based on the ALSA description of an HD Audio codec"
HOMEPAGE="http://helllabs.org/codecgraph/"
SRC_URI="http://helllabs.org/codecgraph/${P}.tar.gz"
+
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
@@ -21,8 +22,11 @@ DEPEND="${RDEPEND}
PATCHES=( "${FILESDIR}/${PV}-makefile-prefix.diff" )
+src_configure() {
+ python_fix_shebang *.py
+}
+
src_install() {
- emake DESTDIR="${D}" install
- dodoc codecs.txt README BUGS IDEAS
- python_convert_shebangs -r 2 "${ED}"
+ default
+ dodoc codecs.txt IDEAS
}