* [gentoo-commits] repo/proj/guru:dev commit in: sci-electronics/bluespec/
@ 2022-08-28 14:42 Rui Huang
0 siblings, 0 replies; 10+ messages in thread
From: Rui Huang @ 2022-08-28 14:42 UTC (permalink / raw
To: gentoo-commits
commit: f6847ec1b6d5812b07d1b9729c39c07070a07fd8
Author: Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Sun Aug 28 14:41:42 2022 +0000
Commit: Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Sun Aug 28 14:41:42 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f6847ec1
sci-electronics/bluespec: fix doc build and install path
Signed-off-by: Huang Rui <vowstar <AT> gmail.com>
sci-electronics/bluespec/bluespec-2022.01.ebuild | 12 +++++++-----
sci-electronics/bluespec/bluespec-9999.ebuild | 12 +++++++-----
2 files changed, 14 insertions(+), 10 deletions(-)
diff --git a/sci-electronics/bluespec/bluespec-2022.01.ebuild b/sci-electronics/bluespec/bluespec-2022.01.ebuild
index b16ee8ddb..1ac42d567 100644
--- a/sci-electronics/bluespec/bluespec-2022.01.ebuild
+++ b/sci-electronics/bluespec/bluespec-2022.01.ebuild
@@ -49,6 +49,7 @@ BDEPEND="
dev-util/gperf
doc? (
dev-ruby/asciidoctor
+ dev-ruby/asciidoctor-pdf
dev-texlive/texlive-bibtexextra
dev-texlive/texlive-fontsextra
dev-texlive/texlive-fontutils
@@ -99,16 +100,17 @@ src_compile() {
src_test() {
emake check-smoke
- emake -c testsuite check
+ emake -C testsuite check
}
src_install() {
# From https://github.com/B-Lang-org/bsc/blob/main/INSTALL.md,
# upstream recommend placing the inst directory at
# the path /usr/share/bsc/bsc-<VERSION> for multi-version.
- local PREFIX="${ED}"/usr/share/bsc/bsc-"${PV}"
- mkdir -p "${PREFIX}" || die
- cp -dr --preserve=mode,timestamp "${S}"/inst/* "${PREFIX}"/ || die
- insinto "${PREFIX}"/vimfiles
+ local INSTALL_PATH=/usr/share/bsc/bsc-"${PV}"
+ local ED_INSTALL_PATH="${ED}${INSTALL_PATH}"
+ mkdir -p "${ED_INSTALL_PATH}" || die
+ cp -dr --preserve=mode,timestamp "${S}"/inst/* "${ED_INSTALL_PATH}"/ || die
+ insinto "${INSTALL_PATH}"/vimfiles
doins -r "${S}"/util/vim/{ftdetect,indent,syntax}
}
diff --git a/sci-electronics/bluespec/bluespec-9999.ebuild b/sci-electronics/bluespec/bluespec-9999.ebuild
index b16ee8ddb..1ac42d567 100644
--- a/sci-electronics/bluespec/bluespec-9999.ebuild
+++ b/sci-electronics/bluespec/bluespec-9999.ebuild
@@ -49,6 +49,7 @@ BDEPEND="
dev-util/gperf
doc? (
dev-ruby/asciidoctor
+ dev-ruby/asciidoctor-pdf
dev-texlive/texlive-bibtexextra
dev-texlive/texlive-fontsextra
dev-texlive/texlive-fontutils
@@ -99,16 +100,17 @@ src_compile() {
src_test() {
emake check-smoke
- emake -c testsuite check
+ emake -C testsuite check
}
src_install() {
# From https://github.com/B-Lang-org/bsc/blob/main/INSTALL.md,
# upstream recommend placing the inst directory at
# the path /usr/share/bsc/bsc-<VERSION> for multi-version.
- local PREFIX="${ED}"/usr/share/bsc/bsc-"${PV}"
- mkdir -p "${PREFIX}" || die
- cp -dr --preserve=mode,timestamp "${S}"/inst/* "${PREFIX}"/ || die
- insinto "${PREFIX}"/vimfiles
+ local INSTALL_PATH=/usr/share/bsc/bsc-"${PV}"
+ local ED_INSTALL_PATH="${ED}${INSTALL_PATH}"
+ mkdir -p "${ED_INSTALL_PATH}" || die
+ cp -dr --preserve=mode,timestamp "${S}"/inst/* "${ED_INSTALL_PATH}"/ || die
+ insinto "${INSTALL_PATH}"/vimfiles
doins -r "${S}"/util/vim/{ftdetect,indent,syntax}
}
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-electronics/bluespec/
@ 2022-08-28 17:01 Rui Huang
0 siblings, 0 replies; 10+ messages in thread
From: Rui Huang @ 2022-08-28 17:01 UTC (permalink / raw
To: gentoo-commits
commit: 8085408945613944e1708aa8a2f19fe9223d2c7c
Author: Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Sun Aug 28 17:00:31 2022 +0000
Commit: Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Sun Aug 28 17:01:11 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=80854089
sci-electronics/bluespec: add eselect bluespec support
Signed-off-by: Huang Rui <vowstar <AT> gmail.com>
sci-electronics/bluespec/bluespec-2022.01.ebuild | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/sci-electronics/bluespec/bluespec-2022.01.ebuild b/sci-electronics/bluespec/bluespec-2022.01.ebuild
index 1ac42d567..1726325a5 100644
--- a/sci-electronics/bluespec/bluespec-2022.01.ebuild
+++ b/sci-electronics/bluespec/bluespec-2022.01.ebuild
@@ -25,6 +25,7 @@ IUSE="doc test"
RESTRICT="!test? ( test )"
RDEPEND="
+ app-eselect/eselect-bluespec
dev-haskell/old-time:0=
dev-haskell/regex-compat:0=
dev-haskell/split:0=
@@ -103,6 +104,14 @@ src_test() {
emake -C testsuite check
}
+# Call eselect vi update with --if-unset
+# to respect user's choice
+eselect_bluespec_update() {
+ ebegin "Calling eselect bluespec update"
+ eselect bluespec update --if-unset
+ eend $?
+}
+
src_install() {
# From https://github.com/B-Lang-org/bsc/blob/main/INSTALL.md,
# upstream recommend placing the inst directory at
@@ -114,3 +123,11 @@ src_install() {
insinto "${INSTALL_PATH}"/vimfiles
doins -r "${S}"/util/vim/{ftdetect,indent,syntax}
}
+
+pkg_postinst() {
+ eselect_bluespec_update
+}
+
+pkg_postrm() {
+ eselect_bluespec_update
+}
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-electronics/bluespec/
@ 2022-08-28 20:28 Rui Huang
0 siblings, 0 replies; 10+ messages in thread
From: Rui Huang @ 2022-08-28 20:28 UTC (permalink / raw
To: gentoo-commits
commit: 5e60b24573024a7649a269f7566a6acf61099157
Author: Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Sun Aug 28 20:28:00 2022 +0000
Commit: Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Sun Aug 28 20:28:00 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5e60b245
sci-electronics/bluespec: add eselect support
Fix symbolic link problem
Signed-off-by: Huang Rui <vowstar <AT> gmail.com>
sci-electronics/bluespec/bluespec-2022.01.ebuild | 10 ++++++++--
sci-electronics/bluespec/bluespec-9999.ebuild | 25 ++++++++++++++++++++++++
2 files changed, 33 insertions(+), 2 deletions(-)
diff --git a/sci-electronics/bluespec/bluespec-2022.01.ebuild b/sci-electronics/bluespec/bluespec-2022.01.ebuild
index 1726325a5..68cd0ea61 100644
--- a/sci-electronics/bluespec/bluespec-2022.01.ebuild
+++ b/sci-electronics/bluespec/bluespec-2022.01.ebuild
@@ -59,6 +59,7 @@ BDEPEND="
dev-texlive/texlive-latexrecommended
dev-texlive/texlive-plaingeneric
)
+ sys-apps/coreutils
sys-devel/autoconf
sys-devel/bison
sys-devel/flex
@@ -82,12 +83,10 @@ src_prepare() {
src_compile() {
# NO_DEPS_CHECKS=1: skip the subrepo check (this deriviation uses yices.src instead of the subrepo)
- # NOGIT=1: https://github.com/B-Lang-org/bsc/issues/12
# LDCONFIG=ldconfig: https://github.com/B-Lang-org/bsc/pull/43
# STP_STUB=1: https://github.com/B-Lang-org/bsc/pull/278
emake \
"NO_DEPS_CHECKS=1" \
- "NOGIT=1" \
"LDCONFIG=ldconfig" \
"STP_STUB=1" \
$(usex doc "" "NOASCIIDOCTOR=1") \
@@ -119,6 +118,13 @@ src_install() {
local INSTALL_PATH=/usr/share/bsc/bsc-"${PV}"
local ED_INSTALL_PATH="${ED}${INSTALL_PATH}"
mkdir -p "${ED_INSTALL_PATH}" || die
+ local f
+ for f in "${S}"/inst/bin/*; do
+ if [[ ! -d "${f}" ]] ; then
+ local b=$(basename ${f})
+ sed -i "s|ABSNAME=.*\$|ABSNAME=\$(readlink -f -- \"\$0\")|g" "${f}" || die
+ fi
+ done
cp -dr --preserve=mode,timestamp "${S}"/inst/* "${ED_INSTALL_PATH}"/ || die
insinto "${INSTALL_PATH}"/vimfiles
doins -r "${S}"/util/vim/{ftdetect,indent,syntax}
diff --git a/sci-electronics/bluespec/bluespec-9999.ebuild b/sci-electronics/bluespec/bluespec-9999.ebuild
index 1ac42d567..9bec0c105 100644
--- a/sci-electronics/bluespec/bluespec-9999.ebuild
+++ b/sci-electronics/bluespec/bluespec-9999.ebuild
@@ -25,6 +25,7 @@ IUSE="doc test"
RESTRICT="!test? ( test )"
RDEPEND="
+ app-eselect/eselect-bluespec
dev-haskell/old-time:0=
dev-haskell/regex-compat:0=
dev-haskell/split:0=
@@ -58,6 +59,7 @@ BDEPEND="
dev-texlive/texlive-latexrecommended
dev-texlive/texlive-plaingeneric
)
+ sys-apps/coreutils
sys-devel/autoconf
sys-devel/bison
sys-devel/flex
@@ -103,6 +105,14 @@ src_test() {
emake -C testsuite check
}
+# Call eselect vi update with --if-unset
+# to respect user's choice
+eselect_bluespec_update() {
+ ebegin "Calling eselect bluespec update"
+ eselect bluespec update --if-unset
+ eend $?
+}
+
src_install() {
# From https://github.com/B-Lang-org/bsc/blob/main/INSTALL.md,
# upstream recommend placing the inst directory at
@@ -110,7 +120,22 @@ src_install() {
local INSTALL_PATH=/usr/share/bsc/bsc-"${PV}"
local ED_INSTALL_PATH="${ED}${INSTALL_PATH}"
mkdir -p "${ED_INSTALL_PATH}" || die
+ local f
+ for f in "${S}"/inst/bin/*; do
+ if [[ ! -d "${f}" ]] ; then
+ local b=$(basename ${f})
+ sed -i "s|ABSNAME=.*\$|ABSNAME=\$(readlink -f -- \"\$0\")|g" "${f}" || die
+ fi
+ done
cp -dr --preserve=mode,timestamp "${S}"/inst/* "${ED_INSTALL_PATH}"/ || die
insinto "${INSTALL_PATH}"/vimfiles
doins -r "${S}"/util/vim/{ftdetect,indent,syntax}
}
+
+pkg_postinst() {
+ eselect_bluespec_update
+}
+
+pkg_postrm() {
+ eselect_bluespec_update
+}
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-electronics/bluespec/
@ 2022-09-07 2:51 Rui Huang
0 siblings, 0 replies; 10+ messages in thread
From: Rui Huang @ 2022-09-07 2:51 UTC (permalink / raw
To: gentoo-commits
commit: d658fb754a1fb6508dcc929d4ea6373a0195cd89
Author: Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Wed Sep 7 02:47:40 2022 +0000
Commit: Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Wed Sep 7 02:51:32 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d658fb75
sci-electronics/bluespec: fix 868765, 868768, 868936
Add missing RDEPEND app-shells/tcsh
Fix calls commands that do not exist: csh
Fix does not respect LDFLAGS
Fix test hang due to missing of csh
Closes: https://bugs.gentoo.org/868765
Closes: https://bugs.gentoo.org/868768
Closes: https://bugs.gentoo.org/868936
Signed-off-by: Huang Rui <vowstar <AT> gmail.com>
.../bluespec/bluespec-2022.01-r1.ebuild | 145 +++++++++++++++++++++
1 file changed, 145 insertions(+)
diff --git a/sci-electronics/bluespec/bluespec-2022.01-r1.ebuild b/sci-electronics/bluespec/bluespec-2022.01-r1.ebuild
new file mode 100644
index 000000000..143d64e79
--- /dev/null
+++ b/sci-electronics/bluespec/bluespec-2022.01-r1.ebuild
@@ -0,0 +1,145 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Toolchain for the Bluespec Hardware Definition Language"
+HOMEPAGE="https://github.com/B-Lang-org/bsc"
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/B-Lang-org/bsc.git"
+ inherit git-r3
+else
+ SRC_URI="
+ https://github.com/B-Lang-org/bsc/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/SRI-CSL/yices2/archive/refs/tags/Yices-2.6.4.tar.gz -> yices-2.6.4.tar.gz
+ "
+ S="${WORKDIR}/bsc-${PV}"
+ S_YICES="${WORKDIR}/yices2-Yices-2.6.4"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="BSD GPL-3+ MIT"
+SLOT="${PV}"
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ app-eselect/eselect-bluespec
+ app-shells/tcsh
+ dev-haskell/old-time:0=
+ dev-haskell/regex-compat:0=
+ dev-haskell/split:0=
+ dev-haskell/syb:0=
+ dev-lang/tcl
+"
+
+DEPEND="
+ ${RDEPEND}
+ test? (
+ dev-util/dejagnu
+ sci-electronics/iverilog
+ sci-electronics/systemc
+ sys-process/time
+ )
+"
+
+BDEPEND="
+ dev-haskell/cabal:0=
+ dev-lang/ghc:0=
+ dev-lang/perl
+ dev-util/gperf
+ doc? (
+ dev-ruby/asciidoctor
+ dev-ruby/asciidoctor-pdf
+ dev-texlive/texlive-bibtexextra
+ dev-texlive/texlive-fontsextra
+ dev-texlive/texlive-fontutils
+ dev-texlive/texlive-latex
+ dev-texlive/texlive-latexextra
+ dev-texlive/texlive-latexrecommended
+ dev-texlive/texlive-plaingeneric
+ )
+ sys-apps/coreutils
+ sys-devel/autoconf
+ sys-devel/bison
+ sys-devel/flex
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2022.01-libstp-stub-makefile.patch
+)
+
+# Do not complain about CFLAGS etc since we don't use them
+QA_FLAGS_IGNORED="
+ usr/share/bsc/bsc-${PV}/bin/core/.*
+ usr/share/bsc/bsc-${PV}/lib/SAT/.*
+ usr/share/bsc/bsc-${PV}/lib/VPI/.*
+"
+
+src_prepare() {
+ if [[ ${PV} != "9999" ]] ; then
+ rm -r "${S}"/src/vendor/yices/v2.6/yices2 || die
+ ln -s "${S_YICES}" "${S}"/src/vendor/yices/v2.6/yices2 || die
+ fi
+
+ default
+}
+
+src_compile() {
+ # NO_DEPS_CHECKS=1: skip the subrepo check (this deriviation uses yices.src instead of the subrepo)
+ # LDCONFIG=ldconfig: https://github.com/B-Lang-org/bsc/pull/43
+ # STP_STUB=1: https://github.com/B-Lang-org/bsc/pull/278
+ emake \
+ "NO_DEPS_CHECKS=1" \
+ "LDCONFIG=ldconfig" \
+ "STP_STUB=1" \
+ $(usex doc "" "NOASCIIDOCTOR=1") \
+ $(usex doc "install-doc" "") \
+ $(usex doc "install-release" "") \
+ install-src \
+ $(usex doc "release" "")
+ emake -C src/comp \
+ install-extra
+}
+
+src_test() {
+ emake check-smoke
+ emake -C testsuite check
+}
+
+# Call eselect vi update with --if-unset
+# to respect user's choice
+eselect_bluespec_update() {
+ ebegin "Calling eselect bluespec update"
+ eselect bluespec update --if-unset
+ eend $?
+}
+
+src_install() {
+ # From https://github.com/B-Lang-org/bsc/blob/main/INSTALL.md,
+ # upstream recommend placing the inst directory at
+ # the path /usr/share/bsc/bsc-<VERSION> for multi-version.
+ local INSTALL_PATH=/usr/share/bsc/bsc-"${PV}"
+ local ED_INSTALL_PATH="${ED}${INSTALL_PATH}"
+ mkdir -p "${ED_INSTALL_PATH}" || die
+ local f
+ for f in "${S}"/inst/bin/*; do
+ if [[ ! -d "${f}" ]] ; then
+ local b=$(basename ${f})
+ sed -i "s|ABSNAME=.*\$|ABSNAME=\$(readlink -f -- \"\$0\")|g" "${f}" || die
+ fi
+ done
+ cp -dr --preserve=mode,timestamp "${S}"/inst/* "${ED_INSTALL_PATH}"/ || die
+ insinto "${INSTALL_PATH}"/vimfiles
+ doins -r "${S}"/util/vim/{ftdetect,indent,syntax}
+}
+
+pkg_postinst() {
+ eselect_bluespec_update
+}
+
+pkg_postrm() {
+ eselect_bluespec_update
+}
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-electronics/bluespec/
@ 2022-09-07 3:11 Rui Huang
0 siblings, 0 replies; 10+ messages in thread
From: Rui Huang @ 2022-09-07 3:11 UTC (permalink / raw
To: gentoo-commits
commit: e19c08dc893133df9c23b4e3703992a139889023
Author: Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Wed Sep 7 03:11:33 2022 +0000
Commit: Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Wed Sep 7 03:11:33 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e19c08dc
sci-electronics/bluespec: fix live ebuild
Signed-off-by: Huang Rui <vowstar <AT> gmail.com>
sci-electronics/bluespec/bluespec-9999.ebuild | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/sci-electronics/bluespec/bluespec-9999.ebuild b/sci-electronics/bluespec/bluespec-9999.ebuild
index 9bec0c105..143d64e79 100644
--- a/sci-electronics/bluespec/bluespec-9999.ebuild
+++ b/sci-electronics/bluespec/bluespec-9999.ebuild
@@ -26,6 +26,7 @@ RESTRICT="!test? ( test )"
RDEPEND="
app-eselect/eselect-bluespec
+ app-shells/tcsh
dev-haskell/old-time:0=
dev-haskell/regex-compat:0=
dev-haskell/split:0=
@@ -70,7 +71,12 @@ PATCHES=(
"${FILESDIR}"/${PN}-2022.01-libstp-stub-makefile.patch
)
-DOCS=( "README.md" "COPYING" )
+# Do not complain about CFLAGS etc since we don't use them
+QA_FLAGS_IGNORED="
+ usr/share/bsc/bsc-${PV}/bin/core/.*
+ usr/share/bsc/bsc-${PV}/lib/SAT/.*
+ usr/share/bsc/bsc-${PV}/lib/VPI/.*
+"
src_prepare() {
if [[ ${PV} != "9999" ]] ; then
@@ -83,12 +89,10 @@ src_prepare() {
src_compile() {
# NO_DEPS_CHECKS=1: skip the subrepo check (this deriviation uses yices.src instead of the subrepo)
- # NOGIT=1: https://github.com/B-Lang-org/bsc/issues/12
# LDCONFIG=ldconfig: https://github.com/B-Lang-org/bsc/pull/43
# STP_STUB=1: https://github.com/B-Lang-org/bsc/pull/278
emake \
"NO_DEPS_CHECKS=1" \
- "NOGIT=1" \
"LDCONFIG=ldconfig" \
"STP_STUB=1" \
$(usex doc "" "NOASCIIDOCTOR=1") \
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-electronics/bluespec/
@ 2022-09-07 3:11 Rui Huang
0 siblings, 0 replies; 10+ messages in thread
From: Rui Huang @ 2022-09-07 3:11 UTC (permalink / raw
To: gentoo-commits
commit: a34de3edc7540b71247212ed44dfd7f2986c892d
Author: Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Wed Sep 7 03:11:01 2022 +0000
Commit: Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Wed Sep 7 03:11:01 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a34de3ed
sci-electronics/bluespec: drop 2022.01
Signed-off-by: Huang Rui <vowstar <AT> gmail.com>
sci-electronics/bluespec/bluespec-2022.01.ebuild | 139 -----------------------
1 file changed, 139 deletions(-)
diff --git a/sci-electronics/bluespec/bluespec-2022.01.ebuild b/sci-electronics/bluespec/bluespec-2022.01.ebuild
deleted file mode 100644
index 68cd0ea61..000000000
--- a/sci-electronics/bluespec/bluespec-2022.01.ebuild
+++ /dev/null
@@ -1,139 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="Toolchain for the Bluespec Hardware Definition Language"
-HOMEPAGE="https://github.com/B-Lang-org/bsc"
-
-if [[ ${PV} == "9999" ]] ; then
- EGIT_REPO_URI="https://github.com/B-Lang-org/bsc.git"
- inherit git-r3
-else
- SRC_URI="
- https://github.com/B-Lang-org/bsc/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/SRI-CSL/yices2/archive/refs/tags/Yices-2.6.4.tar.gz -> yices-2.6.4.tar.gz
- "
- S="${WORKDIR}/bsc-${PV}"
- S_YICES="${WORKDIR}/yices2-Yices-2.6.4"
- KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="BSD GPL-3+ MIT"
-SLOT="${PV}"
-IUSE="doc test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- app-eselect/eselect-bluespec
- dev-haskell/old-time:0=
- dev-haskell/regex-compat:0=
- dev-haskell/split:0=
- dev-haskell/syb:0=
- dev-lang/tcl
-"
-
-DEPEND="
- ${RDEPEND}
- test? (
- dev-util/dejagnu
- sci-electronics/iverilog
- sci-electronics/systemc
- sys-process/time
- )
-"
-
-BDEPEND="
- dev-haskell/cabal:0=
- dev-lang/ghc:0=
- dev-lang/perl
- dev-util/gperf
- doc? (
- dev-ruby/asciidoctor
- dev-ruby/asciidoctor-pdf
- dev-texlive/texlive-bibtexextra
- dev-texlive/texlive-fontsextra
- dev-texlive/texlive-fontutils
- dev-texlive/texlive-latex
- dev-texlive/texlive-latexextra
- dev-texlive/texlive-latexrecommended
- dev-texlive/texlive-plaingeneric
- )
- sys-apps/coreutils
- sys-devel/autoconf
- sys-devel/bison
- sys-devel/flex
- virtual/pkgconfig
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2022.01-libstp-stub-makefile.patch
-)
-
-DOCS=( "README.md" "COPYING" )
-
-src_prepare() {
- if [[ ${PV} != "9999" ]] ; then
- rm -r "${S}"/src/vendor/yices/v2.6/yices2 || die
- ln -s "${S_YICES}" "${S}"/src/vendor/yices/v2.6/yices2 || die
- fi
-
- default
-}
-
-src_compile() {
- # NO_DEPS_CHECKS=1: skip the subrepo check (this deriviation uses yices.src instead of the subrepo)
- # LDCONFIG=ldconfig: https://github.com/B-Lang-org/bsc/pull/43
- # STP_STUB=1: https://github.com/B-Lang-org/bsc/pull/278
- emake \
- "NO_DEPS_CHECKS=1" \
- "LDCONFIG=ldconfig" \
- "STP_STUB=1" \
- $(usex doc "" "NOASCIIDOCTOR=1") \
- $(usex doc "install-doc" "") \
- $(usex doc "install-release" "") \
- install-src \
- $(usex doc "release" "")
- emake -C src/comp \
- install-extra
-}
-
-src_test() {
- emake check-smoke
- emake -C testsuite check
-}
-
-# Call eselect vi update with --if-unset
-# to respect user's choice
-eselect_bluespec_update() {
- ebegin "Calling eselect bluespec update"
- eselect bluespec update --if-unset
- eend $?
-}
-
-src_install() {
- # From https://github.com/B-Lang-org/bsc/blob/main/INSTALL.md,
- # upstream recommend placing the inst directory at
- # the path /usr/share/bsc/bsc-<VERSION> for multi-version.
- local INSTALL_PATH=/usr/share/bsc/bsc-"${PV}"
- local ED_INSTALL_PATH="${ED}${INSTALL_PATH}"
- mkdir -p "${ED_INSTALL_PATH}" || die
- local f
- for f in "${S}"/inst/bin/*; do
- if [[ ! -d "${f}" ]] ; then
- local b=$(basename ${f})
- sed -i "s|ABSNAME=.*\$|ABSNAME=\$(readlink -f -- \"\$0\")|g" "${f}" || die
- fi
- done
- cp -dr --preserve=mode,timestamp "${S}"/inst/* "${ED_INSTALL_PATH}"/ || die
- insinto "${INSTALL_PATH}"/vimfiles
- doins -r "${S}"/util/vim/{ftdetect,indent,syntax}
-}
-
-pkg_postinst() {
- eselect_bluespec_update
-}
-
-pkg_postrm() {
- eselect_bluespec_update
-}
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-electronics/bluespec/
@ 2023-03-23 14:04 Rui Huang
0 siblings, 0 replies; 10+ messages in thread
From: Rui Huang @ 2023-03-23 14:04 UTC (permalink / raw
To: gentoo-commits
commit: ce39123429eacbd5fad33055bf9acd1fcf574f1e
Author: Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Thu Mar 23 14:02:29 2023 +0000
Commit: Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Thu Mar 23 14:02:29 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ce391234
sci-electronics/bluespec: add 2023.01
Signed-off-by: Huang Rui <vowstar <AT> gmail.com>
sci-electronics/bluespec/Manifest | 1 +
sci-electronics/bluespec/bluespec-2023.01.ebuild | 145 +++++++++++++++++++++++
2 files changed, 146 insertions(+)
diff --git a/sci-electronics/bluespec/Manifest b/sci-electronics/bluespec/Manifest
index 7849b0d80..b108e2ade 100644
--- a/sci-electronics/bluespec/Manifest
+++ b/sci-electronics/bluespec/Manifest
@@ -1,2 +1,3 @@
DIST bluespec-2022.01.tar.gz 25576850 BLAKE2B c80dada5bdbc13bd8ff4205ff8b65384845548b61190dd0d3729d877be576b78acfd38857adf427321f9ba078bae2891640cf211e907ca2db679bd7a0d2bb536 SHA512 e6a1e0197d42ca402180735d1f2c41ab84b47eb8708d4ff49a9d509a928dec7cda88d06353faaebefcabacb734d6f7dd1cee1b6e1053010231c8ae508cb80789
+DIST bluespec-2023.01.tar.gz 26431509 BLAKE2B 10cb153e3dfc6779e48ead139da53463ffd4610c389feee73b64ae74e65e411cb9408e324e76f5b56b1accbe012c79017f528d4daa2d575ae73b16f5cf9d4733 SHA512 704926ba3e9d04a3a12c5c77793151a68d650e5ce84c3d5e6a6b86187dea322cd0e0ba78a5fd840e2dbd3a01a7d27ca30b9648158056b2c96eb522722bdef302
DIST yices-2.6.4.tar.gz 10186909 BLAKE2B 1c4b6297fd59924e9d99b9e17eb4b42e9bfbc24dcd56631beb9b72103c91578eb72b90cb9e228a5e9d489efc520a2e1d41185e9c3f4a8c43fc93f8dabba7414d SHA512 d8102c41fda0e200fd1336ae317b516d2797d10c187b8f7aecf0c9b08b4b487b90bef8c358099b2da51c0367326939f9610fd4e6d5a41a392cf1114bd04b8763
diff --git a/sci-electronics/bluespec/bluespec-2023.01.ebuild b/sci-electronics/bluespec/bluespec-2023.01.ebuild
new file mode 100644
index 000000000..8ca4d5b32
--- /dev/null
+++ b/sci-electronics/bluespec/bluespec-2023.01.ebuild
@@ -0,0 +1,145 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Toolchain for the Bluespec Hardware Definition Language"
+HOMEPAGE="https://github.com/B-Lang-org/bsc"
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/B-Lang-org/bsc.git"
+ inherit git-r3
+else
+ SRC_URI="
+ https://github.com/B-Lang-org/bsc/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/SRI-CSL/yices2/archive/refs/tags/Yices-2.6.4.tar.gz -> yices-2.6.4.tar.gz
+ "
+ S="${WORKDIR}/bsc-${PV}"
+ S_YICES="${WORKDIR}/yices2-Yices-2.6.4"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="BSD GPL-3+ MIT"
+SLOT="${PV}"
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ app-eselect/eselect-bluespec
+ app-shells/tcsh
+ dev-haskell/old-time:0=
+ dev-haskell/regex-compat:0=
+ dev-haskell/split:0=
+ dev-haskell/syb:0=
+ dev-lang/tcl
+"
+
+DEPEND="
+ ${RDEPEND}
+ test? (
+ dev-util/dejagnu
+ sci-electronics/iverilog
+ sci-electronics/systemc
+ sys-process/time
+ )
+"
+
+BDEPEND="
+ dev-haskell/cabal:0=
+ dev-lang/ghc:0=
+ dev-lang/perl
+ dev-util/gperf
+ doc? (
+ dev-ruby/asciidoctor
+ dev-ruby/asciidoctor-pdf
+ dev-texlive/texlive-bibtexextra
+ dev-texlive/texlive-fontsextra
+ dev-texlive/texlive-fontutils
+ dev-texlive/texlive-latex
+ dev-texlive/texlive-latexextra
+ dev-texlive/texlive-latexrecommended
+ dev-texlive/texlive-plaingeneric
+ )
+ sys-apps/coreutils
+ sys-devel/autoconf
+ sys-devel/bison
+ sys-devel/flex
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2022.01-libstp-stub-makefile.patch
+)
+
+# Do not complain about CFLAGS etc since we don't use them
+QA_FLAGS_IGNORED="
+ usr/share/bsc/bsc-${PV}/bin/core/.*
+ usr/share/bsc/bsc-${PV}/lib/SAT/.*
+ usr/share/bsc/bsc-${PV}/lib/VPI/.*
+"
+
+src_prepare() {
+ if [[ ${PV} != "9999" ]] ; then
+ rm -r "${S}"/src/vendor/yices/v2.6/yices2 || die
+ ln -s "${S_YICES}" "${S}"/src/vendor/yices/v2.6/yices2 || die
+ fi
+
+ default
+}
+
+src_compile() {
+ # NO_DEPS_CHECKS=1: skip the subrepo check (this deriviation uses yices.src instead of the subrepo)
+ # LDCONFIG=ldconfig: https://github.com/B-Lang-org/bsc/pull/43
+ # STP_STUB=1: https://github.com/B-Lang-org/bsc/pull/278
+ emake \
+ "NO_DEPS_CHECKS=1" \
+ "LDCONFIG=ldconfig" \
+ "STP_STUB=1" \
+ $(usex doc "" "NOASCIIDOCTOR=1") \
+ $(usex doc "install-doc" "") \
+ $(usex doc "install-release" "") \
+ install-src \
+ $(usex doc "release" "")
+ emake -C src/comp \
+ install-extra
+}
+
+src_test() {
+ emake check-smoke
+ emake -C testsuite check
+}
+
+# Call eselect vi update with --if-unset
+# to respect user's choice
+eselect_bluespec_update() {
+ ebegin "Calling eselect bluespec update"
+ eselect bluespec update --if-unset
+ eend $?
+}
+
+src_install() {
+ # From https://github.com/B-Lang-org/bsc/blob/main/INSTALL.md,
+ # upstream recommend placing the inst directory at
+ # the path /usr/share/bsc/bsc-<VERSION> for multi-version.
+ local INSTALL_PATH=/usr/share/bsc/bsc-"${PV}"
+ local ED_INSTALL_PATH="${ED}${INSTALL_PATH}"
+ mkdir -p "${ED_INSTALL_PATH}" || die
+ local f
+ for f in "${S}"/inst/bin/*; do
+ if [[ ! -d "${f}" ]] ; then
+ local b=$(basename ${f})
+ sed -i "s|ABSNAME=.*\$|ABSNAME=\$(readlink -f -- \"\$0\")|g" "${f}" || die
+ fi
+ done
+ cp -dr --preserve=mode,timestamp "${S}"/inst/* "${ED_INSTALL_PATH}"/ || die
+ insinto "${INSTALL_PATH}"/vimfiles
+ doins -r "${S}"/util/vim/{ftdetect,indent,syntax}
+}
+
+pkg_postinst() {
+ eselect_bluespec_update
+}
+
+pkg_postrm() {
+ eselect_bluespec_update
+}
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-electronics/bluespec/
@ 2023-11-02 13:53 Rui Huang
0 siblings, 0 replies; 10+ messages in thread
From: Rui Huang @ 2023-11-02 13:53 UTC (permalink / raw
To: gentoo-commits
commit: 3ab4b80c70fc4f839792627a534ff107c6e85fa4
Author: Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Thu Nov 2 13:52:50 2023 +0000
Commit: Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Thu Nov 2 13:52:50 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3ab4b80c
sci-electronics/bluespec: improve metadata and ebuild
Signed-off-by: Huang Rui <vowstar <AT> gmail.com>
sci-electronics/bluespec/bluespec-2022.01-r1.ebuild | 2 +-
sci-electronics/bluespec/bluespec-9999.ebuild | 2 +-
sci-electronics/bluespec/metadata.xml | 21 +++++++++++++++++----
3 files changed, 19 insertions(+), 6 deletions(-)
diff --git a/sci-electronics/bluespec/bluespec-2022.01-r1.ebuild b/sci-electronics/bluespec/bluespec-2022.01-r1.ebuild
index 143d64e795..8ca4d5b32a 100644
--- a/sci-electronics/bluespec/bluespec-2022.01-r1.ebuild
+++ b/sci-electronics/bluespec/bluespec-2022.01-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
diff --git a/sci-electronics/bluespec/bluespec-9999.ebuild b/sci-electronics/bluespec/bluespec-9999.ebuild
index 143d64e795..8ca4d5b32a 100644
--- a/sci-electronics/bluespec/bluespec-9999.ebuild
+++ b/sci-electronics/bluespec/bluespec-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
diff --git a/sci-electronics/bluespec/metadata.xml b/sci-electronics/bluespec/metadata.xml
index 1994a0713d..8835f9689b 100644
--- a/sci-electronics/bluespec/metadata.xml
+++ b/sci-electronics/bluespec/metadata.xml
@@ -9,9 +9,22 @@
<remote-id type="github">B-Lang-org/bsc</remote-id>
</upstream>
<longdescription lang="en">
- This is a compiler, simulator, and associated tools for Bluespec High Level
- Hardware Design Language (HL-HDL), supporting the two optional syntaxes,
- BSV and BH. Language specifications and tutorials are available in the
- BSVlang repository.
+ This is a compiler, simulator, and associated tools for Bluespec High
+ Level Hardware Design Language (HL-HDL), supporting the two optional
+ syntaxes, BSV and BH. Language specifications and tutorials are
+ available in the BSVlang repository.
+ Bluespec is a high-level hardware description language. It has a variety
+ of advanced features including a powerful type system that can prevent
+ errors prior to synthesis time, and its most distinguishing feature,
+ Guarded Atomic Actions, allow you to define hardware components in a
+ modular manner based on their invariants, and let the compiler pick a
+ scheduler.
+ </longdescription>
+ <longdescription lang="zh">
+ 这是 Bluespec 高级硬件设计语言 (HL-HDL) 的编译器、模拟器和相关工具,支持
+ 两种可选语法:BSV 和 BH。 BSVlang 存储库中提供了语言规范和教程。
+ Bluespec 是一种高级硬件描述语言。它具有各种高级功能,包括强大的类型系统,
+ 可以在综合之前防止错误,其最显着的功能是受保护的原子操作,允许您根据硬件
+ 组件的不变量以模块化方式定义硬件组件,并让编译器选择一个调度程序。
</longdescription>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-electronics/bluespec/
@ 2023-11-02 13:53 Rui Huang
0 siblings, 0 replies; 10+ messages in thread
From: Rui Huang @ 2023-11-02 13:53 UTC (permalink / raw
To: gentoo-commits
commit: b9d1869255ee988f57335cef89a532c6ff0f9a30
Author: Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Thu Nov 2 13:47:18 2023 +0000
Commit: Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Thu Nov 2 13:47:18 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b9d18692
sci-electronics/bluespec: add 2023.07
Signed-off-by: Huang Rui <vowstar <AT> gmail.com>
sci-electronics/bluespec/Manifest | 1 +
sci-electronics/bluespec/bluespec-2023.07.ebuild | 145 +++++++++++++++++++++++
2 files changed, 146 insertions(+)
diff --git a/sci-electronics/bluespec/Manifest b/sci-electronics/bluespec/Manifest
index b108e2adec..fc42dc8421 100644
--- a/sci-electronics/bluespec/Manifest
+++ b/sci-electronics/bluespec/Manifest
@@ -1,3 +1,4 @@
DIST bluespec-2022.01.tar.gz 25576850 BLAKE2B c80dada5bdbc13bd8ff4205ff8b65384845548b61190dd0d3729d877be576b78acfd38857adf427321f9ba078bae2891640cf211e907ca2db679bd7a0d2bb536 SHA512 e6a1e0197d42ca402180735d1f2c41ab84b47eb8708d4ff49a9d509a928dec7cda88d06353faaebefcabacb734d6f7dd1cee1b6e1053010231c8ae508cb80789
DIST bluespec-2023.01.tar.gz 26431509 BLAKE2B 10cb153e3dfc6779e48ead139da53463ffd4610c389feee73b64ae74e65e411cb9408e324e76f5b56b1accbe012c79017f528d4daa2d575ae73b16f5cf9d4733 SHA512 704926ba3e9d04a3a12c5c77793151a68d650e5ce84c3d5e6a6b86187dea322cd0e0ba78a5fd840e2dbd3a01a7d27ca30b9648158056b2c96eb522722bdef302
+DIST bluespec-2023.07.tar.gz 26449912 BLAKE2B de40024ee5a61b608d341d940d631e6350c3d45eeb8e52fc046ef4b6175c17c9867894d7a73dc656fefe19b952da7baafba1d2d685e990bb08c4e90435519815 SHA512 c14c7a17c53dc59ed8c62022fec932f7c8da13ef3d5aaa5c0439c492e89919bb2cb647cfb862e4d072cfb9bdbbe3e5ed0b98f9a609a6cbb7bbd5ce55384cbb5e
DIST yices-2.6.4.tar.gz 10186909 BLAKE2B 1c4b6297fd59924e9d99b9e17eb4b42e9bfbc24dcd56631beb9b72103c91578eb72b90cb9e228a5e9d489efc520a2e1d41185e9c3f4a8c43fc93f8dabba7414d SHA512 d8102c41fda0e200fd1336ae317b516d2797d10c187b8f7aecf0c9b08b4b487b90bef8c358099b2da51c0367326939f9610fd4e6d5a41a392cf1114bd04b8763
diff --git a/sci-electronics/bluespec/bluespec-2023.07.ebuild b/sci-electronics/bluespec/bluespec-2023.07.ebuild
new file mode 100644
index 0000000000..8ca4d5b32a
--- /dev/null
+++ b/sci-electronics/bluespec/bluespec-2023.07.ebuild
@@ -0,0 +1,145 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Toolchain for the Bluespec Hardware Definition Language"
+HOMEPAGE="https://github.com/B-Lang-org/bsc"
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/B-Lang-org/bsc.git"
+ inherit git-r3
+else
+ SRC_URI="
+ https://github.com/B-Lang-org/bsc/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/SRI-CSL/yices2/archive/refs/tags/Yices-2.6.4.tar.gz -> yices-2.6.4.tar.gz
+ "
+ S="${WORKDIR}/bsc-${PV}"
+ S_YICES="${WORKDIR}/yices2-Yices-2.6.4"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="BSD GPL-3+ MIT"
+SLOT="${PV}"
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ app-eselect/eselect-bluespec
+ app-shells/tcsh
+ dev-haskell/old-time:0=
+ dev-haskell/regex-compat:0=
+ dev-haskell/split:0=
+ dev-haskell/syb:0=
+ dev-lang/tcl
+"
+
+DEPEND="
+ ${RDEPEND}
+ test? (
+ dev-util/dejagnu
+ sci-electronics/iverilog
+ sci-electronics/systemc
+ sys-process/time
+ )
+"
+
+BDEPEND="
+ dev-haskell/cabal:0=
+ dev-lang/ghc:0=
+ dev-lang/perl
+ dev-util/gperf
+ doc? (
+ dev-ruby/asciidoctor
+ dev-ruby/asciidoctor-pdf
+ dev-texlive/texlive-bibtexextra
+ dev-texlive/texlive-fontsextra
+ dev-texlive/texlive-fontutils
+ dev-texlive/texlive-latex
+ dev-texlive/texlive-latexextra
+ dev-texlive/texlive-latexrecommended
+ dev-texlive/texlive-plaingeneric
+ )
+ sys-apps/coreutils
+ sys-devel/autoconf
+ sys-devel/bison
+ sys-devel/flex
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2022.01-libstp-stub-makefile.patch
+)
+
+# Do not complain about CFLAGS etc since we don't use them
+QA_FLAGS_IGNORED="
+ usr/share/bsc/bsc-${PV}/bin/core/.*
+ usr/share/bsc/bsc-${PV}/lib/SAT/.*
+ usr/share/bsc/bsc-${PV}/lib/VPI/.*
+"
+
+src_prepare() {
+ if [[ ${PV} != "9999" ]] ; then
+ rm -r "${S}"/src/vendor/yices/v2.6/yices2 || die
+ ln -s "${S_YICES}" "${S}"/src/vendor/yices/v2.6/yices2 || die
+ fi
+
+ default
+}
+
+src_compile() {
+ # NO_DEPS_CHECKS=1: skip the subrepo check (this deriviation uses yices.src instead of the subrepo)
+ # LDCONFIG=ldconfig: https://github.com/B-Lang-org/bsc/pull/43
+ # STP_STUB=1: https://github.com/B-Lang-org/bsc/pull/278
+ emake \
+ "NO_DEPS_CHECKS=1" \
+ "LDCONFIG=ldconfig" \
+ "STP_STUB=1" \
+ $(usex doc "" "NOASCIIDOCTOR=1") \
+ $(usex doc "install-doc" "") \
+ $(usex doc "install-release" "") \
+ install-src \
+ $(usex doc "release" "")
+ emake -C src/comp \
+ install-extra
+}
+
+src_test() {
+ emake check-smoke
+ emake -C testsuite check
+}
+
+# Call eselect vi update with --if-unset
+# to respect user's choice
+eselect_bluespec_update() {
+ ebegin "Calling eselect bluespec update"
+ eselect bluespec update --if-unset
+ eend $?
+}
+
+src_install() {
+ # From https://github.com/B-Lang-org/bsc/blob/main/INSTALL.md,
+ # upstream recommend placing the inst directory at
+ # the path /usr/share/bsc/bsc-<VERSION> for multi-version.
+ local INSTALL_PATH=/usr/share/bsc/bsc-"${PV}"
+ local ED_INSTALL_PATH="${ED}${INSTALL_PATH}"
+ mkdir -p "${ED_INSTALL_PATH}" || die
+ local f
+ for f in "${S}"/inst/bin/*; do
+ if [[ ! -d "${f}" ]] ; then
+ local b=$(basename ${f})
+ sed -i "s|ABSNAME=.*\$|ABSNAME=\$(readlink -f -- \"\$0\")|g" "${f}" || die
+ fi
+ done
+ cp -dr --preserve=mode,timestamp "${S}"/inst/* "${ED_INSTALL_PATH}"/ || die
+ insinto "${INSTALL_PATH}"/vimfiles
+ doins -r "${S}"/util/vim/{ftdetect,indent,syntax}
+}
+
+pkg_postinst() {
+ eselect_bluespec_update
+}
+
+pkg_postrm() {
+ eselect_bluespec_update
+}
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-electronics/bluespec/
@ 2023-11-03 3:18 Rui Huang
0 siblings, 0 replies; 10+ messages in thread
From: Rui Huang @ 2023-11-03 3:18 UTC (permalink / raw
To: gentoo-commits
commit: 01dcb3fb6ba08756ab1579fcc896eabc6fb06ae6
Author: Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Fri Nov 3 03:18:41 2023 +0000
Commit: Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Fri Nov 3 03:18:41 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=01dcb3fb
sci-electronics/bluespec: fix typo
Signed-off-by: Huang Rui <vowstar <AT> gmail.com>
sci-electronics/bluespec/bluespec-2022.01-r1.ebuild | 2 +-
sci-electronics/bluespec/bluespec-2023.01.ebuild | 2 +-
sci-electronics/bluespec/bluespec-2023.07.ebuild | 2 +-
sci-electronics/bluespec/bluespec-9999.ebuild | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/sci-electronics/bluespec/bluespec-2022.01-r1.ebuild b/sci-electronics/bluespec/bluespec-2022.01-r1.ebuild
index 8ca4d5b32a..e89971935c 100644
--- a/sci-electronics/bluespec/bluespec-2022.01-r1.ebuild
+++ b/sci-electronics/bluespec/bluespec-2022.01-r1.ebuild
@@ -109,7 +109,7 @@ src_test() {
emake -C testsuite check
}
-# Call eselect vi update with --if-unset
+# Call eselect bluespec update with --if-unset
# to respect user's choice
eselect_bluespec_update() {
ebegin "Calling eselect bluespec update"
diff --git a/sci-electronics/bluespec/bluespec-2023.01.ebuild b/sci-electronics/bluespec/bluespec-2023.01.ebuild
index 8ca4d5b32a..e89971935c 100644
--- a/sci-electronics/bluespec/bluespec-2023.01.ebuild
+++ b/sci-electronics/bluespec/bluespec-2023.01.ebuild
@@ -109,7 +109,7 @@ src_test() {
emake -C testsuite check
}
-# Call eselect vi update with --if-unset
+# Call eselect bluespec update with --if-unset
# to respect user's choice
eselect_bluespec_update() {
ebegin "Calling eselect bluespec update"
diff --git a/sci-electronics/bluespec/bluespec-2023.07.ebuild b/sci-electronics/bluespec/bluespec-2023.07.ebuild
index 8ca4d5b32a..e89971935c 100644
--- a/sci-electronics/bluespec/bluespec-2023.07.ebuild
+++ b/sci-electronics/bluespec/bluespec-2023.07.ebuild
@@ -109,7 +109,7 @@ src_test() {
emake -C testsuite check
}
-# Call eselect vi update with --if-unset
+# Call eselect bluespec update with --if-unset
# to respect user's choice
eselect_bluespec_update() {
ebegin "Calling eselect bluespec update"
diff --git a/sci-electronics/bluespec/bluespec-9999.ebuild b/sci-electronics/bluespec/bluespec-9999.ebuild
index 8ca4d5b32a..e89971935c 100644
--- a/sci-electronics/bluespec/bluespec-9999.ebuild
+++ b/sci-electronics/bluespec/bluespec-9999.ebuild
@@ -109,7 +109,7 @@ src_test() {
emake -C testsuite check
}
-# Call eselect vi update with --if-unset
+# Call eselect bluespec update with --if-unset
# to respect user's choice
eselect_bluespec_update() {
ebegin "Calling eselect bluespec update"
^ permalink raw reply related [flat|nested] 10+ messages in thread
end of thread, other threads:[~2023-11-03 3:19 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-28 14:42 [gentoo-commits] repo/proj/guru:dev commit in: sci-electronics/bluespec/ Rui Huang
-- strict thread matches above, loose matches on Subject: below --
2022-08-28 17:01 Rui Huang
2022-08-28 20:28 Rui Huang
2022-09-07 2:51 Rui Huang
2022-09-07 3:11 Rui Huang
2022-09-07 3:11 Rui Huang
2023-03-23 14:04 Rui Huang
2023-11-02 13:53 Rui Huang
2023-11-02 13:53 Rui Huang
2023-11-03 3:18 Rui Huang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox