summaryrefslogtreecommitdiff
path: root/sci-misc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-03-24 23:59:54 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-03-24 23:59:54 +0000
commit401101f9c8077911929d3f2b60a37098460a5d89 (patch)
treec2bef4719f6787550f0916aeaa8f4f403a9296af /sci-misc
parent4cbcc855382a06088e2f016f62cafdbcb7e40665 (diff)
gentoo resync : 25.03.2022
Diffstat (limited to 'sci-misc')
-rw-r--r--sci-misc/Manifest.gzbin2918 -> 2920 bytes
-rw-r--r--sci-misc/flashdot/Manifest5
-rw-r--r--sci-misc/flashdot/files/flashdot-1.1.4-Makefile.patch10
-rw-r--r--sci-misc/flashdot/files/flashdot-1.1.4-ocaml-4.09.patch11
-rw-r--r--sci-misc/flashdot/flashdot-1.1.4-r1.ebuild40
-rw-r--r--sci-misc/jupyterlab-desktop-bin/Manifest4
-rw-r--r--sci-misc/jupyterlab-desktop-bin/jupyterlab-desktop-bin-3.2.5.2.ebuild68
-rw-r--r--sci-misc/jupyterlab-desktop-bin/jupyterlab-desktop-bin-3.2.9.1.ebuild68
8 files changed, 58 insertions, 148 deletions
diff --git a/sci-misc/Manifest.gz b/sci-misc/Manifest.gz
index c4cc7368ec59..bf4c932bb46e 100644
--- a/sci-misc/Manifest.gz
+++ b/sci-misc/Manifest.gz
Binary files differ
diff --git a/sci-misc/flashdot/Manifest b/sci-misc/flashdot/Manifest
index 8aca3fa4803c..72fda3abec54 100644
--- a/sci-misc/flashdot/Manifest
+++ b/sci-misc/flashdot/Manifest
@@ -1,5 +1,6 @@
+AUX flashdot-1.1.4-Makefile.patch 300 BLAKE2B c771a361aedb8eafd0e8e376b71889ec41a4d75330f172481890d7b39251dc09e3c1961de87acd435579031fe82206550422872c6cf54359137f246b7afed5f3 SHA512 034c946c4d1ec7905ebc370b7a59418b4e63903f684d9da4c3be3d89747b12b5f25ce786a967f66250b5095401f76541ecfee78ca205859477527c7a42e2d13c
AUX flashdot-1.1.4-gsl-ocaml.patch 1045 BLAKE2B 43809e76d518a755cc9bb2e0a0eca1d4e54cd749081f710a34ef96bc4af201452673a25b8a5e431839d148cbab10f69638c5b98539b9d969d262026677efccdc SHA512 010edd228c29189bb07eec81ec3b0ceb968ccfa99f6cf85d1d1b2b1b8b2af040b674e75fdf57662cdbb6ca076b9ea02d5164530ef91012bb3e9ea89de9457f0b
-AUX flashdot-1.1.4-ocaml-4.09.patch 317 BLAKE2B 5ae01d53e63c0a5d9f8dc7ddb25be09229ae2d9cf444fec40b92e6d13cee212c8714aa3a8d40cdd60c20e0e19a6c5e87d869c73cd1071df0890c22e3e94d8190 SHA512 7e7f4c7cd7ce2e4c4eceb5d547f46454aca73df7ba8e96c62269c624f565656a8b2223ff966bd2c736fc27d2c69a1adbe4bed4fe72c7f659440df40f011997b3
+AUX flashdot-1.1.4-ocaml-4.09.patch 736 BLAKE2B dbef65cd2a61062b70c509970bfe9d574493c371e8ebdc81f6c1bdb15e7c38ca01938c11461e973b7285a0fc69b368f31a30b4b00027fba4e5e482ff6d5384bb SHA512 3cf6b9c4b5290c02915112646e8456b76a6931882d998647001a9c38af1aff0ee48d75617aae75f5cca442d8932dfdcb1342b5cad044f019af72bd29d64f7408
DIST flashdot-1.1.4.tar.bz2 464763 BLAKE2B bed4b23ad21a8526714820ebf113e53a775dff39c0fcd3cdde847fb0a46ffbde5cd3f62ae2b92584ff1ad5c3b1b0a939130c3a182905b16503b60c1321a90e78 SHA512 2c7f803ca002f8a2d9205a6148c3bf602aa79c04fb67444cdfb23626706777d8463739f119ff124b58f7dc30c75750f95045fab4059540936082cfda7deea8c0
-EBUILD flashdot-1.1.4-r1.ebuild 788 BLAKE2B bc146d68b8e3892179236564c2cc943ff27857af8881ec65eee7211a82dc61346aea494d52dee4ac72a88d6abed9e9400307187181694e314df8ec2c0bd46ab3 SHA512 864f3d728fcfd6495ce7bdbc30d0dbd0d74081c611a5398c025936928c2dbf3376e56825e2df564f70a9bbcb726b8e45e958e6ce16faf3fea0b1eca6c5fa9900
+EBUILD flashdot-1.1.4-r1.ebuild 1502 BLAKE2B 3b30ce3d0d4f9c9d373dd5461141de349bd6202b7e3893df552f104a10f6f8dc010b4b723d07554e0e2b505c8ade0f0d5b63b09a714a7a6f3e3024dcc7421224 SHA512 1789dcec6b4043c2b683d4b9545aec257e6cd3be09f83ffbc67ffe6442138f732496dd32cabe7493c08ad2692125dd9e1b3282359a86adebfb1e052c71ec924e
MISC metadata.xml 424 BLAKE2B 70be150fc489da7cea8e4b40184d631b6fa06c436162a6431d0ffa165fa0e5731b737d99b92e163830cae3561d9291355f36b9ed39848062d829d9fbc4d9651c SHA512 216b91076c7c4c50599fba8deca5e0b5b14045ecf9aa57f07aeb044c27ef0f3961562820ae3a7cc93777be0ecd4eb974d1b7d5a5557190773193fa0a5f6515f1
diff --git a/sci-misc/flashdot/files/flashdot-1.1.4-Makefile.patch b/sci-misc/flashdot/files/flashdot-1.1.4-Makefile.patch
new file mode 100644
index 000000000000..077367bd2ab0
--- /dev/null
+++ b/sci-misc/flashdot/files/flashdot-1.1.4-Makefile.patch
@@ -0,0 +1,10 @@
+--- a/mathexpr/Makefile 2022-03-22 10:51:43.081062080 +0100
++++ b/mathexpr/Makefile 2022-03-22 10:53:37.226190652 +0100
+@@ -72,6 +72,6 @@
+ # Dependencies
+ depend:
+- $(OCAMLDEP) $(OCAMLINCS) *.mli *.ml > depend
++ $(OCAMLDEP) -I $(XMLLIGHTDIR) $(OCAMLINCSLOCAL) *.mli *.ml > depend
+
+ include depend
+
diff --git a/sci-misc/flashdot/files/flashdot-1.1.4-ocaml-4.09.patch b/sci-misc/flashdot/files/flashdot-1.1.4-ocaml-4.09.patch
index 8b00b86d52b7..285a2c746e20 100644
--- a/sci-misc/flashdot/files/flashdot-1.1.4-ocaml-4.09.patch
+++ b/sci-misc/flashdot/files/flashdot-1.1.4-ocaml-4.09.patch
@@ -9,3 +9,14 @@
fill_buff ()
in
let s = fill_buff () in
+--- a/mathexpr/mathexpr.ml 2022-03-22 12:36:30.252580025 +0100
++++ b/mathexpr/mathexpr.ml 2022-03-22 12:32:10.594137416 +0100
+@@ -2859,7 +2859,7 @@
+ while true do
+ let n = input f strbuf 0 1024 in
+ if n = 0 then raise Exit else
+- Buffer.add_substring resbuf strbuf 0 n
++ Buffer.add_subbytes resbuf strbuf 0 n
+ done;
+ Buffer.contents resbuf
+ with Exit -> Buffer.contents resbuf
diff --git a/sci-misc/flashdot/flashdot-1.1.4-r1.ebuild b/sci-misc/flashdot/flashdot-1.1.4-r1.ebuild
index 8d31eba90241..1843fa0f3f89 100644
--- a/sci-misc/flashdot/flashdot-1.1.4-r1.ebuild
+++ b/sci-misc/flashdot/flashdot-1.1.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -14,23 +14,51 @@ KEYWORDS="~amd64 ~x86"
IUSE="+ocamlopt"
DEPEND="
- >=dev-lang/ocaml-3.10[ocamlopt?]
- dev-ml/gsl-ocaml
- dev-ml/lablgl[glut]
- dev-ml/ocamlsdl
+ >=dev-lang/ocaml-3.10:=[ocamlopt?]
+ dev-ml/gsl-ocaml:=
+ dev-ml/lablgl:=[glut]
+ dev-ml/ocamlsdl:=[opengl]
x11-apps/xdpyinfo"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}/${P}-gsl-ocaml.patch"
+ "${FILESDIR}"/${P}-Makefile.patch
"${FILESDIR}"/${P}-ocaml-4.09.patch
)
src_prepare() {
default
- MAKEOPTS+=" -j1 VERSION=${PV}"
+ MAKEOPTS="-j1"
use ocamlopt || MAKEOPTS+=" TARGETS=flashdot_bytecode BYTECODENAME=flashdot"
+ sed -i \
+ -e "s|^VERSION.*|VERSION := ${PV}|" \
+ Makefile \
+ || die
+ sed -i \
+ -e 's:Gsl_matrix:Gsl.Matrix:g' \
+ -e 's:Gsl_rng:Gsl.Rng:g' \
+ -e 's:Gsl_randist:Gsl.Randist:g' \
+ -e 's:Gsl_sf:Gsl.Sf:g' \
+ -e 's:Gsl_math:Gsl.Math:g' \
+ -e 's:Gsl_vector:Gsl.Vector:g' \
+ -e 's:Gsl_permut:Gsl.Permut:g' \
+ -e 's:Gsl_linalg:Gsl.Linalg:g' \
+ -e 's:Gsl_cdf:Gsl.Cdf:g' \
+ mathexpr/mathexpr.ml \
+ mathexpr/mathexpr.mli \
+ mathexpr/random_rng.ml \
+ mathexpr/sequences.ml \
+ mathexpr/multibin.ml \
+ flashdot.ml \
+ || die
+}
+
+src_configure() {
+ ./configure --prefix=/usr || die
}
src_install() {
emake DESTDIR="${D}" CALLMODE=script install
+ rm "${D}"/usr/share/doc/${PN}/copyright* || die
+ mv "${D}"/usr/share/doc/{${PN},${PF}} || die
}
diff --git a/sci-misc/jupyterlab-desktop-bin/Manifest b/sci-misc/jupyterlab-desktop-bin/Manifest
index cbd3ea43f713..f62d6e5e63e9 100644
--- a/sci-misc/jupyterlab-desktop-bin/Manifest
+++ b/sci-misc/jupyterlab-desktop-bin/Manifest
@@ -1,7 +1,3 @@
-DIST jupyterlab-desktop-bin-3.2.5.2.rpm 269694928 BLAKE2B c92a46c273d4b3edfedf9392ff65813366317003607ab27c359b995cd896591454fbf8460b6ce22d717e0d28ba2c7800bf346f18c23dd758e58b4c329b3164f1 SHA512 7720c727a2a027f0f45072c92186b9fe7ea911aa2168100995e79feac0e248e9d3dde2f2fadcd43b749c394f604f09a53db81eebf26fdac5396bba81f6c75904
-DIST jupyterlab-desktop-bin-3.2.9.1.rpm 332914260 BLAKE2B 57940cfc761cf3710303de6d6adc895027cacd9c97c40fa1773785ca66a9e4fdb041aef1857222b5c9eedfb766050aff4752927f87986b9fa0052cb9301a77f7 SHA512 73e963943f6e1254523d645264b4b1ac56cb2118c23fbf9a45a82a46b26bea9e876ef22549b832eb13392533a32edec5432ae7c29546ca7798f573e27880a0ab
DIST jupyterlab-desktop-bin-3.3.2.1.rpm 316847336 BLAKE2B 76812cccfdc52a5588f40fc0338136d1af94c08360226e2c90ec04bee3ba7a48829e1e8ebdd47303ee193a678f554d39e33ecb9e28e05a63f38ae6c54c995be1 SHA512 bcc37b7a6dcedbdfa24e7591a33f9c152647287738b4c5bf44af387445b6c73d4855fe238fed557ee6eae8399fc3bcc4f6b19f07e712ae7c73d7372dcf0df66c
-EBUILD jupyterlab-desktop-bin-3.2.5.2.ebuild 1674 BLAKE2B 5f7a8539888dba832bd5453c14da87a39021d064000023a232667637565325f126dc26f9af588018dca06b11ae22862a401994bde5101897c664db3c066736c2 SHA512 326d36ff1e8294f54a5e30e8ca981d8d4ade06b2d6c3261d2a8a285c848c384d8a99ce2e849057087eb56b049fb6fce9581be5284161fca550cb5bfc967d2753
-EBUILD jupyterlab-desktop-bin-3.2.9.1.ebuild 1673 BLAKE2B 1b363dd88558fae13ec6889c515f89db135204c27868c14000e8e1a57d12118a895018ddf09f95b51976963a30fe5c1c4964af3f5ec73506239f32d8068ae70d SHA512 d69d6cfcc0c7a7ffab816fe5c6edcdbd870b4a876296e65c29bdac5792a4036f439ad56630994a303923ec7f8ce7f91b546dfeaf6c907f41a2973361ae5addfc
EBUILD jupyterlab-desktop-bin-3.3.2.1.ebuild 1673 BLAKE2B 1b363dd88558fae13ec6889c515f89db135204c27868c14000e8e1a57d12118a895018ddf09f95b51976963a30fe5c1c4964af3f5ec73506239f32d8068ae70d SHA512 d69d6cfcc0c7a7ffab816fe5c6edcdbd870b4a876296e65c29bdac5792a4036f439ad56630994a303923ec7f8ce7f91b546dfeaf6c907f41a2973361ae5addfc
MISC metadata.xml 430 BLAKE2B 1bd3f621bb4d25086cc80c5b44a7eef4a61f58c1f56c7cb91ca4e39b8a5e7d5fdd37e912e48d99ee6ba6a19de1c61252b4ebe3afd554d487c549d22597c376fc SHA512 b99b088cb0bdcfdaa9d584fb580b12a754f30a378fdede655f7723075e81948fc57f9aad11a59944b164eb8c9c24f6f0828e95c5a227766e985778900ea08079
diff --git a/sci-misc/jupyterlab-desktop-bin/jupyterlab-desktop-bin-3.2.5.2.ebuild b/sci-misc/jupyterlab-desktop-bin/jupyterlab-desktop-bin-3.2.5.2.ebuild
deleted file mode 100644
index 92e361991bbf..000000000000
--- a/sci-misc/jupyterlab-desktop-bin/jupyterlab-desktop-bin-3.2.5.2.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 2019-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit rpm xdg
-
-DESCRIPTION="JupyterLab desktop application, based on Electron"
-HOMEPAGE="https://jupyter.org/"
-SRC_URI="https://github.com/jupyterlab/${PN%%-bin}/releases/download/v$(ver_rs 3 -)/JupyterLab-Setup-Fedora.rpm -> ${P}.rpm"
-
-KEYWORDS="-* ~amd64"
-LICENSE="BSD MIT"
-SLOT="0"
-
-RDEPEND="
- app-accessibility/at-spi2-atk
- app-accessibility/at-spi2-core
- dev-libs/atk
- dev-libs/expat
- dev-libs/glib
- dev-libs/nspr
- dev-libs/nss
- dev-python/jupyterlab
- media-libs/alsa-lib
- media-libs/mesa
- net-print/cups
- sys-apps/dbus
- sys-libs/glibc
- x11-libs/cairo
- x11-libs/gdk-pixbuf
- x11-libs/gtk+:3
- x11-libs/libdrm
- x11-libs/libX11
- x11-libs/libxcb
- x11-libs/libXcomposite
- x11-libs/libXdamage
- x11-libs/libXext
- x11-libs/libXfixes
- x11-libs/libxkbcommon
- x11-libs/libXrandr
- x11-libs/libxshmfence
- x11-libs/pango
-"
-
-QA_PREBUILT="/opt/JupyterLab/*"
-
-S="${WORKDIR}"
-
-src_install() {
- # remove files useless for Gentoo
- rm -r usr/lib || die
- mv "${S}"/* "${ED}" || die
- # add convenience symlink to launch from cli
- dosym ../JupyterLab/jupyterlab-desktop /opt/bin/jupyterlab-desktop
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
- elog ""
- elog "On initial startup you will be prompted to select the python environment of"
- elog "your choice. Either select a specific python version, e.g. /usr/bin/pythonX.Y,"
- elog "or choose /usr/bin/python to follow the system wide setting in"
- elog "/etc/python-exec/python-exec.conf."
- elog "Please note that only python environments corresponding to the enabled"
- elog "PYTHON_TARGETS on dev-python/jupyterlab will work."
- elog ""
-}
diff --git a/sci-misc/jupyterlab-desktop-bin/jupyterlab-desktop-bin-3.2.9.1.ebuild b/sci-misc/jupyterlab-desktop-bin/jupyterlab-desktop-bin-3.2.9.1.ebuild
deleted file mode 100644
index 15bdd61754eb..000000000000
--- a/sci-misc/jupyterlab-desktop-bin/jupyterlab-desktop-bin-3.2.9.1.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 2019-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit rpm xdg
-
-DESCRIPTION="JupyterLab desktop application, based on Electron"
-HOMEPAGE="https://jupyter.org/"
-SRC_URI="https://github.com/jupyterlab/${PN%%-bin}/releases/download/v$(ver_rs 3 -)/JupyterLab-Setup-Fedora.rpm -> ${P}.rpm"
-
-KEYWORDS="-* ~amd64"
-LICENSE="BSD MIT"
-SLOT="0"
-
-RDEPEND="
- app-accessibility/at-spi2-atk
- app-accessibility/at-spi2-core
- dev-libs/atk
- dev-libs/expat
- dev-libs/glib
- dev-libs/nspr
- dev-libs/nss
- dev-python/jupyterlab
- media-libs/alsa-lib
- media-libs/mesa
- net-print/cups
- sys-apps/dbus
- sys-libs/glibc
- x11-libs/cairo
- x11-libs/gdk-pixbuf
- x11-libs/gtk+:3
- x11-libs/libdrm
- x11-libs/libX11
- x11-libs/libxcb
- x11-libs/libXcomposite
- x11-libs/libXdamage
- x11-libs/libXext
- x11-libs/libXfixes
- x11-libs/libxkbcommon
- x11-libs/libXrandr
- x11-libs/libxshmfence
- x11-libs/pango
-"
-
-QA_PREBUILT="opt/JupyterLab/*"
-
-S="${WORKDIR}"
-
-src_install() {
- # remove files useless for Gentoo
- rm -r usr/lib || die
- mv "${S}"/* "${ED}" || die
- # add convenience symlink to launch from cli
- dosym ../JupyterLab/jupyterlab-desktop /opt/bin/jupyterlab-desktop
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
- elog ""
- elog "On initial startup you will be prompted to select the python environment of"
- elog "your choice. Either select a specific python version, e.g. /usr/bin/pythonX.Y,"
- elog "or choose /usr/bin/python to follow the system wide setting in"
- elog "/etc/python-exec/python-exec.conf."
- elog "Please note that only python environments corresponding to the enabled"
- elog "PYTHON_TARGETS on dev-python/jupyterlab will work."
- elog ""
-}