From 6243676c91946098c06d42bc87b5eb99aac40bf0 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 25 Apr 2024 23:59:45 +0100 Subject: gentoo auto-resync : 25:04:2024 - 23:59:45 --- app-containers/earthly/Manifest | 9 ++-- app-containers/earthly/earthly-0.8.4.ebuild | 71 -------------------------- app-containers/earthly/earthly-0.8.5.ebuild | 71 -------------------------- app-containers/earthly/earthly-0.8.9.ebuild | 77 +++++++++++++++++++++++++++++ 4 files changed, 80 insertions(+), 148 deletions(-) delete mode 100644 app-containers/earthly/earthly-0.8.4.ebuild delete mode 100644 app-containers/earthly/earthly-0.8.5.ebuild create mode 100644 app-containers/earthly/earthly-0.8.9.ebuild (limited to 'app-containers/earthly') diff --git a/app-containers/earthly/Manifest b/app-containers/earthly/Manifest index 280cbbf5baa3..433bb8d27da7 100644 --- a/app-containers/earthly/Manifest +++ b/app-containers/earthly/Manifest @@ -1,16 +1,13 @@ -DIST earthly-0.8.4-deps.tar.xz 158470344 BLAKE2B c3ec6369f8b397abd9b76dc77461c628e14ecc5866c8b66d094c3fe3194b18330be78454b57f211a717785210da40dc3c83e7d9769c62d621ca42a9d70f7be7f SHA512 d9b0960e02cf288b933a8da954e597957b2e8dc0920e2dca208a17d41c84bc1bcff789ee1c02fa930d5d0a816cb03437b091375168e0f46f3d3cf330a643b308 -DIST earthly-0.8.4.tar.gz 8041021 BLAKE2B 66057e29d4b287a220d8799efb4a1c5c43ea7641029e3af59bf8556125df28f9eafddc20d515fd20fab8c09bbb6278af4ea525f4bbe38d0e24ee031fc65c7336 SHA512 b663a10feb255329dfca30d5d70cb5c36ad5f96ed2b0cd30c46dd1b4ad087ab15b941fe6d3be3e32b1eee8199b5ee8ae50d61739c290b8967b6fcfd4126327db -DIST earthly-0.8.5-deps.tar.xz 157843872 BLAKE2B aade314abdcd8aaf18737908df1a90d71c907f286df463c9f8ce9654d5e212387b7107070225bf85f54d6e4688a741b7838b5c70d9f1a09ac15e904b83d4d2b8 SHA512 557b3477c1773c27934429677a53efbdc104230fcbd536cb73e8cd631ccf2af488731acc5555484298fc579e08b8e52031191b49ef0610595b2b67cc987232e3 -DIST earthly-0.8.5.tar.gz 8051712 BLAKE2B b9310a28d79bec7a59525a541cdd51960762b0695ccf15fd33be8a9917a7e52b2251a4ebf202c4f02036b3c178b8d26fc9bc4802b9d6a73a5bfc39623c5075d7 SHA512 206dc95c2ef4b89ea7dd65b2b04f4ac7606d63891cea708f7d7dcdff8f3e9ed113b090b65c0285175412cd76fca18852bf77eeddc2e0f2782f390e5bce1f8b86 DIST earthly-0.8.6-deps.tar.xz 157843872 BLAKE2B aade314abdcd8aaf18737908df1a90d71c907f286df463c9f8ce9654d5e212387b7107070225bf85f54d6e4688a741b7838b5c70d9f1a09ac15e904b83d4d2b8 SHA512 557b3477c1773c27934429677a53efbdc104230fcbd536cb73e8cd631ccf2af488731acc5555484298fc579e08b8e52031191b49ef0610595b2b67cc987232e3 DIST earthly-0.8.6.tar.gz 8052646 BLAKE2B 43cb74b7ad198d6418a60dd8b3bac61c1bf67f460b73ca3627647ce71778178e69075bc5122a24cfe33c075c40e962db60845ae6d0933782432eb56087ed83f2 SHA512 4c5ae65452ff940bbeeff7ec489882c5db82597977d18ac3f187ae6a444f6b78222f16f3e0ff10250100195227b925d1a73e24c2ffce618b8675fd826302a47a DIST earthly-0.8.7-deps.tar.zst 180209748 BLAKE2B e4c5f4b856d0ed3a0c757128c144f6267fd763118de12a51877781e82ea15722420c871f5d66a4dd797cc67b85b7c7cd26a1d2e8f417bd5517f1109e376bbefc SHA512 b8dc56b302aca63837a87cfcced4d0387adaea5433b72eb7c7056dab8a486208d06fff39b4ecd753a30f27878b1497eb1892456876e7632ee2c44926747a12d6 DIST earthly-0.8.7.tar.gz 8062437 BLAKE2B 82796711c13cb7fd2bf957148ddd7ff31d14b9888b30a910682b956ecb8cd9c66539a71b558f92f972b54c566411257c769dadfe2e1d720d9a4e496292185d48 SHA512 c8bddfc2c4e5702abb5c119a022ab5cc875b460535fb5af4364ee7bd89e950768f71fe1ccf1860d0826d8934b283745ca22abae147852a7b779081373b40be4f DIST earthly-0.8.8-deps.tar.zst 180214607 BLAKE2B f407dcc4cb8daee7ac53433af830b6c872b0c9e1e05004b2bc4c8706eb98b65e457f7bea2b221e6c4cf4dfe8bb218a5ca60e85beb1f7839cb0ffaadaf8110ad3 SHA512 6a9d0eb7a69b36cca2f79d3f92e21f9f97d858451308f7151e4810c479105b7dad3fe2ad1b8a90a6ca9f0c7d3d06a8f89cd3eab4fde54e10fae2e3ea98fbb7bb DIST earthly-0.8.8.tar.gz 8069650 BLAKE2B 05dca12e206a22c522d36711cb960525bb20c51439dd73c8ec4a96151c306022483ade55ebe80f30d85acba3c1531b0c9b97115702c6bfc96daa615d9b798d31 SHA512 9a19ddfcaa40720b1cbab166e40a6300a79d38245074bd111082eaa04206ae8020c7596ad5801f3048e3a411cbcd88b161d8c01375e4b00192b8cf2b23e62e77 -EBUILD earthly-0.8.4.ebuild 1781 BLAKE2B 536d58e1bc3b2e18fde2ff6ee85296a2e666bd67af47ec3ccacf8dc5b8a127b639a12b7a09d4d7a89af9fe0068513b825239e2d0b2b9ca70a94eefd01641f102 SHA512 8d3504d6e1bbd517d660392fd2f734c2061a48e19aa397bad7284c0823587b77b0090cdf1697b93451362fd110d22aa15115c6bf4bd930c468fbeccc105b9453 -EBUILD earthly-0.8.5.ebuild 1781 BLAKE2B afc6d0b17b07b47828256815031d62038dad6a180e7263d429d73bc9958a6ed1f2672af0a8a33186fbf74e8a6aac6d48700362a0ae040bea5f5f72a632cafb68 SHA512 6c8fd6bf5f1ed1a02050d481fc4a5b8a03c6e94f2406962a5693e75d09e0308f9c3bcf3c7c30cd786973bc5740033773e70c72be3d52d47da5f101f40bea2c26 +DIST earthly-0.8.9-deps.tar.zst 180210180 BLAKE2B 8d48677c9dac4571efadb41c882520ba6f92bfc4a6f36ae55f6ce54c258f16dbd693412d1a25b4467d078c2b9b039b96d934236c3a071f1f64040b2da5a3d848 SHA512 f504567855830d8027d830372f8e365b8f9893d3625b94b2e91294985f65be3d276cdceba9913ef37a6e1a45debcd8fb393e6ea0d16615c06a188862b33d8a1d +DIST earthly-0.8.9.tar.gz 8070633 BLAKE2B 3ed83bf57654f89d0b579ec9df64a9025d9fae1da755018c83cfd6ac03e70da176de564185a2ad1f68383ff0c6a2e26132568cb451bc1b474b87c4852dc2266b SHA512 e1fccfafa845b1964f824850c05fa39904e2804f8145f24342ee86e6c9f1a8ffbb30b1a822744343f59ba9dc4b1e4788020d0cc6b954d9f62eeeb43a594bd326 EBUILD earthly-0.8.6.ebuild 1781 BLAKE2B edc5d5cde586cd3badee3b8b9c9b005e44e8e630a0b6b9bed13fb3109447b5b3ced6eb1c4fe98ca683e2ce9ede8d0aa2451ed84a80747824b74eae4212758a17 SHA512 abbb30e209f0f7464b1d41b682dbdaa124398eb597108d862e1cc6b786ccaf1932cbf9e3c5a6d10aeb5826c41f619eb154b153d4092e8257c1b18859dbcc6ccb EBUILD earthly-0.8.7.ebuild 1863 BLAKE2B 1d7bc52f1fdf575a3a6d49fdc360aa077fd0688c5c27c445d7441cbf769e602cf0de77627d1045adc5fbc20ea2712fc9dd23149c335f933edfe21c0086db62f4 SHA512 fe84123b4423936a3ad3b06b8baf5c70c129e8fbd4d4216074a9e67579d38b52cef2db04debccd3e357d17d697e071bee57538510aec39422621b95c33300149 EBUILD earthly-0.8.8.ebuild 1863 BLAKE2B 7a28cfa40b085b46d570fc6e7d30888fe476f68510acfae7e9ad9608fc39a94da74f9e3fbed2e50a41b93246251841004ff70b39e2eb81bb364b58a7570db1d5 SHA512 0015769ef0a2ecefd3ea57ecfad548bf58f545991f0b8b3e019c04f184bf34493076bc8aff9792c89a2cb5bc93a0c1cee1d1c7c2f5566592c0f408f84f64cd4d +EBUILD earthly-0.8.9.ebuild 1872 BLAKE2B 2432114af50064558dbdcfdcf27311cc0b6739eb9483ba02773241d5e0f1e6cf497dd580caf234782f2fa6ff654c8a7973608bfc2efd448dcf7ce0f8f52ae299 SHA512 def299bc3e4cc199d521b87fecb727222f14ab9a8c14c30c6fcba1a3fe7ab04f1c0b6b2d74e89c8729007cde740a3d31c9577bcef123b1e1c0947e2aa1c0709a MISC metadata.xml 927 BLAKE2B b7d5184df16f39603bf6df8b503e701d737fec188d1d97673e4ca59babd990c1b872784c91db04c74d9a08dbffa76f4e7530d8b021cbbe9ae51fd9966f709522 SHA512 f7f49eb583b2b5a9939c26e9eaff3917392525c3a94e5f8274c89b69e172547ad02fa4ed1b078e7d778f765659e1b9a7cf99d88042034cfbfbef54e685c8b6dd diff --git a/app-containers/earthly/earthly-0.8.4.ebuild b/app-containers/earthly/earthly-0.8.4.ebuild deleted file mode 100644 index 68c0c2bce8e6..000000000000 --- a/app-containers/earthly/earthly-0.8.4.ebuild +++ /dev/null @@ -1,71 +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.8.4 ]] ; then - COMMIT_SHA=c22fa520401cf274bd92151442ea0d9c353173fa -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() { - 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 -} diff --git a/app-containers/earthly/earthly-0.8.5.ebuild b/app-containers/earthly/earthly-0.8.5.ebuild deleted file mode 100644 index 94da15dd4a73..000000000000 --- a/app-containers/earthly/earthly-0.8.5.ebuild +++ /dev/null @@ -1,71 +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.8.5 ]] ; then - COMMIT_SHA=a6b5b8dca64fdae64f089ac48cefa60ab39974c4 -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() { - 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 -} diff --git a/app-containers/earthly/earthly-0.8.9.ebuild b/app-containers/earthly/earthly-0.8.9.ebuild new file mode 100644 index 000000000000..c2d32ac9fae0 --- /dev/null +++ b/app-containers/earthly/earthly-0.8.9.ebuild @@ -0,0 +1,77 @@ +# 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.9 ]] ; then + COMMIT_SHA=a2fc61ee6e00ed5b8ad09bd06c59451534e2541e +else + die 'Could not detect "COMMIT_SHA", please update the ebuild.' +fi + +inherit go-module unpacker + +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.zst +" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + || ( + app-containers/docker + app-containers/podman + ) +" + +DOCS=( CHANGELOG.md CONTRIBUTING.md README.md ) + +src_unpack() { + unpacker "${P}-deps.tar.zst" + + go-module_src_unpack +} + +src_compile() { + local -r go_tags="dfrunmount,dfrunsecurity,dfsecrets,dfssh,dfrunnetwork,dfheredoc,forceposix" + local -r go_ldflags=" + -X main.DefaultBuildkitdImage=docker.io/earthly/buildkitd:v${PV} + -X main.GitSha=${COMMIT_SHA} + -X main.Version=v${PV} + " + local -a -r 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