diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-19 00:01:59 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-19 00:01:59 +0100 |
commit | 9d4810f84de876ec9d0ae03d0d44224500b41188 (patch) | |
tree | 1ca0866afdc949e405d20635d3d7f2115abb9ace /app-containers/earthly | |
parent | 075fd1f8cabc5879c6eb42127fb84c3058677fde (diff) |
gentoo auto-resync : 19:05:2024 - 00:01:59
Diffstat (limited to 'app-containers/earthly')
-rw-r--r-- | app-containers/earthly/Manifest | 3 | ||||
-rw-r--r-- | app-containers/earthly/earthly-0.8.11.ebuild | 77 |
2 files changed, 80 insertions, 0 deletions
diff --git a/app-containers/earthly/Manifest b/app-containers/earthly/Manifest index bcb69dc46436..c7c18c459b9e 100644 --- a/app-containers/earthly/Manifest +++ b/app-containers/earthly/Manifest @@ -1,5 +1,7 @@ DIST earthly-0.8.10-deps.tar.zst 180360414 BLAKE2B c734773657da1194f2708212aca3e8fa2ec7869350c47c5ee5b52c2931e56ddce9292c1670f7d8ce089a8f6597e4fa25b29b1e57304c248ab29f783e040691f1 SHA512 2745f08330403e4976fb970ba2e7bbac769b20111571c800e9e774a4486b9da816d91da8d83e2b4fcc53627184a7c054e9f66c182cba9af5a9b7d6e044ad9a19 DIST earthly-0.8.10.tar.gz 8089062 BLAKE2B 0d3e29b84121d42995c8171a4e39815fb752d2aa36eb00efd0286a8cbd014d1b64db576f654104412433e5403812f1fa8bed2bbcfb981589fdab1fbc30e4dc1f SHA512 1449953fd705f3547f4da9eb53a674a6ef37d30a669b758a9abad5800decef650f57f3ec4436de191c8aff09d4c1b4b4bdaf5e591af1a06d568fdd18ab3670f9 +DIST earthly-0.8.11-deps.tar.zst 180367967 BLAKE2B 3d321cc6177d4e113662b1ed99b190dd2b344c6295a22d21b278e3a6620c1669eea3572ad6f1300335e23e752b8b029808411604bfef5cdd53c0e353cac7cc31 SHA512 b238ffd6996f17ce1f4e87ae3e4705d84cab1161143f06074cedd9bbf89a2feecbace3efe5b4a827471388ff80eb265febc4c59ee2acca9ebf02a8a301974702 +DIST earthly-0.8.11.tar.gz 8089764 BLAKE2B 2d110482b2643498e0fd8ee03dba5a2d58d9a8d3ceea9507582184e3fe59ae9851fec1fbd16c636b23d2e7044a8375fc6fc3692431f637a043e71c2c2bab572f SHA512 fd92f6a86efd8576c1c75367f4b6e211c04615aaf5504f86192f85b751c628801439c22925797e0b2b775fa02b555b200a728085818e1d49d09f98847e5a99c0 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 @@ -7,6 +9,7 @@ DIST earthly-0.8.8.tar.gz 8069650 BLAKE2B 05dca12e206a22c522d36711cb960525bb20c5 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.10.ebuild 1873 BLAKE2B 7c1ea309aed992babc0f8127d2a4df9797d50c96e32dbb0d6c84f8b58245ca470b9faa2fc3284c0afef9580ba3f09d8fe6dfe820b8efddb4a1e67748a8591922 SHA512 242fd126574b5f0785526cd495c5fdece4f9eed947c54f111c076df9fb8adac01dd47c844dbac4755f77886e0f5aef40bfe1f5b87497c7ae3d8734e716a5e02c +EBUILD earthly-0.8.11.ebuild 1877 BLAKE2B 6fc911dc914dd7ec94547b1e5e16dad19bde6e3ec77594b6eb5c4f9de064a6fa7adf3e2fd6b8b43f88831f28560f35b4bbf8c34dfecf7946fc763c4005c96bac SHA512 87b227258225147c8e8d250df51d6b6d985684b3eee0d094032ed5d03e853b3d0b79562deccae34a863a2c7ca1f052d852689924765f2d70f057a63e67c2122c EBUILD earthly-0.8.7.ebuild 1862 BLAKE2B fc9386cce94af0de01a92f5ccbcb92ff94c59326aefdabcb696368b7c42b86fc6f538fc8eae457313334c2d4de07c40548ab4eda9ba8f788576f5dd215667024 SHA512 98c049271a82f6fcff542ab269ca609460ba956159e6ec4c8b5b9a534c8c96918789e41567f034cbda518c5bfb35d6681111c7b34fa3795332c5d952e6379fba EBUILD earthly-0.8.8.ebuild 1863 BLAKE2B 7a28cfa40b085b46d570fc6e7d30888fe476f68510acfae7e9ad9608fc39a94da74f9e3fbed2e50a41b93246251841004ff70b39e2eb81bb364b58a7570db1d5 SHA512 0015769ef0a2ecefd3ea57ecfad548bf58f545991f0b8b3e019c04f184bf34493076bc8aff9792c89a2cb5bc93a0c1cee1d1c7c2f5566592c0f408f84f64cd4d EBUILD earthly-0.8.9.ebuild 1872 BLAKE2B 2432114af50064558dbdcfdcf27311cc0b6739eb9483ba02773241d5e0f1e6cf497dd580caf234782f2fa6ff654c8a7973608bfc2efd448dcf7ce0f8f52ae299 SHA512 def299bc3e4cc199d521b87fecb727222f14ab9a8c14c30c6fcba1a3fe7ab04f1c0b6b2d74e89c8729007cde740a3d31c9577bcef123b1e1c0947e2aa1c0709a diff --git a/app-containers/earthly/earthly-0.8.11.ebuild b/app-containers/earthly/earthly-0.8.11.ebuild new file mode 100644 index 000000000000..19f49e622218 --- /dev/null +++ b/app-containers/earthly/earthly-0.8.11.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.11" ]] ; then + COMMIT_SHA="5caed354538447b7de4d85b59827709da23b6e49" +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 +} |