From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-apps/cantor/
Date: Tue, 29 Dec 2020 19:54:20 +0000 (UTC) [thread overview]
Message-ID: <1609271647.1316e9572318eef731d853e32bfae5ad15c648f3.asturm@gentoo> (raw)
commit: 1316e9572318eef731d853e32bfae5ad15c648f3
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 28 15:59:11 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Dec 29 19:54:07 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1316e957
kde-apps/cantor: Migrate to lua-single.eclass
Bug: https://bugs.gentoo.org/752735
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
kde-apps/cantor/cantor-20.12.0.ebuild | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/kde-apps/cantor/cantor-20.12.0.ebuild b/kde-apps/cantor/cantor-20.12.0.ebuild
index f8c2cd2064c..066493ac4f7 100644
--- a/kde-apps/cantor/cantor-20.12.0.ebuild
+++ b/kde-apps/cantor/cantor-20.12.0.ebuild
@@ -6,11 +6,12 @@ EAPI=7
CMAKE_MAKEFILE_GENERATOR="emake"
ECM_HANDBOOK="forceoptional"
ECM_TEST="forceoptional"
+LUA_COMPAT=( luajit )
PYTHON_COMPAT=( python3_{7,8,9} )
PVCUT=$(ver_cut 1-3)
KFMIN=5.75.0
QTMIN=5.15.1
-inherit ecm kde.org optfeature python-single-r1
+inherit ecm kde.org lua-single optfeature python-single-r1
DESCRIPTION="Interface for doing mathematics and scientific computing"
HOMEPAGE="https://apps.kde.org/en/cantor https://edu.kde.org/cantor/"
@@ -20,9 +21,9 @@ SLOT="5"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="+analitza julia lua postscript python qalculate R"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} ) python? ( ${PYTHON_REQUIRED_USE} )"
-# TODO Add Sage Mathematics Software backend (http://www.sagemath.org)
+# TODO Add Sage Mathematics Software backend (https://www.sagemath.org)
DEPEND="
app-text/poppler[qt5]
>=dev-qt/qtgui-${QTMIN}:5
@@ -50,7 +51,7 @@ DEPEND="
>=kde-frameworks/syntax-highlighting-${KFMIN}:5
analitza? ( >=kde-apps/analitza-${PVCUT}:5 )
julia? ( dev-lang/julia )
- lua? ( dev-lang/luajit:2 )
+ lua? ( ${LUA_DEPS} )
qalculate? (
sci-libs/cln
sci-libs/libqalculate:=
@@ -74,6 +75,7 @@ RDEPEND="${DEPEND}
RESTRICT+=" test"
pkg_setup() {
+ use lua && lua-single_pkg_setup
use python && python-single-r1_pkg_setup
ecm_pkg_setup
}
@@ -90,6 +92,10 @@ src_configure() {
$(cmake_use_find_package qalculate Qalculate)
$(cmake_use_find_package R R)
)
+ use lua && mycmakeargs+=(
+ -DLUAJIT_INCLUDEDIR="${EPREFIX}/$(lua_get_include_dir)"
+ -DLUAJIT_LIBDIR="${EPREFIX}/$(lua_get_cmod_dir)"
+ )
use python && mycmakeargs+=( -DPython3_EXECUTABLE="${PYTHON}" )
ecm_src_configure
}
next reply other threads:[~2020-12-29 19:54 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-29 19:54 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-02 20:03 [gentoo-commits] repo/gentoo:master commit in: kde-apps/cantor/ Andreas Sturmlechner
2025-04-02 20:03 Andreas Sturmlechner
2025-03-27 7:21 Arthur Zamarin
2025-03-07 16:59 Arthur Zamarin
2025-01-30 17:19 Andreas Sturmlechner
2025-01-30 9:29 Arthur Zamarin
2025-01-30 9:29 Arthur Zamarin
2025-01-05 19:08 Sam James
2024-11-23 11:36 Andreas Sturmlechner
2024-06-17 18:49 Andreas Sturmlechner
2024-04-23 6:33 Arthur Zamarin
2024-02-23 8:56 Sam James
2024-01-09 22:22 Andreas K. Hüttel
2023-03-23 19:58 Andreas Sturmlechner
2023-03-23 16:26 Andreas Sturmlechner
2021-12-09 17:12 Andreas Sturmlechner
2020-08-30 7:58 Andreas Sturmlechner
2020-04-30 15:59 Andreas Sturmlechner
2019-05-09 22:08 Andreas Sturmlechner
2017-11-30 2:07 Thomas Deutschmann
2017-10-07 21:39 Andreas Sturmlechner
2017-08-12 12:16 Andreas Sturmlechner
2017-02-18 12:48 Andreas Sturmlechner
2017-02-11 23:35 Andreas Sturmlechner
2017-02-11 23:35 Andreas Sturmlechner
2017-02-02 10:28 Johannes Huber
2016-11-30 14:20 Michael Palimaka
2016-04-20 3:21 Michał Górny
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=1609271647.1316e9572318eef731d853e32bfae5ad15c648f3.asturm@gentoo \
--to=asturm@gentoo.org \
--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