diff options
Diffstat (limited to 'dev-build')
-rw-r--r-- | dev-build/Manifest.gz | bin | 6692 -> 6686 bytes | |||
-rw-r--r-- | dev-build/melange/Manifest | 3 | ||||
-rw-r--r-- | dev-build/melange/melange-0.8.1.ebuild | 53 |
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-build/Manifest.gz b/dev-build/Manifest.gz Binary files differindex c1608930a728..e3d0ab43264f 100644 --- a/dev-build/Manifest.gz +++ b/dev-build/Manifest.gz diff --git a/dev-build/melange/Manifest b/dev-build/melange/Manifest index 8e4b1123819f..69bf6732adbf 100644 --- a/dev-build/melange/Manifest +++ b/dev-build/melange/Manifest @@ -1,4 +1,7 @@ DIST melange-0.6.11-deps.tar.zst 308919689 BLAKE2B e9ef8d0ff221721d09c0679eea4ed50cb22eab905bd4c064914f4e6307d1be6e27f32855d562fb59d78df470238d3981083a716ca5cf45e638432900014ea86c SHA512 6d45e266b9dc1a84ebfee75ec7e4fb58d0eed08c77ef8974ac69af034b88d5d6579cbaf39939d13979a59e32ff87f894506e8caa5612f09f58743ac57c891a5f DIST melange-0.6.11.tar.gz 1129391 BLAKE2B 997e3592f43944cccd08a6ed4ab77d46cec12bd4fb86268f1eaf7e38bc25d583ac7e99677b0885e9527ba367bcbbdb6bdca01ad6447d3834ff2d835efab955f6 SHA512 debfa29653f91d94670d7f73dd05f78bbbef8fa45a248d327fd9dc0c56e85ef1fb8434e326af0fa75334fc51b1c991171541d10d72a8f15bc127c8cc3d293fa4 +DIST melange-0.8.1-deps.tar.xz 239749504 BLAKE2B feb4958b1c01226cefece8e746e8e83e5507bc7cc1feae8be0837971357993645fafffab505a249c96f01079a36cc5bd735d79a459fd81ebb88efb3cf3f85ffb SHA512 6df1448ad16995f31349a4a5c77d459501b99ec590483fab38ed08fd8aa6a425ef68ddddb5ddd8ff261ca37e2e41e40b63243806bd8d9d934d1bbded4cc0b35d +DIST melange-0.8.1.tar.gz 1139855 BLAKE2B 46b18ddbff4044712db6df2c3d8195bc1cb714d686f0af4f3ad92907942e14296e01dad2b9a70bc9870ac727463faea779eb9d40b78923f93d7c1d653f85cd64 SHA512 55d4f94197b9b772daf629c6c24969ddb306e67ac4c0f07017e7d5a466863129ec984a8291c6fb33aded706f4deaa5c5432e1de81e67527ec8ce0f4e070a3218 EBUILD melange-0.6.11.ebuild 1251 BLAKE2B 35c2ddb4c9859ccfe23366b227faffe6445d1845ec5eb75202fb22e796a86e50aa0f8f6222bd534143552d14b60c7d6332a38330ac47ca1d11bba380a5c42c76 SHA512 86bb9d8f0b2d85f5e7730f0ce247f15137395a5ac4d09b7d3c603c5488a2bf8f0884bf04e10c55eb15e78b58b85279bd773387428062429382a120761a6885d0 +EBUILD melange-0.8.1.ebuild 1179 BLAKE2B 1b8f25fa975ebebb0314c043d01f25e7dfc925ad1d6062b692cb2a8b28c2331bc8a50a4f7f032afe30b2a26a7722eb0910eb5a2bb6961cfd26db03973488a21c SHA512 53f4a2d81e03b43006f1b1fd31e32ebc0e4c2ef39a279c055bfaf15582f0917e081a067198ab1aa65f63c7f96e079366332064ada9dc48d21d12b82fb3d84c0d MISC metadata.xml 803 BLAKE2B e13fe69a39f3d28d077a26d1cb6ae0b55070de6c0ac907efc7516cacc3b9f3a5296b4a210e81701e1ade002d3cb60b921b16d21718429c2563211bb75687b7bf SHA512 c77b32a1f7b99b6acbc7e3a155a3d1e169258ba55c44939fc38efba5edbd5aeb871200a24d2f1e2e5e709bcf8795a7de40ff9b3015321252f2bc61f938ec0424 diff --git a/dev-build/melange/melange-0.8.1.ebuild b/dev-build/melange/melange-0.8.1.ebuild new file mode 100644 index 000000000000..9f156703c547 --- /dev/null +++ b/dev-build/melange/melange-0.8.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit check-reqs go-module edo unpacker + +DESCRIPTION="Build APK packages from source code using declarative pipelines" +HOMEPAGE="https://github.com/chainguard-dev/melange/" +SRC_URI=" + https://github.com/chainguard-dev/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz + https://dev.gentoo.org/~xgqt/distfiles/deps/${P}-deps.tar.xz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="test" # Does not work inside Portage sandbox. + +CHECKREQS_DISK_BUILD="1800M" + +DOCS=( NEWS.md README.md examples ) + +pkg_setup() { + check-reqs_pkg_setup +} + +src_compile() { + local -a -r go_buildopts=( + -o ./ + ) + ego build "${go_buildopts[@]}" +} + +src_test() { + local -a -r melange_opts=( + ./pkg/sca/testdata/go-fips-bin/go-fips-bin.yaml + --arch="$(uname -m)" + --generate-index=false + --out-dir=pkg/sca/testdata/go-fips-bin/packages/ + --source-dir=pkg/sca/testdata/go-fips-bin/ + ) + edo ./melange build "${melange_opts[@]}" +} + +src_install() { + exeinto /usr/bin + doexe melange + + einstalldocs + docompress -x "/usr/share/doc/${PF}/examples" +} |