Merge updates from master

This commit is contained in:
Repository mirror & CI
2024-02-25 17:18:19 +00:00
15 changed files with 64 additions and 398 deletions

View File

@@ -1,4 +1 @@
DIST ani-cli 19981 BLAKE2B 02fed707373d3569a82f845227fa282fff173c2b002b9232ea3ea9245b643c256992cd90b7aa8b825511b7114320a2627f12ef40488cb732a1f5a782c4a309a9 SHA512 c1d2256af8c88d6428c4767dc3715d12cacc869cbfe62a7fb0e0831eee9836373cdf2a042bed822868571448ed140f9f94c33303680318585d54c37f39ba7723
DIST ani-cli-4.7 20275 BLAKE2B 7968e2aa467cc3a873f9d4d35ee50ba1f4f9e5b9f54aab2a36565b0aec14d1d410245e646c791dcdd355552770bc6666d179a395e496bce683d35ca91fc7f579 SHA512 579a440945193219569969a3c39fa3ee0b7ae7eab5676e34bde3c7dd20902d13431cff5cdcf7fd106545be8a0c03de1170aea111cdca881b8585318faf747d27
DIST ani-cli-4.7.1 4446 BLAKE2B 644bd41d5394dd87fb00fc99b1070406bd947e4c6b4b261d402233c9d61b479f1a8a44179620c10381010a45c11c1f6898f2c674fcb2ae59995e4e0f4eb3e878 SHA512 f8a2185052cfe0309c172d673429eb7625b3d033422c886e79ffccdc8ca2ecf69c5073bcf2a41f5a9c0b215f3045b45f3d14b5f87032a979686c0d95d4258032
DIST ani-cli.1 4187 BLAKE2B c5d8515324fe6a51454a3ecd9daf145b8f21cb12dec2e2d7e898e5d343f206a9ddc2e10c998daef1cebb6fc41414d86b0f131349ec148578bc3a6f0de4c48d37 SHA512 71e1a25c9fff197e96efcdc784cf19af06ec598ea5e32aae52913df3f426bebe801fec3536f725abb181175a8ddc594987de5cda96c44292f4f65c28d9d01f45
DIST ani-cli-4.8.tar.gz 234163 BLAKE2B d7db7e70c67d3f042841ebdb1695ba3614b32a6eccf7bc0e8b5dd1cee6f89b670e18f30ddcae055900b9dc11450abbd78d4bbff11dd23144ebe7b734209071a4 SHA512 fece70b1613e28366dc6716ce02720ca53dfa750fdd6d40a5d292f0e4c242920e5c7fa5f82f51c90ad86f2cdb301ac19628d9a3616f44acc8f208d7d58495476

View File

@@ -1,34 +0,0 @@
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="A cli to browse and watch anime."
HOMEPAGE="https://github.com/pystardust/ani-cli"
if [[ "${PV}" == *9999* ]]; then
EGIT_REPO_URI="https://github.com/pystardust/ani-cli.git"
inherit git-r3
else
SRC_URI="
https://github.com/pystardust/${PN}/releases/download/v${PV}/ani-cli
https://github.com/pystardust/${PN}/releases/download/v${PV}/ani-cli.1
"
S="${WORKDIR}"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-3"
SLOT="0"
IUSE=""
DEPEND="
media-video/mpv
app-shells/fzf
media-video/ffmpeg
net-misc/aria2"
RDEPEND="${DEPEND}"
src_install() {
dobin "${SRC_URI:+$DISTDIR/}ani-cli"
doman "${SRC_URI:+$DISTDIR/}ani-cli.1"
}

View File

@@ -6,14 +6,13 @@ EAPI=8
DESCRIPTION="A cli to browse and watch anime."
HOMEPAGE="https://github.com/pystardust/ani-cli"
if [[ "${PV}" == *9999* ]]; then
EGIT_REPO_URI="https://github.com/pystardust/ani-cli.git"
EGIT_REPO_URI="https://github.com/pystardust/${PN}.git"
inherit git-r3
else
SRC_URI="
https://github.com/pystardust/${PN}/releases/download/v${PV}/ani-cli -> ${P}
https://github.com/pystardust/${PN}/releases/download/v${PV}/ani-cli.1 -> ${P}.1
https://github.com/pystardust/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
"
S="${WORKDIR}"
S="${WORKDIR}/${P}"
KEYWORDS="~amd64 ~arm64 ~x86"
fi
@@ -29,6 +28,6 @@ DEPEND="
RDEPEND="${DEPEND}"
src_install() {
newbin "${DISTDIR}/${P}" "${PN}"
newman "${DISTDIR}/${P}.1" "${PN}.1"
dobin "${PN}"
doman "${PN}.1"
}

View File

@@ -6,15 +6,14 @@ EAPI=8
DESCRIPTION="A cli to browse and watch anime."
HOMEPAGE="https://github.com/pystardust/ani-cli"
if [[ "${PV}" == *9999* ]]; then
EGIT_REPO_URI="https://github.com/pystardust/ani-cli.git"
EGIT_REPO_URI="https://github.com/pystardust/${PN}.git"
inherit git-r3
else
SRC_URI="
https://github.com/pystardust/${PN}/releases/download/v${PV}/ani-cli -> ${P}
https://github.com/pystardust/${PN}/releases/download/v${PV}/ani-cli.1 -> ${P}.1
https://github.com/pystardust/${PN}/archive/refs/tags/v${PV}.tar.gz
"
S="${WORKDIR}"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/${P}"
KEYWORDS="~amd64 ~arm64 ~x86"
fi
LICENSE="GPL-3"
@@ -29,6 +28,6 @@ DEPEND="
RDEPEND="${DEPEND}"
src_install() {
newbin "${DISTDIR}/${P}" "${PN}"
newman "${DISTDIR}/${P}.1" "${PN}.1"
dobin "${PN}"
doman "${PN}.1"
}

View File

