summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2018-09-18 15:31:15 -0400
committerMike Gilbert <floppym@gentoo.org>2018-09-18 15:42:52 -0400
commitcccb1ca7f6e9d63f53a9ed3bbe1b34c3c9945a6d (patch)
tree59ea7c102c4088b0f01058f3dfd012ba9c997143 /dev-util/ninja
parentdev-haskell/tar: fix quoting in DESCRIPTION (diff)
downloadgentoo-cccb1ca7f6e9d63f53a9ed3bbe1b34c3c9945a6d.tar.gz
gentoo-cccb1ca7f6e9d63f53a9ed3bbe1b34c3c9945a6d.tar.bz2
gentoo-cccb1ca7f6e9d63f53a9ed3bbe1b34c3c9945a6d.zip
dev-util/ninja: bump to EAPI 7
Signed-off-by: Mike Gilbert <floppym@gentoo.org> Package-Manager: Portage-2.3.49_p2, Repoman-2.3.10_p48
Diffstat (limited to 'dev-util/ninja')
-rw-r--r--dev-util/ninja/ninja-9999.ebuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/dev-util/ninja/ninja-9999.ebuild b/dev-util/ninja/ninja-9999.ebuild
index 73fb8e30509..38f251adba3 100644
--- a/dev-util/ninja/ninja-9999.ebuild
+++ b/dev-util/ninja/ninja-9999.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
@@ -12,7 +12,7 @@ if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/ninja-build/ninja.git"
else
SRC_URI="https://github.com/ninja-build/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
fi
DESCRIPTION="A small build system similar to make"
@@ -23,7 +23,7 @@ SLOT="0"
IUSE="doc emacs test vim-syntax zsh-completion"
-DEPEND="
+BDEPEND="
${PYTHON_DEPS}
dev-util/re2c
doc? (
@@ -64,7 +64,7 @@ src_compile() {
if tc-is-cross-compiler; then
mv ninja ninja-build || die
- "${PYTHON}" configure.py || die
+ ${EPYTHON} configure.py || die
./ninja-build -v ninja || die
else
ln ninja ninja-build || die
@@ -101,11 +101,11 @@ src_install() {
if use vim-syntax; then
insinto /usr/share/vim/vimfiles/syntax/
- doins misc/"${PN}".vim
+ doins misc/ninja.vim
- echo 'au BufNewFile,BufRead *.ninja set ft=ninja' > "${T}/${PN}.vim"
+ echo 'au BufNewFile,BufRead *.ninja set ft=ninja' > "${T}/ninja.vim"
insinto /usr/share/vim/vimfiles/ftdetect
- doins "${T}/${PN}.vim"
+ doins "${T}/ninja.vim"
fi
if use zsh-completion; then
@@ -115,7 +115,7 @@ src_install() {
if use emacs; then
cd misc || die
- elisp-install ${PN} ninja-mode.el* || die
+ elisp-install ninja ninja-mode.el* || die
fi
}