From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4591E158013 for ; Thu, 14 Dec 2023 22:21:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8923A2BC018; Thu, 14 Dec 2023 22:21:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6F35F2BC018 for ; Thu, 14 Dec 2023 22:21:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ABEE033BE19 for ; Thu, 14 Dec 2023 22:21:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 22BB6E6B for ; Thu, 14 Dec 2023 22:21:32 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1702544177.210e2bad49958639fc9aa854fe31f7b1f307b764.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: sci-electronics/verible/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sci-electronics/verible/Manifest sci-electronics/verible/verible-0.0.3430.ebuild X-VCS-Directories: sci-electronics/verible/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 210e2bad49958639fc9aa854fe31f7b1f307b764 X-VCS-Branch: master Date: Thu, 14 Dec 2023 22:21:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7ea5b6e4-0dbb-4ef0-af68-d1e26a3d8aef X-Archives-Hash: 56f1660c35faa16ce95488d585a23333 commit: 210e2bad49958639fc9aa854fe31f7b1f307b764 Author: Huang Rui gmail com> AuthorDate: Thu Dec 14 08:56:17 2023 +0000 Commit: David Roman gmail com> CommitDate: Thu Dec 14 08:56:17 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=210e2bad sci-electronics/verible: add 0.0.3430 Signed-off-by: Huang Rui gmail.com> sci-electronics/verible/Manifest | 1 + sci-electronics/verible/verible-0.0.3430.ebuild | 119 ++++++++++++++++++++++++ 2 files changed, 120 insertions(+) diff --git a/sci-electronics/verible/Manifest b/sci-electronics/verible/Manifest index 4c99907352..4bc97eb71f 100644 --- a/sci-electronics/verible/Manifest +++ b/sci-electronics/verible/Manifest @@ -35,6 +35,7 @@ DIST rules_m4-v0.2.3.tar.xz 23508 BLAKE2B 20edcdf89445eb3dc3ac873fdb7567eb6cad6b 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 diff --git a/sci-electronics/verible/verible-0.0.3430.ebuild b/sci-electronics/verible/verible-0.0.3430.ebuild new file mode 100644 index 0000000000..d134e40091 --- /dev/null +++ b/sci-electronics/verible/verible-0.0.3430.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2023 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" + +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 +}