diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-16 00:09:44 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-16 00:09:44 +0100 |
commit | 0a3feeaba4dbc58966dccdbbfcd7fb14deef0831 (patch) | |
tree | d48a200142b883af377722ab54ec0c1d8c19912f /dev-util | |
parent | 6a7029e0f7370d4d5dfe9e31cc2719a870482392 (diff) |
gentoo auto-resync : 16:06:2024 - 00:09:44
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/Manifest.gz | bin | 65428 -> 65435 bytes | |||
-rw-r--r-- | dev-util/promu/Manifest | 5 | ||||
-rw-r--r-- | dev-util/promu/promu-0.17.0.ebuild | 54 | ||||
-rw-r--r-- | dev-util/promu/promu-9999.ebuild | 17 |
4 files changed, 68 insertions, 8 deletions
diff --git a/dev-util/Manifest.gz b/dev-util/Manifest.gz Binary files differindex e92d50f676c6..98a500746471 100644 --- a/dev-util/Manifest.gz +++ b/dev-util/Manifest.gz diff --git a/dev-util/promu/Manifest b/dev-util/promu/Manifest index 7db9c3261854..e0bd486ceabe 100644 --- a/dev-util/promu/Manifest +++ b/dev-util/promu/Manifest @@ -1,5 +1,8 @@ DIST promu-0.15.0-deps.tar.xz 11022948 BLAKE2B e8f1a65dca92147c1f617dbfb7279c1eb45efcdc93a019c7a4fb9e9ff2895e71283e1368751e37732972554d7dce20ed08553f9e3111efa2b48eb0c86e191a06 SHA512 f4d1456969ea5454990ccebf81d49e857e3a6311b81dfcdb2538e82e8b7842d1020fd489567a10534759d44c69f6adb1e70f9de4b36c24286908c5758b8fd05d DIST promu-0.15.0.tar.gz 33465 BLAKE2B 83fae1e8cf663fe9aaedbdf66d86f3d4d7db0b14572cec9f0e9b25a205712cf19b137f6cafa3adcc0cbdd9177078a1bc696b9333ae830cf38de83e4837829abf SHA512 7e1de86c67b7a6d469e49b63431c9be1f93295f79225bfe409deef426c11c2f5273e185ef3b53ff5fd5fd41ddf7d9ddc79c2629e34a7ae2ec55adebdf8ff3b44 +DIST promu-0.17.0-deps.tar.xz 223468 BLAKE2B a6a77d265ae8ac158bfd96ff1f1ecf81b3481b31238a3edb5f8d4228508e334e5c6d8de03a42bf282dfd4832e1b717e5e9f442acfd9e01a4aa50495cfce27b91 SHA512 5bcfb24931f94f8ddf695ca7450d34987428ed090c1cf51025870a673d702adf07d29bd66c9e7118f615b480adcb3c35baa4d09b2e4089cc53447c6cbb54e455 +DIST promu-0.17.0.tar.gz 32994 BLAKE2B d7741d5d461af328ed60513a1ceefa827f42cadda7f51356840669ecd04563b9756cde8d29019b87531c11bd48bbc121f241d47fb9b1ee61823b0bb40fc4abb2 SHA512 8265fd0e9f37624dc1e6abdef87475b5116a7e7af260fc83bc3cda98409af78d4db9d409cd404e251cbf81c124e6a6cd5ab70eef6845ec33048da4937eac01dd EBUILD promu-0.15.0.ebuild 1055 BLAKE2B fea0a9e82116c9816c1b11da49fab4a5d112f214d55f36261df1d8d128e099af7cd67c2791d9a423c20d82ec108a556804ddcd5c458d134aa4d9f684fb344f23 SHA512 0f9f4702b4fc13580e4e00c41f49c984dc78ee5a16a8932a6cbc9189d932d00c8d8275198f88931d4bdac713912c81482eb811ae2acacae4361b135f94573435 -EBUILD promu-9999.ebuild 1057 BLAKE2B 11d77bf75932a07ecafe07124f1eb0a17092e97f690964aeae85f66123d2e3fbe812bf592004e40fedd6e5d7afe3112a426183da35b48fa8139bff590f531e16 SHA512 a843da16b445e174a22517cc46795e347593859812c49abf6996319cfe54b64becf2bf54336c2456bf1d347f4ddba99c51a762c6f79f51e955b565e6d460e91c +EBUILD promu-0.17.0.ebuild 1092 BLAKE2B 9c6b0531d20caef174f4427e01b9e1fdfd6ebfa8411d5456698cf82a26523343745c639670f1e5075d758fee2108d44caa1cda408b207c435cd80712335d6dda SHA512 d2be3dc063bfa2e7cc17adfd621985b20808c1c4b0fdc06aa9dded80dd4678b0ec1dd97941212a774c7ef99476023856eafcf34e9c2846ecbc871253f6d76104 +EBUILD promu-9999.ebuild 1092 BLAKE2B 9c6b0531d20caef174f4427e01b9e1fdfd6ebfa8411d5456698cf82a26523343745c639670f1e5075d758fee2108d44caa1cda408b207c435cd80712335d6dda SHA512 d2be3dc063bfa2e7cc17adfd621985b20808c1c4b0fdc06aa9dded80dd4678b0ec1dd97941212a774c7ef99476023856eafcf34e9c2846ecbc871253f6d76104 MISC metadata.xml 714 BLAKE2B e184975b8c6688cf1834a7e1272e04a97629cf744e4153f8d1b8e729eb636cbd6f62f122c84f46fb5b0ba2b0d1c5bd18dde06f94ee3d6bb75ab116904a51b434 SHA512 f5f4ac21fa934f5e5782d5d5eb0e2fa7ed9e7ea999201997c40393a832cbec98d65cca06a4784b20c0ddff3cd63bb915ff5120b365419f23f1e90dc78cce09a0 diff --git a/dev-util/promu/promu-0.17.0.ebuild b/dev-util/promu/promu-0.17.0.ebuild new file mode 100644 index 000000000000..ccf9cff91854 --- /dev/null +++ b/dev-util/promu/promu-0.17.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="Prometheus Utility Tool" +HOMEPAGE="https://github.com/prometheus/promu" +if [[ ${PV} == 9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/prometheus/promu.git" +else + SRC_URI=" + https://github.com/prometheus/promu/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz + " + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" +fi +LICENSE="Apache-2.0" +LICENSE+=" BSD BSD-2 MIT" +SLOT="0" + +RESTRICT+=" test" +DOCS=( + "doc/examples" + "README.md" +) + +src_unpack() { + if [[ ${PV} == 9999* ]]; then + git-r3_src_unpack + go-module_live_vendor + else + default + fi +} + +src_compile() { + [[ ${PV} != 9999* ]] && { ln -sv ../vendor ./ || die ; } + if use x86; then + #917577 pie breaks build on x86 + GOFLAGS=${GOFLAGS//-buildmode=pie} + fi + emake build +} + +src_install() { + if [[ ${PV} == 9999* ]]; then + dobin "${PN}" + else + newbin "${P}" "${PN}" + fi + einstalldocs +} diff --git a/dev-util/promu/promu-9999.ebuild b/dev-util/promu/promu-9999.ebuild index 6adaa60327fe..ccf9cff91854 100644 --- a/dev-util/promu/promu-9999.ebuild +++ b/dev-util/promu/promu-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,12 +6,14 @@ inherit go-module DESCRIPTION="Prometheus Utility Tool" HOMEPAGE="https://github.com/prometheus/promu" -if [[ ${PV} == *9999* ]]; then +if [[ ${PV} == 9999* ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/prometheus/promu.git" else - SRC_URI="https://github.com/prometheus/promu/archive/v${PV}.tar.gz -> ${P}.tar.gz" - SRC_URI+=" https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz" + SRC_URI=" + https://github.com/prometheus/promu/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz + " KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" fi LICENSE="Apache-2.0" @@ -25,15 +27,16 @@ DOCS=( ) src_unpack() { - if [[ ${PV} == *9999* ]]; then + if [[ ${PV} == 9999* ]]; then git-r3_src_unpack go-module_live_vendor else - go-module_src_unpack + default fi } src_compile() { + [[ ${PV} != 9999* ]] && { ln -sv ../vendor ./ || die ; } if use x86; then #917577 pie breaks build on x86 GOFLAGS=${GOFLAGS//-buildmode=pie} @@ -42,7 +45,7 @@ src_compile() { } src_install() { - if [[ ${PV} == *9999 ]]; then + if [[ ${PV} == 9999* ]]; then dobin "${PN}" else newbin "${P}" "${PN}" |