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 5791315808B for ; Sat, 17 Feb 2024 02:40:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0769AE29FA; Sat, 17 Feb 2024 02:40:17 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DD07BE29F0 for ; Sat, 17 Feb 2024 02:40:16 +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 050AF33BEE9 for ; Sat, 17 Feb 2024 02:40:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5EEF614CF for ; Sat, 17 Feb 2024 02:40:14 +0000 (UTC) From: "Rui Huang" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Rui Huang" Message-ID: <1708091506.c652d3cdf2f3cdb409bf7df7ae4fcb2827121d02.vowstar@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: sci-electronics/slang/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sci-electronics/slang/Manifest sci-electronics/slang/slang-5.0.ebuild X-VCS-Directories: sci-electronics/slang/ X-VCS-Committer: vowstar X-VCS-Committer-Name: Rui Huang X-VCS-Revision: c652d3cdf2f3cdb409bf7df7ae4fcb2827121d02 X-VCS-Branch: master Date: Sat, 17 Feb 2024 02:40:14 +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: 5fe4fde5-39a8-410a-957f-10e88b0cca25 X-Archives-Hash: 1f797f8cb8d14b4c24cf8ca8266097ae commit: c652d3cdf2f3cdb409bf7df7ae4fcb2827121d02 Author: Huang Rui gmail com> AuthorDate: Fri Feb 16 13:50:18 2024 +0000 Commit: Rui Huang gmail com> CommitDate: Fri Feb 16 13:51:46 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c652d3cd sci-electronics/slang: bump to 5.0 Signed-off-by: Huang Rui gmail.com> sci-electronics/slang/Manifest | 1 + sci-electronics/slang/slang-5.0.ebuild | 67 ++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/sci-electronics/slang/Manifest b/sci-electronics/slang/Manifest index 38dedff2e0..94b3e14ff6 100644 --- a/sci-electronics/slang/Manifest +++ b/sci-electronics/slang/Manifest @@ -2,3 +2,4 @@ DIST slang-1.0.tar.gz 1239664 BLAKE2B 98355987b5c355eb914dd0d38c7441d5d39b7a0259 DIST slang-2.0.tar.gz 1026299 BLAKE2B d55e0f419e030a37ff80aef3c0b16a96ee402707c758797fea3d1914e29247d22d240693cd873f95f634438fad5b8ed65961a324c69788fc3e62f83ce0a94869 SHA512 3d18961cda7eb40877932e937364b19cfcef3127a8467fbfc70febd1d6ef8b267aeae8244355a4b0206197ef126ee5a65aa4a4fb49d0970fe6c626725b7e6b21 DIST slang-3.0.tar.gz 1097223 BLAKE2B 87f7ac55fb719e64049e56792af9edbe20c39cebcd496f3fa3c980f54490a885f8bc3443b0c841930baf1d57854aba54747acf3f6a8debda3e1cb110dae364f0 SHA512 3d340ccdd7573d61b9e391861712d6b97a2c686b2bae351c1b25f11539146f6d00539b044c69f7dc362ed160828a1bb00f180553dcb760affe912e521bc56a8a DIST slang-4.0.tar.gz 1308308 BLAKE2B 99029a26b3fe86942abc33381f8f9ba050c09b390ed7fc54404f4054eb34a83e168d53096cad2e8f037954770a95009c701c86b1e59e1e9d02e1709fd120164c SHA512 043c053452b2d452875b2e3ed96be5b96275544e2a692bec8b170e01cefec6e5648a6681e3cac3afd2a68c8ec57f6461a9a73394d74abbc8627d49b66978808e +DIST slang-5.0.tar.gz 1334032 BLAKE2B 08981f86d0be6a4a7d391a2b65d8f4e5bdab8e3ba50f6e847e2b25fec9d9345e806045faae3c74fd71db90f939d8668ff775465ea1e8433d660a0a53f20a358a SHA512 a1b7b9aac7357a9a7cc1818adbb5e9622234f607aba452ca57e3d28b31779339bb19557137cf37cdcc2abb2aba15eb6d2f580169322caf075a2518b3d8634a26 diff --git a/sci-electronics/slang/slang-5.0.ebuild b/sci-electronics/slang/slang-5.0.ebuild new file mode 100644 index 0000000000..d910be8d22 --- /dev/null +++ b/sci-electronics/slang/slang-5.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +PYTHON_COMPAT=( python3_{9..12} ) +inherit cmake python-single-r1 + +DESCRIPTION="SystemVerilog compiler and language services" +HOMEPAGE=" + https://sv-lang.com + https://github.com/MikePopoloski/slang +" + +if [[ "${PV}" == "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/MikePopoloski/${PN}.git" +else + SRC_URI="https://github.com/MikePopoloski/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + S="${WORKDIR}/${P}" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="python test" +REQUIRED_USE=" ${PYTHON_REQUIRED_USE} " +RESTRICT="!test? ( test )" + +RDEPEND=" + ${PYTHON_DEPS} + >=dev-cpp/catch-3.0.1 + >=dev-libs/libfmt-9.1.0 + >=dev-libs/mimalloc-2.1.2 + $(python_gen_cond_dep ' + >=dev-python/pybind11-2.10[${PYTHON_USEDEP}] + ') +" + +DEPEND=" + ${RDEPEND} +" + +PATCHES=( + "${FILESDIR}/${PN}-5.0-fix-gentoo-libfmt-depend.patch" +) + +src_configure() { + python_setup + local mycmakeargs=( + -D CMAKE_INSTALL_LIBDIR="${EPREFIX}/usr/$(get_libdir)" + -D BUILD_SHARED_LIBS=ON + -D SLANG_INCLUDE_PYLIB=$(usex python) + -D SLANG_INCLUDE_TESTS=$(usex test) + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + + if use python; then + # fix python unexpected paths QA + mkdir -p "${D}/$(python_get_sitedir)" || die + mv "${D}"/usr/pyslang* "${D}/$(python_get_sitedir)" || die + fi +} 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 8719A15808B for ; Fri, 16 Feb 2024 15:13:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A5F5EE29BA; Fri, 16 Feb 2024 15:13:47 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 8707AE29BA for ; Fri, 16 Feb 2024 15:13:47 +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 9C6F6340CC9 for ; Fri, 16 Feb 2024 15:13:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F25CF1132 for ; Fri, 16 Feb 2024 15:13:44 +0000 (UTC) From: "Rui Huang" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Rui Huang" Message-ID: <1708091506.c652d3cdf2f3cdb409bf7df7ae4fcb2827121d02.vowstar@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sci-electronics/slang/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sci-electronics/slang/Manifest sci-electronics/slang/slang-5.0.ebuild X-VCS-Directories: sci-electronics/slang/ X-VCS-Committer: vowstar X-VCS-Committer-Name: Rui Huang X-VCS-Revision: c652d3cdf2f3cdb409bf7df7ae4fcb2827121d02 X-VCS-Branch: dev Date: Fri, 16 Feb 2024 15:13:44 +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: 3102db3d-df0f-4df6-a0a9-9e55fe156133 X-Archives-Hash: 12af6a5f9109c18bb74417bae54a50d8 Message-ID: <20240216151344.8stlyxjefS1rtEPp6TtBbSxkuXGKWZsVot-oZMllbWc@z> commit: c652d3cdf2f3cdb409bf7df7ae4fcb2827121d02 Author: Huang Rui gmail com> AuthorDate: Fri Feb 16 13:50:18 2024 +0000 Commit: Rui Huang gmail com> CommitDate: Fri Feb 16 13:51:46 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c652d3cd sci-electronics/slang: bump to 5.0 Signed-off-by: Huang Rui gmail.com> sci-electronics/slang/Manifest | 1 + sci-electronics/slang/slang-5.0.ebuild | 67 ++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/sci-electronics/slang/Manifest b/sci-electronics/slang/Manifest index 38dedff2e0..94b3e14ff6 100644 --- a/sci-electronics/slang/Manifest +++ b/sci-electronics/slang/Manifest @@ -2,3 +2,4 @@ DIST slang-1.0.tar.gz 1239664 BLAKE2B 98355987b5c355eb914dd0d38c7441d5d39b7a0259 DIST slang-2.0.tar.gz 1026299 BLAKE2B d55e0f419e030a37ff80aef3c0b16a96ee402707c758797fea3d1914e29247d22d240693cd873f95f634438fad5b8ed65961a324c69788fc3e62f83ce0a94869 SHA512 3d18961cda7eb40877932e937364b19cfcef3127a8467fbfc70febd1d6ef8b267aeae8244355a4b0206197ef126ee5a65aa4a4fb49d0970fe6c626725b7e6b21 DIST slang-3.0.tar.gz 1097223 BLAKE2B 87f7ac55fb719e64049e56792af9edbe20c39cebcd496f3fa3c980f54490a885f8bc3443b0c841930baf1d57854aba54747acf3f6a8debda3e1cb110dae364f0 SHA512 3d340ccdd7573d61b9e391861712d6b97a2c686b2bae351c1b25f11539146f6d00539b044c69f7dc362ed160828a1bb00f180553dcb760affe912e521bc56a8a DIST slang-4.0.tar.gz 1308308 BLAKE2B 99029a26b3fe86942abc33381f8f9ba050c09b390ed7fc54404f4054eb34a83e168d53096cad2e8f037954770a95009c701c86b1e59e1e9d02e1709fd120164c SHA512 043c053452b2d452875b2e3ed96be5b96275544e2a692bec8b170e01cefec6e5648a6681e3cac3afd2a68c8ec57f6461a9a73394d74abbc8627d49b66978808e +DIST slang-5.0.tar.gz 1334032 BLAKE2B 08981f86d0be6a4a7d391a2b65d8f4e5bdab8e3ba50f6e847e2b25fec9d9345e806045faae3c74fd71db90f939d8668ff775465ea1e8433d660a0a53f20a358a SHA512 a1b7b9aac7357a9a7cc1818adbb5e9622234f607aba452ca57e3d28b31779339bb19557137cf37cdcc2abb2aba15eb6d2f580169322caf075a2518b3d8634a26 diff --git a/sci-electronics/slang/slang-5.0.ebuild b/sci-electronics/slang/slang-5.0.ebuild new file mode 100644 index 0000000000..d910be8d22 --- /dev/null +++ b/sci-electronics/slang/slang-5.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +PYTHON_COMPAT=( python3_{9..12} ) +inherit cmake python-single-r1 + +DESCRIPTION="SystemVerilog compiler and language services" +HOMEPAGE=" + https://sv-lang.com + https://github.com/MikePopoloski/slang +" + +if [[ "${PV}" == "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/MikePopoloski/${PN}.git" +else + SRC_URI="https://github.com/MikePopoloski/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + S="${WORKDIR}/${P}" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="python test" +REQUIRED_USE=" ${PYTHON_REQUIRED_USE} " +RESTRICT="!test? ( test )" + +RDEPEND=" + ${PYTHON_DEPS} + >=dev-cpp/catch-3.0.1 + >=dev-libs/libfmt-9.1.0 + >=dev-libs/mimalloc-2.1.2 + $(python_gen_cond_dep ' + >=dev-python/pybind11-2.10[${PYTHON_USEDEP}] + ') +" + +DEPEND=" + ${RDEPEND} +" + +PATCHES=( + "${FILESDIR}/${PN}-5.0-fix-gentoo-libfmt-depend.patch" +) + +src_configure() { + python_setup + local mycmakeargs=( + -D CMAKE_INSTALL_LIBDIR="${EPREFIX}/usr/$(get_libdir)" + -D BUILD_SHARED_LIBS=ON + -D SLANG_INCLUDE_PYLIB=$(usex python) + -D SLANG_INCLUDE_TESTS=$(usex test) + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + + if use python; then + # fix python unexpected paths QA + mkdir -p "${D}/$(python_get_sitedir)" || die + mv "${D}"/usr/pyslang* "${D}/$(python_get_sitedir)" || die + fi +}