summaryrefslogtreecommitdiff
path: root/sci-libs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-04-13 08:44:58 +0100
committerV3n3RiX <venerix@koprulu.sector>2025-04-13 08:44:58 +0100
commitca533b9b46b871263ead04dcb28165df09a3f282 (patch)
tree5bc0eee473d4e4564cfd5216abd6aea441112008 /sci-libs
parent8838d44e89178442a4f853b309d720f57d4796b0 (diff)
gentoo auto-resync : 13:04:2025 - 08:44:57
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/Manifest.gzbin40370 -> 40379 bytes
-rw-r--r--sci-libs/cfitsio/Manifest2
-rw-r--r--sci-libs/cfitsio/cfitsio-4.6.2.ebuild2
-rw-r--r--sci-libs/linux-gpib/Manifest3
-rw-r--r--sci-libs/linux-gpib/linux-gpib-4.3.6-r200.ebuild290
-rw-r--r--sci-libs/linux-gpib/linux-gpib-9999.ebuild54
-rw-r--r--sci-libs/rocBLAS/Manifest2
-rw-r--r--sci-libs/rocBLAS/rocBLAS-6.3.3.ebuild2
8 files changed, 347 insertions, 8 deletions
diff --git a/sci-libs/Manifest.gz b/sci-libs/Manifest.gz
index 3e9a667cc259..9dfe4501e64f 100644
--- a/sci-libs/Manifest.gz
+++ b/sci-libs/Manifest.gz
Binary files differ
diff --git a/sci-libs/cfitsio/Manifest b/sci-libs/cfitsio/Manifest
index 2fe8338f8210..efd0ca91ef21 100644
--- a/sci-libs/cfitsio/Manifest
+++ b/sci-libs/cfitsio/Manifest
@@ -5,5 +5,5 @@ DIST cfitsio-4.6.2.tar.gz 4680361 BLAKE2B dc270e7db86626629c3b281dd037903207902e
EBUILD cfitsio-4.5.0-r1.ebuild 1564 BLAKE2B dc25c9254e63fcca390b4b06e35704903521d774dc0edd9f3ef6696ba79a511537ff857d02421b65bc69d432e9f571ae49db32cee212a446fb6c501f2957fe59 SHA512 593758480da7280a11ec4cf091784727f69e61c0009f6e6d5a14cd19c45697b665024f716f3bb200a9787c50aa7b13ae3d6f1e0ee6b42561e340cb7f1011b526
EBUILD cfitsio-4.5.0.ebuild 1508 BLAKE2B 550442eed75e8fe7e01493b21a298481aea1d4e134a38dc2f91043cb5603bea515ca9ba29857e3ff4ba7362aa64a144852737c361ac2f8d89665011e9b7df780 SHA512 4c983f1098a573e09ccebca7351d3226e3cad83d16823320168ca4ce600e56761dc6c4a55f72b55541e6f49fbcec0c7b048752502e30f8841b383d4b0ac54390
EBUILD cfitsio-4.6.0.ebuild 1745 BLAKE2B d9d81fb0d0012c769977990277b99a7801a34024833879e2b85a647196991f45923a62bd4f7fd31e6990ff52d2e6b55214558df32b05282a9ac0c6b4cc7e5953 SHA512 6a8f867ac4ea79f0357ff48d9827f415b47a76c8026414725cdb094fae6425353ce3acbdb26d231918079891f9f8c7fceab664593d990dfc3f1ed3388d9b62d2
-EBUILD cfitsio-4.6.2.ebuild 1400 BLAKE2B 5e816ff74160e07104e4f8df48f1652b8b4857b4eff32448fa77dabbc9bfc4ec142a2cc155f7cf1101345afd4ba36abbdfdb621471685cb507c8f67102900f55 SHA512 a32fc90c5cd10ab60a5c5d888567e749d67602699a82996857e508c463ecdb5767ff4c047f8baab40a194eb46e21476e873bf9f7e67d6c1924678c2f6c8e0f9c
+EBUILD cfitsio-4.6.2.ebuild 1397 BLAKE2B 17aa240b9f6fd0993127c0df498897d548920f4b88a17841afdcd7dd87addc1dbb0c1c152bf2707853799f776b3ed8ff37e710e1ab11003e1425e4e34a6ff8fb SHA512 3d9f8913bf99f714bbd4a58c76038611a1fd78c6d47627ee993e68d24bef6fb10273ac37f9e0cdcfd4d12d5e37981a31307524470c2629843797dd2eb2a742a4
MISC metadata.xml 1032 BLAKE2B 4479a1c6a42796e7effcc1b53ecc30d11e7302140cee2a34f7deaa1270497d0b0add85ddf1ce38223b357a9cac5f11af9039246f41228aca7d73653fd58a0fcf SHA512 ad32ecfbeceae8d768e9fa63386bdf89887d36ca18a68a72965b4f9206d779a26ece545d618540538246be5307c066e823ce55117208533cd9e668a6010222df
diff --git a/sci-libs/cfitsio/cfitsio-4.6.2.ebuild b/sci-libs/cfitsio/cfitsio-4.6.2.ebuild
index c601a676d4de..2fc4db0aad6a 100644
--- a/sci-libs/cfitsio/cfitsio-4.6.2.ebuild
+++ b/sci-libs/cfitsio/cfitsio-4.6.2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/${P}.tar.gz"
LICENSE="ISC"
SLOT="0/10-r1"
-KEYWORDS="~alpha ~amd64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 ~hppa ~loong ~ppc ppc64 ~riscv sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
IUSE="bzip2 curl test tools"
RESTRICT="!test? ( test )"
diff --git a/sci-libs/linux-gpib/Manifest b/sci-libs/linux-gpib/Manifest
index 6cc8e7c3758e..ae72d9c5779e 100644
--- a/sci-libs/linux-gpib/Manifest
+++ b/sci-libs/linux-gpib/Manifest
@@ -2,5 +2,6 @@ AUX linux-gpib-4.3.0-perl.patch 546 BLAKE2B 9695c1a9f48a2a8bcb5f5998c40eb909e6b1
DIST gpib_firmware-2008-08-10.tar.gz 173004 BLAKE2B 05fcde09de5246b86004c263c733d64316511bdb0b84dfbd9b94cb78e2909c0d191ff21ee0d77e7f0947e9231bd4cd62d6348e8f9beefd6d201b473732ff23d2 SHA512 f2a0ee3316b75ac36ed88568e45ca4c69935a6d10783c65582003ab39686f2a69d3002901866065f4f5efa9fdd4c779e038d1d7ce24bba266a619c164d5ac10d
DIST linux-gpib-4.3.6.tar.gz 1433121 BLAKE2B 64e2b19106d0531df990b1338f82a71707e54f448d652f6379eb9cd71feb84637090ed8fdfb0264248aa6879d5b9a1dc50e75c21a2c22a31397120eea5903e98 SHA512 a8005c71bfddb854ecbe4df0a81530e44378150242508b10df58c61d039c6d329020407608e31f1ef360de0c83169e76b793c032256e732d229bfd2da4cbaa35
EBUILD linux-gpib-4.3.6-r100.ebuild 5029 BLAKE2B 23cc0f14adb5db702da20076172422640b9e6f99115a27a0a17d8528fac14c69588e31202ca765ec8b237bbd27fa6110349f3bb3f2284459040f37c12988bf4e SHA512 e0eefdaeec929db676c26982bb884cd85e58b8a121f4f80c1ea202f65afeb9c173d71dbeadb86b4c5c4abd38ff680df4d4c79c3bca4088d501f6c538eab99769
-EBUILD linux-gpib-9999.ebuild 6001 BLAKE2B c0f6d7729d2b186941e61d9053ba4c8453702a6e1166cc12ffb42cc4411e716155bc40b18683f6964a06f3bf24106ab045da8005a67c8217b2e406cd7e640246 SHA512 7ed4b4355256432e40211bba430bc7e78aa65ff2e42fb05337dd8d96b020843f408c1bf431fdfa3e88e56d2eea4f9c11d74af0de2e3ca6d214ba96cc7a1f41ff
+EBUILD linux-gpib-4.3.6-r200.ebuild 8147 BLAKE2B 92c221c1161e8dfcea708a27668fd6ece2b77642cd13f4bd643bcd0aff8c20116e750ce9e9bb68ba78d416dd4941bd1e42c07627ad99948377957e7cc79a34ee SHA512 2a0d684aa287e7b01c127378d70b1d9c4d0576fa4bb4d47c78737d9a852abdab4569b609e394f9acfc7b1e7ddf8137d4f2c86d8b1e7c095dfdd3a5164762705b
+EBUILD linux-gpib-9999.ebuild 8147 BLAKE2B 92c221c1161e8dfcea708a27668fd6ece2b77642cd13f4bd643bcd0aff8c20116e750ce9e9bb68ba78d416dd4941bd1e42c07627ad99948377957e7cc79a34ee SHA512 2a0d684aa287e7b01c127378d70b1d9c4d0576fa4bb4d47c78737d9a852abdab4569b609e394f9acfc7b1e7ddf8137d4f2c86d8b1e7c095dfdd3a5164762705b
MISC metadata.xml 548 BLAKE2B c976143b910efb6a8920f064f35fdac9cb325ff272aca8a7644511300f4dfe9232c280577a90eae225ca4f88bc2b4cd09d175d4190bc13513d89457f57c9bb52 SHA512 c611a420ab28d623b5b9167bd59c04c2fe27404a7fd85de72a555f99ef8bad4383702482ae808d4eb66014a9e63ca057aa7195748f9c230f0778fcbde07fb71f
diff --git a/sci-libs/linux-gpib/linux-gpib-4.3.6-r200.ebuild b/sci-libs/linux-gpib/linux-gpib-4.3.6-r200.ebuild
new file mode 100644
index 000000000000..323ee8b32be6
--- /dev/null
+++ b/sci-libs/linux-gpib/linux-gpib-4.3.6-r200.ebuild
@@ -0,0 +1,290 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+GUILE_COMPAT=( 2-2 3-0 )
+PYTHON_COMPAT=( python3_{10..13} )
+DISTUTILS_EXT=1
+DISTUTILS_OPTIONAL=1
+DISTUTILS_USE_PEP517=setuptools
+MODULES_OPTIONAL_IUSE=+modules
+
+inherit autotools distutils-r1 guile-single linux-mod-r1
+inherit perl-functions readme.gentoo-r1 udev
+
+# Check for latest firmware version on bump
+FW_PV="2008-08-10"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://git.code.sf.net/p/linux-gpib/git"
+ S="${WORKDIR}/${P}/${PN}-user"
+else
+ SRC_URI="https://downloads.sourceforge.net/linux-gpib/${P}.tar.gz"
+ S="${WORKDIR}/${PN}-user-${PV}"
+ KEYWORDS="~amd64 ~arm ~x86"
+fi
+
+DESCRIPTION="Driver library for GPIB (IEEE 488.2) hardware"
+HOMEPAGE="https://linux-gpib.sourceforge.io/"
+SRC_URI+="
+ firmware? ( https://linux-gpib.sourceforge.io/firmware/gpib_firmware-${FW_PV}.tar.gz )
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="guile pcmcia perl php python static tcl doc firmware"
+REQUIRED_USE="
+ guile? ( ${GUILE_REQUIRED_USE} )
+ python? ( ${PYTHON_REQUIRED_USE} )
+"
+
+COMMONDEPEND="
+ sys-libs/readline:=
+ tcl? ( dev-lang/tcl:0= )
+ guile? ( ${GUILE_DEPS} )
+ perl? ( dev-lang/perl:= )
+ php? ( dev-lang/php:= )
+ firmware? ( sys-apps/fxload )
+"
+RDEPEND="${COMMONDEPEND}
+ acct-group/gpib
+ python? ( ${PYTHON_DEPS} )
+ !sci-libs/linux-gpib-modules
+"
+DEPEND="${COMMONDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ doc? ( app-text/docbook-sgml-utils[jadetex] )
+ python? ( ${DISTUTILS_DEPS} ${PYTHON_DEPS} )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-4.3.0-perl.patch
+)
+
+pkg_setup() {
+ if use modules; then
+ linux-mod-r1_pkg_setup
+ if kernel_is -ge 6 13 0; then
+ eerror "The GPIB drivers have been merged upstream into kernel"
+ eerror "version 6.13.0 and up. Please enable CONFIG_GPIB for"
+ eerror "your kernel and disable the \"modules\" USE flag."
+ die "\"modules\" USE flag not supported for this kernel."
+ fi
+ else
+ CONFIG_CHECK="~GPIB"
+ linux-info_pkg_setup
+ fi
+
+ use guile && guile-single_pkg_setup
+ use perl && perl_set_version
+ use python && python_setup
+}
+
+src_unpack() {
+ if [[ ${PV} == 9999 ]]; then
+ git-r3_src_unpack
+ else
+ default
+ unpack "${WORKDIR}/${P}/${PN}-user-${PV}.tar.gz"
+ if use modules; then
+ unpack "${WORKDIR}/${P}/${PN}-kernel-${PV}.tar.gz"
+ mv "${WORKDIR}/${PN}-kernel-${PV}" "${WORKDIR}/${PN}-kernel" || die
+ fi
+ fi
+}
+
+src_prepare() {
+ default
+
+ use guile && guile_bump_sources
+
+ # We have to use --root instead of --prefix for setup.py.
+ # Otherwise the python files are not installed properly into site-packages.
+ sed -i -e \
+ 's/--prefix=$(DESTDIR)$(prefix)/--root=$(DESTDIR)/g' \
+ language/python/Makefile.am || die
+
+ eautoreconf
+
+ if use python; then
+ pushd language/python >/dev/null || die
+ distutils-r1_src_prepare
+ popd >/dev/null || die
+ fi
+}
+
+src_configure() {
+ myeconfargs=(
+ $(use_enable static)
+ $(use_enable guile guile-binding)
+ $(use_enable perl perl-binding)
+ $(use_enable php php-binding)
+ $(use_enable python python-binding)
+ $(use_enable tcl tcl-binding)
+ $(use_enable doc documentation)
+ --disable-python-binding
+ )
+
+ econf "${myeconfargs[@]}"
+
+ if use python; then
+ pushd language/python >/dev/null || die
+ distutils-r1_src_configure
+ popd >/dev/null || die
+ fi
+
+ if use modules; then
+ MODULES_MAKEARGS+=( LINUX_SRCDIR="${KV_OUT_DIR}" )
+ use debug && MODULES_MAKEARGS+=( 'GPIB-DEBUG=1' )
+ fi
+}
+
+src_compile() {
+ default
+ if use python; then
+ pushd language/python >/dev/null || die
+ distutils-r1_src_compile
+ popd >/dev/null || die
+ fi
+
+ if use modules; then
+ local modlist=(
+ "agilent_82350b=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/agilent_82350b"
+ "agilent_82357a=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/agilent_82357a"
+ "cb7210=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/cb7210"
+ "cec_gpib=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/cec"
+ "fmh_gpib=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/fmh_gpib"
+ "gpib_bitbang=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/gpio"
+ "hp82335=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/hp_82335"
+ "hp_82341=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/hp_82341"
+ "ines_gpib=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/ines"
+ "lpvo_usb_gpib=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/lpvo_usb_gpib"
+ "nec7210=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/nec7210"
+ "ni_usb_gpib=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/ni_usb"
+ "gpib_common=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/sys"
+ "tms9914=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/tms9914"
+ "tnt4882=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/tnt4882"
+ )
+ linux-mod-r1_src_compile
+ fi
+}
+
+src_install() {
+ # PYTHONDONTWRITEBYTECODE=0 is required, otherwise
+ # installation of the python files is skipped
+ FIRM_DIR="${EPREFIX}"/usr/share/usb
+ emake \
+ DESTDIR="${ED}" \
+ INSTALL_MOD_PATH="${ED}" \
+ HOTPLUG_USB_CONF_DIR=/etc/hotplug/usb \
+ UDEV_RULES_DIR="$(get_udevdir)"/rules.d \
+ USB_FIRMWARE_DIR=${FIRM_DIR} \
+ PYTHONDONTWRITEBYTECODE=0 \
+ docdir="/usr/share/doc/${PF}/html" install
+
+ use modules && linux-mod-r1_src_install
+
+ use guile && guile_unstrip_ccache
+
+ if use perl; then
+ einfo "Installing perl module"
+ cd "${S}"/language/perl || die
+ emake DESTDIR="${ED}" install
+ perl_fix_packlist
+ perl_delete_emptybsdir
+ cd "${S}" || die
+ fi
+
+ if use python; then
+ pushd language/python >/dev/null || die
+ distutils-r1_src_install
+ popd >/dev/null || die
+ fi
+
+ echo "KERNEL==\"gpib[0-9]*\", MODE=\"0660\", GROUP=\"gpib\"" >> 99-gpib.rules || die
+ udev_dorules 99-gpib.rules
+
+ dodoc AUTHORS README* NEWS
+ if [[ ${PV} == 9999 ]]; then
+ dodoc ../ChangeLog
+ else
+ dodoc doc/linux-gpib.pdf ChangeLog
+ fi
+
+ insinto /etc
+ newins util/templates/gpib.conf gpib.conf
+ newins util/templates/gpib.conf gpib.conf.example
+
+ if use pcmcia; then
+ insinto /etc/pcmcia
+ doins "${S}"/etc/pcmcia/*
+ fi
+
+ # remove .la files
+ find "${ED}" -name '*.la' -delete || die
+
+ DOC_CONTENTS="
+As the udev rules were changed and refactored in this release it is
+necessary to remove any manually installed pre-4.3.0 gpib udev rules files
+in /etc/udev/rules.d/. The files to remove are:
+\n
+ 99-agilent_82357a.rules\n
+ 99-gpib-generic.rules\n
+ 99-ni_usb_gpib.rules\n
+\n
+You need to run the 'gpib_config' utility to setup the driver before
+you can use it. In order to do it automatically you can add to your
+start script something like this (supposing the appropriate driver
+is loaded on the startup):
+\n
+ gpib_config --minor 0
+\n
+To give a user access to the computer's gpib board you will have to add
+them to the group 'gpib' or, you could change the permissions on the device
+files /dev/gpib[0-15] to something you like better, using 'chmod'
+\n
+Edit /etc/gpib.conf to match your interface board, and any devices you wish
+to open via ibfind(). See the documentation in /usr/share/linux-gpib/html for
+more information.
+\n
+"
+
+ if use pcmcia; then
+ DOC_CONTENTS+='
+For PCMCIA cards:\n
+All files needed for a PCMCIA board were copied to /etc/pcmcia.
+You may wish to edit the options passed to the gpib_config call in the
+/etc/pcmcia/linux-gpib-pcmcia script.
+You may need to send a SIGHUP signal to the cardmgr daemon to force it
+to reload the files in /etc/pcmcia \(alternatively you could use your
+pcmcia init.d script to restart the cardmgr, or you could just reboot\).
+The driver module will be loaded as needed by the cardmgr.
+
+'
+ fi
+
+ if use firmware; then
+ DOC_CONTENTS+='
+For Agilent \(HP\) 82341C and 82341D cards:
+The firmware for these boards is uploaded by passing the appropriate
+firmware file from /usr/share/linux-gpib/hp_82341 directory to
+gpib_config using the -I or --init-data command line option. Example:\n
+gpib_config --minor 0 --init-data /usr/share/linux-gpib/hp_82341/hp_82341c_fw.bin
+'
+ fi
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ use modules && linux-mod-r1_pkg_postinst
+ readme.gentoo_print_elog
+ udev_reload
+}
+
+pkg_postrm() {
+ udev_reload
+}
diff --git a/sci-libs/linux-gpib/linux-gpib-9999.ebuild b/sci-libs/linux-gpib/linux-gpib-9999.ebuild
index 25af503e2da7..323ee8b32be6 100644
--- a/sci-libs/linux-gpib/linux-gpib-9999.ebuild
+++ b/sci-libs/linux-gpib/linux-gpib-9999.ebuild
@@ -8,8 +8,10 @@ PYTHON_COMPAT=( python3_{10..13} )
DISTUTILS_EXT=1
DISTUTILS_OPTIONAL=1
DISTUTILS_USE_PEP517=setuptools
+MODULES_OPTIONAL_IUSE=+modules
-inherit readme.gentoo-r1 autotools distutils-r1 guile-single perl-functions udev
+inherit autotools distutils-r1 guile-single linux-mod-r1
+inherit perl-functions readme.gentoo-r1 udev
# Check for latest firmware version on bump
FW_PV="2008-08-10"
@@ -32,7 +34,7 @@ SRC_URI+="
LICENSE="GPL-2"
SLOT="0"
-IUSE="pcmcia static guile perl php python tcl doc firmware"
+IUSE="guile pcmcia perl php python static tcl doc firmware"
REQUIRED_USE="
guile? ( ${GUILE_REQUIRED_USE} )
python? ( ${PYTHON_REQUIRED_USE} )
@@ -48,8 +50,8 @@ COMMONDEPEND="
"
RDEPEND="${COMMONDEPEND}
acct-group/gpib
- ~sci-libs/linux-gpib-modules-${PV}
python? ( ${PYTHON_DEPS} )
+ !sci-libs/linux-gpib-modules
"
DEPEND="${COMMONDEPEND}"
BDEPEND="
@@ -63,6 +65,19 @@ PATCHES=(
)
pkg_setup() {
+ if use modules; then
+ linux-mod-r1_pkg_setup
+ if kernel_is -ge 6 13 0; then
+ eerror "The GPIB drivers have been merged upstream into kernel"
+ eerror "version 6.13.0 and up. Please enable CONFIG_GPIB for"
+ eerror "your kernel and disable the \"modules\" USE flag."
+ die "\"modules\" USE flag not supported for this kernel."
+ fi
+ else
+ CONFIG_CHECK="~GPIB"
+ linux-info_pkg_setup
+ fi
+
use guile && guile-single_pkg_setup
use perl && perl_set_version
use python && python_setup
@@ -74,6 +89,10 @@ src_unpack() {
else
default
unpack "${WORKDIR}/${P}/${PN}-user-${PV}.tar.gz"
+ if use modules; then
+ unpack "${WORKDIR}/${P}/${PN}-kernel-${PV}.tar.gz"
+ mv "${WORKDIR}/${PN}-kernel-${PV}" "${WORKDIR}/${PN}-kernel" || die
+ fi
fi
}
@@ -116,6 +135,11 @@ src_configure() {
distutils-r1_src_configure
popd >/dev/null || die
fi
+
+ if use modules; then
+ MODULES_MAKEARGS+=( LINUX_SRCDIR="${KV_OUT_DIR}" )
+ use debug && MODULES_MAKEARGS+=( 'GPIB-DEBUG=1' )
+ fi
}
src_compile() {
@@ -125,6 +149,27 @@ src_compile() {
distutils-r1_src_compile
popd >/dev/null || die
fi
+
+ if use modules; then
+ local modlist=(
+ "agilent_82350b=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/agilent_82350b"
+ "agilent_82357a=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/agilent_82357a"
+ "cb7210=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/cb7210"
+ "cec_gpib=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/cec"
+ "fmh_gpib=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/fmh_gpib"
+ "gpib_bitbang=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/gpio"
+ "hp82335=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/hp_82335"
+ "hp_82341=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/hp_82341"
+ "ines_gpib=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/ines"
+ "lpvo_usb_gpib=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/lpvo_usb_gpib"
+ "nec7210=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/nec7210"
+ "ni_usb_gpib=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/ni_usb"
+ "gpib_common=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/sys"
+ "tms9914=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/tms9914"
+ "tnt4882=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/tnt4882"
+ )
+ linux-mod-r1_src_compile
+ fi
}
src_install() {
@@ -140,6 +185,8 @@ src_install() {
PYTHONDONTWRITEBYTECODE=0 \
docdir="/usr/share/doc/${PF}/html" install
+ use modules && linux-mod-r1_src_install
+
use guile && guile_unstrip_ccache
if use perl; then
@@ -233,6 +280,7 @@ gpib_config --minor 0 --init-data /usr/share/linux-gpib/hp_82341/hp_82341c_fw.bi
}
pkg_postinst() {
+ use modules && linux-mod-r1_pkg_postinst
readme.gentoo_print_elog
udev_reload
}
diff --git a/sci-libs/rocBLAS/Manifest b/sci-libs/rocBLAS/Manifest
index 472f9f9a3578..539b88f35e49 100644
--- a/sci-libs/rocBLAS/Manifest
+++ b/sci-libs/rocBLAS/Manifest
@@ -12,5 +12,5 @@ DIST rocm-rocBLAS-6.3.3.tar.gz 57909385 BLAKE2B a51274e2895419cc517ac24a0235c90f
EBUILD rocBLAS-5.7.1-r2.ebuild 2728 BLAKE2B e8256cd30876c89d9d84180e4621884d87c873e9680980369b6ec1a377fac3ba441bfbe5ebd160dbe5a7c13f868a15afd14328f663ff05afae136670a1a7ce97 SHA512 390911c868c8cb4bdec520bcf0d189922e528200c2b43946542034a3bd72141a47730ce67a5d755c4469100165194c8bcdfd81f9e6d6394ee7e51e0f84cac13f
EBUILD rocBLAS-6.1.1-r1.ebuild 3032 BLAKE2B d0815d198208beaa77059ccadeca6c0e9331e52ec1292c1467fecf38ebf8356ddc7b5b8b2e84e1dfe541215cfc54f15b11d20877f56983ec06688edc5119e657 SHA512 91d95e5654369256a1691e204f54f9c71c2aec0a5f09d8fb1bf739d75af38a5ae7e55a6435524832996ed7eaa218709581fd73d6c9f176509ec7f2a488275e7a
EBUILD rocBLAS-6.3.2.ebuild 3169 BLAKE2B db20f61918818b6f88fb1e16a276356ad5703dd251a4ac8b8e5a53b86ff291a4512d40f8d440e8a666e878dde6e9239a1eb144743e4ed587eafb7bfaa0102b09 SHA512 3eaf65530df7fe2a0b2e126cbc7c9e1b1c8ebe61ef7f73746571e8b3f4c462bf9b6dbfbcfcf10f991f74b247cf371864aff080d1e9591497436f6419fa6523cb
-EBUILD rocBLAS-6.3.3.ebuild 3169 BLAKE2B db20f61918818b6f88fb1e16a276356ad5703dd251a4ac8b8e5a53b86ff291a4512d40f8d440e8a666e878dde6e9239a1eb144743e4ed587eafb7bfaa0102b09 SHA512 3eaf65530df7fe2a0b2e126cbc7c9e1b1c8ebe61ef7f73746571e8b3f4c462bf9b6dbfbcfcf10f991f74b247cf371864aff080d1e9591497436f6419fa6523cb
+EBUILD rocBLAS-6.3.3.ebuild 3168 BLAKE2B 32c68a56693c2641c295cc822be57b1a8d0f64072b380adb49229ef5a34e289b2dc44d9ecbc6cadda4c9e27dcbebfc3cda6c8b1cbcc2da5ae5491032c7916e04 SHA512 afddf2b66649a0d5af179968772ed33c9038ed6330ccf593380d0b394569153bc977d79fb45ab8908b1110ac2d7d80bbce9840c8471fe380d2491b0262dc7ae7
MISC metadata.xml 951 BLAKE2B 932f1bf013b1a322d19013e6f60905b9b9923650d2feaeb7d907fb6a5a95feba90ad62da496fb09965afd43d972d695158fe3f0a6d7377fab53db8cfa7a8e45d SHA512 0c7cbdeb1325718901040d76cc8b80640d849b7fe647c6f5168e86a42d7e571f0d272dc24d987bf2ca11d62b8f5a6093c833d33da121bc82ea12a3dedc7f19e9
diff --git a/sci-libs/rocBLAS/rocBLAS-6.3.3.ebuild b/sci-libs/rocBLAS/rocBLAS-6.3.3.ebuild
index 8b8a801e0160..07a0bddc3fce 100644
--- a/sci-libs/rocBLAS/rocBLAS-6.3.3.ebuild
+++ b/sci-libs/rocBLAS/rocBLAS-6.3.3.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DOCS_BUILDER="doxygen"
-DOCS_DIR="docs/.doxygen"
+DOCS_DIR="docs/doxygen"
DOCS_DEPEND="media-gfx/graphviz"
LLVM_COMPAT=( 19 )
ROCM_VERSION=${PV}