From 8368c614e6a1232f34a14cd6495cf2f68933030d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 6 Oct 2023 17:57:58 +0100 Subject: gentoo auto-resync : 06:10:2023 - 17:57:58 --- app-containers/Manifest.gz | Bin 8385 -> 8386 bytes app-containers/earthly/Manifest | 6 +-- app-containers/earthly/earthly-0.7.15.ebuild | 74 --------------------------- app-containers/earthly/earthly-0.7.20.ebuild | 73 ++++++++++++++++++++++++++ 4 files changed, 76 insertions(+), 77 deletions(-) delete mode 100644 app-containers/earthly/earthly-0.7.15.ebuild create mode 100644 app-containers/earthly/earthly-0.7.20.ebuild (limited to 'app-containers') diff --git a/app-containers/Manifest.gz b/app-containers/Manifest.gz index 98bd22d0397c..d1e0599ab067 100644 Binary files a/app-containers/Manifest.gz and b/app-containers/Manifest.gz differ diff --git a/app-containers/earthly/Manifest b/app-containers/earthly/Manifest index 38fa75222711..29fd6c68fe74 100644 --- a/app-containers/earthly/Manifest +++ b/app-containers/earthly/Manifest @@ -1,10 +1,10 @@ -DIST earthly-0.7.15-deps.tar.xz 152884116 BLAKE2B 69f937981605da5db306cdd7f06cdeb106bf907e85ea83f29a77c719d662003b562e7263a5eeb9e478682c019a3d7a265d4cf4ab1c5bcf2f37efbaa42e9ae326 SHA512 368700ce71c8791069d8c14abc6e1d4bf7c356d770641c4172e3e8910c176f0ba8cd5c5738e639da2905385d5d4a961f52b84d8e228fc3e323876f1cda16265e -DIST earthly-0.7.15.tar.gz 7750609 BLAKE2B b727c6cde93abb3b3e39addc9e79c07fb21232902bca61b5a2b843d1c92b4b6628a1122eced0141b6be6c6678d80a7e473efc6513af07a416b3d6972e210defb SHA512 975d1c1c0055ed6e2884102f4d785833aea4c9257ba3f34e70eeea95c1215eb1dc769a036bdf036682d95dfa6bb30c35b897ff337b2af8b5d9d459f14ecc7cc4 DIST earthly-0.7.17-deps.tar.xz 152916336 BLAKE2B c54a1b6166cd55ac8417004c50c742c854a90bfd642f893d24b1a626498bbdfb02ef9e6b62ef79adac65db313b7819a000a673720a816159595c92d791d9c9d2 SHA512 df5db663b716cd8104b118cc421096b4ae1ccaf72a211a72c6a56812b8e0c8c890f4607dfa99dc3e240afca123793f6378adfb38a83c53facab5f39761e53ec1 DIST earthly-0.7.17.tar.gz 7755932 BLAKE2B e08d380673698e085cc5eb645337a709bf0ff3429f4565d15750e6f1d8aa82dc83d1f5c7aa155da163eb6b6376f275b171b88117b9a7903b23c1d7aba60fa38e SHA512 b495c5abf90397e044da3e394d859e02280c11b16f4c32f742624f7c97a51c597d32bdcc527cf5a99d4c5b09d1a238b7a6128d57e4be7cb0858e0f361fd0c597 DIST earthly-0.7.19-deps.tar.xz 152930992 BLAKE2B 436e66036a5772a8bb2f283522f064670b8bb9d8e811bf159db7c4a883d7a3be37e3acac3b003f21b806fe48a87b0aff9ea422b730b79c73d0ffcf08aeabc9c7 SHA512 154903533b406f8a2f4c7f7f41ad94ab09efd784c79ce4d579821e0d17dd9df5f783806d901e2c7a857467e4c543985847b379e167db57a0f5ed446ce78ec256 DIST earthly-0.7.19.tar.gz 7758683 BLAKE2B e81ca5c98bf92b69dff497202d9ec202d528422c16e435a90ef4758886f0b09ffed32e2a256e961db54aefd7549ba93d0983cddbb7cb878f747dcf4702fc1442 SHA512 b57215fd6dff2bbe4b2e559bc535746abdef6ddef9f808cce9519c6bff7578fb735923733ef2e4607fbbf00b9fcbde5a1f60cbb7098bc66b12165749d9404d84 -EBUILD earthly-0.7.15.ebuild 1805 BLAKE2B f3ec5c9ecefe0adc831aff49bf7e816ead47a4d7311f01fe4765183079312a44348a45b529f923b9f3403d477c721a5c273c9ef83320817ccaa4b0239019a586 SHA512 26ca0cdeb4135174915b201d6c2f60cbdfc9d017f5daf0c63642238d004e676282637a85007890b034967f43168ee429151bcf07d1a6bfa423a902eeeec2c720 +DIST earthly-0.7.20-deps.tar.xz 152928984 BLAKE2B f7a17986f79c5557fa92313d4405fbfd048462933bdf2a798065f443a9f8a9d60e47a78a51580eec3a779c77147a06314742221910ca855eb580194a9d072395 SHA512 59be72396b9241e6d59fc17628b97ea962e43d119587a2a92f84715105006f96f94c6f394703f4efaba07e04eeaa4fae223bab257d00275360b217b0c614920a +DIST earthly-0.7.20.tar.gz 7768141 BLAKE2B 6a00cd29ca6b6066d432342218f37ac27fcdf494dd7190b3c0ac590a0d13f01efcd5d7af9a51f39cc2b60071b25a346c6574d3b81b7c072c57db99ee303f8899 SHA512 be917a5d34dc7929616a9f708b39863b1de791e59a1b5940413a6245a9c4878b477a85dec20b47ab08e3662da5bc90096f86202a4f37c303291ce65d497a8aa9 EBUILD earthly-0.7.17.ebuild 1805 BLAKE2B d41f480a5ed08e5418e87640d4cabe0ba1d04679a1a1c245e02776255cdb0c6b1a6bd992cb574a4495ae3f19a835f19def26dc6ef32967e66cb5359d20db4598 SHA512 77ee4d4c7ff2b9e035b71e6ddd2bd7f5e52ab32e62ca68a3eae827383c340ed2ffbce147c257c9e8897c10baac4329d654e095b44ffd468e41fb2998959e697c EBUILD earthly-0.7.19.ebuild 1809 BLAKE2B a770adeb302567ccbee97f5e124b9a5fdcabad168d8aa3f3beb2895d1d756ddd0d964b7502abd11eaf5a001b05e0457067768683ff49d8d5a43167167d2ce25a SHA512 5ec2eb708e7c2c9d5a8f8e87bf33a9582ddc7e31b6fe4f9d8ad64385ad972e0ca456c40545f7ccc538b209ed301cb8e465f2dfadf818293044f4b28f6c336e5a +EBUILD earthly-0.7.20.ebuild 1816 BLAKE2B 6514a28442c53144c343ee5e93ccfb1ca36f0ca6bac46bebd5ef748177af909d2488823b180a59ae39f6d9edc225bc027032b7166a9245adb17ce1c4d82b85ee SHA512 c2cdab54f4e870dbf3176ddbd7f483dfb8f970dc6693f2799788ac394f0560b747cfc2bec1b0f5067569556390fd6d9b6f378b1d006b746efec7dd7111e2bd4b MISC metadata.xml 927 BLAKE2B b7d5184df16f39603bf6df8b503e701d737fec188d1d97673e4ca59babd990c1b872784c91db04c74d9a08dbffa76f4e7530d8b021cbbe9ae51fd9966f709522 SHA512 f7f49eb583b2b5a9939c26e9eaff3917392525c3a94e5f8274c89b69e172547ad02fa4ed1b078e7d778f765659e1b9a7cf99d88042034cfbfbef54e685c8b6dd diff --git a/app-containers/earthly/earthly-0.7.15.ebuild b/app-containers/earthly/earthly-0.7.15.ebuild deleted file mode 100644 index 8df3700e87c3..000000000000 --- a/app-containers/earthly/earthly-0.7.15.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -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 - - # Git SHA is needed at runtime by earthly to pull and bootstrap images. - local git_sha - if [[ ${PV} == 0.7.15 ]] ; then - git_sha=ae8f65528ad37a278985de2e234deb42b91e308f - else - die 'Could not detect "git_sha", please update the ebuild.' - fi - - 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_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.20.ebuild b/app-containers/earthly/earthly-0.7.20.ebuild new file mode 100644 index 000000000000..f4218dbca820 --- /dev/null +++ b/app-containers/earthly/earthly-0.7.20.ebuild @@ -0,0 +1,73 @@ +# 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.20 ]] ; then + GIT_COMMIT_SHA="9600f376026c11d23eb43fc68ad716d6ae4cca2e" +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 +} -- cgit v1.2.3