From 97b1fb70a54060b6140d3c882ba0f12bbf56f323 Mon Sep 17 00:00:00 2001 From: Stephan Hartmann Date: Wed, 3 Nov 2021 22:36:14 +0100 Subject: dev-util/gn: bump to 0.1943, EAPI 8 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Stephan Hartmann --- dev-util/gn/Manifest | 2 +- dev-util/gn/gn-0.1942.ebuild | 64 -------------------------------------------- dev-util/gn/gn-0.1943.ebuild | 64 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 65 insertions(+), 65 deletions(-) delete mode 100644 dev-util/gn/gn-0.1942.ebuild create mode 100644 dev-util/gn/gn-0.1943.ebuild (limited to 'dev-util/gn') diff --git a/dev-util/gn/Manifest b/dev-util/gn/Manifest index 81628d402a6a..7c7803513a44 100644 --- a/dev-util/gn/Manifest +++ b/dev-util/gn/Manifest @@ -1,2 +1,2 @@ DIST gn-0.1807.tar.xz 682644 BLAKE2B 5beb3c03b0ae467cb98eff2069ef6e4355cba56c57e2717139b698fa563efc404dd1cf0b3fd196f432ca3a13b0402e895b46407cb90bc16b63963710fd5be060 SHA512 82f468e389d08a46e582f816d056813af9bfc810ad0bd84f02731c17c0e2c6140a62e827b8a3c5f89eef467f9bcfc2e88dd7aed325a7955d8584e753fcd09103 -DIST gn-0.1942.tar.xz 706816 BLAKE2B f6d40f1f8d1861cc561dc05179d418ce29dd658bf6af4e9315a51fdd442b50be0041361e513216881afd90009d3feb97a7f7f910ea7ed7c71e831a350797cfd0 SHA512 5acedbfb44eeea4cfea4e069a71259ce319a333563238b8b924628aa789166918e76a491dcc1cdf9d0414183bb4df05b31bba96262d81a2315d80b07d65f618f +DIST gn-0.1943.tar.xz 706792 BLAKE2B 51889ad85e86e702c2690c5c23010d666ef0467be92d982e6dea2eec2e20774c04425900cad64672c7782bf36e62984e612c04ff0f1c7e9598f2877270cf8504 SHA512 4e3270e13e35fa0ede3c81b563b72a9e9baee18b6412d32603d3c7a327315ceea86dc28c9c3b01c9e9f4d520e222dfeabe152f946eb0947d9285359568934864 diff --git a/dev-util/gn/gn-0.1942.ebuild b/dev-util/gn/gn-0.1942.ebuild deleted file mode 100644 index b98a97029ae4..000000000000 --- a/dev-util/gn/gn-0.1942.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 2018-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{8,9,10} ) - -inherit ninja-utils python-any-r1 toolchain-funcs - -DESCRIPTION="GN is a meta-build system that generates build files for Ninja" -HOMEPAGE="https://gn.googlesource.com/" -SRC_URI="https://dev.gentoo.org/~sultan/distfiles/dev-util/gn/${P}.tar.xz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" -IUSE="vim-syntax" - -BDEPEND=" - ${PYTHON_DEPS} - dev-util/ninja -" - -PATCHES=( - "${FILESDIR}"/gn-gen-r5.patch -) - -pkg_setup() { - : -} - -src_configure() { - python_setup - tc-export AR CC CXX - unset CFLAGS - set -- ${EPYTHON} build/gen.py --no-last-commit-position --no-strip --no-static-libstdc++ - echo "$@" >&2 - "$@" || die - cat >out/last_commit_position.h <<-EOF || die - #ifndef OUT_LAST_COMMIT_POSITION_H_ - #define OUT_LAST_COMMIT_POSITION_H_ - #define LAST_COMMIT_POSITION_NUM ${PV##0.} - #define LAST_COMMIT_POSITION "${PV}" - #endif // OUT_LAST_COMMIT_POSITION_H_ - EOF -} - -src_compile() { - eninja -C out gn -} - -src_test() { - eninja -C out gn_unittests - out/gn_unittests || die -} - -src_install() { - dobin out/gn - einstalldocs - - if use vim-syntax; then - insinto /usr/share/vim/vimfiles - doins -r misc/vim/{autoload,ftdetect,ftplugin,syntax} - fi -} diff --git a/dev-util/gn/gn-0.1943.ebuild b/dev-util/gn/gn-0.1943.ebuild new file mode 100644 index 000000000000..3cee05df5eeb --- /dev/null +++ b/dev-util/gn/gn-0.1943.ebuild @@ -0,0 +1,64 @@ +# Copyright 2018-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{8,9,10} ) + +inherit ninja-utils python-any-r1 toolchain-funcs + +DESCRIPTION="GN is a meta-build system that generates build files for Ninja" +HOMEPAGE="https://gn.googlesource.com/" +SRC_URI="https://dev.gentoo.org/~sultan/distfiles/dev-util/gn/${P}.tar.xz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="vim-syntax" + +BDEPEND=" + ${PYTHON_DEPS} + dev-util/ninja +" + +PATCHES=( + "${FILESDIR}"/gn-gen-r5.patch +) + +pkg_setup() { + : +} + +src_configure() { + python_setup + tc-export AR CC CXX + unset CFLAGS + set -- ${EPYTHON} build/gen.py --no-last-commit-position --no-strip --no-static-libstdc++ + echo "$@" >&2 + "$@" || die + cat >out/last_commit_position.h <<-EOF || die + #ifndef OUT_LAST_COMMIT_POSITION_H_ + #define OUT_LAST_COMMIT_POSITION_H_ + #define LAST_COMMIT_POSITION_NUM ${PV##0.} + #define LAST_COMMIT_POSITION "${PV}" + #endif // OUT_LAST_COMMIT_POSITION_H_ + EOF +} + +src_compile() { + eninja -C out gn +} + +src_test() { + eninja -C out gn_unittests + out/gn_unittests || die +} + +src_install() { + dobin out/gn + einstalldocs + + if use vim-syntax; then + insinto /usr/share/vim/vimfiles + doins -r misc/vim/{autoload,ftdetect,ftplugin,syntax} + fi +} -- cgit v1.2.3-65-gdbad