@@ -1,2 +1,2 @@
DIST survey-4.5.4.tar.gz 831109 BLAKE2B 00065211437f4c6c820aca5c511395625da7be9415218d6261005aff946b19a3e65cc31189a6aef755ed88ce81f309ac2eabe23ea7f1e2f359007b4fe9172f96 SHA512 045989ca95e3fa9a840ad8d37a040f46bf3f22a858dd7b826fecf88d4e53b6b14e285ef3bf266add496da2d5ffd58971c2456b4375362e24c1a071fc910a03f4
DIST survey-5.2.2.gh.tar.gz 1564646 BLAKE2B 61a388f985617816daffabcd70bd5e1fcd3bcdfc3adabc3c7bfabd6abaad5e94e817da349e779d91131d2e6328b4548824fdc6ebd18456b99a5c49f952481d83 SHA512 bacdf14efe9f511d0a0b98d4404bf9d223267f999ce15f5d9533573aba12982a60508447158321c688685793660099c9ad16b52e34d36c43c5045e2855438645
DIST survey-5.2.3.gh.tar.gz 1564807 BLAKE2B 530f023e1aac4adba07edc023ec7c18a775dd937bd627ce88ee27cac2f8f6e66f4c6bc22618c05e3ed56e17b501c84a2a6f6ee9c833bb7fa44c3ccec533ba515 SHA512 6dac211e031630631b7389da29747383bc2d508678ebbc99ae61482719733baf133ea10a20c6e0a80f2486dd72a1b3e17d221ce28e5ea22e4303b102350c8229

View File

@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..11} )
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
DESCRIPTION="A simple library for creating beautiful interactive prompts"
@@ -20,7 +20,9 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
BDEPEND="dev-python/setuptools-scm[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools-scm[${PYTHON_USEDEP}]
"
distutils_enable_sphinx docs \
dev-python/sphinx-autodoc-typehints \

View File

@@ -305,24 +305,16 @@ if [[ "${PV}" == 9999 ]]; then
EGIT_REPO_URI="https://github.com/elkowar/${PN}.git"
else
SRC_URI="
https://github.com/elkowar/${PV}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/elkowar/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
${CARGO_CRATE_URIS}
"
KEYWORDS="~amd64"
fi
LICENSE="
Apache-2.0
|| ( Apache-2.0 MIT )
|| ( Apache-2.0 BSL-1.1 )
|| ( Artistic-2 CC0-1.0 )
BSD
CC0-1.0
ISC
MIT
|| ( MIT Unlicense )
"
SLOT="0"
KEYWORDS="~amd64"
IUSE="X wayland"
REQUIRED_USE="|| ( X wayland )"
@@ -346,11 +338,26 @@ RDEPEND="
QA_FLAGS_IGNORED="usr/bin/.*"
src_unpack() {
if [[ "${PV}" == 9999 ]]; then
git-r3_src_unpack
cargo_live_src_unpack
else
cargo_src_unpack
fi
}
src_configure() {
local myfeatures=(
$(usev X x11)
$(usev wayland wayland)
)
cargo_src_configure
}
src_compile() {
use X && features="--no-default-features --features=x11"
use wayland && features="--no-default-features --features=wayland"
use X && use wayland && features="--no-default-features --features=wayland,x11"
cargo_src_compile ${features}
cargo_gen_config
cargo_src_compile
}
src_install() {

View File

@@ -1,4 +1,4 @@
# Copyright 2022-2024 Gentoo Authors
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -305,22 +305,14 @@ if [[ "${PV}" == 9999 ]]; then
EGIT_REPO_URI="https://github.com/elkowar/${PN}.git"
else
SRC_URI="
https://github.com/elkowar/${PV}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/elkowar/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
${CARGO_CRATE_URIS}
"
KEYWORDS="~amd64"
fi
LICENSE="
Apache-2.0
|| ( Apache-2.0 MIT )
|| ( Apache-2.0 BSL-1.1 )
|| ( Artistic-2 CC0-1.0 )
BSD
CC0-1.0
ISC
MIT
|| ( MIT Unlicense )
"
SLOT="0"
IUSE="X wayland"
@@ -346,11 +338,26 @@ RDEPEND="
QA_FLAGS_IGNORED="usr/bin/.*"
src_unpack() {
if [[ "${PV}" == 9999 ]]; then
git-r3_src_unpack
cargo_live_src_unpack
else
cargo_src_unpack
fi
}
src_configure() {
local myfeatures=(
$(usev X x11)
$(usev wayland wayland)
)
cargo_src_configure
}
src_compile() {
use X && features="--no-default-features --features=x11"
use wayland && features="--no-default-features --features=wayland"
use X && use wayland && features="--no-default-features --features=wayland,x11"
cargo_src_compile ${features}
cargo_gen_config
cargo_src_compile
}
src_install() {

View File

@@ -25,8 +25,10 @@ IUSE="+libhandy +rnnoise qrcodegen"
RDEPEND="
dev-cpp/gtkmm:3.0=
dev-db/sqlite:3
dev-libs/libsodium
dev-libs/miniaudio
dev-libs/spdlog
media-libs/opus
>=net-libs/ixwebsocket-11.0.8
net-misc/curl
sys-libs/zlib:=

View File

@@ -25,6 +25,7 @@ IUSE="+libhandy +rnnoise qrcodegen"
RDEPEND="
dev-cpp/gtkmm:3.0=
dev-db/sqlite:3
dev-libs/libsodium
dev-libs/miniaudio
dev-libs/spdlog
media-libs/opus

View File

@@ -25,9 +25,10 @@ IUSE="+libhandy +rnnoise qrcodegen"
RDEPEND="
dev-cpp/gtkmm:3.0=
dev-db/sqlite:3
dev-libs/libsodium
dev-libs/miniaudio
media-libs/opus
dev-libs/spdlog
media-libs/opus
>=net-libs/ixwebsocket-11.0.8
net-misc/curl
sys-libs/zlib:=

View File

@@ -1,42 +0,0 @@
DIST abseil-cpp-35e8e3f7a2c6972d4c591448e8bbe4f9ed9f815a.zip 3123748 BLAKE2B dc242904e848c3c014cb2e830dd371695222c7529d2771434e2de5a6540bf3d76af5d7fec21f9cc8965c0199fb74cd07274a1b1f073f2f28be8625ff20ec1582 SHA512 6540514e7f0b2c4573e67d22147a6ccb7b4191653e199ec0c52142e9135bc44ba8bfdc2ff57fad25fedc844a1f28a961707d90fe83fba597ae73fe551aabd4f2
DIST anytree-2.8.0.tar.gz 186963 BLAKE2B dcdbbf47c8c20b36d7ec72f29c09447c7f3d31366980ca588e082936d3ba2c4c7b0cf6b42747e373a238cd4a10a31ac2894ccf32fc44e11052b59a28b71fd1e3 SHA512 73ad57960c25d9fd31b001a5ff2f0e67c4d45db00ff2f9aec090c7a3c4028630b0242f5ae18e58a8374f4aacb4f0bad24ce61cc97fc573aaca623a0b64a85894
DIST bazel_rules_install-5ae7c2a8d22de2558098e3872fc7f3f7edc61fb4.zip 37860 BLAKE2B 62163639d8eb9dd6c661447bad3918448800aad56416dd5cfc3e81db4e030d3512ae0e06d1d454bed34ec5057265c9de865ec248044ccfa34386047e8d60b20d SHA512 7951c94c5971a0689e0b1dd16ded14c76dbe8c97b348a81d7eee6f38799623f10741dae4b0a94b9d68a5d0e132aa571ba5784b9e09fd982ffd15832829141510
DIST bazelbuild_bazel_coverage_output_generator-2.5.zip 4221347 BLAKE2B 47d1500c2c5852b332cf67d80d4b08d931727d54cf0ff84c244a6416f71f7e5a24fbb38112e877f84523eb33eae218dff569d14b3d3a5d6238f0740882a1fb8f SHA512 187bd22741084c8aff99796655b2dc23780cf0c92b0aa7e995a7e767e62b39a566c0fc74475c75f2fe3366f442a0e022f24110017c076694aa4abd50564ec3fa
DIST bazelbuild_bazel_skylib-1.3.0.tar.gz 36103 BLAKE2B a58142b9d2a5da9f137705105aa735c8489519989ca7e633968114309f23074a56cd03b5fed70e284da63751d666904c2573940ad9a0feb2be689d695f0f07ae SHA512 ab3a0b465ebbfe07c139b92f1e8b2c0bcede66d6366d184891e3c0ccd6619164bc299777e7d7236cb463834b98426f6fb6890409e0ce94b75446dbd85854944f
DIST bazelbuild_platforms-0.0.6.tar.gz 5537 BLAKE2B 0712516f5ea0683054c1127a173a6af933278130c36eb0bf96cbc7a30050f551608bc2ea5451aec2d4b91dc117e16b21a78a1cc289064ac4ffd2adfb698208fe SHA512 372a722ebe04a1f13c348d37e3994450647762f3366bb6982ed6c6b4703684bc7960643cab2f6b51d5112086c7864f4d6b1c586de275c2353dbf1c9ed1a3e5d0
DIST bazelbuild_rules_cc-0.0.0_e7c97c3af74e279a5db516a19f642e862ff58548.zip 159607 BLAKE2B 28841acbbbd07288aadb5f482f22282ddc80defa182f63c06fa8fa20eed49023bfb4ca7c71a450c80c276aee43918c5eafda90bc361b13d2ac9018635897f05c SHA512 2038a25e8613faba62146833f4fc9c11015f265a18f8ce89bbc2e465a97d0d15a59a8899f0e0ab312d18002f471230a044efe40cebb4156b65023007716dc9d4
DIST bazelbuild_rules_java-981f06c3d2bd10225e85209904090eb7b5fb26bd.zip 9908 BLAKE2B 7f26f14ad26253cb1b8b7e93333663a4c76771146c9e0fe8ead3223c3266f5be1515d489dc24addd73d0817a50e79eed67f56db984287ff87d6c00ef9df76d43 SHA512 968641bd53c4ef4d2760a979498cda29189fd6e8ccd150eeda587c6f96e9a38c3fc1c1ecc19446ed63950b5e6a29cad5251f3e66219c94774a546ca0f626be08
DIST bazelbuild_rules_license-0.0.4.tar.gz 24025 BLAKE2B 2443eaa5488607ebf9bb2267f1b1cd84a1f2eec9891727f827f84b806346d05d2d4623d801c0ad92e579359c9d3427b05add59bd4a363cad32d59996afb7401c SHA512 6913efb758c1c2dae5da229736b87204efdd5802c6d935a2f8c2503ea14c81f4a0a1032d501d3e4b1e24388c0c9cb18d94be0a7358a668f8faa83408f59f3115
DIST bazelbuild_rules_pkg-0.7.0.tar.gz 76580 BLAKE2B 77574785070b45609d12aa2c2dd53c8cef18cb2c3a326324b5add996cc31a40f725bb3b12affcfba96540cd1d64a60fb8afa789125fe0aca328c652755d12cab SHA512 2fba108997065d753e17f1e7de1db08461416d03f8832d38e25f5151bfd0ad896565db9eb56b3702b604296a19620f9b60e5c15440855d36e64865010e6f4cdc
DIST bazelbuild_rules_proto-4.0.0-3.20.0.tar.gz 14434 BLAKE2B 1aedaa93d673a067731468f62f7e217d28bb8562c7190b122c5cfdfdb3623fad3379275e80485e2fbdb7d54a6a35124c6600092f0995a919aa5da5b66237c162 SHA512 39235a1e144d836fdcef901b87d9b57a0f97f39803624ae55d397e22815f81368ba4281464b6ffc55e9ead08ae725e5fe3c4e56d52d117380391e71d2c81cc1b
DIST bazelbuild_rules_python-0.2.0.tar.gz 2503614 BLAKE2B 07c1e4e642587bfe03373733fc6c30aa195285002c4f1e532c40aba9c111629787aab78600a5d83e3833e2fddcc86407084cfc74cf2bb0ee23012a59b4bccef0 SHA512 674f89c8e262008e2d8a7329ff7b09275ec34ced73d131786a2106c414ab5213c15259b8188f976e730f568def139a5e0fd29e8a1caa905d22afe9628d544e26
DIST bazelbuild_rules_python-912a5051f51581784fd64094f6bdabf93f6d698f.zip 493137 BLAKE2B dea5e288d74a63498e811588ae38dfe7cdc78b639a8c567b4fb91fc947e6a045bc4a7c82aee488070696fb34aac957d0a63bcc974e463ef07c4c0d9760eb551c SHA512 c77f3453b3f8e1f289fc9aceced3d8ee875725b089011aa2429c3b0f5a6c16302e11b68ae40e338b76ed3a8ade65783635178f15eb69c04201af36a66031238f
DIST boringssl-d345d68d5c4b5471290ebe13f090f1fd5b7e8f58.zip 47366986 BLAKE2B 5f474c5193de51db48328c87fb16884b7dcdc97cc0d478459c27790ec42be9d9e3fe54baf4b24de6ba1143097e1bae59fd303a2f5cb3acc51f7add30ffb6e130 SHA512 6c41e12546a43a1a1bb4c17ad75216c0855ec9715ab44f30e236b4c72c527eb42d18dc8a0ccca6b4fa67d3ac9d13e27305053e94f3e55a3c6221896adec2bb05
DIST flex-2.6.4.tar.gz 1419096 BLAKE2B c003d4f764f7f4d41e33af7ee28c2af272a9f0aee6ba7c2494ba96722d8d0b18f7a3f745217e9a2cecb43b6863328267a810280670c04464156b3eb3d7ee9d62 SHA512 e9785f3d620a204b7d20222888917dc065c2036cae28667065bf7862dfa1b25235095a12fd04efdbd09bfd17d3452e6b9ef953a8c1137862ff671c97132a082e
DIST googletest-release-1.12.1.zip 1081236 BLAKE2B a6c12eff9dccaa2d059439bab31d67e3b4bd8af2324bfd7eee3edb254ca8283a4e4abfa4e7cde6aa9907b870713c9bbfaa312fb6ad993e50ecd362b955448e90 SHA512 1479ea2f3172c622c0ca305f5b2bc45a42941221ec0ac7865e6d6d020ec4d008d952fc64e01a4c5138d7bed4148cf75596f25bb9e9044a98bbbf5662053ea11c
DIST grailbio_bazel_compilation_database-940cedacdb8a1acbce42093bf67f3a5ca8b265f7.tar.gz 16117 BLAKE2B c7fc4892a70d01de9a2c3bd3f173713a85c116293cdec5c747f2238d08bec2049ba2a6d4d443c39283a86086b190fb38e40ff661024c085e35431474e77ac10f SHA512 a56ac33925de1ee41ef3200e098e273547a3a9b31b1489d1c4d142c11caf203ac3ce922ac90f147cc24d2e7d1d73396742887737829e7fa546cc4d11bf70a3b2
DIST java_tools-v11.7.1.zip 42991797 BLAKE2B 6377240883247097e0098949924bfd9ce25b8fa37f6bf800d0f35ce0bebdd68b93c0aa589e94479d24ea8b603ae2b26c2b1018147c8ba2e27aaa3b444e7d49ec SHA512 156be31fdd36a38614e9b552b0c6b9e8cf83d038c62e3e85c7fd0af106ad7c90c2be3354a0297097e9643c7dc8e33802120fe8a157cbab29e8b2d5e3e000c8d2
DIST java_tools_linux-v11.7.1.zip 1329831 BLAKE2B 27e3dc6c455bb83c78033c8822c2a77b9a1befce00e53e0dbcc763e051c48c262c004819ea0480a02f241f0924ca6a8d6dbc0fedbe10bfa76668cbf05045f452 SHA512 1cba896edeb71216fbc95322014fb9239fe18f5ba2c780161ed52eda93b7cacae44a5a6022e9fccef5ea63620a51ce11460b91847cf8fbf1a2f13dd04840d8f1
DIST m4-1.4.18.tar.xz 1207688 BLAKE2B debfaa4d25af6f583e2cd703e77b73775790f48f34e878eddd820c6b244a065c69495473ce5067be1f20ca07b2d6af9f90cffd33e12c18fd719c0d234eb5462a SHA512 06f583efc3855cd8477d8347544f4ae5153a3e50aea74d21968afa7214784ea3ddfc02d0a2b11324120d76a19f2e804d20de11a456b5da929eb6ae469519b174
DIST m4-gnulib-788db09a9f88abbef73c97e8d7291c40455336d8.tar.xz 642048 BLAKE2B f1377bd30bfe422facefb84cc845341c9d553ad748dded47758f5ff849530aec8965d1c1b0a75f254d83aa76c4dccea329d829e5b9c7a6a903fc229ea79e88cd SHA512 56c9ffadebddb487f911f2183abf03b4998a3cd0d8a6ca772e805800f3add2bc7e00f5c1d05acc65a9bbd6c64ab083aad9abbefa7cb6b290f1e270ac1b166e05
DIST protobuf-22.0.tar.gz 4917254 BLAKE2B 3e0b4e50a6615e9dd28e5890adcb444c72677d91394fde986bab0576b22c00ac71c85240cb08c2c1eb1ebebdd7c37a16dfbe32941a44220bb364feed6dcdfdf6 SHA512 83e2eb51e99985bab466b0770e8cf45584fa2e8a65880f64db641194020283d1119bcd1361aab11095cb92d48ed41c83d74a6e19f6e91808f48a91b5578ed310
DIST protobuf-23.4.tar.gz 5043507 BLAKE2B bf6a50771eb977ef92b779a32fd909693faae6394254c73e3c9b2729bce643f8cbfb5a1bd18b30abf3003b9fbfd24c074cea4085a6ccf14fdb6a3aeac9efcb89 SHA512 b93a4e0339ecbe085796de5b6c61feae35229d40db9019c043090bcaa483a1cce78a99487c5638482c68832fcede5579a0e5ec731221a88359b80db9bb6dc566
DIST protocolbuffers_rules_ruby-5cf6ff74161d7f985b9bf86bb3c5fb16cef6337b.zip 2524551 BLAKE2B 4aeec8dec52d0ee2a8537f3b3bfd87de0756f1a81393bc3158f3b40b09e28a4fc8904ac2bcda8d310756fda2c4e880405d21c9ce56d6210ffb49cfdfc9075020 SHA512 455a01104b831df7b66b61d7e48db2100cb373a1bfb71c19695479bfe99012b2460df102922bb34e0432d58840dc8f5232b9f2d4d8ba9b240bc8e7b8f785abda
DIST protocolbuffers_upb-1fb480bc76bc0e331564d672e60b97a388aa3f76.zip 900568 BLAKE2B 10aed49f61c35ab6b5d15e918939eb1d327f06408e9500a39314bad343fd5476d73aad1a73f6a004386a6a5cfd448893b9746786f4d81eff27207c042a944120 SHA512 1c51198f8854f31b413143e7880270925e66aeddf677b49e3610bcdd3b7df460b017a228ef1bd38f9a58af7001d918c111c455bd91e25a0a7638841e300063c7
DIST protocolbuffers_upb-455cfdb8ae60a1763e6d924e36851c6897a781bb.zip 931612 BLAKE2B 00c4a1dcf849c590d5d2b081a5d4b44140867cf4a8fcce475a7dd90baa5a7f4aa390da099d75531e4c1d97b71216d7572269017842632dda504807ccc113b1d4 SHA512 97cda0b4bc936db892aeaf215bd22d32819d1569481dee7fad5d3257b2f647512f37ad2f4e9c3150bf4920bfe8706e8c86f3b48121c74eb57a6e3c12a52f2920
DIST protocolbuffers_utf8_range-de0b4a8ff9b5d4c98108bdfe723291a33c52c54f.zip 71636 BLAKE2B e306e90301fee7f7ce5418fc36b9d26eb6de287c7a66bfdea629cf6b478c1e3ff619f048fff08a045e2de5340a938766520ba95143320a767fe852e606e27b03 SHA512 5e99e04aa1fa164887d1fa88e3e08f8803c89a3be0ec7aa5fedebd392b1ba599e929932d9a8d16366995a6ab37d10528ba5b7b2a757240310f429a65751cd1a5
DIST re2-2023-06-01.tar.gz 396047 BLAKE2B bc0d448a647a9a3abfe95a1ddd94854c7aebd57b42c0c84ae7697cf933b424dcabf4d67aaee788284d69182fe3e2ae23bb893f81036b2fc3cedcb444d019dd25 SHA512 09137dcf380faf0e5e2c01c757199adfe9de7d43d3ef760d2228c582c1c0a006236319b63f312a08ffcc0c1d9732a40be1b535cb4542095442a366a77d9ab91e
DIST re2-215bf4aa0bdc081862590463bc98a00bb2be48f2.zip 370899 BLAKE2B 9d369be804ba80d8280b738943ced195b2bf4279d09d9ce9e0957bf3ee70d2d27bc6b44926ee2d60f5f975747fa505a90ca97533a93d2a9e67f9b5a87c3a0a4a SHA512 97573cf9dad9c3274d4933c113b382265c6731dc15ec1c5a49f80c9453994c8483b09471b90528fecedddecb20603464ef7e15f189be87114614d3012d7a6b09
DIST rules_bison-v0.2.1.tar.xz 19140 BLAKE2B 9c41d7dc52e99665db2b271e2505647d290a0334c97a99c52e8727dbb5c20185cdce66a61b809c6568c852a28fba98d2a2c3b754fdb1f72ebfb4ff47ece1c1c8 SHA512 c5e44790bd3918fd8e0610eef370613359be73e1382cea3a2fdfe0ec6aa99870cb76a184ae9a1305eab01a2fda4a5e787324814ee6c769d830e00449a87ca3ce
DIST rules_flex-v0.2.1.tar.xz 16644 BLAKE2B f674949fbd8873a4bf8a65a9b268c933a47c1f159556ce818e8089c1d728742a4eb9f10be11ecd56dfb59670990a36f3d4dd8a576cc46c8098071e48a738a207 SHA512 99666231972770ebf6c93cf07519ee68b82e938f7184249c11c3ab6977a26c424644eb7d04f390cce7134b1c68a9be2a1b8fa00e0d0c65f9e4b668c783dd9a5b
DIST rules_flex-v0.2.tar.xz 8856 BLAKE2B 2c7528ebd776bbe431c08d5c5cc481e1d3e795fa8544b79c16c7896e31599a436805b19eddd9e0bfbcd9848467c50fb56e11eb3d3927dc4aa07294ae3dca1e1c SHA512 53e348e490d1bc56f6268e0d99b22e9c32b0240b88a604ec8fb5f8e5c749aa87cafca7948666995a1aaeee561313e0783855cbfd0f1b05df1e165b04c71337dd
DIST rules_m4-v0.2.2.tar.xz 18040 BLAKE2B 011f55da0c41dd54ee2f125b961f8f4630996f159df4eaa2f80295fa78eef56194795df955d8ab8a73b6c6214eb8004400ec48d1589103c83ed4418ed23fdb39 SHA512 d22bb7a0e756b12587da87e1fb683c5c92c710f51769f332d77a7524b49ddea26bdca798b4d4d7e24f398ae987cec4de3f331553d0b045af456a9956669ad891
DIST rules_m4-v0.2.3.tar.xz 23508 BLAKE2B 20edcdf89445eb3dc3ac873fdb7567eb6cad6ba6e3817cf12643ca72e141c22d296ae6ddb502a8f3097ebff8522b7b0a077e7287733562556137e1e6fbd7da27 SHA512 f0c8d2e534b8d692247dbfcdb0ecb312f5108da496665c2a4c42af538e4f1bf7b494212984d9cb7671681776f584ad8bd6c3aac3f4c2d3ab55098e1b9ed64053
DIST six-1.15.0.tar.gz 33917 BLAKE2B 57e852b6c35dd19e256814c0371cfbc26141b0f25a31f79a1cbd1b0cdd7d3cacf1236b96f5452f968cc426e6dff4d1ad70a9f2432bc361ba3c8c17fd40fe7582 SHA512 eb840ac17f433f1fc4af56de75cfbfe0b54e6a737bb23c453bf09a4a13d768d153e46064880dc763f4c5cc2785b78ea6d3d3b4a41fed181cb9064837e3f699a9
DIST v3.10.2.tar.gz 7054440 BLAKE2B e7da213fb75d528b1f5425822f5b598e882f232a67670aaae2d8f89c76e72ee23fa3344d1acfef2b0338a6a423d17b231b7e047ff064c984c2ec7783b721a22c SHA512 9a399dfc8aab19c9fc12470e8087895b1c05d48a9bcc731b483d8670c361cffb2adc3ccced822b7f17255e88387a441d619c4e1f1afeb702d1d035ad24fe22ed
DIST verible-0.0.3420.tar.gz 1616689 BLAKE2B ad7386bf5ca94421553a8f8c1f554077d26cf549009d5eadf97fd1315a4964570c5479836d2b31e89876452dffa3a5296fd7b5a7f903431c57c09a7a073c13cc SHA512 ae5233fc734ada15e7088cd7ea61272b065c847e6f7f6df79305227b0211ea05775ee186369ea6d09c80b35d862e4738041e1fbbb70e35c69731cfa5c2f2fc5a
DIST verible-0.0.3430.tar.gz 1616758 BLAKE2B a7203a51a4da2e76f74685718acffba46f277b57148bd188875664672765d22d714782d1d1cbb2bb984961b957f47eaa3a3375ab19a39f57d8b303760f6a23cb SHA512 0f78fd7097ff588569f5686e1af9fe7b2456655e654c8be995ed3ac4a76658a570f703a1212d3999c956949230f628117b232f7c1a539e53673f29cee5bc830d
DIST win_flex_bison-2.5.25.zip 1083989 BLAKE2B 38352f474e5c7842cc1cbe4c67468b0ddc3cc87b55239179350e16d345e6fa858d0419f8a142d1c001a9ce4331de4a10a9b53c37276e6cc1919226a75d9ca96d SHA512 2a829eb05003178c89f891dd0a67add360c112e74821ff28e38feb61dac5b66e9d3d5636ff9eef055616aaf282ee8d6be9f14c6ae4577f60bdcec96cec9f364e
DIST zlib-1.2.13.tar.gz 1497445 BLAKE2B 73cd65f287d662a988287205b74e93d516d6a74e18555d0f1a2777557e73e81249b45341c687fe97e65406a7210f77b8914ed146bac517d3fcc4c9fcb16546d3 SHA512 99f0e843f52290e6950cc328820c0f322a4d934a504f66c7caa76bd0cc17ece4bf0546424fc95135de85a2656fed5115abb835fd8d8a390d60ffaf946c8887ad
DIST zlib-1.2.13.tar.xz 1296496 BLAKE2B cefcd25989ce27e7d339af2a88455fcf64f6f5e647bedb0f05a45e4370a885fe45a60c023aa63e79b8ecf20ed3254d0052245f33f5769aca2838b42242be14a8 SHA512 9e7ac71a1824855ae526506883e439456b74ac0b811d54e94f6908249ba8719bec4c8d7672903c5280658b26cb6b5e93ecaaafe5cdc2980c760fa196773f0725
DIST zulu11.50.19-ca-jdk11.0.12-linux_x64.tar.gz 202599005 BLAKE2B 0de0c845c34b339092f139bf67c874ce6f835bfb4ddafd6f96f3c9d77fb6264cc4cdd64c9264cf4d809b3bcdeae75a63fe2abb17f9164dbc0ae115b418bbbf82 SHA512 e4d22b2b04d3e48631c389075a3c0b7e30ee63d47dde1fc4b48f8a9507450aeb0db134ee0394871bc34455ab8bca98c8b8dd728b3541a03334b3baf16c2daa27

View File

@@ -1,31 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>vowstar@gmail.com</email>
<name>Huang Rui</name>
</maintainer>
<upstream>
<remote-id type="github">chipsalliance/verible</remote-id>
</upstream>
<longdescription lang="en">
Verible is a suite of SystemVerilog developer tools, including a parser,
style-linter, and formatter.
The Verible project's main mission is to parse SystemVerilog
(IEEE 1800-2017) (as standardized in the SV-LRM) for a wide variety of
applications, including developer tools.
It was born out of a need to parse un-preprocessed source files, which is
suitable for single-file applications like style-linting and formatting.
In doing so, it can be adapted to parse preprocessed source files, which is
what real compilers and toolchains require.
The spirit of the project is that no-one should ever have to develop a
SystemVerilog parser for their own application, because developing a
standard-compliant parser is an enormous task due to the syntactic
complexity of the language. Verible's parser is also regularly tested
against an ever-growing suite of (tool-independent) language compliance
tests at https://symbiflow.github.io/sv-tests/.
A lesser (but notable) objective is that the language-agnostic components
of Verible be usable for rapidly developing language support tools for
other languages.
</longdescription>
</pkgmetadata>

View File

@@ -1,121 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
# From release tag name
MY_PV="0.0-3420-g5be583bb"
# Eclass dropped from ::gentoo
# https://github.com/gentoo/gentoo/commit/8876dc1db3205682d1ed8543b7fef1ce2b619874
# inherit bazel
DESCRIPTION="SystemVerilog parser, style-linter, and formatter"
HOMEPAGE="
https://chipsalliance.github.io/verible/
https://github.com/chipsalliance/verible
"
# Generated with:
# git clone git@github.com:chipsalliance/verible.git
# git checkout v${MY_PV}
# cd verible
# cat WORKSPACE | grep -Eo "(http|https)://[a-zA-Z0-9./?=_%:-]*" | sort -u
bazel_external_uris="
https://files.pythonhosted.org/packages/6b/34/415834bfdafca3c5f451532e8a8d9ba89a21c9743a0c59fbd0205c7f9426/six-1.15.0.tar.gz
https://github.com/abseil/abseil-cpp/archive/35e8e3f7a2c6972d4c591448e8bbe4f9ed9f815a.zip -> abseil-cpp-35e8e3f7a2c6972d4c591448e8bbe4f9ed9f815a.zip
https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz -> bazelbuild_bazel_skylib-1.3.0.tar.gz
https://github.com/bazelbuild/platforms/releases/download/0.0.6/platforms-0.0.6.tar.gz -> bazelbuild_platforms-0.0.6.tar.gz
https://github.com/bazelbuild/rules_cc/archive/e7c97c3af74e279a5db516a19f642e862ff58548.zip -> bazelbuild_rules_cc-0.0.0_e7c97c3af74e279a5db516a19f642e862ff58548.zip
https://github.com/bazelbuild/rules_license/releases/download/0.0.4/rules_license-0.0.4.tar.gz -> bazelbuild_rules_license-0.0.4.tar.gz
https://github.com/bazelbuild/rules_proto/archive/refs/tags/4.0.0-3.20.0.tar.gz -> bazelbuild_rules_proto-4.0.0-3.20.0.tar.gz
https://github.com/bazelbuild/rules_python/releases/download/0.2.0/rules_python-0.2.0.tar.gz -> bazelbuild_rules_python-0.2.0.tar.gz
https://github.com/c0fec0de/anytree/archive/2.8.0.tar.gz -> anytree-2.8.0.tar.gz
https://github.com/google/bazel_rules_install/archive/5ae7c2a8d22de2558098e3872fc7f3f7edc61fb4.zip -> bazel_rules_install-5ae7c2a8d22de2558098e3872fc7f3f7edc61fb4.zip
https://github.com/google/boringssl/archive/d345d68d5c4b5471290ebe13f090f1fd5b7e8f58.zip -> boringssl-d345d68d5c4b5471290ebe13f090f1fd5b7e8f58.zip
https://github.com/google/googletest/archive/refs/tags/release-1.12.1.zip -> googletest-release-1.12.1.zip
https://github.com/google/re2/archive/215bf4aa0bdc081862590463bc98a00bb2be48f2.zip -> re2-215bf4aa0bdc081862590463bc98a00bb2be48f2.zip
https://github.com/grailbio/bazel-compilation-database/archive/940cedacdb8a1acbce42093bf67f3a5ca8b265f7.tar.gz -> grailbio_bazel_compilation_database-940cedacdb8a1acbce42093bf67f3a5ca8b265f7.tar.gz
https://github.com/jmillikin/rules_bison/releases/download/v0.2.1/rules_bison-v0.2.1.tar.xz
https://github.com/jmillikin/rules_flex/releases/download/v0.2/rules_flex-v0.2.tar.xz
https://github.com/jmillikin/rules_m4/releases/download/v0.2.2/rules_m4-v0.2.2.tar.xz
https://github.com/lexxmark/winflexbison/releases/download/v2.5.25/win_flex_bison-2.5.25.zip
https://github.com/nlohmann/json/archive/refs/tags/v3.10.2.tar.gz
https://github.com/protocolbuffers/protobuf/releases/download/v22.0/protobuf-22.0.tar.gz
https://zlib.net/fossils/zlib-1.2.13.tar.gz
mirror://gnu/m4/m4-1.4.18.tar.xz
https://mirror.bazel.build/github.com/westes/flex/releases/download/v2.6.4/flex-2.6.4.tar.gz
https://github.com/bazelbuild/rules_python/archive/912a5051f51581784fd64094f6bdabf93f6d698f.zip -> bazelbuild_rules_python-912a5051f51581784fd64094f6bdabf93f6d698f.zip
https://github.com/protocolbuffers/utf8_range/archive/de0b4a8ff9b5d4c98108bdfe723291a33c52c54f.zip -> protocolbuffers_utf8_range-de0b4a8ff9b5d4c98108bdfe723291a33c52c54f.zip
https://github.com/protocolbuffers/rules_ruby/archive/5cf6ff74161d7f985b9bf86bb3c5fb16cef6337b.zip -> protocolbuffers_rules_ruby-5cf6ff74161d7f985b9bf86bb3c5fb16cef6337b.zip
https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.7.0/rules_pkg-0.7.0.tar.gz -> bazelbuild_rules_pkg-0.7.0.tar.gz
https://github.com/bazelbuild/rules_java/archive/981f06c3d2bd10225e85209904090eb7b5fb26bd.zip -> bazelbuild_rules_java-981f06c3d2bd10225e85209904090eb7b5fb26bd.zip
https://mirror.bazel.build/bazel_coverage_output_generator/releases/coverage_output_generator-v2.5.zip -> bazelbuild_bazel_coverage_output_generator-2.5.zip
https://github.com/protocolbuffers/upb/archive/1fb480bc76bc0e331564d672e60b97a388aa3f76.zip -> protocolbuffers_upb-1fb480bc76bc0e331564d672e60b97a388aa3f76.zip
https://github.com/madler/zlib/releases/download/v1.2.13/zlib-1.2.13.tar.xz
https://mirror.bazel.build/bazel_java_tools/releases/java/v11.7.1/java_tools-v11.7.1.zip
https://mirror.bazel.build/openjdk/azul-zulu11.50.19-ca-jdk11.0.12/zulu11.50.19-ca-jdk11.0.12-linux_x64.tar.gz
https://mirror.bazel.build/bazel_java_tools/releases/java/v11.7.1/java_tools_linux-v11.7.1.zip
https://github.com/jmillikin/rules_m4/releases/download/v0.1/m4-gnulib-788db09a9f88abbef73c97e8d7291c40455336d8.tar.xz
https://github.com/jmillikin/rules_m4/releases/download/v0.2.3/rules_m4-v0.2.3.tar.xz
https://github.com/jmillikin/rules_flex/releases/download/v0.2.1/rules_flex-v0.2.1.tar.xz
https://github.com/protocolbuffers/protobuf/releases/download/v23.4/protobuf-23.4.tar.gz
https://github.com/protocolbuffers/upb/archive/455cfdb8ae60a1763e6d924e36851c6897a781bb.zip -> protocolbuffers_upb-455cfdb8ae60a1763e6d924e36851c6897a781bb.zip
https://github.com/google/re2/archive/refs/tags/2023-06-01.tar.gz -> re2-2023-06-01.tar.gz
"
SRC_URI="
https://github.com/chipsalliance/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz
${bazel_external_uris}
"
S="${WORKDIR}/${PN}-${MY_PV}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
sys-libs/zlib
"
DEPEND="
${RDEPEND}
"
BDEPEND="
app-arch/unzip
sys-devel/bison
sys-devel/flex
sys-devel/m4
"
src_unpack() {
unpack "${P}.tar.gz"
bazel_load_distfiles "${bazel_external_uris}"
}
src_prepare() {
bazel_setup_bazelrc
default
}
src_compile() {
export JAVA_HOME=$(java-config --jre-home)
export GIT_DATE="$(date -r WORKSPACE "+%Y-%m-%d")"
export GIT_VERSION="v${MY_PV}"
ebazel build -c opt --//bazel:use_local_flex_bison //...
ebazel shutdown
}
src_test() {
ebazel test -c opt --//bazel:use_local_flex_bison //...
}
src_install() {
ebazel run -c opt --//bazel:use_local_flex_bison //:install -- "${D}/usr/bin"
ebazel shutdown
}

View File

@@ -1,121 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
# From release tag name
MY_PV="0.0-3430-g060bde0f"
# Eclass dropped from ::gentoo
# https://github.com/gentoo/gentoo/commit/8876dc1db3205682d1ed8543b7fef1ce2b619874
# inherit bazel
DESCRIPTION="SystemVerilog parser, style-linter, and formatter"
HOMEPAGE="
https://chipsalliance.github.io/verible/
https://github.com/chipsalliance/verible
"
# Generated with:
# git clone git@github.com:chipsalliance/verible.git
# git checkout v${MY_PV}
# cd verible
# cat WORKSPACE | grep -Eo "(http|https)://[a-zA-Z0-9./?=_%:-]*" | sort -u
bazel_external_uris="
https://files.pythonhosted.org/packages/6b/34/415834bfdafca3c5f451532e8a8d9ba89a21c9743a0c59fbd0205c7f9426/six-1.15.0.tar.gz
https://github.com/abseil/abseil-cpp/archive/35e8e3f7a2c6972d4c591448e8bbe4f9ed9f815a.zip -> abseil-cpp-35e8e3f7a2c6972d4c591448e8bbe4f9ed9f815a.zip
https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz -> bazelbuild_bazel_skylib-1.3.0.tar.gz
https://github.com/bazelbuild/platforms/releases/download/0.0.6/platforms-0.0.6.tar.gz -> bazelbuild_platforms-0.0.6.tar.gz
https://github.com/bazelbuild/rules_cc/archive/e7c97c3af74e279a5db516a19f642e862ff58548.zip -> bazelbuild_rules_cc-0.0.0_e7c97c3af74e279a5db516a19f642e862ff58548.zip
https://github.com/bazelbuild/rules_license/releases/download/0.0.4/rules_license-0.0.4.tar.gz -> bazelbuild_rules_license-0.0.4.tar.gz
https://github.com/bazelbuild/rules_proto/archive/refs/tags/4.0.0-3.20.0.tar.gz -> bazelbuild_rules_proto-4.0.0-3.20.0.tar.gz
https://github.com/bazelbuild/rules_python/releases/download/0.2.0/rules_python-0.2.0.tar.gz -> bazelbuild_rules_python-0.2.0.tar.gz
https://github.com/c0fec0de/anytree/archive/2.8.0.tar.gz -> anytree-2.8.0.tar.gz
https://github.com/google/bazel_rules_install/archive/5ae7c2a8d22de2558098e3872fc7f3f7edc61fb4.zip -> bazel_rules_install-5ae7c2a8d22de2558098e3872fc7f3f7edc61fb4.zip
https://github.com/google/boringssl/archive/d345d68d5c4b5471290ebe13f090f1fd5b7e8f58.zip -> boringssl-d345d68d5c4b5471290ebe13f090f1fd5b7e8f58.zip
https://github.com/google/googletest/archive/refs/tags/release-1.12.1.zip -> googletest-release-1.12.1.zip
https://github.com/google/re2/archive/215bf4aa0bdc081862590463bc98a00bb2be48f2.zip -> re2-215bf4aa0bdc081862590463bc98a00bb2be48f2.zip
https://github.com/grailbio/bazel-compilation-database/archive/940cedacdb8a1acbce42093bf67f3a5ca8b265f7.tar.gz -> grailbio_bazel_compilation_database-940cedacdb8a1acbce42093bf67f3a5ca8b265f7.tar.gz
https://github.com/jmillikin/rules_bison/releases/download/v0.2.1/rules_bison-v0.2.1.tar.xz
https://github.com/jmillikin/rules_flex/releases/download/v0.2/rules_flex-v0.2.tar.xz
https://github.com/jmillikin/rules_m4/releases/download/v0.2.2/rules_m4-v0.2.2.tar.xz
https://github.com/lexxmark/winflexbison/releases/download/v2.5.25/win_flex_bison-2.5.25.zip
https://github.com/nlohmann/json/archive/refs/tags/v3.10.2.tar.gz
https://github.com/protocolbuffers/protobuf/releases/download/v22.0/protobuf-22.0.tar.gz
https://zlib.net/fossils/zlib-1.2.13.tar.gz
mirror://gnu/m4/m4-1.4.18.tar.xz
https://mirror.bazel.build/github.com/westes/flex/releases/download/v2.6.4/flex-2.6.4.tar.gz
https://github.com/bazelbuild/rules_python/archive/912a5051f51581784fd64094f6bdabf93f6d698f.zip -> bazelbuild_rules_python-912a5051f51581784fd64094f6bdabf93f6d698f.zip
https://github.com/protocolbuffers/utf8_range/archive/de0b4a8ff9b5d4c98108bdfe723291a33c52c54f.zip -> protocolbuffers_utf8_range-de0b4a8ff9b5d4c98108bdfe723291a33c52c54f.zip
https://github.com/protocolbuffers/rules_ruby/archive/5cf6ff74161d7f985b9bf86bb3c5fb16cef6337b.zip -> protocolbuffers_rules_ruby-5cf6ff74161d7f985b9bf86bb3c5fb16cef6337b.zip
https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.7.0/rules_pkg-0.7.0.tar.gz -> bazelbuild_rules_pkg-0.7.0.tar.gz
https://github.com/bazelbuild/rules_java/archive/981f06c3d2bd10225e85209904090eb7b5fb26bd.zip -> bazelbuild_rules_java-981f06c3d2bd10225e85209904090eb7b5fb26bd.zip
https://mirror.bazel.build/bazel_coverage_output_generator/releases/coverage_output_generator-v2.5.zip -> bazelbuild_bazel_coverage_output_generator-2.5.zip
https://github.com/protocolbuffers/upb/archive/1fb480bc76bc0e331564d672e60b97a388aa3f76.zip -> protocolbuffers_upb-1fb480bc76bc0e331564d672e60b97a388aa3f76.zip
https://github.com/madler/zlib/releases/download/v1.2.13/zlib-1.2.13.tar.xz
https://mirror.bazel.build/bazel_java_tools/releases/java/v11.7.1/java_tools-v11.7.1.zip
https://mirror.bazel.build/openjdk/azul-zulu11.50.19-ca-jdk11.0.12/zulu11.50.19-ca-jdk11.0.12-linux_x64.tar.gz
https://mirror.bazel.build/bazel_java_tools/releases/java/v11.7.1/java_tools_linux-v11.7.1.zip
https://github.com/jmillikin/rules_m4/releases/download/v0.1/m4-gnulib-788db09a9f88abbef73c97e8d7291c40455336d8.tar.xz
https://github.com/jmillikin/rules_m4/releases/download/v0.2.3/rules_m4-v0.2.3.tar.xz
https://github.com/jmillikin/rules_flex/releases/download/v0.2.1/rules_flex-v0.2.1.tar.xz
https://github.com/protocolbuffers/protobuf/releases/download/v23.4/protobuf-23.4.tar.gz
https://github.com/protocolbuffers/upb/archive/455cfdb8ae60a1763e6d924e36851c6897a781bb.zip -> protocolbuffers_upb-455cfdb8ae60a1763e6d924e36851c6897a781bb.zip
https://github.com/google/re2/archive/refs/tags/2023-06-01.tar.gz -> re2-2023-06-01.tar.gz
"
SRC_URI="
https://github.com/chipsalliance/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz
${bazel_external_uris}
"
S="${WORKDIR}/${PN}-${MY_PV}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
sys-libs/zlib
"
DEPEND="
${RDEPEND}
"
BDEPEND="
app-arch/unzip
sys-devel/bison
sys-devel/flex
sys-devel/m4
"
src_unpack() {
unpack "${P}.tar.gz"
bazel_load_distfiles "${bazel_external_uris}"
}
src_prepare() {
bazel_setup_bazelrc
default
}
src_compile() {
export JAVA_HOME=$(java-config --jre-home)
export GIT_DATE="$(date -r WORKSPACE "+%Y-%m-%d")"
export GIT_VERSION="v${MY_PV}"
ebazel build -c opt --//bazel:use_local_flex_bison //...
ebazel shutdown
}
src_test() {
ebazel test -c opt --//bazel:use_local_flex_bison //...
}
src_install() {
ebazel run -c opt --//bazel:use_local_flex_bison //:install -- "${D}/usr/bin"
ebazel shutdown
}