From 1551fe56fd6ba43a94509cffc61b6bf854b7ac9f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 1 Jun 2024 00:07:06 +0100 Subject: gentoo auto-resync : 01:06:2024 - 00:07:06 --- app-containers/earthly/Manifest | 6 +-- app-containers/earthly/earthly-0.8.13.ebuild | 71 +++++++++++++++++++++++++ app-containers/earthly/earthly-0.8.7.ebuild | 77 ---------------------------- 3 files changed, 74 insertions(+), 80 deletions(-) create mode 100644 app-containers/earthly/earthly-0.8.13.ebuild delete mode 100644 app-containers/earthly/earthly-0.8.7.ebuild (limited to 'app-containers/earthly') diff --git a/app-containers/earthly/Manifest b/app-containers/earthly/Manifest index 34cbc45da624..aa31edc595c1 100644 --- a/app-containers/earthly/Manifest +++ b/app-containers/earthly/Manifest @@ -4,8 +4,8 @@ DIST earthly-0.8.11-deps.tar.zst 180367967 BLAKE2B 3d321cc6177d4e113662b1ed99b19 DIST earthly-0.8.11.tar.gz 8089764 BLAKE2B 2d110482b2643498e0fd8ee03dba5a2d58d9a8d3ceea9507582184e3fe59ae9851fec1fbd16c636b23d2e7044a8375fc6fc3692431f637a043e71c2c2bab572f SHA512 fd92f6a86efd8576c1c75367f4b6e211c04615aaf5504f86192f85b751c628801439c22925797e0b2b775fa02b555b200a728085818e1d49d09f98847e5a99c0 DIST earthly-0.8.12-deps.tar.xz 163755972 BLAKE2B 6d5e7e2d157b54818bebca7cc0b57be23be4581660bae8002bb90983cc9478d9d05ebea3dd102123ced6c1f1a8b94f93ca0868c040defa1fb5f0137f901b1c50 SHA512 bcfc4eecfceefcf5677f145475406fe4fef9d3a70c177ea657f2f0eec7227c752fcc01b129c001fbb8d9fa6ba934a6425b0fb0957b6812d2f751e7d3b99dd0a2 DIST earthly-0.8.12.tar.gz 8090651 BLAKE2B ce916a50b23bc5567b4174ad88a5a52b9c728b4ee215239f46680fe5574f0cabe353d5a336e395f7eec42c86a726bb0d0da4b5204dcc9654c76a8a8cd3366fb4 SHA512 7cc62cc3af6aef039f8059e04564a181dd9b497cb51f15b6a49f2aad4a975147aa30d9109eb1c33cfc74a6f354eae77904d5c0e15e63172cb7ee20874b9bc05e -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.13-deps.tar.xz 163750220 BLAKE2B 995ed748f99b7d4c4ca90cdd1964c295270963e55462bfa3bdd830209a90303d67c91fed66e7d52984993ef58b1d060e140694fdc8931ca2181dd88701d8f6dd SHA512 ab3ee4fef9a87dab9009ffd4e31d00a256c8ad88096c8573a5a2fb782079392415752024821240da60549d260c9dcfe3d6f1457fb3fbc8cc8a1f2602bb875aee +DIST earthly-0.8.13.tar.gz 8082676 BLAKE2B cf6d5c6d397951a60302e5492ad219d3d673cce9bf2e06696a3cd8719dcf1d755644413171c7db1b27c60d6cbe0d85facf2d6a5d150c26dc5530c07d1255b742 SHA512 f3abd814c0c57f485a37c83e322d9a8478236ae4220baf455330a6a28d98a8cb7806fb4cee9525c9b27c51bc0ed8780872f51ece7194059658defd54cce1a6b5 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 DIST earthly-0.8.9-deps.tar.zst 180210180 BLAKE2B 8d48677c9dac4571efadb41c882520ba6f92bfc4a6f36ae55f6ce54c258f16dbd693412d1a25b4467d078c2b9b039b96d934236c3a071f1f64040b2da5a3d848 SHA512 f504567855830d8027d830372f8e365b8f9893d3625b94b2e91294985f65be3d276cdceba9913ef37a6e1a45debcd8fb393e6ea0d16615c06a188862b33d8a1d @@ -13,7 +13,7 @@ DIST earthly-0.8.9.tar.gz 8070633 BLAKE2B 3ed83bf57654f89d0b579ec9df64a9025d9fae EBUILD earthly-0.8.10.ebuild 1873 BLAKE2B 7c1ea309aed992babc0f8127d2a4df9797d50c96e32dbb0d6c84f8b58245ca470b9faa2fc3284c0afef9580ba3f09d8fe6dfe820b8efddb4a1e67748a8591922 SHA512 242fd126574b5f0785526cd495c5fdece4f9eed947c54f111c076df9fb8adac01dd47c844dbac4755f77886e0f5aef40bfe1f5b87497c7ae3d8734e716a5e02c EBUILD earthly-0.8.11.ebuild 1877 BLAKE2B 6fc911dc914dd7ec94547b1e5e16dad19bde6e3ec77594b6eb5c4f9de064a6fa7adf3e2fd6b8b43f88831f28560f35b4bbf8c34dfecf7946fc763c4005c96bac SHA512 87b227258225147c8e8d250df51d6b6d985684b3eee0d094032ed5d03e853b3d0b79562deccae34a863a2c7ca1f052d852689924765f2d70f057a63e67c2122c EBUILD earthly-0.8.12.ebuild 1796 BLAKE2B 9d90d9f6e3887215fca65f86fbc1f4fe67349d8d34b1b2a1bc1e81aa758f53c3de49027c4f970f905b8827ea5d2b7d2da55af8bdad743490b0f7a10fa32bd4c1 SHA512 4f40f488c2c726ff5e3eb4fbe4d9b7c9aee4d172e0f8f66e62cfde6dafdcace729cfe3f61bbef1487fbc52b318df857c2ae4287b7ac181869cd3254bc00fabce -EBUILD earthly-0.8.7.ebuild 1862 BLAKE2B fc9386cce94af0de01a92f5ccbcb92ff94c59326aefdabcb696368b7c42b86fc6f538fc8eae457313334c2d4de07c40548ab4eda9ba8f788576f5dd215667024 SHA512 98c049271a82f6fcff542ab269ca609460ba956159e6ec4c8b5b9a534c8c96918789e41567f034cbda518c5bfb35d6681111c7b34fa3795332c5d952e6379fba +EBUILD earthly-0.8.13.ebuild 1796 BLAKE2B 146155eec0dd7ba5d88bd8f1df5584b04d67374561a4fde80043b933740d1bc9ca1dfd7a3676598b4932e21fac63f3e8b233f465919d2ad884d5c426586c0eaf SHA512 ae06695aa894ebd27248ae4dbf2c0912150d8028180716da33733efad908006af3ae6e19a766035576ed78f8f8fe2ce2fb5ea69c67f2e7584e43ca70c3f12426 EBUILD earthly-0.8.8.ebuild 1862 BLAKE2B 9332cbe6ec6b56140dc6ff634f4f86eb43961db3749546aa19e02c835e763bde698d2a58762859c99851c30ac1a9b2131492a0435b86c64cd2b2f19eef500322 SHA512 42ed4b6b318f112205c75fc61a098d5ba329420a7018f4b890c1a07d515b99c66b65c08d3e2fddfd98cfd8f531a90d54f516d1a7138f7e921863797322b2e278 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.13.ebuild b/app-containers/earthly/earthly-0.8.13.ebuild new file mode 100644 index 000000000000..bcc7dddfc5ca --- /dev/null +++ b/app-containers/earthly/earthly-0.8.13.ebuild @@ -0,0 +1,71 @@ +# 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.13" ]] ; then + COMMIT_SHA="251e0eada58646e71c562b803bc4b9adbcf07637" +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 -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 +} diff --git a/app-containers/earthly/earthly-0.8.7.ebuild b/app-containers/earthly/earthly-0.8.7.ebuild deleted file mode 100644 index 408ac489887a..000000000000 --- a/app-containers/earthly/earthly-0.8.7.ebuild +++ /dev/null @@ -1,77 +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.7 ]] ; then - COMMIT_SHA=c18f025070261439c15a97897a8940cb109ea7c4 -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 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