From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 70705158094 for ; Tue, 30 Aug 2022 22:21:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 45C80E086C; Tue, 30 Aug 2022 22:21:29 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 13DD7E0867 for ; Tue, 30 Aug 2022 22:21:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E055F34129D for ; Tue, 30 Aug 2022 22:21:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 15A83569 for ; Tue, 30 Aug 2022 22:21:26 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1661898078.affef91256afa552b56874c4c373023c0889e60e.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/ninja/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/ninja/Manifest dev-util/ninja/ninja-1.11.1.ebuild dev-util/ninja/ninja-9999.ebuild X-VCS-Directories: dev-util/ninja/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: affef91256afa552b56874c4c373023c0889e60e X-VCS-Branch: master Date: Tue, 30 Aug 2022 22:21:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2a378efd-ade2-4c6a-a831-0b513c72323d X-Archives-Hash: 310f66de3475e1b1f01277705d9df2a7 commit: affef91256afa552b56874c4c373023c0889e60e Author: Sam James gentoo org> AuthorDate: Tue Aug 30 21:48:56 2022 +0000 Commit: Sam James gentoo org> CommitDate: Tue Aug 30 22:21:18 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=affef912 dev-util/ninja: add 1.11.1 Signed-off-by: Sam James gentoo.org> dev-util/ninja/Manifest | 1 + .../{ninja-9999.ebuild => ninja-1.11.1.ebuild} | 38 +++++++++------------- dev-util/ninja/ninja-9999.ebuild | 38 +++++++++------------- 3 files changed, 31 insertions(+), 46 deletions(-) diff --git a/dev-util/ninja/Manifest b/dev-util/ninja/Manifest index 2ab6fa9d9107..b62f6953ec4d 100644 --- a/dev-util/ninja/Manifest +++ b/dev-util/ninja/Manifest @@ -1 +1,2 @@ DIST ninja-1.11.0.tar.gz 229475 BLAKE2B 71c8b6cf9524bdc11cf73f7e761f0d7deef2498a970c1439c10cc7d361e31fed1e3b54bcb185f3c7ed041f15704851a96e42560058af61b8a5df6e918d52ebf3 SHA512 9b9c8dae2251f9ddba50680911271b8504c292994fd90a0da94902f64c69a9edc72212217df5c651ddfc2f79c2ae03e84c99b805497dcd7497c53a1617de83e7 +DIST ninja-1.11.1.tar.gz 229479 BLAKE2B c96cf7c319b7abd65f644465688d256f8b3a576c4616d0c63852e25dd0dc5f63c66708d429d8dddb6228502eb147211a86a5dd369b80ec2228902b370d2343e5 SHA512 1bca38877c70ee6613f347ffccef5adc02ba0a3947c62ae004ea97f918442b5a3de92378e4f820ae2a7676bc7609d25fbc7d41f6cfb3a61e5e4b26ec3639e403 diff --git a/dev-util/ninja/ninja-9999.ebuild b/dev-util/ninja/ninja-1.11.1.ebuild similarity index 79% copy from dev-util/ninja/ninja-9999.ebuild copy to dev-util/ninja/ninja-1.11.1.ebuild index 81d813fea607..bedb66f577c5 100644 --- a/dev-util/ninja/ninja-9999.ebuild +++ b/dev-util/ninja/ninja-1.11.1.ebuild @@ -1,15 +1,15 @@ # Copyright 2012-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{8..11} ) -inherit bash-completion-r1 elisp-common python-any-r1 toolchain-funcs +inherit edo bash-completion-r1 elisp-common python-any-r1 toolchain-funcs if [[ ${PV} == 9999 ]]; then - inherit git-r3 EGIT_REPO_URI="https://github.com/ninja-build/ninja.git" + inherit git-r3 else SRC_URI="https://github.com/ninja-build/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" @@ -21,7 +21,7 @@ HOMEPAGE="https://ninja-build.org/" LICENSE="Apache-2.0" SLOT="0" -IUSE="doc emacs test vim-syntax" +IUSE="doc emacs test" RESTRICT="!test? ( test )" BDEPEND=" @@ -35,15 +35,7 @@ BDEPEND=" ) test? ( dev-cpp/gtest ) " -RDEPEND=" - emacs? ( >=app-editors/emacs-23.1:* ) - vim-syntax? ( - || ( - app-editors/vim - app-editors/gvim - ) - ) -" +RDEPEND="emacs? ( >=app-editors/emacs-23.1:* )" PATCHES=( "${FILESDIR}"/ninja-cflags.patch @@ -90,30 +82,30 @@ src_test() { if ! tc-is-cross-compiler; then # Bug 485772 ulimit -n 2048 - ./ninja -v ninja_test || die - ./ninja_test || die + edo ./ninja -v ninja_test + edo ./ninja_test fi } src_install() { dodoc README.md CONTRIBUTING.md + if use doc; then docinto html dodoc -r doc/doxygen/html/. dodoc doc/manual.html fi + dobin ninja - newbashcomp misc/bash-completion "${PN}" + newbashcomp misc/bash-completion ${PN} - if use vim-syntax; then - insinto /usr/share/vim/vimfiles/syntax/ - doins misc/ninja.vim + insinto /usr/share/vim/vimfiles/syntax/ + doins misc/ninja.vim - echo 'au BufNewFile,BufRead *.ninja set ft=ninja' > "${T}/ninja.vim" - insinto /usr/share/vim/vimfiles/ftdetect - doins "${T}/ninja.vim" - fi + echo 'au BufNewFile,BufRead *.ninja set ft=ninja' > "${T}"/ninja.vim || die + insinto /usr/share/vim/vimfiles/ftdetect + doins "${T}"/ninja.vim insinto /usr/share/zsh/site-functions newins misc/zsh-completion _ninja diff --git a/dev-util/ninja/ninja-9999.ebuild b/dev-util/ninja/ninja-9999.ebuild index 81d813fea607..bedb66f577c5 100644 --- a/dev-util/ninja/ninja-9999.ebuild +++ b/dev-util/ninja/ninja-9999.ebuild @@ -1,15 +1,15 @@ # Copyright 2012-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{8..11} ) -inherit bash-completion-r1 elisp-common python-any-r1 toolchain-funcs +inherit edo bash-completion-r1 elisp-common python-any-r1 toolchain-funcs if [[ ${PV} == 9999 ]]; then - inherit git-r3 EGIT_REPO_URI="https://github.com/ninja-build/ninja.git" + inherit git-r3 else SRC_URI="https://github.com/ninja-build/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" @@ -21,7 +21,7 @@ HOMEPAGE="https://ninja-build.org/" LICENSE="Apache-2.0" SLOT="0" -IUSE="doc emacs test vim-syntax" +IUSE="doc emacs test" RESTRICT="!test? ( test )" BDEPEND=" @@ -35,15 +35,7 @@ BDEPEND=" ) test? ( dev-cpp/gtest ) " -RDEPEND=" - emacs? ( >=app-editors/emacs-23.1:* ) - vim-syntax? ( - || ( - app-editors/vim - app-editors/gvim - ) - ) -" +RDEPEND="emacs? ( >=app-editors/emacs-23.1:* )" PATCHES=( "${FILESDIR}"/ninja-cflags.patch @@ -90,30 +82,30 @@ src_test() { if ! tc-is-cross-compiler; then # Bug 485772 ulimit -n 2048 - ./ninja -v ninja_test || die - ./ninja_test || die + edo ./ninja -v ninja_test + edo ./ninja_test fi } src_install() { dodoc README.md CONTRIBUTING.md + if use doc; then docinto html dodoc -r doc/doxygen/html/. dodoc doc/manual.html fi + dobin ninja - newbashcomp misc/bash-completion "${PN}" + newbashcomp misc/bash-completion ${PN} - if use vim-syntax; then - insinto /usr/share/vim/vimfiles/syntax/ - doins misc/ninja.vim + insinto /usr/share/vim/vimfiles/syntax/ + doins misc/ninja.vim - echo 'au BufNewFile,BufRead *.ninja set ft=ninja' > "${T}/ninja.vim" - insinto /usr/share/vim/vimfiles/ftdetect - doins "${T}/ninja.vim" - fi + echo 'au BufNewFile,BufRead *.ninja set ft=ninja' > "${T}"/ninja.vim || die + insinto /usr/share/vim/vimfiles/ftdetect + doins "${T}"/ninja.vim insinto /usr/share/zsh/site-functions newins misc/zsh-completion _ninja