From 0770f5276c9044be774368cba8d9d8ce7a43627a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 23 Jan 2024 04:47:34 +0000 Subject: gentoo auto-resync : 23:01:2024 - 04:47:34 --- app-containers/earthly/Manifest | 9 ++-- app-containers/earthly/earthly-0.7.21.ebuild | 73 ---------------------------- app-containers/earthly/earthly-0.7.22.ebuild | 73 ---------------------------- app-containers/earthly/earthly-0.8.0.ebuild | 73 ++++++++++++++++++++++++++++ 4 files changed, 76 insertions(+), 152 deletions(-) delete mode 100644 app-containers/earthly/earthly-0.7.21.ebuild delete mode 100644 app-containers/earthly/earthly-0.7.22.ebuild create mode 100644 app-containers/earthly/earthly-0.8.0.ebuild (limited to 'app-containers/earthly') diff --git a/app-containers/earthly/Manifest b/app-containers/earthly/Manifest index 78519ac05e0e..5b7437f464fc 100644 --- a/app-containers/earthly/Manifest +++ b/app-containers/earthly/Manifest @@ -1,10 +1,7 @@ -DIST earthly-0.7.21-deps.tar.xz 153233840 BLAKE2B e5f2590997eb839232a84bc75c787ad86434b1992b61a64fb312e55034356c37af041d99aeb792386209c22b50488a4a023a3f96d6a71fd1618d42352a90c82a SHA512 7ebde8158672dd63d35be2a2ac1eef4cb3ae7b48c312dca9a856676520d959467766cbcc2449b3bf899fa730283fc78c05bccf465c2fefb18226c7779267dd6e -DIST earthly-0.7.21.tar.gz 7788611 BLAKE2B 697194102a3d0af16744b42f2489a38db588ddfcc4d9e3358f259733500a69c188e11e71f6f5e9900a36c91b84d0314a6defdea339d4882f0490f2a9a4119408 SHA512 408298019bdb5797d96edd008b8e430de2cce701c93cb2f55a0faf5a9a4865e26283d8a80b82163e8b51ef82518ec35a7530aa887d598c15027243f6008954d1 -DIST earthly-0.7.22-deps.tar.xz 156575120 BLAKE2B d10d38f62ddd134705fd840a5912d69f0ce50aa39d6fba9ce1e23496af2a19034886eb47521333ad6fd0b36addba59b465eb9b74e585ae79505a47baaa5487de SHA512 c3f6648d0d51a4195c191c6ad6db92adec5e7e488cb63c0be49338445d5d0a22a1d49792d88a297689a23b38fcd0e8eab701ad1419c19d03d627c3ec92414b56 -DIST earthly-0.7.22.tar.gz 7813193 BLAKE2B f34b938776379f2ba0722757d53646d89841ed0dc35dc106f79f69166e3ab12c78b29913a5711ae403a940dbfab9526c306b773aa962bbb4b5bdc27fb04fce23 SHA512 62bb8c477589d5d3492fe5c2c2534d5f56afa4aca8862bee6691e867d3dd6fb904ecbe08c02a0058968c98b1b75beb43caf4f7b6997a00c2d73fc9614516658d DIST earthly-0.7.23-deps.tar.xz 157140928 BLAKE2B 493c7dce3e79f94659e99501020c07232a2d6ff78a055209b1b42be8615e38e01dacef4ceb50a80ed26e597de4dbb892fee2d54f6721fd5af62c86a0a9197d45 SHA512 a278077be794a1085105271fc3e031c02079e2b4f45c7220b3114df72ba26758758d5c0f1171ff861feb1c305765952494bf1afe95dcc469d2b9c6aad13fe7b9 DIST earthly-0.7.23.tar.gz 8023353 BLAKE2B 458850b26a2730eb10ae3912f249d6ba9fdf81ed0c734f568ebf2cbaf5da005d258d38a089d452d42628d071d0b07f73e4f73cb29e7a02c406c1ea394d22ae97 SHA512 be524a6ab86ad3cff307d990f3645007cde673383cbaf132ebc6ab9e7052e8d13e163e958353041151d9fe6dc987ab75372dbf061a8413a932408a844cfe1007 -EBUILD earthly-0.7.21.ebuild 1815 BLAKE2B a0692dca782e264b67a80abbfd483dbe1fec441d572ea3044757e7272d2fd7fd0c262625f7737f89d728a9fb5969e09df26b11084a25065d8ace18fe2520b8ff SHA512 8fb15dba6822e82ba72155a66354b61780d3338eebaed1077e43dacb4df3081a18f8938f07641610ad52c2fed09bdc73c2b51fd47af562ad2d777bde7f63e1c3 -EBUILD earthly-0.7.22.ebuild 1815 BLAKE2B 900072e82f6abfb22384d538a23cba53aa8dcd2c113d67f99627aa9c82269ec96e293d73ffb26f2b6c4dda85e9d3522b8ffa1eaa47d118f7a1f7aee78eac22b9 SHA512 6c61b8eddfd270d674a0d6c4de5a792679a1736770e185940fb4e88a1b0a3e7e35b98ef555d92fa8773ab1c6302e3a1cf4e277493e5b2c5329c00726a2050a5e +DIST earthly-0.8.0-deps.tar.xz 158417236 BLAKE2B 998240c6065dd46eebc311975fa98e657a9568b6e26f0113d00e2f55b1cea8b017425fb6cafa7a7a5d7dd2ccdbaf711cee62b5a98d92322f9ff8a6458bb31a02 SHA512 1fd31f82acb7862a4deff611f088b73fd15e04a2bf56d91dff955ffb4c3c54425f6011b7a2bcf94fbb721ea820cc3728f8038870eb073c6d12d435406167dc8b +DIST earthly-0.8.0.tar.gz 8029214 BLAKE2B 1ca0afa4e92a05fca47ada6a6b74d789fb9571b0e92cc7bbb0ccc88930a128db76382b3e5137073ebd82f74fb8d43b81f8e6d056a08e6fa73978f23b680b36e2 SHA512 661c1e15cf8943dfcd8d55c36191f4f9da6dc705bb894194ff0a31733038f7b74d2b187a066c6a6cc329a9a89f362299f1de3b370f273ce87e2e3cdd2b4c8163 EBUILD earthly-0.7.23.ebuild 1813 BLAKE2B f467ed655eb54b39dc41f50f95f293898779a5efd30892ffa243e48e5524e6e90ef76825906745541d5ca1e6f43dec46cf30c734deee64f2f2eb79e81641a098 SHA512 35c1754664cd08dd6c582909aec2a23e73d404d0d9bc003eba5c63b6e1ed230c1674cc71c64809182236a558481c7e05b224fe541a8b6eb4e9d81532037349b2 +EBUILD earthly-0.8.0.ebuild 1801 BLAKE2B 476e1e789d9656e9eba53469236b84a6da504e065e8b0c820db739ade650c82c2e4aff48bc1f0e0b899cc870a5fcc220a9c40de73d2cf005bb6ab0f520f13f78 SHA512 cfc25d37cb0ae1ae068ff0b8eadf1fd7c50e28215ffc2bcacd7cbc9c49bed2b2f72428282405a704cbd2f8a38f8d769764c3abc9c9c48cb315dced781bd86634 MISC metadata.xml 927 BLAKE2B b7d5184df16f39603bf6df8b503e701d737fec188d1d97673e4ca59babd990c1b872784c91db04c74d9a08dbffa76f4e7530d8b021cbbe9ae51fd9966f709522 SHA512 f7f49eb583b2b5a9939c26e9eaff3917392525c3a94e5f8274c89b69e172547ad02fa4ed1b078e7d778f765659e1b9a7cf99d88042034cfbfbef54e685c8b6dd diff --git a/app-containers/earthly/earthly-0.7.21.ebuild b/app-containers/earthly/earthly-0.7.21.ebuild deleted file mode 100644 index c7e5a355fab4..000000000000 --- a/app-containers/earthly/earthly-0.7.21.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Git commit SHA is needed at runtime by earthly to pull and bootstrap images. -if [[ "${PV}" == 0.7.21 ]] ; then - GIT_COMMIT_SHA="f4c9f47e48c3815e95fe9574e824524d34a20219" -else - die 'Could not detect "GIT_COMMIT_SHA", please update the ebuild.' -fi - -inherit go-module - -DESCRIPTION="Build automation tool that executes in containers" -HOMEPAGE="https://earthly.dev/ - https://github.com/earthly/earthly/" -SRC_URI=" - https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz - -> ${P}.tar.gz - https://dev.gentoo.org/~xgqt/distfiles/deps/${P}-deps.tar.xz -" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="amd64 ~x86" - -RDEPEND=" - || ( - app-containers/docker - app-containers/podman - ) -" - -DOCS=( CHANGELOG.md CONTRIBUTING.md README.md ) - -src_compile() { - mkdir -p bin || die - - local go_tags="dfrunmount,dfrunsecurity,dfsecrets,dfssh,dfrunnetwork,dfheredoc,forceposix" - local go_ldflags=" - -X main.DefaultBuildkitdImage=docker.io/earthly/buildkitd:v${PV} - -X main.GitSha=${GIT_COMMIT_SHA} - -X main.Version=v${PV} - " - local -a go_buildargs=( - -tags "${go_tags}" - -ldflags "${go_ldflags}" - -o bin - ) - ego build "${go_buildargs[@]}" ./cmd/... -} - -src_install() { - exeinto /usr/bin - doexe bin/earthly - newexe bin/debugger earthly-debugger - - einstalldocs -} - -pkg_postinst() { - if has_version "app-containers/podman" ; then - ewarn "Podman is supported but not recommended." - ewarn "If issues arise, then please try running earthly with docker." - fi - - if has_version "app-containers/podman[rootless]" ; then - ewarn "Running podman in rootless mode is not supported because" - ewarn "earthly/dind and earthly/buildkit require privileged access." - ewarn "For more info see: https://docs.earthly.dev/docs/guides/podman/" - fi -} diff --git a/app-containers/earthly/earthly-0.7.22.ebuild b/app-containers/earthly/earthly-0.7.22.ebuild deleted file mode 100644 index 6043d7bebe64..000000000000 --- a/app-containers/earthly/earthly-0.7.22.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Git commit SHA is needed at runtime by earthly to pull and bootstrap images. -if [[ "${PV}" == 0.7.22 ]] ; then - GIT_COMMIT_SHA="5763a1bb41dfa3fb7246d657962da06295cf83d7" -else - die 'Could not detect "GIT_COMMIT_SHA", please update the ebuild.' -fi - -inherit go-module - -DESCRIPTION="Build automation tool that executes in containers" -HOMEPAGE="https://earthly.dev/ - https://github.com/earthly/earthly/" -SRC_URI=" - https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz - -> ${P}.tar.gz - https://dev.gentoo.org/~xgqt/distfiles/deps/${P}-deps.tar.xz -" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="amd64 ~x86" - -RDEPEND=" - || ( - app-containers/docker - app-containers/podman - ) -" - -DOCS=( CHANGELOG.md CONTRIBUTING.md README.md ) - -src_compile() { - mkdir -p bin || die - - local go_tags="dfrunmount,dfrunsecurity,dfsecrets,dfssh,dfrunnetwork,dfheredoc,forceposix" - local go_ldflags=" - -X main.DefaultBuildkitdImage=docker.io/earthly/buildkitd:v${PV} - -X main.GitSha=${GIT_COMMIT_SHA} - -X main.Version=v${PV} - " - local -a go_buildargs=( - -tags "${go_tags}" - -ldflags "${go_ldflags}" - -o bin - ) - ego build "${go_buildargs[@]}" ./cmd/... -} - -src_install() { - exeinto /usr/bin - doexe bin/earthly - newexe bin/debugger earthly-debugger - - einstalldocs -} - -pkg_postinst() { - if has_version "app-containers/podman" ; then - ewarn "Podman is supported but not recommended." - ewarn "If issues arise, then please try running earthly with docker." - fi - - if has_version "app-containers/podman[rootless]" ; then - ewarn "Running podman in rootless mode is not supported because" - ewarn "earthly/dind and earthly/buildkit require privileged access." - ewarn "For more info see: https://docs.earthly.dev/docs/guides/podman/" - fi -} diff --git a/app-containers/earthly/earthly-0.8.0.ebuild b/app-containers/earthly/earthly-0.8.0.ebuild new file mode 100644 index 000000000000..ebf995573dfa --- /dev/null +++ b/app-containers/earthly/earthly-0.8.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Git commit SHA is needed at runtime by earthly to pull and bootstrap images. +if [[ "${PV}" == 0.8.0 ]] ; then + COMMIT_SHA=c23e2735fdceeb3f17bae3746a05cbc8e98fafe3 +else + die 'Could not detect "COMMIT_SHA", please update the ebuild.' +fi + +inherit go-module + +DESCRIPTION="Build automation tool that executes in containers" +HOMEPAGE="https://earthly.dev/ + https://github.com/earthly/earthly/" +SRC_URI=" + https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz + https://dev.gentoo.org/~xgqt/distfiles/deps/${P}-deps.tar.xz +" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + || ( + app-containers/docker + app-containers/podman + ) +" + +DOCS=( CHANGELOG.md CONTRIBUTING.md README.md ) + +src_compile() { + mkdir -p bin || die + + local go_tags="dfrunmount,dfrunsecurity,dfsecrets,dfssh,dfrunnetwork,dfheredoc,forceposix" + local go_ldflags=" + -X main.DefaultBuildkitdImage=docker.io/earthly/buildkitd:v${PV} + -X main.GitSha=${COMMIT_SHA} + -X main.Version=v${PV} + " + local -a go_buildargs=( + -tags "${go_tags}" + -ldflags "${go_ldflags}" + -o bin + ) + ego build "${go_buildargs[@]}" ./cmd/... +} + +src_install() { + exeinto /usr/bin + doexe bin/earthly + newexe bin/debugger earthly-debugger + + einstalldocs +} + +pkg_postinst() { + if has_version "app-containers/podman" ; then + ewarn "Podman is supported but not recommended." + ewarn "If issues arise, then please try running earthly with docker." + fi + + if has_version "app-containers/podman[rootless]" ; then + ewarn "Running podman in rootless mode is not supported because" + ewarn "earthly/dind and earthly/buildkit require privileged access." + ewarn "For more info see: https://docs.earthly.dev/docs/guides/podman/" + fi +} -- cgit v1.2.3