From 15193bf23b9715187c28ec5a90da6ad8555ac9c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Bissey?= Date: Wed, 2 Oct 2024 16:28:10 +1300 Subject: [PATCH 1/3] sci-mathematics/sage-doc: fix forgotten has->has_version --- sci-mathematics/sage-doc/sage-doc-9999.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/sage-doc/sage-doc-9999.ebuild b/sci-mathematics/sage-doc/sage-doc-9999.ebuild index a2437ca26..b5b1153ad 100644 --- a/sci-mathematics/sage-doc/sage-doc-9999.ebuild +++ b/sci-mathematics/sage-doc/sage-doc-9999.ebuild @@ -79,7 +79,7 @@ python_check_deps() { pkg_setup() { if has_version media-gfx/graphviz ; then - has dev-tex/dot2tex || die \ + has_version dev-tex/dot2tex || die \ "You have graphviz installed. In that case you also need to install dot2tex to build the documentation." fi } From 68e637edb4e6df9dadbc1a1f08305f6b58936919 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Bissey?= Date: Wed, 9 Oct 2024 15:34:45 +1300 Subject: [PATCH 2/3] sci-mathematics/sagemath-standard: update SRC_URI --- sci-mathematics/sagemath-standard/Manifest | 1 + .../sagemath-standard/sagemath-standard-10.4-r2.ebuild | 1 + 2 files changed, 2 insertions(+) diff --git a/sci-mathematics/sagemath-standard/Manifest b/sci-mathematics/sagemath-standard/Manifest index 77c7c62db..05cc929e3 100644 --- a/sci-mathematics/sagemath-standard/Manifest +++ b/sci-mathematics/sagemath-standard/Manifest @@ -1,4 +1,5 @@ DIST sagemath_PR36641.patch 7044 BLAKE2B 1864ca4d0f1b2ae48b24a298e7aca327760857b809fc25d582869202b154b7068727cb97154ca641ac62e58018d05866284c2a6cfdc991b61aecc90a197cea07 SHA512 a2ba2bf745e43336a9f0ad6fa15a1837b472bbe38d5f1182edff728b11c506fbac50facf190429f16c82c81af0de0fca41937f762a9cb186941e244245ce6cb0 DIST sagemath_PR38250.patch 32944 BLAKE2B d7f61864066c168f18075a05e2bea9ab650d571c3ee64bf0751c31582610afcf47ecc534719d5cd3be8677163e55ad3fdcd4cd586ec33abf35467551db57c4d2 SHA512 bce008341646de8a8913a2cb49dad44b31f3ddd72edb6f6f6fd9a3e2e676f955afb1c4f5cd9b4605ee720c150afae24d27837590050c63c2a47c64612fdbef69 DIST sagemath_PR38500.patch 53717 BLAKE2B 291968de46c5ea8e82adae088e1759751a9057b42ee33319a1a275435e8d04fe3cfafe94303c36b9ec23b12f20dfa1542b5f9962e45f47093023ea0db14dde2a SHA512 153e6fba9cbbde1c051c1679d0af7f94121d417030e157bdf5da2a6f18cd6110b855a71ffd1594c8f3de58f742bef073c8ce68f0f889443737b37c24d5269ca1 +DIST sagemath_PR38683.patch 2919 BLAKE2B dfb0067b0b7638744b22cde73f91f7887589d2df5a8dfb67d1bfa21285d6e9506cf701a0098518400eb3652bcb04fff3d37587dd54088021869836fe9273a159 SHA512 0c621cad508f40c9a7233873d93229bc6997e28bf2df0e74fcd6e56854f1aeec9c3df4f1031072054855f9b9557deaa3b205e5dcbfababe92aad37675b5b8ada DIST sagemath_standard-10.4.tar.gz 19897066 BLAKE2B 2933631bb43fda2fa85533808d13694693d4f9d490af5812118d7c9f3c7a0887daae31cc8a1f3f46a921ca0e88f241ea4afdafd55ba9c3907784abe3367a9022 SHA512 c8f0f12ecaebefde85ff488398bca72fb92df6cd5674419f4715f58e0a1560e73bf0dbaa5fac18628a6b05187fdf02361569a0021da77f51258e2ca58090b827 diff --git a/sci-mathematics/sagemath-standard/sagemath-standard-10.4-r2.ebuild b/sci-mathematics/sagemath-standard/sagemath-standard-10.4-r2.ebuild index 12bc79b05..3c1c50b90 100644 --- a/sci-mathematics/sagemath-standard/sagemath-standard-10.4-r2.ebuild +++ b/sci-mathematics/sagemath-standard/sagemath-standard-10.4-r2.ebuild @@ -11,6 +11,7 @@ GIT_PRS=( 38250 36641 38500 + 38683 ) inherit desktop distutils-r1 multiprocessing sage-git-patch toolchain-funcs From 5415aaf8ff30b90290dbb10214ffdf595109d0df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Bissey?= Date: Fri, 11 Oct 2024 13:49:57 +1300 Subject: [PATCH 3/3] sci-mathematics/sage-doc: change the check location to avoid switching to unsupported py3.13 --- sci-mathematics/sage-doc/sage-doc-9999.ebuild | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/sci-mathematics/sage-doc/sage-doc-9999.ebuild b/sci-mathematics/sage-doc/sage-doc-9999.ebuild index b5b1153ad..95ea09465 100644 --- a/sci-mathematics/sage-doc/sage-doc-9999.ebuild +++ b/sci-mathematics/sage-doc/sage-doc-9999.ebuild @@ -77,13 +77,6 @@ python_check_deps() { python_has_version -b "dev-python/sphinx-inline-tabs[${PYTHON_USEDEP}]" } -pkg_setup() { - if has_version media-gfx/graphviz ; then - has_version dev-tex/dot2tex || die \ - "You have graphviz installed. In that case you also need to install dot2tex to build the documentation." - fi -} - src_unpack(){ if [[ ${PV} == 9999 ]]; then git-r3_src_unpack @@ -95,6 +88,11 @@ src_unpack(){ src_prepare(){ default + if has_version media-gfx/graphviz ; then + has_version dev-tex/dot2tex || die \ + "You have graphviz installed. In that case you also need to install dot2tex to build the documentation." + fi + einfo "bootstrapping the documentation - be patient" SAGE_ROOT="${S}" PATH="${S}/build/bin:${PATH}" src/doc/bootstrap || die "cannot bootstrap the documentation"