From: "Rui Huang" <vowstar@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sci-electronics/kactus2/
Date: Tue, 13 Feb 2024 14:55:09 +0000 (UTC) [thread overview]
Message-ID: <1707836099.586fcb276d9d6a141869f9e5b0507414019f1b95.vowstar@gentoo> (raw)
commit: 586fcb276d9d6a141869f9e5b0507414019f1b95
Author: Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Tue Feb 13 14:54:59 2024 +0000
Commit: Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Tue Feb 13 14:54:59 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=586fcb27
sci-electronics/kactus2: add 3.13.1
Signed-off-by: Huang Rui <vowstar <AT> gmail.com>
sci-electronics/kactus2/Manifest | 1 +
sci-electronics/kactus2/kactus2-3.13.1.ebuild | 88 +++++++++++++++++++++++++++
2 files changed, 89 insertions(+)
diff --git a/sci-electronics/kactus2/Manifest b/sci-electronics/kactus2/Manifest
index e63830fffb..97d16a6b94 100644
--- a/sci-electronics/kactus2/Manifest
+++ b/sci-electronics/kactus2/Manifest
@@ -1,2 +1,3 @@
DIST kactus2-3.12.0.tar.gz 28154387 BLAKE2B c8e0a982343d3a34f9186bca1778b68b4dfdcd977488751f90d9d5372df96c4f7349c90e15203f66778ee1be399e9e2ddb5342dffe1025754e44604c77c16684 SHA512 d7cef803314262c9fb0b77db88b5d7935203e1484965f475e954bceb1bc56a31ee9867fe1d73959d62a8454238480226df8fbd2d487442bce44fe7476de6d5bb
DIST kactus2-3.13.0.tar.gz 28682844 BLAKE2B 2dc6d6b1ed18d95cce38179c0538c4697c8b2f0de0984fedf0a0b757a7c6c9268e91b9cb09a99c2cdd1913344e928b8d3d665da292d7c47ddf983f92d28142f8 SHA512 750a318fa543f4feaf8176bc9b9bcf244ac3f97d130b6dbe5483e68e7ac30b146c5d9362cdebb4129b62a1fec89a4f3bcfb97822e45930ad05a699ab1ad2f8f5
+DIST kactus2-3.13.1.tar.gz 28686011 BLAKE2B 2abe1d7f6abcfb97f41e293476c200e3d9ba31e32e2b34022d7bbb3007cd2a2c129c73b1414cc422fc7dbc6982636edcd4ad0dc89aff8d352b2e936583d08291 SHA512 9465da2448d54ae3c19aaf5d765b386dd997244ac8385c8e3fddde74807c30e37bdef4d7b56d1610c1c59a1ad10c7c13fe312b53b6263800c9142be7be558049
diff --git a/sci-electronics/kactus2/kactus2-3.13.1.ebuild b/sci-electronics/kactus2/kactus2-3.13.1.ebuild
new file mode 100644
index 0000000000..b542e40348
--- /dev/null
+++ b/sci-electronics/kactus2/kactus2-3.13.1.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit python-r1 qmake-utils xdg
+
+DESCRIPTION="A open source IP-XACT-based tool"
+HOMEPAGE="
+ https://research.tuni.fi/system-on-chip/tools/
+ https://github.com/kactus2/kactus2dev
+"
+
+if [[ "${PV}" == "9999" ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/${PN}/${PN}dev.git"
+else
+ SRC_URI="https://github.com/${PN}/${PN}dev/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+ S="${WORKDIR}/${PN}dev-${PV}"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ dev-qt/qtbase:6=[cups,gui,network,opengl,widgets,xml]
+ dev-qt/qtsvg:6
+"
+
+DEPEND="
+ ${RDEPEND}
+"
+
+BDEPEND="
+ dev-lang/swig
+ dev-qt/qttools:6[linguist,qdoc]
+"
+
+src_prepare() {
+ default
+ # Fix QA pre-stripped warnings, bug 781674
+ find . -type f -name \*.pro -exec sed -e '$a\\nCONFIG+=nostrip' -i '{}' + || die
+ # Fix bug 854081
+ python_setup
+ sed -e "s|PYTHON_CONFIG=.*|PYTHON_CONFIG=${EPYTHON}-config|" -i .qmake.conf || die
+}
+
+src_configure() {
+ default
+ # Fix bug 854075
+ # Fix bug 854078
+ eqmake6 Kactus2_Solution.pro
+}
+
+src_compile() {
+ default
+ python_compile() {
+ cp -TR "${S}/" "${BUILD_DIR}/" || die
+ # Fix bug 854081
+ python_setup
+ sed -e "s|PYTHON_CONFIG=.*|PYTHON_CONFIG=${EPYTHON}-config|" -i .qmake.conf || die
+ export PYTHON_C_FLAGS="$(python_get_CFLAGS)"
+ export PYTHON_LIBS="$(python_get_LIBS)"
+ pushd "PythonAPI" || die
+ eqmake6 PREFIX="$(python_get_library_path)"
+ emake
+ rm _pythonAPI.so || die
+ cp libPythonAPI.so.1.0.0 _pythonAPI.so || die
+ popd
+ }
+ python_foreach_impl run_in_build_dir python_compile
+}
+
+src_install() {
+ # Can't use default, set INSTALL_ROOT and workaround parallel install bug
+ emake -j1 INSTALL_ROOT="${D}" install
+ python_install() {
+ pushd "PythonAPI" || die
+ python_domodule _pythonAPI.so
+ python_domodule pythonAPI.py
+ popd
+ }
+ python_foreach_impl run_in_build_dir python_install
+}
next reply other threads:[~2024-02-13 14:55 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-13 14:55 Rui Huang [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-21 12:27 [gentoo-commits] repo/proj/guru:dev commit in: sci-electronics/kactus2/ Rui Huang
2024-10-21 12:27 Rui Huang
2023-10-20 17:40 Rui Huang
2023-10-17 15:08 Rui Huang
2023-10-17 15:08 Rui Huang
2022-06-24 6:04 Rui Huang
2022-06-23 4:31 Rui Huang
2022-06-22 13:56 Rui Huang
2022-06-22 13:56 Rui Huang
2022-05-25 20:21 Alessandro Barbieri
2022-05-02 17:59 [gentoo-commits] repo/proj/guru:master " Arthur Zamarin
2022-05-02 17:34 ` [gentoo-commits] repo/proj/guru:dev " Arthur Zamarin
2021-02-05 12:19 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-02-05 12:05 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-01-01 9:55 Rui Huang
2020-04-27 7:46 Rui Huang
2020-04-27 7:46 Rui Huang
2020-04-26 22:39 Alessandro Barbieri
2020-04-07 7:03 Rui Huang
2020-04-07 6:57 Rui Huang
2020-03-27 12:40 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-03-27 12:40 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-03-15 11:39 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-03-15 11:29 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-03-02 21:15 Andrew Ammerlaan
2020-03-02 7:29 Rui Huang
2020-02-23 7:17 Rui Huang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1707836099.586fcb276d9d6a141869f9e5b0507414019f1b95.vowstar@gentoo \
--to=vowstar@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox