mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
sci-electronics/verible: drop 0.0.2135
Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
parent
b20553fc50
commit
b981087dd7
@ -23,7 +23,6 @@ DIST rules_m4-v0.2.tar.xz 16888 BLAKE2B a191c332b916ca8d06e1e2e13fb8d4098947acb0
|
||||
DIST rules_proto-97d8af4dc474595af3900dd85cb3a29ad28cc313.zip 14252 BLAKE2B 152b72f967835685d11e1e84ca548198022ccc9ad5b55e5007fe6fb1e38dd1d4b4e0473841d23c658f31ca8dc10509d9d2bb81b211e487c97f7714af53b8aafe SHA512 4aead3ec92fe74da92640926f7f8626b6e3db2318856ef374d6fda83cafcf7b45ea9b425d63b7aa0ab4f17e787909c795b916addc63c07918ee2656655a5d093
|
||||
DIST rules_python-0.2.0.tar.gz 2503614 BLAKE2B 07c1e4e642587bfe03373733fc6c30aa195285002c4f1e532c40aba9c111629787aab78600a5d83e3833e2fddcc86407084cfc74cf2bb0ee23012a59b4bccef0 SHA512 674f89c8e262008e2d8a7329ff7b09275ec34ced73d131786a2106c414ab5213c15259b8188f976e730f568def139a5e0fd29e8a1caa905d22afe9628d544e26
|
||||
DIST six-1.15.0.tar.gz 33917 BLAKE2B 57e852b6c35dd19e256814c0371cfbc26141b0f25a31f79a1cbd1b0cdd7d3cacf1236b96f5452f968cc426e6dff4d1ad70a9f2432bc361ba3c8c17fd40fe7582 SHA512 eb840ac17f433f1fc4af56de75cfbfe0b54e6a737bb23c453bf09a4a13d768d153e46064880dc763f4c5cc2785b78ea6d3d3b4a41fed181cb9064837e3f699a9
|
||||
DIST verible-0.0.2135.tar.gz 1302067 BLAKE2B 55409fa4891d4e55941094893af54dc35154ce42f6a56dc35589829ca1d6777fd81e557ebf72f112754a12552b2a8038f4b33dd11d29e3211a0337ba981fe451 SHA512 b09598bf39cb553fc470e55e1fca2add52f7c7b186bc4569857682b93991bcba64b8e31abe4b5426c52ccfec840d1049e5b7078c62034fb23acde338f82d7b36
|
||||
DIST verible-0.0.2152.tar.gz 1302265 BLAKE2B 0f9d77e62e57dd2845acfc29cf6fc7932c13ebd160de93cd454ed363aa0f40394d36a3b79a6060e5a65f3968caec8ddce4021f0a2c316f59fa7ca234845bffad SHA512 b2a77d827cfb29d88d58cd3a9f84f3b1701ad83afadb8f61eedf130778f5bc78ca65f4b97ee3e137c659a04aa547dd85b68b2470c65f22c41a67a3b25e57e911
|
||||
DIST win_flex_bison-2.5.18.zip 977634 BLAKE2B dfc5f5ee13665948398df61f3993b6ffe8120b3c390e8e12c6dcc5f603f91921cf182097df83931a4fe57b8ffbfdd0c67e67daed4a7ca633b1dddd2527359ea7 SHA512 8b30f046e090a0ddcf85b38197913bbf5ac6f5e3063bdfebf288fd7e3d22288c72ba98fd2d04c5eaf9157997bc4bd9911c1e0f6007106589d25b58a9673f7b83
|
||||
DIST zlib-1.2.12.tar.gz 1490071 BLAKE2B 76e7b26f8dc761b0eae6276cc32bc36fa74a88197699c95d158c1548f97b80db5e39d21144ecd6ee3eb90c42730aa5f387f9952d9a3f0930b56e9dfcd12f1e67 SHA512 cc2366fa45d5dfee1f983c8c51515e0cff959b61471e2e8d24350dea22d3f6fcc50723615a911b046ffc95f51ba337d39ae402131a55e6d1541d3b095d6c0a14
|
||||
|
@ -1,103 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
# From release tag name
|
||||
MY_PV="0.0-2135-gb534c1fe"
|
||||
|
||||
inherit bazel
|
||||
|
||||
DESCRIPTION="SystemVerilog parser, style-linter, and formatter"
|
||||
HOMEPAGE="
|
||||
https://chipsalliance.github.io/verible/
|
||||
https://github.com/chipsalliance/verible
|
||||
"
|
||||
|
||||
# From $(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/refs/tags/20211102.0.zip -> abseil-cpp-20211102.0.zip
|
||||
https://github.com/bazelbuild/bazel-toolchains/releases/download/3.4.0/bazel-toolchains-3.4.0.tar.gz
|
||||
https://github.com/bazelbuild/rules_cc/archive/e7c97c3af74e279a5db516a19f642e862ff58548.zip -> rules_cc-e7c97c3af74e279a5db516a19f642e862ff58548.zip
|
||||
https://github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3a29ad28cc313.zip -> rules_proto-97d8af4dc474595af3900dd85cb3a29ad28cc313.zip
|
||||
https://github.com/bazelbuild/rules_python/releases/download/0.2.0/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/gflags/gflags/archive/827c769e5fc98e0f2a34c47cef953cc6328abced.zip -> gflags-827c769e5fc98e0f2a34c47cef953cc6328abced.zip
|
||||
https://github.com/google/bazel_rules_install/archive/4cd8ab0b5d8a0117bb5b8c89a0024508d5d4d5ed.zip -> bazel_rules_install-4cd8ab0b5d8a0117bb5b8c89a0024508d5d4d5ed.zip
|
||||
https://github.com/google/glog/archive/v0.5.0-rc2.tar.gz -> glog-v0.5.0-rc2.tar.gz
|
||||
https://github.com/google/googletest/archive/refs/tags/release-1.11.0.zip -> googletest-release-1.11.0.zip
|
||||
https://github.com/grailbio/bazel-compilation-database/archive/ace73b04e76111afa09934f8771a2798847e724e.tar.gz -> bazel-compilation-database-ace73b04e76111afa09934f8771a2798847e724e.tar.gz
|
||||
https://github.com/jmillikin/rules_bison/releases/download/v0.2/rules_bison-v0.2.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.1/m4-gnulib-788db09a9f88abbef73c97e8d7291c40455336d8.tar.xz
|
||||
https://github.com/jmillikin/rules_m4/releases/download/v0.2/rules_m4-v0.2.tar.xz
|
||||
https://github.com/lexxmark/winflexbison/releases/download/v2.5.18/win_flex_bison-2.5.18.zip
|
||||
https://github.com/nlohmann/json/archive/refs/tags/v3.10.2.tar.gz -> json-v3.10.2.tar.gz
|
||||
https://github.com/protocolbuffers/protobuf/archive/v3.13.0.zip -> protobuf-v3.13.0.zip
|
||||
https://github.com/westes/flex/releases/download/v2.6.4/flex-2.6.4.tar.gz
|
||||
https://mirror.bazel.build/bazel_coverage_output_generator/releases/coverage_output_generator-v2.5.zip -> bazel_coverage_output_generator-v2.5.zip
|
||||
https://mirror.bazel.build/bazel_java_tools/releases/java/v11.6/java_tools_linux-v11.6.zip -> bazel_java_tools_linux-v11.6.zip
|
||||
https://mirror.bazel.build/bazel_java_tools/releases/java/v11.6/java_tools-v11.6.zip -> bazel_java_tools-v11.6.zip
|
||||
https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.0.2/bazel-skylib-1.0.2.tar.gz
|
||||
https://mirror.bazel.build/github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip -> bazel_rules_java-7cf3cefd652008d0a64a419c34c13bdca6c8f178.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://zlib.net/zlib-1.2.12.tar.gz
|
||||
mirror://gnu/m4/m4-1.4.18.tar.xz
|
||||
"
|
||||
|
||||
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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user