diff options
author | Martin Väth <martin@mvath.de> | 2015-01-18 10:05:57 +0100 |
---|---|---|
committer | Martin Väth <martin@mvath.de> | 2015-10-11 10:49:21 +0200 |
commit | 4c35eac8337e75eb4950937173a434a818bb28aa (patch) | |
tree | f945ad02bd1d1ffe7b991fb6aebfb6cff013f823 /dev-cpp | |
parent | Bump zram-init (diff) | |
download | mv-4c35eac8337e75eb4950937173a434a818bb28aa.tar.gz mv-4c35eac8337e75eb4950937173a434a818bb28aa.tar.bz2 mv-4c35eac8337e75eb4950937173a434a818bb28aa.zip |
Fix python dependencies and re-add arches, making repoman happy
Diffstat (limited to 'dev-cpp')
-rw-r--r-- | dev-cpp/cpplint/ChangeLog | 5 | ||||
-rw-r--r-- | dev-cpp/cpplint/cpplint-141-r1.ebuild (renamed from dev-cpp/cpplint/cpplint-141.ebuild) | 9 |
2 files changed, 13 insertions, 1 deletions
diff --git a/dev-cpp/cpplint/ChangeLog b/dev-cpp/cpplint/ChangeLog index d2207ab6..025756f0 100644 --- a/dev-cpp/cpplint/ChangeLog +++ b/dev-cpp/cpplint/ChangeLog @@ -2,6 +2,11 @@ # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*cpplint-141-r1 (18 Jan 2015) + + 18 Jan 2014; Martin Väth <martin@mvath.de>: + Use new-style python dependency. Fix shebang + *cpplint-141 (05 Dec 2014) 05 Dec 2014; Martin Väth <martin@mvath.de>: diff --git a/dev-cpp/cpplint/cpplint-141.ebuild b/dev-cpp/cpplint/cpplint-141-r1.ebuild index 7d7eb23e..195c19a2 100644 --- a/dev-cpp/cpplint/cpplint-141.ebuild +++ b/dev-cpp/cpplint/cpplint-141-r1.ebuild @@ -3,7 +3,8 @@ # $Header: $ EAPI=5 -inherit elisp-common eutils +PYTHON_COMPAT=( jython2_{5,7} pypy{,3} python{2_7,3_{3,4}} ) +inherit elisp-common eutils python-r1 RESTRICT="mirror" SUBVERSION_REVISION="r=${PV}" @@ -23,9 +24,12 @@ KEYWORDS="~amd64 ~x86" IUSE="emacs" EMACSNAME="google-c-style" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" COMMON="emacs? ( virtual/emacs )" DEPEND="${COMMON}" RDEPEND="dev-lang/python + ${PYTHON_DEPS} ${COMMON}" S="${WORKDIR}" @@ -52,6 +56,9 @@ EOF } src_prepare() { + use prefix || sed -i \ + -e '1s"^#!/usr/bin/env python$"#!'"${EPREFIX}/usr/bin/python"'"' \ + -- "${PN}.py" || die epatch_user } |