diff options
-rw-r--r-- | dev-util/ninja/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/ninja/Manifest | 30 | ||||
-rw-r--r-- | dev-util/ninja/ninja-1.5.3.ebuild | 129 |
3 files changed, 151 insertions, 15 deletions
diff --git a/dev-util/ninja/ChangeLog b/dev-util/ninja/ChangeLog index 1385a4d1f9e1..dfa11436eb5f 100644 --- a/dev-util/ninja/ChangeLog +++ b/dev-util/ninja/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/ninja # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/ninja/ChangeLog,v 1.39 2014/11/04 09:23:53 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/ninja/ChangeLog,v 1.40 2014/12/05 08:06:09 phajdan.jr Exp $ + +*ninja-1.5.3 (05 Dec 2014) + + 05 Dec 2014; Pawel Hajdan jr <phajdan.jr@gentoo.org> +ninja-1.5.3.ebuild: + Version bump, bug #531436 by Alexander Stein. 04 Nov 2014; Agostino Sarubbo <ago@gentoo.org> ninja-1.5.1.ebuild: Stable for sparc, wrt bug #525658 diff --git a/dev-util/ninja/Manifest b/dev-util/ninja/Manifest index 517bc16858de..8ada83d29c42 100644 --- a/dev-util/ninja/Manifest +++ b/dev-util/ninja/Manifest @@ -3,24 +3,26 @@ Hash: SHA256 DIST ninja-1.4.0.tar.gz 152385 SHA256 701cab33c5c69bcdeedad7a3f7bff4c3e61d38e8c2a0ab79d86e3b702de4c317 SHA512 8c939d586f30db884b2f3783fa6cd9a6f1b0904d231d1cd9b9196efdc0144585cdff11f5d7821f0f7d45643b82f65889e5fc950d7ae2c6d83c57c2cd43ba9361 WHIRLPOOL b052b3afe42c905236117fad27db7c69deac539417ac6d9bf8a505fc39ffb8567e2772f481c96534db57cf41f482573439314154721ce9d92bbc446cf93c1e54 DIST ninja-1.5.1.tar.gz 163437 SHA256 fba77b9ed4b4dd0e86c4513776938dc64bd4508dc2055b04c0c6df68bcfa397d SHA512 ab82389ee88bd68ec57e720dabb47494371990dca581cf9bb35650177164f04bf41c81ab3e5019a370eeacc7f5f49ae81d41d8b21e1b07cc8abedce37e00da61 WHIRLPOOL 3fdd76505aa39a3960c8d47fc04e7fb12f613561ecf8f29d88329c06b78a0ef47fda02226d6ebb12718676c2ea9dc6bf7352564150de8b92f1b0c189bcf21e3a +DIST ninja-1.5.3.tar.gz 168829 SHA256 7c953b5a7c26cfcd082882e3f3e2cd08fee8848ad228bb47223b18ea18777ec0 SHA512 6d8cba5838d796bf50a17ca760498309477342422d1ad971e8fd030d4dd06aa9095ce27c2a02f89504cdf3aa5a8ba5af395a2c805b5c45e266a8250985212eea WHIRLPOOL 6b6116e4bf8a2c622559cee7f2f9c48f4f896e878eacb880d9bad483eaa2f18fe9b6a11210ca396679177850b0df5377de52110c47ac22e6fd8641cbd7ccabe3 EBUILD ninja-1.4.0.ebuild 2695 SHA256 ff7d920a59d672a556c87f66694b7a11701175c119cec4f480503f5e57c54e99 SHA512 57d0fafbe6a61e208a8f18b9274b3f4129301894130f3870aeae16f13be7c62baad68ca11f7aa653a22779e71825a37de78c5a8517b98c9f57a3d3c088e915f2 WHIRLPOOL 29f9bcb6f71e7030072ea1b7b38bd811fd9da1574d06077cffff13603eb7e563774f9630b2c87a19d664702984ed7ea8109a3d3aebea9e1cacdda6293a52456a EBUILD ninja-1.5.1.ebuild 2706 SHA256 95658b3347f9bb91970c483a2914f601e4dc6d4c2a4dbff91d2d0e329aef8f52 SHA512 29dd9c4ecd31c366d8e7f86f415eeee627fc602e71f14017020d8e40d9337b0b9aa1b0e5b0a58d7aa32b5b87cccc18f0c6c91709d2e43374c2b9e48f04bcd75c WHIRLPOOL 731ed9cdc17ee80818bf7ec7a3e499d847c7f07d63563e229baab78a9d7b52711b701a0d5ca1c634780ad180afae6c3a78bda04a75319df0b20881c9fb75e33c -MISC ChangeLog 4790 SHA256 b325572e4d8f47c8e9577c48004127469ff26b7bd210e1e0ec5663798352d620 SHA512 61a8a752e333b6faaa8e0f5600f87fac8721c6355b384592fa5e30f4fad9fc80da4b0402c3c3019b944f7c3d9108d0ca0987b6e15d49288a63e508724510a7fb WHIRLPOOL 2fdd05a7163e399f204e0b3a3abe6e3f2efd39c69b4a54add38ed0536525fd9f1a7c13d92a3c5a301b6e92ba554ca733a712835dc5bd53dc1b6df16e1a7e6080 +EBUILD ninja-1.5.3.ebuild 2719 SHA256 5a161fefefd2cc0eabd9316f005367c2df54df6485b7220a726c1e081bc90c1b SHA512 ef09dae8f88bbd0be8a00245b95a786cc6831d729969f7033ca4e29f780787dd3e462886505f3d5d5d079ea011baae70557cbe247950f8ffdd89a978b109d827 WHIRLPOOL dd19700834b85c6efd9195f1ab629e02fd6fe2a656d0b04dd7c51995a50fd466ce29d9a552f9b0cd6c11ef59ad0264927d909d9e0e95a323cfb99dbaf079c5eb +MISC ChangeLog 4950 SHA256 3a9003394d3b04dfd9667e005928d203d69270df18b09cb0d6363af0e3e537df SHA512 d97bf844115f3a981f3c01adb9edc9102207287008f26374ff8ba8996f233ee18dffe95b27058fc91bac6ead06f57b5632676f4b74213f26a0d968013e56c328 WHIRLPOOL 957671f4dbd7fdd9c9dc922951be3ae444a2c6034546867c8184d02e9b379843601eefb8f5266e7fccfec49e0b73d411794a903ddd78387719be84c1fa630be9 MISC metadata.xml 240 SHA256 caac354df74906d7606c88d7a5d83921d448eada98dde1d7f64adf2fbd1af949 SHA512 f2f8acaa676739cfaa332bb42e7f1ae8a55b2c954af075bc77fd66d93d67a6c1eee2b0d5c040b8a130411631edf9296301ebb741771fd08906800c32a7dde8d9 WHIRLPOOL 347bf9d228f83878ce5cf99bd36d54dd96aee791fd4ad34f628b3596c52324371f4f2d9d94ecd0df7cc9311541522d98099fd7c1ac21dc0152c726301339786c -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQIcBAEBCAAGBQJUWJsqAAoJELp701BxlEWfcjsP/0+0aChxwF20Y7LKobkGkB3B -5Erbphuut9g0v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NINsMB2iFBu3qy0b9ChpZPGgGlVwhCCITuxcGTsZjOUAPPLR6AuZZlWS ++gHbq79tCxqs5jAYEU1gzEGq9l4Rm18/nEz44IyZYPncyJt4CsAWy3jt5KzsZ870 +6G8w6PodypevUmTm+lkr4xVwcDgA1n7/H264lJpyz3OemdquCWPE3L1MEpu/KUE6 +QR3ITe4aufiLo8NSU81tYPtj47lie1KdUk7P2ZEHdNYe8JhKFw3+DOBG/JtUnVDr +5rsT0m0Fbx8GOkfZ9C94r9dqH1llS5dIEFdlB4Go0H3Lb+NMLAU+Sc1aDg34uUp3 +iIGM4iab73mlRrqqa6NT +=/6Ry -----END PGP SIGNATURE----- diff --git a/dev-util/ninja/ninja-1.5.3.ebuild b/dev-util/ninja/ninja-1.5.3.ebuild new file mode 100644 index 000000000000..74c980ca7d45 --- /dev/null +++ b/dev-util/ninja/ninja-1.5.3.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/ninja/ninja-1.5.3.ebuild,v 1.1 2014/12/05 08:06:09 phajdan.jr Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7} ) + +inherit bash-completion-r1 elisp-common python-any-r1 toolchain-funcs + +if [ "${PV}" = "999999" ]; then + EGIT_REPO_URI="git://github.com/martine/ninja.git http://github.com/martine/ninja.git" + inherit git-2 + KEYWORDS="" +else + SRC_URI="https://github.com/martine/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~m68k ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +fi + +DESCRIPTION="A small build system similar to make" +HOMEPAGE="http://github.com/martine/ninja" + +LICENSE="Apache-2.0" +SLOT="0" + +IUSE="doc emacs test vim-syntax zsh-completion" + +DEPEND=" + ${PYTHON_DEPS} + dev-util/re2c + doc? ( + app-text/asciidoc + app-doc/doxygen + dev-libs/libxslt + ) + test? ( dev-cpp/gtest ) +" +RDEPEND=" + emacs? ( virtual/emacs ) + vim-syntax? ( + || ( + app-editors/vim + app-editors/gvim + ) + ) + zsh-completion? ( app-shells/zsh ) + !<net-irc/ninja-1.5.9_pre14-r1" #436804 + +run_for_build() { + if tc-is-cross-compiler; then + local -x AR=$(tc-getBUILD_AR) + local -x CXX=$(tc-getBUILD_CXX) + local -x CFLAGS=${BUILD_CXXFLAGS} + local -x LDFLAGS=${BUILD_LDFLAGS} + fi + "$@" +} + +src_compile() { + tc-export AR CXX + + # configure.py uses CFLAGS instead of CXXFLAGS + export CFLAGS=${CXXFLAGS} + + run_for_build "${PYTHON}" bootstrap.py --verbose || die + + if tc-is-cross-compiler; then + mv ninja ninja-build || die + "${PYTHON}" configure.py || die + ./ninja-build -v ninja || die + else + ln ninja ninja-build || die + fi + + if use doc; then + ./ninja-build -v doxygen manual || die + fi + + if use emacs; then + elisp-compile misc/ninja-mode.el || die + fi +} + +src_test() { + if ! tc-is-cross-compiler; then + # Bug 485772 + ulimit -n 2048 + ./ninja-build -v ninja_test || die + ./ninja_test || die + fi +} + +src_install() { + dodoc README HACKING.md + if use doc; then + dohtml -r doc/doxygen/html/* + dohtml doc/manual.html + fi + dobin ninja + + newbashcomp misc/bash-completion "${PN}" + + if use vim-syntax; then + insinto /usr/share/vim/vimfiles/syntax/ + doins misc/"${PN}".vim + + echo 'au BufNewFile,BufRead *.ninja set ft=ninja' > "${T}/${PN}.vim" + insinto /usr/share/vim/vimfiles/ftdetect + doins "${T}/${PN}.vim" + fi + + if use zsh-completion; then + insinto /usr/share/zsh/site-functions + newins misc/zsh-completion _ninja + fi + + if use emacs; then + cd misc || die + elisp-install ${PN} ninja-mode.el* || die + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |