From bdbeaddd0f57bcfba9b542552e955c876815eecf Mon Sep 17 00:00:00 2001 From: Artemis Everfree Date: Fri, 19 Jul 2024 17:05:07 -0700 Subject: dev-embedded/arduino-cli: add 1.0.2 Signed-off-by: Artemis Everfree --- dev-embedded/arduino-cli/Manifest | 2 ++ dev-embedded/arduino-cli/arduino-cli-1.0.2.ebuild | 26 +++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 dev-embedded/arduino-cli/arduino-cli-1.0.2.ebuild (limited to 'dev-embedded') diff --git a/dev-embedded/arduino-cli/Manifest b/dev-embedded/arduino-cli/Manifest index 64d71f03f..d1ffb795c 100644 --- a/dev-embedded/arduino-cli/Manifest +++ b/dev-embedded/arduino-cli/Manifest @@ -2,3 +2,5 @@ DIST arduino-cli-0.34.2-vendor.tar.xz 2399168 BLAKE2B 22d0050aad84bbed7699d287c6 DIST arduino-cli-0.34.2.tar.gz 10335801 BLAKE2B 2552d31699cdb0a8d3ded32e14a345354ab17e74e2085941c48cd69e5345b08224f84b3bf6d7fe543c895a3c2091a6114f557b48a141455bf9c3608f0ea489ab SHA512 5d16a2e45f31fc35ffe75fbaabeac62b6c8aca6d0151e48ebedf27325b757473ea55b7883f8f727df951b1230a671ad4bf3603bd600dfca8f7154f3189f2ca12 DIST arduino-cli-0.35.2-vendor.tar.xz 3004856 BLAKE2B 07bc63bc6d21f436289e82e879e6584af6391658fa458daabcf2881714d4d7c31baa4a492f5103f9b54509954a574718dcdab4917bcda45aaabe5569132be167 SHA512 46746afdcbe38c0aef841c81fc15094a7513911be6ad4c9569819130da37d5248535d66a8747c9898bffcab3c140b6e03154a1711d4e5eba70b1146167a16755 DIST arduino-cli-0.35.2.tar.gz 10420486 BLAKE2B 9ad8bc8764a3a29e23d7d996eb5065c0d23695c9dd0c59516cad2fa86ac077ed64d0c52449c6e19eff2ed14049491f0c111ccf6f0988b6837d2d081edcf11b4f SHA512 b03429969c41c4dd24cd6fbcb76a9cf02f984c4b4dfd72c286b40c42a3cbfc65d8bc861bbc6449f94454ce738aa09f9032b46a02ca95ed9ab9f13dd3daf6df1f +DIST arduino-cli-1.0.2-vendor.tar.xz 3085592 BLAKE2B 55fa8763f6036eadf1fa69e53cba43837da6c89bd1910d1a6d67a37b0a7995659e37bbc19bc1d92f38a54c697706e75326ea138a8c1bfe550fac8a830f367050 SHA512 7e66a6f8bb902ecc1bf3e1c90e181f156327a595f4928e880eb1abfe61238fa326262d86df1c6080f8e4ed2853b253129f2b3d5a7d9518eb78bf4c2e1c9078bc +DIST arduino-cli-1.0.2.tar.gz 10047473 BLAKE2B 0f46909b91e222fe47726a2595e5969aab82125225f4f81c79bed34e7fb3e1d15341b450ad142174d794919be30a3179a83fa651639fef90f4aa3122110d23d9 SHA512 704fd6ebdea2c9e4a28db2cc48192b104db9dc797785f33cb9c8432900ea9cb7dfef91cf31803bb57433e8ce14497adc3c58c36218e05b884f89224c2dea8958 diff --git a/dev-embedded/arduino-cli/arduino-cli-1.0.2.ebuild b/dev-embedded/arduino-cli/arduino-cli-1.0.2.ebuild new file mode 100644 index 000000000..930bc9506 --- /dev/null +++ b/dev-embedded/arduino-cli/arduino-cli-1.0.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="Next-generation arduino command line tool" +HOMEPAGE="https://arduino.github.io/arduino-cli/latest/" + +SRC_URI=" + https://github.com/arduino/arduino-cli/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + https://pkg.artemis.sh/gentoo/pkg-deps/dev-embedded/arduino-cli/${P}-vendor.tar.xz +" + +LICENSE="Apache-2.0 BSD BSD-2 GPL-2 GPL-3 LGPL-3 MIT MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +src_compile() { + ego build -tags xversion \ + -ldflags "-X github.com/arduino/arduino-cli/version.versionString=${PV}" +} + +src_install() { + dobin arduino-cli +} -- cgit v1.2.3-65-gdbad