* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cadabra/
@ 2022-03-02 6:59 Maciej Barć
0 siblings, 0 replies; 26+ messages in thread
From: Maciej Barć @ 2022-03-02 6:59 UTC (permalink / raw
To: gentoo-commits
commit: 8becaddcf072628d3aeba7f1803f5e229f564589
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 2 06:58:29 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Mar 2 06:58:58 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8becaddc
sci-mathematics/cadabra: add glibmm to unconditional deps
Closes: https://bugs.gentoo.org/834471
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sci-mathematics/cadabra/cadabra-2.3.8.ebuild | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/sci-mathematics/cadabra/cadabra-2.3.8.ebuild b/sci-mathematics/cadabra/cadabra-2.3.8.ebuild
index 7d5bd7225161..7748e23c0ce0 100644
--- a/sci-mathematics/cadabra/cadabra-2.3.8.ebuild
+++ b/sci-mathematics/cadabra/cadabra-2.3.8.ebuild
@@ -32,6 +32,7 @@ RESTRICT="!test? ( test )"
RDEPEND="
${PYTHON_DEPS}
app-text/dvipng
+ dev-cpp/glibmm:2
dev-db/sqlite:3=
dev-libs/boost:=
dev-libs/gmp:=[cxx]
@@ -44,11 +45,7 @@ RDEPEND="
dev-python/sympy[${PYTHON_USEDEP}]
jupyter? ( dev-python/jupyter[${PYTHON_USEDEP}] )
')
- gtk? (
- dev-cpp/glibmm:2
- dev-cpp/gtkmm:3.0
- dev-libs/glib:2
- )
+ gtk? ( dev-cpp/gtkmm:3.0 )
"
DEPEND="${RDEPEND}"
BDEPEND="$(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')"
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cadabra/
@ 2022-07-12 21:50 Maciej Barć
0 siblings, 0 replies; 26+ messages in thread
From: Maciej Barć @ 2022-07-12 21:50 UTC (permalink / raw
To: gentoo-commits
commit: 043b566ad722c18c8b97058c93ecca89190b5b33
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 12 21:37:12 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Jul 12 21:39:59 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=043b566a
sci-mathematics/cadabra: drop old 2.3.8
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sci-mathematics/cadabra/Manifest | 1 -
sci-mathematics/cadabra/cadabra-2.3.8.ebuild | 99 ----------------------------
2 files changed, 100 deletions(-)
diff --git a/sci-mathematics/cadabra/Manifest b/sci-mathematics/cadabra/Manifest
index ff288c39db14..7650d1cfdae2 100644
--- a/sci-mathematics/cadabra/Manifest
+++ b/sci-mathematics/cadabra/Manifest
@@ -1,2 +1 @@
-DIST cadabra-2.3.8.tar.gz 24647809 BLAKE2B 70858dab32c31b75b32b9eceaa60166accb0167cd8873c0058e6ef8ccfd3e3643da20b96fce3dde8be0e3fc5fdd42e1e6dac8e394643786163095a72239701d5 SHA512 06ebb148d911094dbdcc76747404cf7eb8f31e3bc458a81a37d4ed3bee3df97fedb9f11ed2251c133914aa6482db5b01d8848ef356ea1a0c83f59e686eebcfa5
DIST cadabra-2.3.9.3.tar.gz 24685603 BLAKE2B eb76f65898be499eb5abbbaf8ac478a056ffe5801bcf7124be60d1b034f4e88e9999d76354f03e7a2de9b7f7561a32e82699c882be135fb5966614da37526933 SHA512 9a5cdc6a7d824350ef3929c9f21647588891c1376103a57d231c2f5160971e3373b0efb9e050c574ebd51921a3f7d9f230f533a88a44e0dd8e645bf2395a95fe
diff --git a/sci-mathematics/cadabra/cadabra-2.3.8.ebuild b/sci-mathematics/cadabra/cadabra-2.3.8.ebuild
deleted file mode 100644
index 7748e23c0ce0..000000000000
--- a/sci-mathematics/cadabra/cadabra-2.3.8.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MAJOR=$(ver_cut 1)
-CADABRA=${PN}${MAJOR}
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit xdg-utils python-single-r1 cmake
-
-DESCRIPTION="Field-theory motivated approach to computer algebra"
-HOMEPAGE="https://cadabra.science/"
-
-if [[ "${PV}" == *9999* ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/kpeeters/${CADABRA}.git"
-else
- SRC_URI="https://github.com/kpeeters/${CADABRA}/archive/${PV}.tar.gz
- -> ${P}.tar.gz"
- S="${WORKDIR}"/${CADABRA}-${PV}
- KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="GPL-3"
-SLOT="0/${MAJOR}"
-IUSE="gtk +jupyter test"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- ${PYTHON_DEPS}
- app-text/dvipng
- dev-cpp/glibmm:2
- dev-db/sqlite:3=
- dev-libs/boost:=
- dev-libs/gmp:=[cxx]
- dev-libs/jsoncpp:=
- dev-libs/libsigc++:2
- dev-texlive/texlive-basic
- $(python_gen_cond_dep '
- dev-python/gmpy:2[${PYTHON_USEDEP}]
- dev-python/matplotlib[${PYTHON_USEDEP}]
- dev-python/sympy[${PYTHON_USEDEP}]
- jupyter? ( dev-python/jupyter[${PYTHON_USEDEP}] )
- ')
- gtk? ( dev-cpp/gtkmm:3.0 )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="$(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')"
-
-PATCHES=( "${FILESDIR}"/${CADABRA}-CMake.patch )
-
-DOCS=( CODE_OF_CONDUCT.md CONTRIBUTING.md JUPYTER.rst README.rst)
-
-# Because we do not want to pull in "_XDG_DEPEND" dependencies with USE="-gtk"
-xdg_update() {
- if use gtk ; then
- xdg_icon_cache_update
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
- fi
-}
-
-src_prepare() {
- # Clean postinst script which calls libtool and icon-cache update
- echo '#!/bin/sh' > "${S}"/config/postinst.in || die
-
- # Fix "PYTHON_EXECUTABLE" in Jupyter kernel
- sed -i "s|@PYTHON_EXECUTABLE@|${EPYTHON}|" \
- "${S}"/jupyterkernel/kernelspec/kernel.json.in || die
-
- cmake_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DENABLE_SYSTEM_JSONCPP=ON
- -DPACKAGING_MODE=ON
- -DUSE_PYTHON_3=ON
- -DBUILD_AS_CPP_LIBRARY=OFF
- -DENABLE_JUPYTER=OFF # special Xeus Jupyter kernel (uses xtl)
- -DENABLE_MATHEMATICA=OFF
- -DINSTALL_TARGETS_ONLY=OFF
- -DBUILD_TESTS=$(usex test)
- -DENABLE_FRONTEND=$(usex gtk)
- -DENABLE_PY_JUPYTER=$(usex jupyter)
- )
- cmake_src_configure
-}
-
-pkg_postinst() {
- xdg_update
-}
-
-pkg_postrm() {
- xdg_update
-}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cadabra/
@ 2022-07-12 21:50 Maciej Barć
0 siblings, 0 replies; 26+ messages in thread
From: Maciej Barć @ 2022-07-12 21:50 UTC (permalink / raw
To: gentoo-commits
commit: 4a1e661d62d55e3060649681417416b3596f98b7
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 12 21:24:01 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Jul 12 21:39:59 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a1e661d
sci-mathematics/cadabra: bump to 2.3.9.3
Closes: https://bugs.gentoo.org/857606
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sci-mathematics/cadabra/Manifest | 1 +
sci-mathematics/cadabra/cadabra-2.3.9.3.ebuild | 99 ++++++++++++++++++++++++++
2 files changed, 100 insertions(+)
diff --git a/sci-mathematics/cadabra/Manifest b/sci-mathematics/cadabra/Manifest
index c133327bd4a3..ff288c39db14 100644
--- a/sci-mathematics/cadabra/Manifest
+++ b/sci-mathematics/cadabra/Manifest
@@ -1 +1,2 @@
DIST cadabra-2.3.8.tar.gz 24647809 BLAKE2B 70858dab32c31b75b32b9eceaa60166accb0167cd8873c0058e6ef8ccfd3e3643da20b96fce3dde8be0e3fc5fdd42e1e6dac8e394643786163095a72239701d5 SHA512 06ebb148d911094dbdcc76747404cf7eb8f31e3bc458a81a37d4ed3bee3df97fedb9f11ed2251c133914aa6482db5b01d8848ef356ea1a0c83f59e686eebcfa5
+DIST cadabra-2.3.9.3.tar.gz 24685603 BLAKE2B eb76f65898be499eb5abbbaf8ac478a056ffe5801bcf7124be60d1b034f4e88e9999d76354f03e7a2de9b7f7561a32e82699c882be135fb5966614da37526933 SHA512 9a5cdc6a7d824350ef3929c9f21647588891c1376103a57d231c2f5160971e3373b0efb9e050c574ebd51921a3f7d9f230f533a88a44e0dd8e645bf2395a95fe
diff --git a/sci-mathematics/cadabra/cadabra-2.3.9.3.ebuild b/sci-mathematics/cadabra/cadabra-2.3.9.3.ebuild
new file mode 100644
index 000000000000..a39fec81b21a
--- /dev/null
+++ b/sci-mathematics/cadabra/cadabra-2.3.9.3.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MAJOR=$(ver_cut 1)
+CADABRA=${PN}${MAJOR}
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit xdg-utils python-single-r1 cmake
+
+DESCRIPTION="Field-theory motivated approach to computer algebra"
+HOMEPAGE="https://cadabra.science/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/kpeeters/${CADABRA}.git"
+else
+ SRC_URI="https://github.com/kpeeters/${CADABRA}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}"/${CADABRA}-${PV}
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3"
+SLOT="0/${MAJOR}"
+IUSE="gtk +jupyter test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="test" # For this version some tests fail.
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ app-text/dvipng
+ dev-cpp/glibmm:2
+ dev-db/sqlite:3=
+ dev-libs/boost:=
+ dev-libs/gmp:=[cxx]
+ dev-libs/jsoncpp:=
+ dev-libs/libsigc++:2
+ dev-texlive/texlive-basic
+ $(python_gen_cond_dep '
+ dev-python/gmpy:2[${PYTHON_USEDEP}]
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+ dev-python/sympy[${PYTHON_USEDEP}]
+ jupyter? ( dev-python/jupyter[${PYTHON_USEDEP}] )
+ ')
+ gtk? ( dev-cpp/gtkmm:3.0 )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="$(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')"
+
+PATCHES=( "${FILESDIR}"/${CADABRA}-CMake.patch )
+
+DOCS=( CODE_OF_CONDUCT.md CONTRIBUTING.md JUPYTER.rst README.rst )
+
+# Because we do not want to pull in "_XDG_DEPEND" dependencies with USE="-gtk"
+xdg_update() {
+ if use gtk ; then
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+ fi
+}
+
+src_prepare() {
+ # Clean postinst script which calls libtool and icon-cache update
+ echo '#!/bin/sh' > "${S}"/config/postinst.in || die
+
+ # Fix "PYTHON_EXECUTABLE" in Jupyter kernel
+ sed -i "s|@PYTHON_EXECUTABLE@|${EPYTHON}|" \
+ "${S}"/jupyterkernel/kernelspec/kernel.json.in || die
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_SYSTEM_JSONCPP=ON
+ -DPACKAGING_MODE=ON
+ -DUSE_PYTHON_3=ON
+ -DBUILD_AS_CPP_LIBRARY=OFF
+ -DENABLE_JUPYTER=OFF # special Xeus Jupyter kernel (uses xtl)
+ -DENABLE_MATHEMATICA=OFF
+ -DINSTALL_TARGETS_ONLY=OFF
+ -DBUILD_TESTS=$(usex test)
+ -DENABLE_FRONTEND=$(usex gtk)
+ -DENABLE_PY_JUPYTER=$(usex jupyter)
+ )
+ cmake_src_configure
+}
+
+pkg_postinst() {
+ xdg_update
+}
+
+pkg_postrm() {
+ xdg_update
+}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cadabra/
@ 2022-10-06 12:34 Maciej Barć
0 siblings, 0 replies; 26+ messages in thread
From: Maciej Barć @ 2022-10-06 12:34 UTC (permalink / raw
To: gentoo-commits
commit: af3a60e604432a57ed00d64a3c10694ff2e305fb
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 6 12:19:45 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Oct 6 12:34:15 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af3a60e6
sci-mathematics/cadabra: bump to 2.4.0.2
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sci-mathematics/cadabra/Manifest | 1 +
sci-mathematics/cadabra/cadabra-2.4.0.2.ebuild | 104 +++++++++++++++++++++++++
2 files changed, 105 insertions(+)
diff --git a/sci-mathematics/cadabra/Manifest b/sci-mathematics/cadabra/Manifest
index 7650d1cfdae2..3a63d3261a05 100644
--- a/sci-mathematics/cadabra/Manifest
+++ b/sci-mathematics/cadabra/Manifest
@@ -1 +1,2 @@
DIST cadabra-2.3.9.3.tar.gz 24685603 BLAKE2B eb76f65898be499eb5abbbaf8ac478a056ffe5801bcf7124be60d1b034f4e88e9999d76354f03e7a2de9b7f7561a32e82699c882be135fb5966614da37526933 SHA512 9a5cdc6a7d824350ef3929c9f21647588891c1376103a57d231c2f5160971e3373b0efb9e050c574ebd51921a3f7d9f230f533a88a44e0dd8e645bf2395a95fe
+DIST cadabra-2.4.0.2.tar.gz 24688084 BLAKE2B 4bc1e00ab87bbdc43dae261e1948b41a6372f90ad394e5208b65b993210ff42e84ed098ad4fcf6d056fc42947b75f970f18a92b67859fd69c8ea3cc18ffb2e9a SHA512 2545f7ba3238944902b413bfbed91d87594d87afe99d1fb61061115b354a6fa29ffb7b71017d790e54080da33aa905d0f9afe0546fb1397144fe7b135e906274
diff --git a/sci-mathematics/cadabra/cadabra-2.4.0.2.ebuild b/sci-mathematics/cadabra/cadabra-2.4.0.2.ebuild
new file mode 100644
index 000000000000..c3b86c9b872e
--- /dev/null
+++ b/sci-mathematics/cadabra/cadabra-2.4.0.2.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MAJOR=$(ver_cut 1)
+CADABRA=${PN}${MAJOR}
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit xdg-utils python-single-r1 cmake
+
+DESCRIPTION="Field-theory motivated approach to computer algebra"
+HOMEPAGE="https://cadabra.science/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/kpeeters/${CADABRA}.git"
+else
+ SRC_URI="https://github.com/kpeeters/${CADABRA}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}"/${CADABRA}-${PV}
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3"
+SLOT="0/${MAJOR}"
+IUSE="gtk +jupyter test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ app-text/dvipng
+ dev-cpp/glibmm:2
+ dev-db/sqlite:3=
+ dev-libs/boost:=
+ dev-libs/gmp:=[cxx]
+ dev-libs/jsoncpp:=
+ dev-libs/libsigc++:2
+ dev-texlive/texlive-basic
+ $(python_gen_cond_dep '
+ dev-python/gmpy:2[${PYTHON_USEDEP}]
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+ dev-python/sympy[${PYTHON_USEDEP}]
+ jupyter? ( dev-python/jupyter[${PYTHON_USEDEP}] )
+ ')
+ gtk? ( dev-cpp/gtkmm:3.0 )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="$(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')"
+
+PATCHES=( "${FILESDIR}"/${CADABRA}-CMake.patch )
+
+DOCS=( CODE_OF_CONDUCT.md CONTRIBUTING.md JUPYTER.rst README.rst )
+
+# Because we do not want to pull in "_XDG_DEPEND" dependencies with USE="-gtk"
+xdg_update() {
+ if use gtk ; then
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+ fi
+}
+
+src_prepare() {
+ # Clean postinst script which calls libtool and icon-cache update
+ echo '#!/bin/sh' > "${S}"/config/postinst.in || die
+
+ # Fix "PYTHON_EXECUTABLE" in Jupyter kernel
+ sed -i "s|@PYTHON_EXECUTABLE@|${EPYTHON}|" \
+ "${S}"/jupyterkernel/kernelspec/kernel.json.in || die
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_SYSTEM_JSONCPP=ON
+ -DPACKAGING_MODE=ON
+ -DUSE_PYTHON_3=ON
+ -DBUILD_AS_CPP_LIBRARY=OFF
+ -DENABLE_JUPYTER=OFF # special Xeus Jupyter kernel (uses xtl)
+ -DENABLE_MATHEMATICA=OFF
+ -DINSTALL_TARGETS_ONLY=OFF
+ -DBUILD_TESTS=$(usex test)
+ -DENABLE_FRONTEND=$(usex gtk)
+ -DENABLE_PY_JUPYTER=$(usex jupyter)
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ python_optimize
+}
+
+pkg_postinst() {
+ xdg_update
+}
+
+pkg_postrm() {
+ xdg_update
+}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cadabra/
@ 2022-10-26 22:04 Maciej Barć
0 siblings, 0 replies; 26+ messages in thread
From: Maciej Barć @ 2022-10-26 22:04 UTC (permalink / raw
To: gentoo-commits
commit: f1ac71bdcf309bc7bf3ed0bc30bbc16f38e404ba
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 26 20:48:48 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Oct 26 22:04:33 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1ac71bd
sci-mathematics/cadabra: bump to 2.4.2
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sci-mathematics/cadabra/Manifest | 1 +
sci-mathematics/cadabra/cadabra-2.4.2.ebuild | 104 +++++++++++++++++++++++++++
2 files changed, 105 insertions(+)
diff --git a/sci-mathematics/cadabra/Manifest b/sci-mathematics/cadabra/Manifest
index 3a63d3261a05..43f7bedeca21 100644
--- a/sci-mathematics/cadabra/Manifest
+++ b/sci-mathematics/cadabra/Manifest
@@ -1,2 +1,3 @@
DIST cadabra-2.3.9.3.tar.gz 24685603 BLAKE2B eb76f65898be499eb5abbbaf8ac478a056ffe5801bcf7124be60d1b034f4e88e9999d76354f03e7a2de9b7f7561a32e82699c882be135fb5966614da37526933 SHA512 9a5cdc6a7d824350ef3929c9f21647588891c1376103a57d231c2f5160971e3373b0efb9e050c574ebd51921a3f7d9f230f533a88a44e0dd8e645bf2395a95fe
DIST cadabra-2.4.0.2.tar.gz 24688084 BLAKE2B 4bc1e00ab87bbdc43dae261e1948b41a6372f90ad394e5208b65b993210ff42e84ed098ad4fcf6d056fc42947b75f970f18a92b67859fd69c8ea3cc18ffb2e9a SHA512 2545f7ba3238944902b413bfbed91d87594d87afe99d1fb61061115b354a6fa29ffb7b71017d790e54080da33aa905d0f9afe0546fb1397144fe7b135e906274
+DIST cadabra-2.4.2.tar.gz 25145250 BLAKE2B d6824f4819922cd1c37af6a393123ac7398d0adb5c551e278ca983cc7ec51c9fb1f5319ddbef74165cfe8743a8138f4cf2d011065ca90e300c103ad53daabef2 SHA512 a5b2ee3eee6911440eeb85dd720cc72eca21a889a409bb0a360ac674f926dc82b3d30f5fca4d46528216c6a3ad7c164a576435e0647ce2eddf187ba840dd59db
diff --git a/sci-mathematics/cadabra/cadabra-2.4.2.ebuild b/sci-mathematics/cadabra/cadabra-2.4.2.ebuild
new file mode 100644
index 000000000000..c3b86c9b872e
--- /dev/null
+++ b/sci-mathematics/cadabra/cadabra-2.4.2.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MAJOR=$(ver_cut 1)
+CADABRA=${PN}${MAJOR}
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit xdg-utils python-single-r1 cmake
+
+DESCRIPTION="Field-theory motivated approach to computer algebra"
+HOMEPAGE="https://cadabra.science/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/kpeeters/${CADABRA}.git"
+else
+ SRC_URI="https://github.com/kpeeters/${CADABRA}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}"/${CADABRA}-${PV}
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3"
+SLOT="0/${MAJOR}"
+IUSE="gtk +jupyter test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ app-text/dvipng
+ dev-cpp/glibmm:2
+ dev-db/sqlite:3=
+ dev-libs/boost:=
+ dev-libs/gmp:=[cxx]
+ dev-libs/jsoncpp:=
+ dev-libs/libsigc++:2
+ dev-texlive/texlive-basic
+ $(python_gen_cond_dep '
+ dev-python/gmpy:2[${PYTHON_USEDEP}]
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+ dev-python/sympy[${PYTHON_USEDEP}]
+ jupyter? ( dev-python/jupyter[${PYTHON_USEDEP}] )
+ ')
+ gtk? ( dev-cpp/gtkmm:3.0 )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="$(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')"
+
+PATCHES=( "${FILESDIR}"/${CADABRA}-CMake.patch )
+
+DOCS=( CODE_OF_CONDUCT.md CONTRIBUTING.md JUPYTER.rst README.rst )
+
+# Because we do not want to pull in "_XDG_DEPEND" dependencies with USE="-gtk"
+xdg_update() {
+ if use gtk ; then
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+ fi
+}
+
+src_prepare() {
+ # Clean postinst script which calls libtool and icon-cache update
+ echo '#!/bin/sh' > "${S}"/config/postinst.in || die
+
+ # Fix "PYTHON_EXECUTABLE" in Jupyter kernel
+ sed -i "s|@PYTHON_EXECUTABLE@|${EPYTHON}|" \
+ "${S}"/jupyterkernel/kernelspec/kernel.json.in || die
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_SYSTEM_JSONCPP=ON
+ -DPACKAGING_MODE=ON
+ -DUSE_PYTHON_3=ON
+ -DBUILD_AS_CPP_LIBRARY=OFF
+ -DENABLE_JUPYTER=OFF # special Xeus Jupyter kernel (uses xtl)
+ -DENABLE_MATHEMATICA=OFF
+ -DINSTALL_TARGETS_ONLY=OFF
+ -DBUILD_TESTS=$(usex test)
+ -DENABLE_FRONTEND=$(usex gtk)
+ -DENABLE_PY_JUPYTER=$(usex jupyter)
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ python_optimize
+}
+
+pkg_postinst() {
+ xdg_update
+}
+
+pkg_postrm() {
+ xdg_update
+}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cadabra/
@ 2022-10-27 15:00 Maciej Barć
0 siblings, 0 replies; 26+ messages in thread
From: Maciej Barć @ 2022-10-27 15:00 UTC (permalink / raw
To: gentoo-commits
commit: f74160138f8a43ace168b0d47e6c6dda7834d363
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 27 14:47:46 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Oct 27 15:00:45 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7416013
sci-mathematics/cadabra: bump to 2.4.2.1
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sci-mathematics/cadabra/Manifest | 1 +
sci-mathematics/cadabra/cadabra-2.4.2.1.ebuild | 104 +++++++++++++++++++++++++
2 files changed, 105 insertions(+)
diff --git a/sci-mathematics/cadabra/Manifest b/sci-mathematics/cadabra/Manifest
index 43f7bedeca21..15d815c270b5 100644
--- a/sci-mathematics/cadabra/Manifest
+++ b/sci-mathematics/cadabra/Manifest
@@ -1,3 +1,4 @@
DIST cadabra-2.3.9.3.tar.gz 24685603 BLAKE2B eb76f65898be499eb5abbbaf8ac478a056ffe5801bcf7124be60d1b034f4e88e9999d76354f03e7a2de9b7f7561a32e82699c882be135fb5966614da37526933 SHA512 9a5cdc6a7d824350ef3929c9f21647588891c1376103a57d231c2f5160971e3373b0efb9e050c574ebd51921a3f7d9f230f533a88a44e0dd8e645bf2395a95fe
DIST cadabra-2.4.0.2.tar.gz 24688084 BLAKE2B 4bc1e00ab87bbdc43dae261e1948b41a6372f90ad394e5208b65b993210ff42e84ed098ad4fcf6d056fc42947b75f970f18a92b67859fd69c8ea3cc18ffb2e9a SHA512 2545f7ba3238944902b413bfbed91d87594d87afe99d1fb61061115b354a6fa29ffb7b71017d790e54080da33aa905d0f9afe0546fb1397144fe7b135e906274
+DIST cadabra-2.4.2.1.tar.gz 25154623 BLAKE2B 99c24728c80c5909df338b9214774123c2aac63e475138b5059c0c7824685827765d7906c17200ab3bad63e08b3637c7eb67b2f25bb3477eab4ca02fcbedbb56 SHA512 9dd280dfaca3cf1def268bca7884b0d00287bba5bfb7b80e8bdf4759f91c83117d146af2a24e05d2a8bdc8a5be412529a805713861a56a7186c35fe07ff8d0db
DIST cadabra-2.4.2.tar.gz 25145250 BLAKE2B d6824f4819922cd1c37af6a393123ac7398d0adb5c551e278ca983cc7ec51c9fb1f5319ddbef74165cfe8743a8138f4cf2d011065ca90e300c103ad53daabef2 SHA512 a5b2ee3eee6911440eeb85dd720cc72eca21a889a409bb0a360ac674f926dc82b3d30f5fca4d46528216c6a3ad7c164a576435e0647ce2eddf187ba840dd59db
diff --git a/sci-mathematics/cadabra/cadabra-2.4.2.1.ebuild b/sci-mathematics/cadabra/cadabra-2.4.2.1.ebuild
new file mode 100644
index 000000000000..c3b86c9b872e
--- /dev/null
+++ b/sci-mathematics/cadabra/cadabra-2.4.2.1.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MAJOR=$(ver_cut 1)
+CADABRA=${PN}${MAJOR}
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit xdg-utils python-single-r1 cmake
+
+DESCRIPTION="Field-theory motivated approach to computer algebra"
+HOMEPAGE="https://cadabra.science/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/kpeeters/${CADABRA}.git"
+else
+ SRC_URI="https://github.com/kpeeters/${CADABRA}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}"/${CADABRA}-${PV}
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3"
+SLOT="0/${MAJOR}"
+IUSE="gtk +jupyter test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ app-text/dvipng
+ dev-cpp/glibmm:2
+ dev-db/sqlite:3=
+ dev-libs/boost:=
+ dev-libs/gmp:=[cxx]
+ dev-libs/jsoncpp:=
+ dev-libs/libsigc++:2
+ dev-texlive/texlive-basic
+ $(python_gen_cond_dep '
+ dev-python/gmpy:2[${PYTHON_USEDEP}]
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+ dev-python/sympy[${PYTHON_USEDEP}]
+ jupyter? ( dev-python/jupyter[${PYTHON_USEDEP}] )
+ ')
+ gtk? ( dev-cpp/gtkmm:3.0 )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="$(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')"
+
+PATCHES=( "${FILESDIR}"/${CADABRA}-CMake.patch )
+
+DOCS=( CODE_OF_CONDUCT.md CONTRIBUTING.md JUPYTER.rst README.rst )
+
+# Because we do not want to pull in "_XDG_DEPEND" dependencies with USE="-gtk"
+xdg_update() {
+ if use gtk ; then
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+ fi
+}
+
+src_prepare() {
+ # Clean postinst script which calls libtool and icon-cache update
+ echo '#!/bin/sh' > "${S}"/config/postinst.in || die
+
+ # Fix "PYTHON_EXECUTABLE" in Jupyter kernel
+ sed -i "s|@PYTHON_EXECUTABLE@|${EPYTHON}|" \
+ "${S}"/jupyterkernel/kernelspec/kernel.json.in || die
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_SYSTEM_JSONCPP=ON
+ -DPACKAGING_MODE=ON
+ -DUSE_PYTHON_3=ON
+ -DBUILD_AS_CPP_LIBRARY=OFF
+ -DENABLE_JUPYTER=OFF # special Xeus Jupyter kernel (uses xtl)
+ -DENABLE_MATHEMATICA=OFF
+ -DINSTALL_TARGETS_ONLY=OFF
+ -DBUILD_TESTS=$(usex test)
+ -DENABLE_FRONTEND=$(usex gtk)
+ -DENABLE_PY_JUPYTER=$(usex jupyter)
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ python_optimize
+}
+
+pkg_postinst() {
+ xdg_update
+}
+
+pkg_postrm() {
+ xdg_update
+}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cadabra/
@ 2022-10-27 15:00 Maciej Barć
0 siblings, 0 replies; 26+ messages in thread
From: Maciej Barć @ 2022-10-27 15:00 UTC (permalink / raw
To: gentoo-commits
commit: 869691aa5b2a53341104f28642a2d024c3323952
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 27 15:00:35 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Oct 27 15:00:46 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=869691aa
sci-mathematics/cadabra: drop old 2.4.2
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sci-mathematics/cadabra/Manifest | 1 -
sci-mathematics/cadabra/cadabra-2.4.2.ebuild | 104 ---------------------------
2 files changed, 105 deletions(-)
diff --git a/sci-mathematics/cadabra/Manifest b/sci-mathematics/cadabra/Manifest
index 15d815c270b5..d82ff9fe12dd 100644
--- a/sci-mathematics/cadabra/Manifest
+++ b/sci-mathematics/cadabra/Manifest
@@ -1,4 +1,3 @@
DIST cadabra-2.3.9.3.tar.gz 24685603 BLAKE2B eb76f65898be499eb5abbbaf8ac478a056ffe5801bcf7124be60d1b034f4e88e9999d76354f03e7a2de9b7f7561a32e82699c882be135fb5966614da37526933 SHA512 9a5cdc6a7d824350ef3929c9f21647588891c1376103a57d231c2f5160971e3373b0efb9e050c574ebd51921a3f7d9f230f533a88a44e0dd8e645bf2395a95fe
DIST cadabra-2.4.0.2.tar.gz 24688084 BLAKE2B 4bc1e00ab87bbdc43dae261e1948b41a6372f90ad394e5208b65b993210ff42e84ed098ad4fcf6d056fc42947b75f970f18a92b67859fd69c8ea3cc18ffb2e9a SHA512 2545f7ba3238944902b413bfbed91d87594d87afe99d1fb61061115b354a6fa29ffb7b71017d790e54080da33aa905d0f9afe0546fb1397144fe7b135e906274
DIST cadabra-2.4.2.1.tar.gz 25154623 BLAKE2B 99c24728c80c5909df338b9214774123c2aac63e475138b5059c0c7824685827765d7906c17200ab3bad63e08b3637c7eb67b2f25bb3477eab4ca02fcbedbb56 SHA512 9dd280dfaca3cf1def268bca7884b0d00287bba5bfb7b80e8bdf4759f91c83117d146af2a24e05d2a8bdc8a5be412529a805713861a56a7186c35fe07ff8d0db
-DIST cadabra-2.4.2.tar.gz 25145250 BLAKE2B d6824f4819922cd1c37af6a393123ac7398d0adb5c551e278ca983cc7ec51c9fb1f5319ddbef74165cfe8743a8138f4cf2d011065ca90e300c103ad53daabef2 SHA512 a5b2ee3eee6911440eeb85dd720cc72eca21a889a409bb0a360ac674f926dc82b3d30f5fca4d46528216c6a3ad7c164a576435e0647ce2eddf187ba840dd59db
diff --git a/sci-mathematics/cadabra/cadabra-2.4.2.ebuild b/sci-mathematics/cadabra/cadabra-2.4.2.ebuild
deleted file mode 100644
index c3b86c9b872e..000000000000
--- a/sci-mathematics/cadabra/cadabra-2.4.2.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MAJOR=$(ver_cut 1)
-CADABRA=${PN}${MAJOR}
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit xdg-utils python-single-r1 cmake
-
-DESCRIPTION="Field-theory motivated approach to computer algebra"
-HOMEPAGE="https://cadabra.science/"
-
-if [[ "${PV}" == *9999* ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/kpeeters/${CADABRA}.git"
-else
- SRC_URI="https://github.com/kpeeters/${CADABRA}/archive/${PV}.tar.gz
- -> ${P}.tar.gz"
- S="${WORKDIR}"/${CADABRA}-${PV}
- KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="GPL-3"
-SLOT="0/${MAJOR}"
-IUSE="gtk +jupyter test"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- ${PYTHON_DEPS}
- app-text/dvipng
- dev-cpp/glibmm:2
- dev-db/sqlite:3=
- dev-libs/boost:=
- dev-libs/gmp:=[cxx]
- dev-libs/jsoncpp:=
- dev-libs/libsigc++:2
- dev-texlive/texlive-basic
- $(python_gen_cond_dep '
- dev-python/gmpy:2[${PYTHON_USEDEP}]
- dev-python/matplotlib[${PYTHON_USEDEP}]
- dev-python/sympy[${PYTHON_USEDEP}]
- jupyter? ( dev-python/jupyter[${PYTHON_USEDEP}] )
- ')
- gtk? ( dev-cpp/gtkmm:3.0 )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="$(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')"
-
-PATCHES=( "${FILESDIR}"/${CADABRA}-CMake.patch )
-
-DOCS=( CODE_OF_CONDUCT.md CONTRIBUTING.md JUPYTER.rst README.rst )
-
-# Because we do not want to pull in "_XDG_DEPEND" dependencies with USE="-gtk"
-xdg_update() {
- if use gtk ; then
- xdg_icon_cache_update
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
- fi
-}
-
-src_prepare() {
- # Clean postinst script which calls libtool and icon-cache update
- echo '#!/bin/sh' > "${S}"/config/postinst.in || die
-
- # Fix "PYTHON_EXECUTABLE" in Jupyter kernel
- sed -i "s|@PYTHON_EXECUTABLE@|${EPYTHON}|" \
- "${S}"/jupyterkernel/kernelspec/kernel.json.in || die
-
- cmake_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DENABLE_SYSTEM_JSONCPP=ON
- -DPACKAGING_MODE=ON
- -DUSE_PYTHON_3=ON
- -DBUILD_AS_CPP_LIBRARY=OFF
- -DENABLE_JUPYTER=OFF # special Xeus Jupyter kernel (uses xtl)
- -DENABLE_MATHEMATICA=OFF
- -DINSTALL_TARGETS_ONLY=OFF
- -DBUILD_TESTS=$(usex test)
- -DENABLE_FRONTEND=$(usex gtk)
- -DENABLE_PY_JUPYTER=$(usex jupyter)
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
- python_optimize
-}
-
-pkg_postinst() {
- xdg_update
-}
-
-pkg_postrm() {
- xdg_update
-}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cadabra/
@ 2022-11-28 20:33 Maciej Barć
0 siblings, 0 replies; 26+ messages in thread
From: Maciej Barć @ 2022-11-28 20:33 UTC (permalink / raw
To: gentoo-commits
commit: 21d4c90d5dc84bb9053f22182ecaa94a1b9b69cf
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 28 17:36:33 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Nov 28 20:33:17 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21d4c90d
sci-mathematics/cadabra: bump to 2.4.2.2
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sci-mathematics/cadabra/Manifest | 1 +
sci-mathematics/cadabra/cadabra-2.4.2.2.ebuild | 104 +++++++++++++++++++++++++
2 files changed, 105 insertions(+)
diff --git a/sci-mathematics/cadabra/Manifest b/sci-mathematics/cadabra/Manifest
index d82ff9fe12dd..f0e4cf0aa3a5 100644
--- a/sci-mathematics/cadabra/Manifest
+++ b/sci-mathematics/cadabra/Manifest
@@ -1,3 +1,4 @@
DIST cadabra-2.3.9.3.tar.gz 24685603 BLAKE2B eb76f65898be499eb5abbbaf8ac478a056ffe5801bcf7124be60d1b034f4e88e9999d76354f03e7a2de9b7f7561a32e82699c882be135fb5966614da37526933 SHA512 9a5cdc6a7d824350ef3929c9f21647588891c1376103a57d231c2f5160971e3373b0efb9e050c574ebd51921a3f7d9f230f533a88a44e0dd8e645bf2395a95fe
DIST cadabra-2.4.0.2.tar.gz 24688084 BLAKE2B 4bc1e00ab87bbdc43dae261e1948b41a6372f90ad394e5208b65b993210ff42e84ed098ad4fcf6d056fc42947b75f970f18a92b67859fd69c8ea3cc18ffb2e9a SHA512 2545f7ba3238944902b413bfbed91d87594d87afe99d1fb61061115b354a6fa29ffb7b71017d790e54080da33aa905d0f9afe0546fb1397144fe7b135e906274
DIST cadabra-2.4.2.1.tar.gz 25154623 BLAKE2B 99c24728c80c5909df338b9214774123c2aac63e475138b5059c0c7824685827765d7906c17200ab3bad63e08b3637c7eb67b2f25bb3477eab4ca02fcbedbb56 SHA512 9dd280dfaca3cf1def268bca7884b0d00287bba5bfb7b80e8bdf4759f91c83117d146af2a24e05d2a8bdc8a5be412529a805713861a56a7186c35fe07ff8d0db
+DIST cadabra-2.4.2.2.tar.gz 25156757 BLAKE2B 05d4e490d1fa740b3dd505b72d5f4f298e62e234859e81b5bdf865e895ab820b3cd5d6db3ecda1cac0426b031cc5c87428d464bdb66b24cb9b945ababc860a90 SHA512 c5c55abad090d72f981341d94d3e299583f446a4bff1df994a60c740cede9e543b5cdee146dae2a846deec4adf446172e62b0f12deab8c89e7a085ffa7006acf
diff --git a/sci-mathematics/cadabra/cadabra-2.4.2.2.ebuild b/sci-mathematics/cadabra/cadabra-2.4.2.2.ebuild
new file mode 100644
index 000000000000..c3b86c9b872e
--- /dev/null
+++ b/sci-mathematics/cadabra/cadabra-2.4.2.2.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MAJOR=$(ver_cut 1)
+CADABRA=${PN}${MAJOR}
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit xdg-utils python-single-r1 cmake
+
+DESCRIPTION="Field-theory motivated approach to computer algebra"
+HOMEPAGE="https://cadabra.science/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/kpeeters/${CADABRA}.git"
+else
+ SRC_URI="https://github.com/kpeeters/${CADABRA}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}"/${CADABRA}-${PV}
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3"
+SLOT="0/${MAJOR}"
+IUSE="gtk +jupyter test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ app-text/dvipng
+ dev-cpp/glibmm:2
+ dev-db/sqlite:3=
+ dev-libs/boost:=
+ dev-libs/gmp:=[cxx]
+ dev-libs/jsoncpp:=
+ dev-libs/libsigc++:2
+ dev-texlive/texlive-basic
+ $(python_gen_cond_dep '
+ dev-python/gmpy:2[${PYTHON_USEDEP}]
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+ dev-python/sympy[${PYTHON_USEDEP}]
+ jupyter? ( dev-python/jupyter[${PYTHON_USEDEP}] )
+ ')
+ gtk? ( dev-cpp/gtkmm:3.0 )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="$(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')"
+
+PATCHES=( "${FILESDIR}"/${CADABRA}-CMake.patch )
+
+DOCS=( CODE_OF_CONDUCT.md CONTRIBUTING.md JUPYTER.rst README.rst )
+
+# Because we do not want to pull in "_XDG_DEPEND" dependencies with USE="-gtk"
+xdg_update() {
+ if use gtk ; then
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+ fi
+}
+
+src_prepare() {
+ # Clean postinst script which calls libtool and icon-cache update
+ echo '#!/bin/sh' > "${S}"/config/postinst.in || die
+
+ # Fix "PYTHON_EXECUTABLE" in Jupyter kernel
+ sed -i "s|@PYTHON_EXECUTABLE@|${EPYTHON}|" \
+ "${S}"/jupyterkernel/kernelspec/kernel.json.in || die
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_SYSTEM_JSONCPP=ON
+ -DPACKAGING_MODE=ON
+ -DUSE_PYTHON_3=ON
+ -DBUILD_AS_CPP_LIBRARY=OFF
+ -DENABLE_JUPYTER=OFF # special Xeus Jupyter kernel (uses xtl)
+ -DENABLE_MATHEMATICA=OFF
+ -DINSTALL_TARGETS_ONLY=OFF
+ -DBUILD_TESTS=$(usex test)
+ -DENABLE_FRONTEND=$(usex gtk)
+ -DENABLE_PY_JUPYTER=$(usex jupyter)
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ python_optimize
+}
+
+pkg_postinst() {
+ xdg_update
+}
+
+pkg_postrm() {
+ xdg_update
+}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cadabra/
@ 2022-12-06 21:06 Maciej Barć
0 siblings, 0 replies; 26+ messages in thread
From: Maciej Barć @ 2022-12-06 21:06 UTC (permalink / raw
To: gentoo-commits
commit: 2cbd90cbcf113abeb3fd72d6e40972857a7029c1
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 6 21:05:39 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Dec 6 21:06:46 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cbd90cb
sci-mathematics/cadabra: bump to 2.4.3.2
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sci-mathematics/cadabra/Manifest | 1 +
sci-mathematics/cadabra/cadabra-2.4.3.2.ebuild | 104 +++++++++++++++++++++++++
2 files changed, 105 insertions(+)
diff --git a/sci-mathematics/cadabra/Manifest b/sci-mathematics/cadabra/Manifest
index f0e4cf0aa3a5..ea4094ab5183 100644
--- a/sci-mathematics/cadabra/Manifest
+++ b/sci-mathematics/cadabra/Manifest
@@ -2,3 +2,4 @@ DIST cadabra-2.3.9.3.tar.gz 24685603 BLAKE2B eb76f65898be499eb5abbbaf8ac478a056f
DIST cadabra-2.4.0.2.tar.gz 24688084 BLAKE2B 4bc1e00ab87bbdc43dae261e1948b41a6372f90ad394e5208b65b993210ff42e84ed098ad4fcf6d056fc42947b75f970f18a92b67859fd69c8ea3cc18ffb2e9a SHA512 2545f7ba3238944902b413bfbed91d87594d87afe99d1fb61061115b354a6fa29ffb7b71017d790e54080da33aa905d0f9afe0546fb1397144fe7b135e906274
DIST cadabra-2.4.2.1.tar.gz 25154623 BLAKE2B 99c24728c80c5909df338b9214774123c2aac63e475138b5059c0c7824685827765d7906c17200ab3bad63e08b3637c7eb67b2f25bb3477eab4ca02fcbedbb56 SHA512 9dd280dfaca3cf1def268bca7884b0d00287bba5bfb7b80e8bdf4759f91c83117d146af2a24e05d2a8bdc8a5be412529a805713861a56a7186c35fe07ff8d0db
DIST cadabra-2.4.2.2.tar.gz 25156757 BLAKE2B 05d4e490d1fa740b3dd505b72d5f4f298e62e234859e81b5bdf865e895ab820b3cd5d6db3ecda1cac0426b031cc5c87428d464bdb66b24cb9b945ababc860a90 SHA512 c5c55abad090d72f981341d94d3e299583f446a4bff1df994a60c740cede9e543b5cdee146dae2a846deec4adf446172e62b0f12deab8c89e7a085ffa7006acf
+DIST cadabra-2.4.3.2.tar.gz 25157173 BLAKE2B 895b91a01f5dedc87294903959ee3aca0234016fce0094f4288c07e2d265f90f834670b9c50dcfa059e46564c773f73f049cf65db74f49932e442d15d68ecd88 SHA512 21c76804442397fa3d5fa407fc74395fc800d01c2a5d84270e9cf3abd875c8ff96e2ba8f8349037797ff4ef3d2b9033c2a1a6af45bb75c3a201acdd7357adb6f
diff --git a/sci-mathematics/cadabra/cadabra-2.4.3.2.ebuild b/sci-mathematics/cadabra/cadabra-2.4.3.2.ebuild
new file mode 100644
index 000000000000..c3b86c9b872e
--- /dev/null
+++ b/sci-mathematics/cadabra/cadabra-2.4.3.2.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MAJOR=$(ver_cut 1)
+CADABRA=${PN}${MAJOR}
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit xdg-utils python-single-r1 cmake
+
+DESCRIPTION="Field-theory motivated approach to computer algebra"
+HOMEPAGE="https://cadabra.science/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/kpeeters/${CADABRA}.git"
+else
+ SRC_URI="https://github.com/kpeeters/${CADABRA}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}"/${CADABRA}-${PV}
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3"
+SLOT="0/${MAJOR}"
+IUSE="gtk +jupyter test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ app-text/dvipng
+ dev-cpp/glibmm:2
+ dev-db/sqlite:3=
+ dev-libs/boost:=
+ dev-libs/gmp:=[cxx]
+ dev-libs/jsoncpp:=
+ dev-libs/libsigc++:2
+ dev-texlive/texlive-basic
+ $(python_gen_cond_dep '
+ dev-python/gmpy:2[${PYTHON_USEDEP}]
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+ dev-python/sympy[${PYTHON_USEDEP}]
+ jupyter? ( dev-python/jupyter[${PYTHON_USEDEP}] )
+ ')
+ gtk? ( dev-cpp/gtkmm:3.0 )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="$(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')"
+
+PATCHES=( "${FILESDIR}"/${CADABRA}-CMake.patch )
+
+DOCS=( CODE_OF_CONDUCT.md CONTRIBUTING.md JUPYTER.rst README.rst )
+
+# Because we do not want to pull in "_XDG_DEPEND" dependencies with USE="-gtk"
+xdg_update() {
+ if use gtk ; then
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+ fi
+}
+
+src_prepare() {
+ # Clean postinst script which calls libtool and icon-cache update
+ echo '#!/bin/sh' > "${S}"/config/postinst.in || die
+
+ # Fix "PYTHON_EXECUTABLE" in Jupyter kernel
+ sed -i "s|@PYTHON_EXECUTABLE@|${EPYTHON}|" \
+ "${S}"/jupyterkernel/kernelspec/kernel.json.in || die
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_SYSTEM_JSONCPP=ON
+ -DPACKAGING_MODE=ON
+ -DUSE_PYTHON_3=ON
+ -DBUILD_AS_CPP_LIBRARY=OFF
+ -DENABLE_JUPYTER=OFF # special Xeus Jupyter kernel (uses xtl)
+ -DENABLE_MATHEMATICA=OFF
+ -DINSTALL_TARGETS_ONLY=OFF
+ -DBUILD_TESTS=$(usex test)
+ -DENABLE_FRONTEND=$(usex gtk)
+ -DENABLE_PY_JUPYTER=$(usex jupyter)
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ python_optimize
+}
+
+pkg_postinst() {
+ xdg_update
+}
+
+pkg_postrm() {
+ xdg_update
+}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cadabra/
@ 2022-12-06 21:06 Maciej Barć
0 siblings, 0 replies; 26+ messages in thread
From: Maciej Barć @ 2022-12-06 21:06 UTC (permalink / raw
To: gentoo-commits
commit: a28538fbaa9305403c1d842b58c88796f88cdaf5
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 6 21:06:29 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Dec 6 21:06:47 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a28538fb
sci-mathematics/cadabra: drop old 2.4.0.2
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sci-mathematics/cadabra/Manifest | 1 -
sci-mathematics/cadabra/cadabra-2.4.0.2.ebuild | 104 -------------------------
2 files changed, 105 deletions(-)
diff --git a/sci-mathematics/cadabra/Manifest b/sci-mathematics/cadabra/Manifest
index 127fc7ce4567..517715df8c6b 100644
--- a/sci-mathematics/cadabra/Manifest
+++ b/sci-mathematics/cadabra/Manifest
@@ -1,4 +1,3 @@
-DIST cadabra-2.4.0.2.tar.gz 24688084 BLAKE2B 4bc1e00ab87bbdc43dae261e1948b41a6372f90ad394e5208b65b993210ff42e84ed098ad4fcf6d056fc42947b75f970f18a92b67859fd69c8ea3cc18ffb2e9a SHA512 2545f7ba3238944902b413bfbed91d87594d87afe99d1fb61061115b354a6fa29ffb7b71017d790e54080da33aa905d0f9afe0546fb1397144fe7b135e906274
DIST cadabra-2.4.2.1.tar.gz 25154623 BLAKE2B 99c24728c80c5909df338b9214774123c2aac63e475138b5059c0c7824685827765d7906c17200ab3bad63e08b3637c7eb67b2f25bb3477eab4ca02fcbedbb56 SHA512 9dd280dfaca3cf1def268bca7884b0d00287bba5bfb7b80e8bdf4759f91c83117d146af2a24e05d2a8bdc8a5be412529a805713861a56a7186c35fe07ff8d0db
DIST cadabra-2.4.2.2.tar.gz 25156757 BLAKE2B 05d4e490d1fa740b3dd505b72d5f4f298e62e234859e81b5bdf865e895ab820b3cd5d6db3ecda1cac0426b031cc5c87428d464bdb66b24cb9b945ababc860a90 SHA512 c5c55abad090d72f981341d94d3e299583f446a4bff1df994a60c740cede9e543b5cdee146dae2a846deec4adf446172e62b0f12deab8c89e7a085ffa7006acf
DIST cadabra-2.4.3.2.tar.gz 25157173 BLAKE2B 895b91a01f5dedc87294903959ee3aca0234016fce0094f4288c07e2d265f90f834670b9c50dcfa059e46564c773f73f049cf65db74f49932e442d15d68ecd88 SHA512 21c76804442397fa3d5fa407fc74395fc800d01c2a5d84270e9cf3abd875c8ff96e2ba8f8349037797ff4ef3d2b9033c2a1a6af45bb75c3a201acdd7357adb6f
diff --git a/sci-mathematics/cadabra/cadabra-2.4.0.2.ebuild b/sci-mathematics/cadabra/cadabra-2.4.0.2.ebuild
deleted file mode 100644
index c3b86c9b872e..000000000000
--- a/sci-mathematics/cadabra/cadabra-2.4.0.2.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MAJOR=$(ver_cut 1)
-CADABRA=${PN}${MAJOR}
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit xdg-utils python-single-r1 cmake
-
-DESCRIPTION="Field-theory motivated approach to computer algebra"
-HOMEPAGE="https://cadabra.science/"
-
-if [[ "${PV}" == *9999* ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/kpeeters/${CADABRA}.git"
-else
- SRC_URI="https://github.com/kpeeters/${CADABRA}/archive/${PV}.tar.gz
- -> ${P}.tar.gz"
- S="${WORKDIR}"/${CADABRA}-${PV}
- KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="GPL-3"
-SLOT="0/${MAJOR}"
-IUSE="gtk +jupyter test"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- ${PYTHON_DEPS}
- app-text/dvipng
- dev-cpp/glibmm:2
- dev-db/sqlite:3=
- dev-libs/boost:=
- dev-libs/gmp:=[cxx]
- dev-libs/jsoncpp:=
- dev-libs/libsigc++:2
- dev-texlive/texlive-basic
- $(python_gen_cond_dep '
- dev-python/gmpy:2[${PYTHON_USEDEP}]
- dev-python/matplotlib[${PYTHON_USEDEP}]
- dev-python/sympy[${PYTHON_USEDEP}]
- jupyter? ( dev-python/jupyter[${PYTHON_USEDEP}] )
- ')
- gtk? ( dev-cpp/gtkmm:3.0 )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="$(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')"
-
-PATCHES=( "${FILESDIR}"/${CADABRA}-CMake.patch )
-
-DOCS=( CODE_OF_CONDUCT.md CONTRIBUTING.md JUPYTER.rst README.rst )
-
-# Because we do not want to pull in "_XDG_DEPEND" dependencies with USE="-gtk"
-xdg_update() {
- if use gtk ; then
- xdg_icon_cache_update
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
- fi
-}
-
-src_prepare() {
- # Clean postinst script which calls libtool and icon-cache update
- echo '#!/bin/sh' > "${S}"/config/postinst.in || die
-
- # Fix "PYTHON_EXECUTABLE" in Jupyter kernel
- sed -i "s|@PYTHON_EXECUTABLE@|${EPYTHON}|" \
- "${S}"/jupyterkernel/kernelspec/kernel.json.in || die
-
- cmake_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DENABLE_SYSTEM_JSONCPP=ON
- -DPACKAGING_MODE=ON
- -DUSE_PYTHON_3=ON
- -DBUILD_AS_CPP_LIBRARY=OFF
- -DENABLE_JUPYTER=OFF # special Xeus Jupyter kernel (uses xtl)
- -DENABLE_MATHEMATICA=OFF
- -DINSTALL_TARGETS_ONLY=OFF
- -DBUILD_TESTS=$(usex test)
- -DENABLE_FRONTEND=$(usex gtk)
- -DENABLE_PY_JUPYTER=$(usex jupyter)
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
- python_optimize
-}
-
-pkg_postinst() {
- xdg_update
-}
-
-pkg_postrm() {
- xdg_update
-}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cadabra/
@ 2022-12-06 21:06 Maciej Barć
0 siblings, 0 replies; 26+ messages in thread
From: Maciej Barć @ 2022-12-06 21:06 UTC (permalink / raw
To: gentoo-commits
commit: b3e5357fc6f12530c38d172cce3825be856c73bb
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 6 21:06:13 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Dec 6 21:06:46 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3e5357f
sci-mathematics/cadabra: drop old 2.3.9.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sci-mathematics/cadabra/Manifest | 1 -
sci-mathematics/cadabra/cadabra-2.3.9.3.ebuild | 99 --------------------------
2 files changed, 100 deletions(-)
diff --git a/sci-mathematics/cadabra/Manifest b/sci-mathematics/cadabra/Manifest
index ea4094ab5183..127fc7ce4567 100644
--- a/sci-mathematics/cadabra/Manifest
+++ b/sci-mathematics/cadabra/Manifest
@@ -1,4 +1,3 @@
-DIST cadabra-2.3.9.3.tar.gz 24685603 BLAKE2B eb76f65898be499eb5abbbaf8ac478a056ffe5801bcf7124be60d1b034f4e88e9999d76354f03e7a2de9b7f7561a32e82699c882be135fb5966614da37526933 SHA512 9a5cdc6a7d824350ef3929c9f21647588891c1376103a57d231c2f5160971e3373b0efb9e050c574ebd51921a3f7d9f230f533a88a44e0dd8e645bf2395a95fe
DIST cadabra-2.4.0.2.tar.gz 24688084 BLAKE2B 4bc1e00ab87bbdc43dae261e1948b41a6372f90ad394e5208b65b993210ff42e84ed098ad4fcf6d056fc42947b75f970f18a92b67859fd69c8ea3cc18ffb2e9a SHA512 2545f7ba3238944902b413bfbed91d87594d87afe99d1fb61061115b354a6fa29ffb7b71017d790e54080da33aa905d0f9afe0546fb1397144fe7b135e906274
DIST cadabra-2.4.2.1.tar.gz 25154623 BLAKE2B 99c24728c80c5909df338b9214774123c2aac63e475138b5059c0c7824685827765d7906c17200ab3bad63e08b3637c7eb67b2f25bb3477eab4ca02fcbedbb56 SHA512 9dd280dfaca3cf1def268bca7884b0d00287bba5bfb7b80e8bdf4759f91c83117d146af2a24e05d2a8bdc8a5be412529a805713861a56a7186c35fe07ff8d0db
DIST cadabra-2.4.2.2.tar.gz 25156757 BLAKE2B 05d4e490d1fa740b3dd505b72d5f4f298e62e234859e81b5bdf865e895ab820b3cd5d6db3ecda1cac0426b031cc5c87428d464bdb66b24cb9b945ababc860a90 SHA512 c5c55abad090d72f981341d94d3e299583f446a4bff1df994a60c740cede9e543b5cdee146dae2a846deec4adf446172e62b0f12deab8c89e7a085ffa7006acf
diff --git a/sci-mathematics/cadabra/cadabra-2.3.9.3.ebuild b/sci-mathematics/cadabra/cadabra-2.3.9.3.ebuild
deleted file mode 100644
index a39fec81b21a..000000000000
--- a/sci-mathematics/cadabra/cadabra-2.3.9.3.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MAJOR=$(ver_cut 1)
-CADABRA=${PN}${MAJOR}
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit xdg-utils python-single-r1 cmake
-
-DESCRIPTION="Field-theory motivated approach to computer algebra"
-HOMEPAGE="https://cadabra.science/"
-
-if [[ "${PV}" == *9999* ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/kpeeters/${CADABRA}.git"
-else
- SRC_URI="https://github.com/kpeeters/${CADABRA}/archive/${PV}.tar.gz
- -> ${P}.tar.gz"
- S="${WORKDIR}"/${CADABRA}-${PV}
- KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="GPL-3"
-SLOT="0/${MAJOR}"
-IUSE="gtk +jupyter test"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RESTRICT="test" # For this version some tests fail.
-
-RDEPEND="
- ${PYTHON_DEPS}
- app-text/dvipng
- dev-cpp/glibmm:2
- dev-db/sqlite:3=
- dev-libs/boost:=
- dev-libs/gmp:=[cxx]
- dev-libs/jsoncpp:=
- dev-libs/libsigc++:2
- dev-texlive/texlive-basic
- $(python_gen_cond_dep '
- dev-python/gmpy:2[${PYTHON_USEDEP}]
- dev-python/matplotlib[${PYTHON_USEDEP}]
- dev-python/sympy[${PYTHON_USEDEP}]
- jupyter? ( dev-python/jupyter[${PYTHON_USEDEP}] )
- ')
- gtk? ( dev-cpp/gtkmm:3.0 )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="$(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')"
-
-PATCHES=( "${FILESDIR}"/${CADABRA}-CMake.patch )
-
-DOCS=( CODE_OF_CONDUCT.md CONTRIBUTING.md JUPYTER.rst README.rst )
-
-# Because we do not want to pull in "_XDG_DEPEND" dependencies with USE="-gtk"
-xdg_update() {
- if use gtk ; then
- xdg_icon_cache_update
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
- fi
-}
-
-src_prepare() {
- # Clean postinst script which calls libtool and icon-cache update
- echo '#!/bin/sh' > "${S}"/config/postinst.in || die
-
- # Fix "PYTHON_EXECUTABLE" in Jupyter kernel
- sed -i "s|@PYTHON_EXECUTABLE@|${EPYTHON}|" \
- "${S}"/jupyterkernel/kernelspec/kernel.json.in || die
-
- cmake_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DENABLE_SYSTEM_JSONCPP=ON
- -DPACKAGING_MODE=ON
- -DUSE_PYTHON_3=ON
- -DBUILD_AS_CPP_LIBRARY=OFF
- -DENABLE_JUPYTER=OFF # special Xeus Jupyter kernel (uses xtl)
- -DENABLE_MATHEMATICA=OFF
- -DINSTALL_TARGETS_ONLY=OFF
- -DBUILD_TESTS=$(usex test)
- -DENABLE_FRONTEND=$(usex gtk)
- -DENABLE_PY_JUPYTER=$(usex jupyter)
- )
- cmake_src_configure
-}
-
-pkg_postinst() {
- xdg_update
-}
-
-pkg_postrm() {
- xdg_update
-}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cadabra/
@ 2023-01-28 0:15 Sam James
0 siblings, 0 replies; 26+ messages in thread
From: Sam James @ 2023-01-28 0:15 UTC (permalink / raw
To: gentoo-commits
commit: b3901ebe86156ce85d8cf8461dfa2de91dd2b2c6
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 28 00:15:02 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 28 00:15:02 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3901ebe
sci-mathematics/cadabra: Stabilize 2.4.3.2 amd64, #892303
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-mathematics/cadabra/cadabra-2.4.3.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-mathematics/cadabra/cadabra-2.4.3.2.ebuild b/sci-mathematics/cadabra/cadabra-2.4.3.2.ebuild
index 85095564544c..6481aada846a 100644
--- a/sci-mathematics/cadabra/cadabra-2.4.3.2.ebuild
+++ b/sci-mathematics/cadabra/cadabra-2.4.3.2.ebuild
@@ -20,7 +20,7 @@ else
SRC_URI="https://github.com/kpeeters/${CADABRA}/archive/${PV}.tar.gz
-> ${P}.tar.gz"
S="${WORKDIR}"/${CADABRA}-${PV}
- KEYWORDS="~amd64 ~x86"
+ KEYWORDS="amd64 ~x86"
fi
LICENSE="GPL-3"
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cadabra/
@ 2023-03-08 20:39 Maciej Barć
0 siblings, 0 replies; 26+ messages in thread
From: Maciej Barć @ 2023-03-08 20:39 UTC (permalink / raw
To: gentoo-commits
commit: 59061ab950b7485acefae1780aa55d0081ec42ae
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 8 19:47:39 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Mar 8 20:39:27 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59061ab9
sci-mathematics/cadabra: enable python 3.11 support for unstable
Bug: https://bugs.gentoo.org/897234
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
.../cadabra/{cadabra-2.4.2.1.ebuild => cadabra-2.4.2.1-r1.ebuild} | 2 +-
.../cadabra/{cadabra-2.4.2.2.ebuild => cadabra-2.4.2.2-r1.ebuild} | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-mathematics/cadabra/cadabra-2.4.2.1.ebuild b/sci-mathematics/cadabra/cadabra-2.4.2.1-r1.ebuild
similarity index 98%
rename from sci-mathematics/cadabra/cadabra-2.4.2.1.ebuild
rename to sci-mathematics/cadabra/cadabra-2.4.2.1-r1.ebuild
index 85095564544c..729dbdb870fa 100644
--- a/sci-mathematics/cadabra/cadabra-2.4.2.1.ebuild
+++ b/sci-mathematics/cadabra/cadabra-2.4.2.1-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
MAJOR=$(ver_cut 1)
CADABRA=${PN}${MAJOR}
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
inherit xdg-utils python-single-r1 cmake
diff --git a/sci-mathematics/cadabra/cadabra-2.4.2.2.ebuild b/sci-mathematics/cadabra/cadabra-2.4.2.2-r1.ebuild
similarity index 98%
rename from sci-mathematics/cadabra/cadabra-2.4.2.2.ebuild
rename to sci-mathematics/cadabra/cadabra-2.4.2.2-r1.ebuild
index 85095564544c..729dbdb870fa 100644
--- a/sci-mathematics/cadabra/cadabra-2.4.2.2.ebuild
+++ b/sci-mathematics/cadabra/cadabra-2.4.2.2-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
MAJOR=$(ver_cut 1)
CADABRA=${PN}${MAJOR}
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
inherit xdg-utils python-single-r1 cmake
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cadabra/
@ 2023-04-20 0:03 Maciej Barć
0 siblings, 0 replies; 26+ messages in thread
From: Maciej Barć @ 2023-04-20 0:03 UTC (permalink / raw
To: gentoo-commits
commit: 85b9b26001214e6fcc60a1c17dafe9f136bc0289
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 19 23:41:10 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Apr 20 00:02:58 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85b9b260
sci-mathematics/cadabra: drop old 2.4.2.1-r1
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sci-mathematics/cadabra/Manifest | 1 -
sci-mathematics/cadabra/cadabra-2.4.2.1-r1.ebuild | 104 ----------------------
2 files changed, 105 deletions(-)
diff --git a/sci-mathematics/cadabra/Manifest b/sci-mathematics/cadabra/Manifest
index 517715df8c6b..3e5d8963098c 100644
--- a/sci-mathematics/cadabra/Manifest
+++ b/sci-mathematics/cadabra/Manifest
@@ -1,3 +1,2 @@
-DIST cadabra-2.4.2.1.tar.gz 25154623 BLAKE2B 99c24728c80c5909df338b9214774123c2aac63e475138b5059c0c7824685827765d7906c17200ab3bad63e08b3637c7eb67b2f25bb3477eab4ca02fcbedbb56 SHA512 9dd280dfaca3cf1def268bca7884b0d00287bba5bfb7b80e8bdf4759f91c83117d146af2a24e05d2a8bdc8a5be412529a805713861a56a7186c35fe07ff8d0db
DIST cadabra-2.4.2.2.tar.gz 25156757 BLAKE2B 05d4e490d1fa740b3dd505b72d5f4f298e62e234859e81b5bdf865e895ab820b3cd5d6db3ecda1cac0426b031cc5c87428d464bdb66b24cb9b945ababc860a90 SHA512 c5c55abad090d72f981341d94d3e299583f446a4bff1df994a60c740cede9e543b5cdee146dae2a846deec4adf446172e62b0f12deab8c89e7a085ffa7006acf
DIST cadabra-2.4.3.2.tar.gz 25157173 BLAKE2B 895b91a01f5dedc87294903959ee3aca0234016fce0094f4288c07e2d265f90f834670b9c50dcfa059e46564c773f73f049cf65db74f49932e442d15d68ecd88 SHA512 21c76804442397fa3d5fa407fc74395fc800d01c2a5d84270e9cf3abd875c8ff96e2ba8f8349037797ff4ef3d2b9033c2a1a6af45bb75c3a201acdd7357adb6f
diff --git a/sci-mathematics/cadabra/cadabra-2.4.2.1-r1.ebuild b/sci-mathematics/cadabra/cadabra-2.4.2.1-r1.ebuild
deleted file mode 100644
index 729dbdb870fa..000000000000
--- a/sci-mathematics/cadabra/cadabra-2.4.2.1-r1.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MAJOR=$(ver_cut 1)
-CADABRA=${PN}${MAJOR}
-
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit xdg-utils python-single-r1 cmake
-
-DESCRIPTION="Field-theory motivated approach to computer algebra"
-HOMEPAGE="https://cadabra.science/"
-
-if [[ "${PV}" == *9999* ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/kpeeters/${CADABRA}.git"
-else
- SRC_URI="https://github.com/kpeeters/${CADABRA}/archive/${PV}.tar.gz
- -> ${P}.tar.gz"
- S="${WORKDIR}"/${CADABRA}-${PV}
- KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="GPL-3"
-SLOT="0/${MAJOR}"
-IUSE="gtk +jupyter test"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- ${PYTHON_DEPS}
- app-text/dvipng
- dev-cpp/glibmm:2
- dev-db/sqlite:3=
- dev-libs/boost:=
- dev-libs/gmp:=[cxx]
- dev-libs/jsoncpp:=
- dev-libs/libsigc++:2
- dev-texlive/texlive-basic
- $(python_gen_cond_dep '
- dev-python/gmpy:2[${PYTHON_USEDEP}]
- dev-python/matplotlib[${PYTHON_USEDEP}]
- dev-python/sympy[${PYTHON_USEDEP}]
- jupyter? ( dev-python/jupyter[${PYTHON_USEDEP}] )
- ')
- gtk? ( dev-cpp/gtkmm:3.0 )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="$(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')"
-
-PATCHES=( "${FILESDIR}"/${CADABRA}-CMake.patch )
-
-DOCS=( CODE_OF_CONDUCT.md CONTRIBUTING.md JUPYTER.rst README.rst )
-
-# Because we do not want to pull in "_XDG_DEPEND" dependencies with USE="-gtk"
-xdg_update() {
- if use gtk ; then
- xdg_icon_cache_update
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
- fi
-}
-
-src_prepare() {
- # Clean postinst script which calls libtool and icon-cache update
- echo '#!/bin/sh' > "${S}"/config/postinst.in || die
-
- # Fix "PYTHON_EXECUTABLE" in Jupyter kernel
- sed -i "s|@PYTHON_EXECUTABLE@|${EPYTHON}|" \
- "${S}"/jupyterkernel/kernelspec/kernel.json.in || die
-
- cmake_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DENABLE_SYSTEM_JSONCPP=ON
- -DPACKAGING_MODE=ON
- -DUSE_PYTHON_3=ON
- -DBUILD_AS_CPP_LIBRARY=OFF
- -DENABLE_JUPYTER=OFF # special Xeus Jupyter kernel (uses xtl)
- -DENABLE_MATHEMATICA=OFF
- -DINSTALL_TARGETS_ONLY=OFF
- -DBUILD_TESTS=$(usex test)
- -DENABLE_FRONTEND=$(usex gtk)
- -DENABLE_PY_JUPYTER=$(usex jupyter)
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
- python_optimize
-}
-
-pkg_postinst() {
- xdg_update
-}
-
-pkg_postrm() {
- xdg_update
-}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cadabra/
@ 2023-04-22 23:18 Maciej Barć
0 siblings, 0 replies; 26+ messages in thread
From: Maciej Barć @ 2023-04-22 23:18 UTC (permalink / raw
To: gentoo-commits
commit: 9c4fdd3c1011f8c7d31f9dc6e5b0c52ee8597b24
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 22 21:46:19 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Apr 22 23:18:25 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c4fdd3c
sci-mathematics/cadabra: drop old 2.4.2.2-r1
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sci-mathematics/cadabra/Manifest | 1 -
sci-mathematics/cadabra/cadabra-2.4.2.2-r1.ebuild | 104 ----------------------
2 files changed, 105 deletions(-)
diff --git a/sci-mathematics/cadabra/Manifest b/sci-mathematics/cadabra/Manifest
index 3e5d8963098c..b55b0b9b6f48 100644
--- a/sci-mathematics/cadabra/Manifest
+++ b/sci-mathematics/cadabra/Manifest
@@ -1,2 +1 @@
-DIST cadabra-2.4.2.2.tar.gz 25156757 BLAKE2B 05d4e490d1fa740b3dd505b72d5f4f298e62e234859e81b5bdf865e895ab820b3cd5d6db3ecda1cac0426b031cc5c87428d464bdb66b24cb9b945ababc860a90 SHA512 c5c55abad090d72f981341d94d3e299583f446a4bff1df994a60c740cede9e543b5cdee146dae2a846deec4adf446172e62b0f12deab8c89e7a085ffa7006acf
DIST cadabra-2.4.3.2.tar.gz 25157173 BLAKE2B 895b91a01f5dedc87294903959ee3aca0234016fce0094f4288c07e2d265f90f834670b9c50dcfa059e46564c773f73f049cf65db74f49932e442d15d68ecd88 SHA512 21c76804442397fa3d5fa407fc74395fc800d01c2a5d84270e9cf3abd875c8ff96e2ba8f8349037797ff4ef3d2b9033c2a1a6af45bb75c3a201acdd7357adb6f
diff --git a/sci-mathematics/cadabra/cadabra-2.4.2.2-r1.ebuild b/sci-mathematics/cadabra/cadabra-2.4.2.2-r1.ebuild
deleted file mode 100644
index 729dbdb870fa..000000000000
--- a/sci-mathematics/cadabra/cadabra-2.4.2.2-r1.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MAJOR=$(ver_cut 1)
-CADABRA=${PN}${MAJOR}
-
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit xdg-utils python-single-r1 cmake
-
-DESCRIPTION="Field-theory motivated approach to computer algebra"
-HOMEPAGE="https://cadabra.science/"
-
-if [[ "${PV}" == *9999* ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/kpeeters/${CADABRA}.git"
-else
- SRC_URI="https://github.com/kpeeters/${CADABRA}/archive/${PV}.tar.gz
- -> ${P}.tar.gz"
- S="${WORKDIR}"/${CADABRA}-${PV}
- KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="GPL-3"
-SLOT="0/${MAJOR}"
-IUSE="gtk +jupyter test"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- ${PYTHON_DEPS}
- app-text/dvipng
- dev-cpp/glibmm:2
- dev-db/sqlite:3=
- dev-libs/boost:=
- dev-libs/gmp:=[cxx]
- dev-libs/jsoncpp:=
- dev-libs/libsigc++:2
- dev-texlive/texlive-basic
- $(python_gen_cond_dep '
- dev-python/gmpy:2[${PYTHON_USEDEP}]
- dev-python/matplotlib[${PYTHON_USEDEP}]
- dev-python/sympy[${PYTHON_USEDEP}]
- jupyter? ( dev-python/jupyter[${PYTHON_USEDEP}] )
- ')
- gtk? ( dev-cpp/gtkmm:3.0 )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="$(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')"
-
-PATCHES=( "${FILESDIR}"/${CADABRA}-CMake.patch )
-
-DOCS=( CODE_OF_CONDUCT.md CONTRIBUTING.md JUPYTER.rst README.rst )
-
-# Because we do not want to pull in "_XDG_DEPEND" dependencies with USE="-gtk"
-xdg_update() {
- if use gtk ; then
- xdg_icon_cache_update
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
- fi
-}
-
-src_prepare() {
- # Clean postinst script which calls libtool and icon-cache update
- echo '#!/bin/sh' > "${S}"/config/postinst.in || die
-
- # Fix "PYTHON_EXECUTABLE" in Jupyter kernel
- sed -i "s|@PYTHON_EXECUTABLE@|${EPYTHON}|" \
- "${S}"/jupyterkernel/kernelspec/kernel.json.in || die
-
- cmake_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DENABLE_SYSTEM_JSONCPP=ON
- -DPACKAGING_MODE=ON
- -DUSE_PYTHON_3=ON
- -DBUILD_AS_CPP_LIBRARY=OFF
- -DENABLE_JUPYTER=OFF # special Xeus Jupyter kernel (uses xtl)
- -DENABLE_MATHEMATICA=OFF
- -DINSTALL_TARGETS_ONLY=OFF
- -DBUILD_TESTS=$(usex test)
- -DENABLE_FRONTEND=$(usex gtk)
- -DENABLE_PY_JUPYTER=$(usex jupyter)
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
- python_optimize
-}
-
-pkg_postinst() {
- xdg_update
-}
-
-pkg_postrm() {
- xdg_update
-}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cadabra/
@ 2023-04-22 23:18 Maciej Barć
0 siblings, 0 replies; 26+ messages in thread
From: Maciej Barć @ 2023-04-22 23:18 UTC (permalink / raw
To: gentoo-commits
commit: 5944d26a3320e3faeb0b6c893d93e64120f0c9ba
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 22 21:48:16 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Apr 22 23:18:25 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5944d26a
sci-mathematics/cadabra: gtk -> gui; minor tweaks
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sci-mathematics/cadabra/cadabra-2.4.3.2-r1.ebuild | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/sci-mathematics/cadabra/cadabra-2.4.3.2-r1.ebuild b/sci-mathematics/cadabra/cadabra-2.4.3.2-r1.ebuild
index 5df5e14eacad..dc848e56ac06 100644
--- a/sci-mathematics/cadabra/cadabra-2.4.3.2-r1.ebuild
+++ b/sci-mathematics/cadabra/cadabra-2.4.3.2-r1.ebuild
@@ -11,7 +11,8 @@ PYTHON_COMPAT=( python3_{10..11} )
inherit xdg-utils python-single-r1 cmake
DESCRIPTION="Field-theory motivated approach to computer algebra"
-HOMEPAGE="https://cadabra.science/"
+HOMEPAGE="https://cadabra.science/
+ https://github.com/kpeeters/cadabra2/"
if [[ "${PV}" == *9999* ]] ; then
inherit git-r3
@@ -25,7 +26,7 @@ fi
LICENSE="GPL-3"
SLOT="0/${MAJOR}"
-IUSE="gtk +jupyter test"
+IUSE="gui +jupyter test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RESTRICT="!test? ( test )"
@@ -45,7 +46,7 @@ RDEPEND="
dev-python/sympy[${PYTHON_USEDEP}]
jupyter? ( dev-python/jupyter[${PYTHON_USEDEP}] )
')
- gtk? ( dev-cpp/gtkmm:3.0 )
+ gui? ( dev-cpp/gtkmm:3.0 )
"
DEPEND="${RDEPEND}"
BDEPEND="$(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')"
@@ -54,9 +55,8 @@ PATCHES=( "${FILESDIR}"/${CADABRA}-CMake.patch )
DOCS=( CODE_OF_CONDUCT.md CONTRIBUTING.md JUPYTER.rst README.rst )
-# Because we do not want to pull in "_XDG_DEPEND" dependencies with USE="-gtk"
xdg_update() {
- if use gtk ; then
+ if use gui ; then
xdg_icon_cache_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
@@ -75,7 +75,7 @@ src_prepare() {
}
src_configure() {
- local mycmakeargs=(
+ local -a mycmakeargs=(
-DENABLE_SYSTEM_JSONCPP=ON
-DPACKAGING_MODE=ON
-DUSE_PYTHON_3=ON
@@ -84,7 +84,7 @@ src_configure() {
-DENABLE_MATHEMATICA=OFF
-DINSTALL_TARGETS_ONLY=OFF
-DBUILD_TESTS=$(usex test)
- -DENABLE_FRONTEND=$(usex gtk)
+ -DENABLE_FRONTEND=$(usex gui)
-DENABLE_PY_JUPYTER=$(usex jupyter)
)
cmake_src_configure
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cadabra/
@ 2023-04-22 23:18 Maciej Barć
0 siblings, 0 replies; 26+ messages in thread
From: Maciej Barć @ 2023-04-22 23:18 UTC (permalink / raw
To: gentoo-commits
commit: d87f3fe34aa0009275e4fcdfbc9f7794e839054f
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 22 21:45:57 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Apr 22 23:18:25 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d87f3fe3
sci-mathematics/cadabra: update PYTHON_COMPAT
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
.../cadabra/{cadabra-2.4.3.2.ebuild => cadabra-2.4.3.2-r1.ebuild} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-mathematics/cadabra/cadabra-2.4.3.2.ebuild b/sci-mathematics/cadabra/cadabra-2.4.3.2-r1.ebuild
similarity index 98%
rename from sci-mathematics/cadabra/cadabra-2.4.3.2.ebuild
rename to sci-mathematics/cadabra/cadabra-2.4.3.2-r1.ebuild
index 6481aada846a..5df5e14eacad 100644
--- a/sci-mathematics/cadabra/cadabra-2.4.3.2.ebuild
+++ b/sci-mathematics/cadabra/cadabra-2.4.3.2-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
MAJOR=$(ver_cut 1)
CADABRA=${PN}${MAJOR}
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{10..11} )
inherit xdg-utils python-single-r1 cmake
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cadabra/
@ 2023-09-09 18:14 Maciej Barć
0 siblings, 0 replies; 26+ messages in thread
From: Maciej Barć @ 2023-09-09 18:14 UTC (permalink / raw
To: gentoo-commits
commit: 2506bb149151491fa7258a85b658c58eb896b38f
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 9 15:43:36 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Sep 9 18:14:00 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2506bb14
sci-mathematics/cadabra: bump to 2.4.4.1
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sci-mathematics/cadabra/Manifest | 1 +
sci-mathematics/cadabra/cadabra-2.4.4.1.ebuild | 104 +++++++++++++++++++++++++
2 files changed, 105 insertions(+)
diff --git a/sci-mathematics/cadabra/Manifest b/sci-mathematics/cadabra/Manifest
index b55b0b9b6f48..0face153555b 100644
--- a/sci-mathematics/cadabra/Manifest
+++ b/sci-mathematics/cadabra/Manifest
@@ -1 +1,2 @@
DIST cadabra-2.4.3.2.tar.gz 25157173 BLAKE2B 895b91a01f5dedc87294903959ee3aca0234016fce0094f4288c07e2d265f90f834670b9c50dcfa059e46564c773f73f049cf65db74f49932e442d15d68ecd88 SHA512 21c76804442397fa3d5fa407fc74395fc800d01c2a5d84270e9cf3abd875c8ff96e2ba8f8349037797ff4ef3d2b9033c2a1a6af45bb75c3a201acdd7357adb6f
+DIST cadabra-2.4.4.1.tar.gz 25171405 BLAKE2B 7505b5b56c4b9f18c63535cac1854a8926f985729ac9b284146d7d604c4774436510f1fa04c615efb4e06ae4b077859e391046b2d07565586afc0d9dac66156a SHA512 9e81889dabeff1ad93f4d8fc01960c11747d2a19d0cb6d8f872cff217ffe7bd6b92fcd5ce49cf5f2c089c440a3abdb0358f5f470b4de616ce17c42a23864caf6
diff --git a/sci-mathematics/cadabra/cadabra-2.4.4.1.ebuild b/sci-mathematics/cadabra/cadabra-2.4.4.1.ebuild
new file mode 100644
index 000000000000..4452c72b8c88
--- /dev/null
+++ b/sci-mathematics/cadabra/cadabra-2.4.4.1.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MAJOR=$(ver_cut 1)
+CADABRA=${PN}${MAJOR}
+
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit xdg-utils python-single-r1 cmake
+
+DESCRIPTION="Field-theory motivated approach to computer algebra"
+HOMEPAGE="https://cadabra.science/
+ https://github.com/kpeeters/cadabra2/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/kpeeters/${CADABRA}.git"
+else
+ SRC_URI="https://github.com/kpeeters/${CADABRA}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}"/${CADABRA}-${PV}
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3"
+SLOT="0/${MAJOR}"
+IUSE="gui +jupyter test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ app-text/dvipng
+ dev-cpp/glibmm:2
+ dev-db/sqlite:3=
+ dev-libs/boost:=
+ dev-libs/gmp:=[cxx]
+ dev-libs/jsoncpp:=
+ dev-libs/libsigc++:2
+ dev-texlive/texlive-basic
+ $(python_gen_cond_dep '
+ dev-python/gmpy:2[${PYTHON_USEDEP}]
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+ dev-python/sympy[${PYTHON_USEDEP}]
+ jupyter? ( dev-python/jupyter[${PYTHON_USEDEP}] )
+ ')
+ gui? ( dev-cpp/gtkmm:3.0 )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="$(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')"
+
+PATCHES=( "${FILESDIR}"/${CADABRA}-CMake.patch )
+
+DOCS=( CODE_OF_CONDUCT.md CONTRIBUTING.md JUPYTER.rst README.rst )
+
+xdg_update() {
+ if use gui ; then
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+ fi
+}
+
+src_prepare() {
+ # Clean postinst script which calls libtool and icon-cache update
+ echo '#!/bin/sh' > "${S}"/config/postinst.in || die
+
+ # Fix "PYTHON_EXECUTABLE" in Jupyter kernel
+ sed -i "s|@PYTHON_EXECUTABLE@|${EPYTHON}|" \
+ "${S}"/jupyterkernel/kernelspec/kernel.json.in || die
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ local -a mycmakeargs=(
+ -DENABLE_SYSTEM_JSONCPP=ON
+ -DPACKAGING_MODE=ON
+ -DUSE_PYTHON_3=ON
+ -DBUILD_AS_CPP_LIBRARY=OFF
+ -DENABLE_JUPYTER=OFF # special Xeus Jupyter kernel (uses xtl)
+ -DENABLE_MATHEMATICA=OFF
+ -DINSTALL_TARGETS_ONLY=OFF
+ -DBUILD_TESTS=$(usex test)
+ -DENABLE_FRONTEND=$(usex gui)
+ -DENABLE_PY_JUPYTER=$(usex jupyter)
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ python_optimize
+}
+
+pkg_postinst() {
+ xdg_update
+}
+
+pkg_postrm() {
+ xdg_update
+}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cadabra/
@ 2023-10-18 17:12 Sam James
0 siblings, 0 replies; 26+ messages in thread
From: Sam James @ 2023-10-18 17:12 UTC (permalink / raw
To: gentoo-commits
commit: 1300076c502a432fab23afa1c8bb4468fdc8d889
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 18 17:11:31 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 18 17:12:23 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1300076c
sci-mathematics/cadabra: Stabilize 2.4.4.1 amd64, #915950
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-mathematics/cadabra/cadabra-2.4.4.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-mathematics/cadabra/cadabra-2.4.4.1.ebuild b/sci-mathematics/cadabra/cadabra-2.4.4.1.ebuild
index 4452c72b8c88..dc848e56ac06 100644
--- a/sci-mathematics/cadabra/cadabra-2.4.4.1.ebuild
+++ b/sci-mathematics/cadabra/cadabra-2.4.4.1.ebuild
@@ -21,7 +21,7 @@ else
SRC_URI="https://github.com/kpeeters/${CADABRA}/archive/${PV}.tar.gz
-> ${P}.tar.gz"
S="${WORKDIR}"/${CADABRA}-${PV}
- KEYWORDS="~amd64 ~x86"
+ KEYWORDS="amd64 ~x86"
fi
LICENSE="GPL-3"
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cadabra/
@ 2024-01-25 20:03 Maciej Barć
0 siblings, 0 replies; 26+ messages in thread
From: Maciej Barć @ 2024-01-25 20:03 UTC (permalink / raw
To: gentoo-commits
commit: 0799f4ccb85cec65e938988e7c21676604eb6077
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 25 16:30:20 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Jan 25 20:03:56 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0799f4cc
sci-mathematics/cadabra: drop old 2.4.3.2-r1
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sci-mathematics/cadabra/Manifest | 1 -
sci-mathematics/cadabra/cadabra-2.4.3.2-r1.ebuild | 104 ----------------------
2 files changed, 105 deletions(-)
diff --git a/sci-mathematics/cadabra/Manifest b/sci-mathematics/cadabra/Manifest
index 0face153555b..47be1055f543 100644
--- a/sci-mathematics/cadabra/Manifest
+++ b/sci-mathematics/cadabra/Manifest
@@ -1,2 +1 @@
-DIST cadabra-2.4.3.2.tar.gz 25157173 BLAKE2B 895b91a01f5dedc87294903959ee3aca0234016fce0094f4288c07e2d265f90f834670b9c50dcfa059e46564c773f73f049cf65db74f49932e442d15d68ecd88 SHA512 21c76804442397fa3d5fa407fc74395fc800d01c2a5d84270e9cf3abd875c8ff96e2ba8f8349037797ff4ef3d2b9033c2a1a6af45bb75c3a201acdd7357adb6f
DIST cadabra-2.4.4.1.tar.gz 25171405 BLAKE2B 7505b5b56c4b9f18c63535cac1854a8926f985729ac9b284146d7d604c4774436510f1fa04c615efb4e06ae4b077859e391046b2d07565586afc0d9dac66156a SHA512 9e81889dabeff1ad93f4d8fc01960c11747d2a19d0cb6d8f872cff217ffe7bd6b92fcd5ce49cf5f2c089c440a3abdb0358f5f470b4de616ce17c42a23864caf6
diff --git a/sci-mathematics/cadabra/cadabra-2.4.3.2-r1.ebuild b/sci-mathematics/cadabra/cadabra-2.4.3.2-r1.ebuild
deleted file mode 100644
index dc848e56ac06..000000000000
--- a/sci-mathematics/cadabra/cadabra-2.4.3.2-r1.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MAJOR=$(ver_cut 1)
-CADABRA=${PN}${MAJOR}
-
-PYTHON_COMPAT=( python3_{10..11} )
-
-inherit xdg-utils python-single-r1 cmake
-
-DESCRIPTION="Field-theory motivated approach to computer algebra"
-HOMEPAGE="https://cadabra.science/
- https://github.com/kpeeters/cadabra2/"
-
-if [[ "${PV}" == *9999* ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/kpeeters/${CADABRA}.git"
-else
- SRC_URI="https://github.com/kpeeters/${CADABRA}/archive/${PV}.tar.gz
- -> ${P}.tar.gz"
- S="${WORKDIR}"/${CADABRA}-${PV}
- KEYWORDS="amd64 ~x86"
-fi
-
-LICENSE="GPL-3"
-SLOT="0/${MAJOR}"
-IUSE="gui +jupyter test"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- ${PYTHON_DEPS}
- app-text/dvipng
- dev-cpp/glibmm:2
- dev-db/sqlite:3=
- dev-libs/boost:=
- dev-libs/gmp:=[cxx]
- dev-libs/jsoncpp:=
- dev-libs/libsigc++:2
- dev-texlive/texlive-basic
- $(python_gen_cond_dep '
- dev-python/gmpy:2[${PYTHON_USEDEP}]
- dev-python/matplotlib[${PYTHON_USEDEP}]
- dev-python/sympy[${PYTHON_USEDEP}]
- jupyter? ( dev-python/jupyter[${PYTHON_USEDEP}] )
- ')
- gui? ( dev-cpp/gtkmm:3.0 )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="$(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')"
-
-PATCHES=( "${FILESDIR}"/${CADABRA}-CMake.patch )
-
-DOCS=( CODE_OF_CONDUCT.md CONTRIBUTING.md JUPYTER.rst README.rst )
-
-xdg_update() {
- if use gui ; then
- xdg_icon_cache_update
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
- fi
-}
-
-src_prepare() {
- # Clean postinst script which calls libtool and icon-cache update
- echo '#!/bin/sh' > "${S}"/config/postinst.in || die
-
- # Fix "PYTHON_EXECUTABLE" in Jupyter kernel
- sed -i "s|@PYTHON_EXECUTABLE@|${EPYTHON}|" \
- "${S}"/jupyterkernel/kernelspec/kernel.json.in || die
-
- cmake_src_prepare
-}
-
-src_configure() {
- local -a mycmakeargs=(
- -DENABLE_SYSTEM_JSONCPP=ON
- -DPACKAGING_MODE=ON
- -DUSE_PYTHON_3=ON
- -DBUILD_AS_CPP_LIBRARY=OFF
- -DENABLE_JUPYTER=OFF # special Xeus Jupyter kernel (uses xtl)
- -DENABLE_MATHEMATICA=OFF
- -DINSTALL_TARGETS_ONLY=OFF
- -DBUILD_TESTS=$(usex test)
- -DENABLE_FRONTEND=$(usex gui)
- -DENABLE_PY_JUPYTER=$(usex jupyter)
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
- python_optimize
-}
-
-pkg_postinst() {
- xdg_update
-}
-
-pkg_postrm() {
- xdg_update
-}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cadabra/
@ 2024-01-25 20:03 Maciej Barć
0 siblings, 0 replies; 26+ messages in thread
From: Maciej Barć @ 2024-01-25 20:03 UTC (permalink / raw
To: gentoo-commits
commit: 8a105800236eb0fe00497b4b3e3d38e7806e7c33
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 25 16:45:22 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Jan 25 20:03:57 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a105800
sci-mathematics/cadabra: bump to 2.4.5.4
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sci-mathematics/cadabra/Manifest | 1 +
sci-mathematics/cadabra/cadabra-2.4.5.4.ebuild | 111 +++++++++++++++++++++++++
2 files changed, 112 insertions(+)
diff --git a/sci-mathematics/cadabra/Manifest b/sci-mathematics/cadabra/Manifest
index 47be1055f543..f952e30338b3 100644
--- a/sci-mathematics/cadabra/Manifest
+++ b/sci-mathematics/cadabra/Manifest
@@ -1 +1,2 @@
DIST cadabra-2.4.4.1.tar.gz 25171405 BLAKE2B 7505b5b56c4b9f18c63535cac1854a8926f985729ac9b284146d7d604c4774436510f1fa04c615efb4e06ae4b077859e391046b2d07565586afc0d9dac66156a SHA512 9e81889dabeff1ad93f4d8fc01960c11747d2a19d0cb6d8f872cff217ffe7bd6b92fcd5ce49cf5f2c089c440a3abdb0358f5f470b4de616ce17c42a23864caf6
+DIST cadabra-2.4.5.4.tar.gz 26825874 BLAKE2B 90562e4ddb08a99a38f32d5cf3fe237b2ca5ece80e4bf70caa8db23a2b6af246b289eb41e7d366c5a242e6e06a680ab0917deb43f29efcf7d6703338c7e97d00 SHA512 907e291880aac84a4f5695f77dd34512c13dba320b38fee59c765b070235c9ef777f6e188c675c8247f56144624edb84459d8b500e4c074731633a2b9cf9ee74
diff --git a/sci-mathematics/cadabra/cadabra-2.4.5.4.ebuild b/sci-mathematics/cadabra/cadabra-2.4.5.4.ebuild
new file mode 100644
index 000000000000..674e4a11293b
--- /dev/null
+++ b/sci-mathematics/cadabra/cadabra-2.4.5.4.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MAJOR="$(ver_cut 1)"
+CADABRA="${PN}${MAJOR}"
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit xdg-utils python-single-r1 cmake
+
+DESCRIPTION="Field-theory motivated approach to computer algebra"
+HOMEPAGE="https://cadabra.science/
+ https://github.com/kpeeters/cadabra2/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/kpeeters/${CADABRA}.git"
+else
+ SRC_URI="https://github.com/kpeeters/${CADABRA}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}/${CADABRA}-${PV}"
+
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3"
+SLOT="0/${MAJOR}"
+IUSE="gui +jupyter test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ app-text/dvipng
+ dev-cpp/glibmm:2
+ dev-db/sqlite:3=
+ dev-libs/boost:=
+ dev-libs/gmp:=[cxx]
+ dev-libs/jsoncpp:=
+ dev-libs/libsigc++:2
+ dev-texlive/texlive-basic
+ $(python_gen_cond_dep '
+ dev-python/gmpy:2[${PYTHON_USEDEP}]
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+ dev-python/sympy[${PYTHON_USEDEP}]
+ jupyter? ( dev-python/jupyter[${PYTHON_USEDEP}] )
+ ')
+ gui? (
+ dev-cpp/gtkmm:3.0
+ )
+"
+DEPEND="
+ ${RDEPEND}
+"
+BDEPEND="
+ $(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')
+"
+
+PATCHES=( "${FILESDIR}/${CADABRA}-CMake.patch" )
+
+DOCS=( CODE_OF_CONDUCT.md CONTRIBUTING.md JUPYTER.rst README.rst )
+
+xdg_update() {
+ if use gui ; then
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+ fi
+}
+
+src_prepare() {
+ # Clean postinst script which calls libtool and icon-cache update
+ echo '#!/bin/sh' > "${S}/config/postinst.in" || die
+
+ # Fix "PYTHON_EXECUTABLE" in Jupyter kernel
+ sed -i "s|@PYTHON_EXECUTABLE@|${EPYTHON}|" \
+ "${S}/jupyterkernel/kernelspec/kernel.json.in" || die
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ local -a mycmakeargs=(
+ -DENABLE_SYSTEM_JSONCPP=ON
+ -DPACKAGING_MODE=ON
+ -DUSE_PYTHON_3=ON
+ -DBUILD_AS_CPP_LIBRARY=OFF
+ -DENABLE_JUPYTER=OFF # special Xeus Jupyter kernel (uses xtl)
+ -DENABLE_MATHEMATICA=OFF
+ -DINSTALL_TARGETS_ONLY=OFF
+ -DBUILD_TESTS="$(usex test)"
+ -DENABLE_FRONTEND="$(usex gui)"
+ -DENABLE_PY_JUPYTER="$(usex jupyter)"
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ python_optimize
+}
+
+pkg_postinst() {
+ xdg_update
+}
+
+pkg_postrm() {
+ xdg_update
+}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cadabra/
@ 2024-02-28 0:37 Sam James
0 siblings, 0 replies; 26+ messages in thread
From: Sam James @ 2024-02-28 0:37 UTC (permalink / raw
To: gentoo-commits
commit: 17869c4b7cfb8801deec282b8db1446f9ccb8690
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 28 00:37:03 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 28 00:37:03 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17869c4b
sci-mathematics/cadabra: Stabilize 2.4.5.4 amd64, #925656
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-mathematics/cadabra/cadabra-2.4.5.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-mathematics/cadabra/cadabra-2.4.5.4.ebuild b/sci-mathematics/cadabra/cadabra-2.4.5.4.ebuild
index 674e4a11293b..6cf0e0d717a5 100644
--- a/sci-mathematics/cadabra/cadabra-2.4.5.4.ebuild
+++ b/sci-mathematics/cadabra/cadabra-2.4.5.4.ebuild
@@ -22,7 +22,7 @@ else
-> ${P}.tar.gz"
S="${WORKDIR}/${CADABRA}-${PV}"
- KEYWORDS="~amd64 ~x86"
+ KEYWORDS="amd64 ~x86"
fi
LICENSE="GPL-3"
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cadabra/
@ 2024-04-17 22:10 Maciej Barć
0 siblings, 0 replies; 26+ messages in thread
From: Maciej Barć @ 2024-04-17 22:10 UTC (permalink / raw
To: gentoo-commits
commit: 3a72f7a44aaab3c152fc7b3a4635972c28863eee
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 17 19:42:40 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Apr 17 22:10:40 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a72f7a4
sci-mathematics/cadabra: drop old 2.4.4.1
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sci-mathematics/cadabra/Manifest | 1 -
sci-mathematics/cadabra/cadabra-2.4.4.1.ebuild | 104 -------------------------
2 files changed, 105 deletions(-)
diff --git a/sci-mathematics/cadabra/Manifest b/sci-mathematics/cadabra/Manifest
index f952e30338b3..7301e0ff56c0 100644
--- a/sci-mathematics/cadabra/Manifest
+++ b/sci-mathematics/cadabra/Manifest
@@ -1,2 +1 @@
-DIST cadabra-2.4.4.1.tar.gz 25171405 BLAKE2B 7505b5b56c4b9f18c63535cac1854a8926f985729ac9b284146d7d604c4774436510f1fa04c615efb4e06ae4b077859e391046b2d07565586afc0d9dac66156a SHA512 9e81889dabeff1ad93f4d8fc01960c11747d2a19d0cb6d8f872cff217ffe7bd6b92fcd5ce49cf5f2c089c440a3abdb0358f5f470b4de616ce17c42a23864caf6
DIST cadabra-2.4.5.4.tar.gz 26825874 BLAKE2B 90562e4ddb08a99a38f32d5cf3fe237b2ca5ece80e4bf70caa8db23a2b6af246b289eb41e7d366c5a242e6e06a680ab0917deb43f29efcf7d6703338c7e97d00 SHA512 907e291880aac84a4f5695f77dd34512c13dba320b38fee59c765b070235c9ef777f6e188c675c8247f56144624edb84459d8b500e4c074731633a2b9cf9ee74
diff --git a/sci-mathematics/cadabra/cadabra-2.4.4.1.ebuild b/sci-mathematics/cadabra/cadabra-2.4.4.1.ebuild
deleted file mode 100644
index dc848e56ac06..000000000000
--- a/sci-mathematics/cadabra/cadabra-2.4.4.1.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MAJOR=$(ver_cut 1)
-CADABRA=${PN}${MAJOR}
-
-PYTHON_COMPAT=( python3_{10..11} )
-
-inherit xdg-utils python-single-r1 cmake
-
-DESCRIPTION="Field-theory motivated approach to computer algebra"
-HOMEPAGE="https://cadabra.science/
- https://github.com/kpeeters/cadabra2/"
-
-if [[ "${PV}" == *9999* ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/kpeeters/${CADABRA}.git"
-else
- SRC_URI="https://github.com/kpeeters/${CADABRA}/archive/${PV}.tar.gz
- -> ${P}.tar.gz"
- S="${WORKDIR}"/${CADABRA}-${PV}
- KEYWORDS="amd64 ~x86"
-fi
-
-LICENSE="GPL-3"
-SLOT="0/${MAJOR}"
-IUSE="gui +jupyter test"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- ${PYTHON_DEPS}
- app-text/dvipng
- dev-cpp/glibmm:2
- dev-db/sqlite:3=
- dev-libs/boost:=
- dev-libs/gmp:=[cxx]
- dev-libs/jsoncpp:=
- dev-libs/libsigc++:2
- dev-texlive/texlive-basic
- $(python_gen_cond_dep '
- dev-python/gmpy:2[${PYTHON_USEDEP}]
- dev-python/matplotlib[${PYTHON_USEDEP}]
- dev-python/sympy[${PYTHON_USEDEP}]
- jupyter? ( dev-python/jupyter[${PYTHON_USEDEP}] )
- ')
- gui? ( dev-cpp/gtkmm:3.0 )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="$(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')"
-
-PATCHES=( "${FILESDIR}"/${CADABRA}-CMake.patch )
-
-DOCS=( CODE_OF_CONDUCT.md CONTRIBUTING.md JUPYTER.rst README.rst )
-
-xdg_update() {
- if use gui ; then
- xdg_icon_cache_update
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
- fi
-}
-
-src_prepare() {
- # Clean postinst script which calls libtool and icon-cache update
- echo '#!/bin/sh' > "${S}"/config/postinst.in || die
-
- # Fix "PYTHON_EXECUTABLE" in Jupyter kernel
- sed -i "s|@PYTHON_EXECUTABLE@|${EPYTHON}|" \
- "${S}"/jupyterkernel/kernelspec/kernel.json.in || die
-
- cmake_src_prepare
-}
-
-src_configure() {
- local -a mycmakeargs=(
- -DENABLE_SYSTEM_JSONCPP=ON
- -DPACKAGING_MODE=ON
- -DUSE_PYTHON_3=ON
- -DBUILD_AS_CPP_LIBRARY=OFF
- -DENABLE_JUPYTER=OFF # special Xeus Jupyter kernel (uses xtl)
- -DENABLE_MATHEMATICA=OFF
- -DINSTALL_TARGETS_ONLY=OFF
- -DBUILD_TESTS=$(usex test)
- -DENABLE_FRONTEND=$(usex gui)
- -DENABLE_PY_JUPYTER=$(usex jupyter)
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
- python_optimize
-}
-
-pkg_postinst() {
- xdg_update
-}
-
-pkg_postrm() {
- xdg_update
-}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cadabra/
@ 2024-04-17 22:10 Maciej Barć
0 siblings, 0 replies; 26+ messages in thread
From: Maciej Barć @ 2024-04-17 22:10 UTC (permalink / raw
To: gentoo-commits
commit: 99d08675226079b4a661401b31171db6012037ed
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 17 19:54:21 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Apr 17 22:10:41 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99d08675
sci-mathematics/cadabra: bump to 2.4.5.5
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sci-mathematics/cadabra/Manifest | 1 +
sci-mathematics/cadabra/cadabra-2.4.5.5.ebuild | 112 +++++++++++++++++++++++++
2 files changed, 113 insertions(+)
diff --git a/sci-mathematics/cadabra/Manifest b/sci-mathematics/cadabra/Manifest
index 7301e0ff56c0..a3d9c708b387 100644
--- a/sci-mathematics/cadabra/Manifest
+++ b/sci-mathematics/cadabra/Manifest
@@ -1 +1,2 @@
DIST cadabra-2.4.5.4.tar.gz 26825874 BLAKE2B 90562e4ddb08a99a38f32d5cf3fe237b2ca5ece80e4bf70caa8db23a2b6af246b289eb41e7d366c5a242e6e06a680ab0917deb43f29efcf7d6703338c7e97d00 SHA512 907e291880aac84a4f5695f77dd34512c13dba320b38fee59c765b070235c9ef777f6e188c675c8247f56144624edb84459d8b500e4c074731633a2b9cf9ee74
+DIST cadabra-2.4.5.5.tar.gz 26827810 BLAKE2B ba8eaa9eaab6ec1832dc9dd0ff47710a503b6a4a33124cdd3021144177b471c2b3616a7e61f4ec32fd464270e45cdc460d2bcdb5bd39fa853a00bbfefba58c92 SHA512 931537cb1b72194cbe89dc2231fa50c5550e14e7f259cfbd19bc2ffdf9d558273b60cd36fdfe0578b05e26b74cb362e1411c4c4706293437b867b71ee7661411
diff --git a/sci-mathematics/cadabra/cadabra-2.4.5.5.ebuild b/sci-mathematics/cadabra/cadabra-2.4.5.5.ebuild
new file mode 100644
index 000000000000..de5c161c94ef
--- /dev/null
+++ b/sci-mathematics/cadabra/cadabra-2.4.5.5.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MAJOR="$(ver_cut 1)"
+CADABRA="${PN}${MAJOR}"
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit xdg-utils python-single-r1 cmake
+
+DESCRIPTION="Field-theory motivated approach to computer algebra"
+HOMEPAGE="https://cadabra.science/
+ https://github.com/kpeeters/cadabra2/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/kpeeters/${CADABRA}.git"
+else
+ SRC_URI="https://github.com/kpeeters/${CADABRA}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}/${CADABRA}-${PV}"
+
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3"
+SLOT="0/${MAJOR}"
+IUSE="gui +jupyter test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ app-text/dvipng
+ dev-cpp/glibmm:2
+ dev-db/sqlite:3=
+ dev-libs/boost:=
+ dev-libs/gmp:=[cxx]
+ dev-libs/jsoncpp:=
+ dev-libs/libsigc++:2
+ dev-texlive/texlive-basic
+ $(python_gen_cond_dep '
+ dev-python/gmpy:2[${PYTHON_USEDEP}]
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+ dev-python/sympy[${PYTHON_USEDEP}]
+ jupyter? ( dev-python/jupyter[${PYTHON_USEDEP}] )
+ ')
+ gui? (
+ dev-cpp/gtkmm:3.0
+ )
+"
+DEPEND="
+ ${RDEPEND}
+"
+BDEPEND="
+ $(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')
+"
+
+PATCHES=( "${FILESDIR}/${CADABRA}-CMake.patch" )
+
+DOCS=( CODE_OF_CONDUCT.md CONTRIBUTING.md JUPYTER.rst README.rst )
+
+xdg_update() {
+ if use gui ; then
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+ fi
+}
+
+src_prepare() {
+ # Clean postinst script which calls libtool and icon-cache update
+ echo '#!/bin/sh' > "${S}/config/postinst.in" || die
+
+ # Fix "PYTHON_EXECUTABLE" in Jupyter kernel
+ sed -i "s|@PYTHON_EXECUTABLE@|${EPYTHON}|" \
+ "${S}/jupyterkernel/kernelspec/kernel.json.in" || die
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ local -a mycmakeargs=(
+ -DENABLE_SYSTEM_JSONCPP=ON
+ -DPACKAGING_MODE=ON
+ -DUSE_PYTHON_3=ON
+ -DBUILD_AS_CPP_LIBRARY=OFF
+ -DENABLE_JUPYTER=OFF # special Xeus Jupyter kernel (uses xtl)
+ -DENABLE_MATHEMATICA=OFF
+ -DINSTALL_TARGETS_ONLY=OFF
+ -DBUILD_TESTS="$(usex test)"
+ -DENABLE_FRONTEND="$(usex gui)"
+ -DENABLE_PY_JUPYTER="$(usex jupyter)"
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ python_optimize
+}
+
+pkg_postinst() {
+ xdg_update
+}
+
+pkg_postrm() {
+ xdg_update
+}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cadabra/
@ 2024-04-19 12:44 Maciej Barć
0 siblings, 0 replies; 26+ messages in thread
From: Maciej Barć @ 2024-04-19 12:44 UTC (permalink / raw
To: gentoo-commits
commit: a1f4b64062b153b160be639f4de0f486053e2cdb
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 19 07:22:30 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Apr 19 12:44:51 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1f4b640
sci-mathematics/cadabra: bump to 2.4.5.6
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sci-mathematics/cadabra/Manifest | 1 +
sci-mathematics/cadabra/cadabra-2.4.5.6.ebuild | 112 +++++++++++++++++++++++++
2 files changed, 113 insertions(+)
diff --git a/sci-mathematics/cadabra/Manifest b/sci-mathematics/cadabra/Manifest
index a3d9c708b387..80939333a1ad 100644
--- a/sci-mathematics/cadabra/Manifest
+++ b/sci-mathematics/cadabra/Manifest
@@ -1,2 +1,3 @@
DIST cadabra-2.4.5.4.tar.gz 26825874 BLAKE2B 90562e4ddb08a99a38f32d5cf3fe237b2ca5ece80e4bf70caa8db23a2b6af246b289eb41e7d366c5a242e6e06a680ab0917deb43f29efcf7d6703338c7e97d00 SHA512 907e291880aac84a4f5695f77dd34512c13dba320b38fee59c765b070235c9ef777f6e188c675c8247f56144624edb84459d8b500e4c074731633a2b9cf9ee74
DIST cadabra-2.4.5.5.tar.gz 26827810 BLAKE2B ba8eaa9eaab6ec1832dc9dd0ff47710a503b6a4a33124cdd3021144177b471c2b3616a7e61f4ec32fd464270e45cdc460d2bcdb5bd39fa853a00bbfefba58c92 SHA512 931537cb1b72194cbe89dc2231fa50c5550e14e7f259cfbd19bc2ffdf9d558273b60cd36fdfe0578b05e26b74cb362e1411c4c4706293437b867b71ee7661411
+DIST cadabra-2.4.5.6.tar.gz 26827151 BLAKE2B ee08687c55a29582787ce66d2596ec182eca7f9d8eafde7c68477f316baf41f8e798fcdf3d307e0d9d3b68f5c66cd0805686bdd8a41f1d33ef09c11009808e91 SHA512 e0e9af7d492077137e6edba334b74b36905bfec633096a714158881c3bdd424d174b4a1f9053cd570f6652f53aa445a22220f44b396cf3c0fb69860d6d4aecc7
diff --git a/sci-mathematics/cadabra/cadabra-2.4.5.6.ebuild b/sci-mathematics/cadabra/cadabra-2.4.5.6.ebuild
new file mode 100644
index 000000000000..de5c161c94ef
--- /dev/null
+++ b/sci-mathematics/cadabra/cadabra-2.4.5.6.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MAJOR="$(ver_cut 1)"
+CADABRA="${PN}${MAJOR}"
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit xdg-utils python-single-r1 cmake
+
+DESCRIPTION="Field-theory motivated approach to computer algebra"
+HOMEPAGE="https://cadabra.science/
+ https://github.com/kpeeters/cadabra2/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/kpeeters/${CADABRA}.git"
+else
+ SRC_URI="https://github.com/kpeeters/${CADABRA}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}/${CADABRA}-${PV}"
+
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3"
+SLOT="0/${MAJOR}"
+IUSE="gui +jupyter test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ app-text/dvipng
+ dev-cpp/glibmm:2
+ dev-db/sqlite:3=
+ dev-libs/boost:=
+ dev-libs/gmp:=[cxx]
+ dev-libs/jsoncpp:=
+ dev-libs/libsigc++:2
+ dev-texlive/texlive-basic
+ $(python_gen_cond_dep '
+ dev-python/gmpy:2[${PYTHON_USEDEP}]
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+ dev-python/sympy[${PYTHON_USEDEP}]
+ jupyter? ( dev-python/jupyter[${PYTHON_USEDEP}] )
+ ')
+ gui? (
+ dev-cpp/gtkmm:3.0
+ )
+"
+DEPEND="
+ ${RDEPEND}
+"
+BDEPEND="
+ $(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')
+"
+
+PATCHES=( "${FILESDIR}/${CADABRA}-CMake.patch" )
+
+DOCS=( CODE_OF_CONDUCT.md CONTRIBUTING.md JUPYTER.rst README.rst )
+
+xdg_update() {
+ if use gui ; then
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+ fi
+}
+
+src_prepare() {
+ # Clean postinst script which calls libtool and icon-cache update
+ echo '#!/bin/sh' > "${S}/config/postinst.in" || die
+
+ # Fix "PYTHON_EXECUTABLE" in Jupyter kernel
+ sed -i "s|@PYTHON_EXECUTABLE@|${EPYTHON}|" \
+ "${S}/jupyterkernel/kernelspec/kernel.json.in" || die
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ local -a mycmakeargs=(
+ -DENABLE_SYSTEM_JSONCPP=ON
+ -DPACKAGING_MODE=ON
+ -DUSE_PYTHON_3=ON
+ -DBUILD_AS_CPP_LIBRARY=OFF
+ -DENABLE_JUPYTER=OFF # special Xeus Jupyter kernel (uses xtl)
+ -DENABLE_MATHEMATICA=OFF
+ -DINSTALL_TARGETS_ONLY=OFF
+ -DBUILD_TESTS="$(usex test)"
+ -DENABLE_FRONTEND="$(usex gui)"
+ -DENABLE_PY_JUPYTER="$(usex jupyter)"
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ python_optimize
+}
+
+pkg_postinst() {
+ xdg_update
+}
+
+pkg_postrm() {
+ xdg_update
+}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cadabra/
@ 2024-04-19 12:44 Maciej Barć
0 siblings, 0 replies; 26+ messages in thread
From: Maciej Barć @ 2024-04-19 12:44 UTC (permalink / raw
To: gentoo-commits
commit: 4a38ebeb43ced23a664c056614d7cce05a786262
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 19 07:22:47 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Apr 19 12:44:52 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a38ebeb
sci-mathematics/cadabra: drop old 2.4.5.5
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sci-mathematics/cadabra/Manifest | 1 -
sci-mathematics/cadabra/cadabra-2.4.5.5.ebuild | 112 -------------------------
2 files changed, 113 deletions(-)
diff --git a/sci-mathematics/cadabra/Manifest b/sci-mathematics/cadabra/Manifest
index 80939333a1ad..493ff6690087 100644
--- a/sci-mathematics/cadabra/Manifest
+++ b/sci-mathematics/cadabra/Manifest
@@ -1,3 +1,2 @@
DIST cadabra-2.4.5.4.tar.gz 26825874 BLAKE2B 90562e4ddb08a99a38f32d5cf3fe237b2ca5ece80e4bf70caa8db23a2b6af246b289eb41e7d366c5a242e6e06a680ab0917deb43f29efcf7d6703338c7e97d00 SHA512 907e291880aac84a4f5695f77dd34512c13dba320b38fee59c765b070235c9ef777f6e188c675c8247f56144624edb84459d8b500e4c074731633a2b9cf9ee74
-DIST cadabra-2.4.5.5.tar.gz 26827810 BLAKE2B ba8eaa9eaab6ec1832dc9dd0ff47710a503b6a4a33124cdd3021144177b471c2b3616a7e61f4ec32fd464270e45cdc460d2bcdb5bd39fa853a00bbfefba58c92 SHA512 931537cb1b72194cbe89dc2231fa50c5550e14e7f259cfbd19bc2ffdf9d558273b60cd36fdfe0578b05e26b74cb362e1411c4c4706293437b867b71ee7661411
DIST cadabra-2.4.5.6.tar.gz 26827151 BLAKE2B ee08687c55a29582787ce66d2596ec182eca7f9d8eafde7c68477f316baf41f8e798fcdf3d307e0d9d3b68f5c66cd0805686bdd8a41f1d33ef09c11009808e91 SHA512 e0e9af7d492077137e6edba334b74b36905bfec633096a714158881c3bdd424d174b4a1f9053cd570f6652f53aa445a22220f44b396cf3c0fb69860d6d4aecc7
diff --git a/sci-mathematics/cadabra/cadabra-2.4.5.5.ebuild b/sci-mathematics/cadabra/cadabra-2.4.5.5.ebuild
deleted file mode 100644
index de5c161c94ef..000000000000
--- a/sci-mathematics/cadabra/cadabra-2.4.5.5.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MAJOR="$(ver_cut 1)"
-CADABRA="${PN}${MAJOR}"
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit xdg-utils python-single-r1 cmake
-
-DESCRIPTION="Field-theory motivated approach to computer algebra"
-HOMEPAGE="https://cadabra.science/
- https://github.com/kpeeters/cadabra2/"
-
-if [[ "${PV}" == *9999* ]] ; then
- inherit git-r3
-
- EGIT_REPO_URI="https://github.com/kpeeters/${CADABRA}.git"
-else
- SRC_URI="https://github.com/kpeeters/${CADABRA}/archive/${PV}.tar.gz
- -> ${P}.tar.gz"
- S="${WORKDIR}/${CADABRA}-${PV}"
-
- KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="GPL-3"
-SLOT="0/${MAJOR}"
-IUSE="gui +jupyter test"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- ${PYTHON_DEPS}
- app-text/dvipng
- dev-cpp/glibmm:2
- dev-db/sqlite:3=
- dev-libs/boost:=
- dev-libs/gmp:=[cxx]
- dev-libs/jsoncpp:=
- dev-libs/libsigc++:2
- dev-texlive/texlive-basic
- $(python_gen_cond_dep '
- dev-python/gmpy:2[${PYTHON_USEDEP}]
- dev-python/matplotlib[${PYTHON_USEDEP}]
- dev-python/sympy[${PYTHON_USEDEP}]
- jupyter? ( dev-python/jupyter[${PYTHON_USEDEP}] )
- ')
- gui? (
- dev-cpp/gtkmm:3.0
- )
-"
-DEPEND="
- ${RDEPEND}
-"
-BDEPEND="
- $(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')
-"
-
-PATCHES=( "${FILESDIR}/${CADABRA}-CMake.patch" )
-
-DOCS=( CODE_OF_CONDUCT.md CONTRIBUTING.md JUPYTER.rst README.rst )
-
-xdg_update() {
- if use gui ; then
- xdg_icon_cache_update
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
- fi
-}
-
-src_prepare() {
- # Clean postinst script which calls libtool and icon-cache update
- echo '#!/bin/sh' > "${S}/config/postinst.in" || die
-
- # Fix "PYTHON_EXECUTABLE" in Jupyter kernel
- sed -i "s|@PYTHON_EXECUTABLE@|${EPYTHON}|" \
- "${S}/jupyterkernel/kernelspec/kernel.json.in" || die
-
- cmake_src_prepare
-}
-
-src_configure() {
- local -a mycmakeargs=(
- -DENABLE_SYSTEM_JSONCPP=ON
- -DPACKAGING_MODE=ON
- -DUSE_PYTHON_3=ON
- -DBUILD_AS_CPP_LIBRARY=OFF
- -DENABLE_JUPYTER=OFF # special Xeus Jupyter kernel (uses xtl)
- -DENABLE_MATHEMATICA=OFF
- -DINSTALL_TARGETS_ONLY=OFF
- -DBUILD_TESTS="$(usex test)"
- -DENABLE_FRONTEND="$(usex gui)"
- -DENABLE_PY_JUPYTER="$(usex jupyter)"
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
- python_optimize
-}
-
-pkg_postinst() {
- xdg_update
-}
-
-pkg_postrm() {
- xdg_update
-}
^ permalink raw reply related [flat|nested] 26+ messages in thread
end of thread, other threads:[~2024-04-19 12:45 UTC | newest]
Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-02 6:59 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cadabra/ Maciej Barć
-- strict thread matches above, loose matches on Subject: below --
2022-07-12 21:50 Maciej Barć
2022-07-12 21:50 Maciej Barć
2022-10-06 12:34 Maciej Barć
2022-10-26 22:04 Maciej Barć
2022-10-27 15:00 Maciej Barć
2022-10-27 15:00 Maciej Barć
2022-11-28 20:33 Maciej Barć
2022-12-06 21:06 Maciej Barć
2022-12-06 21:06 Maciej Barć
2022-12-06 21:06 Maciej Barć
2023-01-28 0:15 Sam James
2023-03-08 20:39 Maciej Barć
2023-04-20 0:03 Maciej Barć
2023-04-22 23:18 Maciej Barć
2023-04-22 23:18 Maciej Barć
2023-04-22 23:18 Maciej Barć
2023-09-09 18:14 Maciej Barć
2023-10-18 17:12 Sam James
2024-01-25 20:03 Maciej Barć
2024-01-25 20:03 Maciej Barć
2024-02-28 0:37 Sam James
2024-04-17 22:10 Maciej Barć
2024-04-17 22:10 Maciej Barć
2024-04-19 12:44 Maciej Barć
2024-04-19 12:44 Maciej Barć
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox