1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python2_7 )
8 inherit python-single-r1 toolchain-funcs
10 DESCRIPTION="Command-line ape 2.0 tagger"
11 HOMEPAGE="http://muth.org/Robert/Apetag/"
12 SRC_URI="http://muth.org/Robert/Apetag/${PN}.${PV}.tar.gz"
16 KEYWORDS="amd64 ppc ppc64 x86"
18 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
20 RDEPEND="${PYTHON_DEPS}"
28 -e 's:CXXDEBUG:LDFLAGS:' \
30 python_fix_shebang *.py
36 CXXFLAGS="${CXXFLAGS} -Wall -pedantic" \
43 python_moduleinto /usr/lib/apetag
46 fperms +x /usr/lib/apetag/{rmid3tag,tagdir}.py
47 dosym ../lib/apetag/rmid3tag.py /usr/bin/rmid3tag.py
48 dosym ../lib/apetag/tagdir.py /usr/bin/tagdir.py
50 newdoc 00readme README