[gentoo-commits] repo/gentoo:master commit in: dev-util/debootstrap/

2024-04-21 Thread Matthias Maier
commit: cec4afac79cf5d83f13ae75e7dc63c831bca0462
Author: Matthias Maier  gentoo  org>
AuthorDate: Sun Apr 21 20:09:18 2024 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sun Apr 21 21:26:08 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cec4afac

dev-util/debootstrap: add longdescription

Signed-off-by: Matthias Maier  gentoo.org>

 dev-util/debootstrap/metadata.xml | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/dev-util/debootstrap/metadata.xml 
b/dev-util/debootstrap/metadata.xml
index 41492a48020d..d0adaf9c63d2 100644
--- a/dev-util/debootstrap/metadata.xml
+++ b/dev-util/debootstrap/metadata.xml
@@ -1,6 +1,16 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
+   
+   Debootstrap is a tool which will install a Debian base system 
into
+   a subdirectory of another, already installed system. It doesn't
+   require an installation CD, just access to a Debian repository. 
It
+   can also be installed and run from another operating system, so,
+   for instance, you can use debootstrap to install Debian onto an
+   unused partition from a running Gentoo system. It can also be 
used
+   to create a rootfs for a machine of a different architecture, 
which
+   is known as "cross-debootstrapping".
+   

tam...@gentoo.org
    Matthias Maier



[gentoo-commits] repo/gentoo:master commit in: dev-util/debootstrap/

2024-04-21 Thread Matthias Maier
commit: 93cd316326799364114de340bb649b113011f699
Author: Matthias Maier  gentoo  org>
AuthorDate: Sun Apr 21 19:22:42 2024 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sun Apr 21 19:39:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93cd3163

dev-util/debootstrap: add 1.0.134, add myself as maintainer

Signed-off-by: Matthias Maier  gentoo.org>

 dev-util/debootstrap/Manifest   |  1 +
 dev-util/debootstrap/debootstrap-1.0.134.ebuild | 51 +
 dev-util/debootstrap/metadata.xml   |  5 ++-
 3 files changed, 56 insertions(+), 1 deletion(-)

diff --git a/dev-util/debootstrap/Manifest b/dev-util/debootstrap/Manifest
index e09cbce6293b..ab4008243e2b 100644
--- a/dev-util/debootstrap/Manifest
+++ b/dev-util/debootstrap/Manifest
@@ -1,3 +1,4 @@
 DIST debootstrap-1.0.128+nmu2.tar.bz2 70406 BLAKE2B 
7ba8f2cb63da3217594e9b058e1b0b4452823d9daeaaff0f91a298bd9d29ec16b332eda03259a12a9259dc759f63f1123654454341eb32f6fd882def0f3e4582
 SHA512 
a8baa7df3956d407c1b9344a0f0acb8162d951b55c3f402f7f04d8b652e00a366fd0e8be8fb4ecfd3997d6374c0271a329ccc631b32958a2296c73e389d622d3
+DIST debootstrap-1.0.134.tar.bz2 76120 BLAKE2B 
ce885d57a9c98864ea045dd3151553b57f6d9feadaba41df063f8f9056a7d1294ade2ac32374bc59cbfcae5993956bb68cb19759a109520419b8e1134563fddc
 SHA512 
e7b9726632d3816975c8cbd0020882f69db6d2a84f6c2d086a4e002c58afa61f8b08a8a35b40dd6a284e2cdb584817292462e5dc354fb83d177d50a56aa8cda6
 DIST debootstrap_1.0.123.tar.gz 78175 BLAKE2B 
e507ee76817eef20cfea4e37eaf893f8e64acaa791806ebd55bec97b8e60eb3c59b68bfe5e6023dc6e73706bde2468db46b84f0176ec46d086c3ea9423a206c7
 SHA512 
3b23f61528d4993750ba22b8765c10cfb9695793177017d9e4faf546da076be6660c5d6e0d1bf30bafe14f6d70f886190d3ec42a0057b895f40e860475eea794
 DIST devices.tar.gz 47835 BLAKE2B 
03bfe097fda12a7a0aa19d3308c0d44382ad945defea05a63b17a72e4051ef94f0e60e75bde35baeace81da59d9f04126f6e463163609475b9c0fdf518f533ef
 SHA512 
994ec8d72e3d52d2d872f7ff0da2336e4cbd3a5fa73bb6cdb9e06f5e7f5b8c69cea639c738fdba1186f382d6dcf62e7746fface664bfbd744aac24b16f034432

diff --git a/dev-util/debootstrap/debootstrap-1.0.134.ebuild 
b/dev-util/debootstrap/debootstrap-1.0.134.ebuild
new file mode 100644
index ..f3548f563311
--- /dev/null
+++ b/dev-util/debootstrap/debootstrap-1.0.134.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PV="${PV/_p/+nmu}"
+
+DESCRIPTION="Debian/Ubuntu bootstrap scripts"
+HOMEPAGE="https://packages.qa.debian.org/d/debootstrap.html;
+SRC_URI="https://salsa.debian.org/installer-team/${PN}/-/archive/${MY_PV}/${PN}-${MY_PV}.tar.bz2
+   mirror://gentoo/devices.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux"
+
+RDEPEND="
+   app-arch/dpkg
+   net-misc/wget
+   sys-devel/binutils
+"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_unpack() {
+   unpack "${PN}-${MY_PV}".tar.bz2
+   cp "${DISTDIR}"/devices.tar.gz "${S}" || die
+}
+
+src_compile() {
+   :
+}
+
+src_install() {
+   local DOCS=( TODO debian/changelog )
+   default
+   doman debootstrap.8
+}
+
+pkg_postinst() {
+   if ! has_version ${CATEGORY}/${PN} && ! has_version app-crypt/gnupg; 
then
+   elog "To check Release files against a keyring (--keyring=K), 
please"
+   elog "install app-crypt/gnupg"
+   fi
+
+   if ! has_version app-crypt/debian-archive-keyring || ! has_version 
app-crypt/ubuntu-keyring; then
+   elog "To check Release files from Debian or Ubuntu, please 
install"
+   elog " app-crypt/debian-archive-keyring or"
+   elog " app-crypt/ubuntu-keyring as required"
+   fi
+}

diff --git a/dev-util/debootstrap/metadata.xml 
b/dev-util/debootstrap/metadata.xml
index 115e9d64a669..41492a48020d 100644
--- a/dev-util/debootstrap/metadata.xml
+++ b/dev-util/debootstrap/metadata.xml
@@ -1,5 +1,8 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-   
+   
+   tam...@gentoo.org
+   Matthias Maier
+   
 



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/slepc/

2024-04-04 Thread Matthias Maier
commit: 64e83696fda7414069eaf84329e27e85a1a97f0b
Author: Matthias Maier  gentoo  org>
AuthorDate: Fri Apr  5 03:48:28 2024 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Fri Apr  5 03:51:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64e83696

sci-mathematics/slepc: add 3.20.1

Signed-off-by: Matthias Maier  gentoo.org>

 sci-mathematics/slepc/Manifest|   2 +
 sci-mathematics/slepc/slepc-3.20.1.ebuild | 125 ++
 2 files changed, 127 insertions(+)

diff --git a/sci-mathematics/slepc/Manifest b/sci-mathematics/slepc/Manifest
index f015302a3885..6df2601b5b5d 100644
--- a/sci-mathematics/slepc/Manifest
+++ b/sci-mathematics/slepc/Manifest
@@ -3,5 +3,7 @@ DIST slepc-3.17.1.tar.gz 5450177 BLAKE2B 
ec4f597085a176a010797d599779cc4532e5299
 DIST slepc-3.18.1.tar.gz 6013016 BLAKE2B 
1526b7e6e0f0387a8410cfcbee9bc62f35f930420b86bcb58146b16f73b28b349c6aad0ef59e02a635c374a0a8b6eb16ac50b7bcb79ce6c06a3de56029db551a
 SHA512 
d366844c492be6bf77edabdbe0d61672ead45605fc299c25ac24bf14d9d15bc107bb62f0d08aa403a5f269a2b12ae4d7cd3768958d792812e6c1924b93a27be4
 DIST slepc-3.19.0.tar.gz 1803822 BLAKE2B 
742cc773e649d46ff8513263ef53fe5d62f6cac537d5444eeeb494d0816d496a5c0c2f260615aa8a82ebdc983877302acf7d0c88f01bd4bea66246149dabac13
 SHA512 
edb8c589c162766a7b4a81b484356f2a5b2f70a7c90c87e39efda1a00f6fe544d7ae644e8903059b7dab990c1fa2129cd5d1c7dbb759511483ab43d3d691419c
 DIST slepc-3.19.1.tar.gz 1804559 BLAKE2B 
e70d0801f84ee62409efd53b56cf57405017ee02cbc0c5484ca2aaf550f97ce8be665a360d774b69b8315dc1cdd0404535a316b6d744c7d0a6f87129c93dcf4d
 SHA512 
a0bcbdb917e0a9606ba2bd00ee04e3016e9d5feb7e6ced069c1c57452a8661cdb57fa0d81004340367796cec91b7f9280339c7c0dfaaa0e5f839d91194dd43cb
+DIST slepc-3.20.1.tar.gz 1822991 BLAKE2B 
5ce61d5087b2157b005170f7e441bcece4462d98120f7b731365d29c5f49dd3bc2d868f1ef70456f7cf03a499b8e1d44ba2e20c257b569e0717060bc01d2ec0d
 SHA512 
fb1b07e72f83ff4c16c93e63e0d07fd1459c807d9995e543dd3e93e82b374be0c5a56ca2384142af8fb7302550352a4376889ecd3a80babe964d7c69ac1e500f
 DIST slepc-with-docs-3.19.0.tar.gz 6320650 BLAKE2B 
32d383d7ddfe6cf21755fcae768517830076d38ef4c0d844c0a4270194de541a32849883d951f1a47d98491be05866b415de3ca6148b9d9cdf0bfc5e6487234e
 SHA512 
48695c8449a323755a5d8bd3e88560e72ef82a48d0d1150e2a751a323db02836b7bbaea3bb44c9a79b900a93337f6ced12aba6cfd939a7c1edae49f17e71
 DIST slepc-with-docs-3.19.1.tar.gz 6325794 BLAKE2B 
45f33632b2096df5b25a910da33307bf1b3023949068cc84dda091a6fd142a8dc155c4d81e500dde05c3e852f87165b9cf72cdd1844a5fa7da554fe5a7740fea
 SHA512 
5d886f05e6e21f7344391aacb892ae44cc5ac6f2144e9738fa318aab3724c010e51c968f242b5a19988e362f6f5a9d28a57fe4a4749a18be928ad458b3583936
+DIST slepc-with-docs-3.20.1.tar.gz 6381729 BLAKE2B 
857e3827319258809691b1abd16a1686a8eb8b435495bcc25588b01fc369e4aad87060687d16030221524a08aa52f666e093471e0d7bca23c32dd2e3a3589dd1
 SHA512 
70869e9dcfdb63df62e63f6b69297e989a42e38116b525fbef3a75962b968cdccbc8bf17f7b1e74de910f1e66b704a9e36b2ffd1ae924d3279d80969d75f9f97

diff --git a/sci-mathematics/slepc/slepc-3.20.1.ebuild 
b/sci-mathematics/slepc/slepc-3.20.1.ebuild
new file mode 100644
index ..3d9a5e16f6f6
--- /dev/null
+++ b/sci-mathematics/slepc/slepc-3.20.1.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit python-any-r1
+
+DESCRIPTION="Scalable Library for Eigenvalue Problem Computations"
+HOMEPAGE="https://slepc.upv.es/;
+SRC_URI="
+   !doc? ( https://slepc.upv.es/download/distrib/${P}.tar.gz )
+   doc? ( 
https://slepc.upv.es/download/distrib/${PN}-with-docs-${PV}.tar.gz )"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="arpack complex-scalars doc +examples mpi"
+
+REQUIRED_USE="arpack? ( mpi )"
+
+RDEPEND="
+   =sci-mathematics/petsc-$(ver_cut 1-2)*:=[examples,mpi=,complex-scalars=]
+   arpack? ( sci-libs/arpack[mpi=] )
+   mpi? ( virtual/mpi )
+"
+
+DEPEND="${RDEPEND}
+   ${PYTHON_DEPS}
+   virtual/pkgconfig
+   dev-build/cmake
+"
+
+MAKEOPTS="${MAKEOPTS} V=1"
+
+src_unpack() {
+   use doc || unpack ${P}.tar.gz
+   use doc && unpack ${PN}-with-docs-${PV}.tar.gz
+}
+
+src_configure() {
+   # *sigh*
+   addpredict "${PETSC_DIR}"/.nagged
+
+   # Make sure that the environment is set up correctly:
+   unset PETSC_DIR
+   unset PETSC_ARCH
+   source "${EPREFIX}"/etc/env.d/99petsc
+   export PETSC_DIR
+   export PETSC_ARCH
+   export SLEPC_DIR="${S}"
+
+   # configure is a custom python script and doesn't want to have default
+   # configure arguments that we set with econf
+   if use arpack; then
+   ./configure \
+   --prefix="${EPREFIX}/usr/$(get_libdir

[gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/

2024-03-17 Thread Matthias Maier
commit: f83e8448689c6077495bb5c1fe48d749c723da7c
Author: Matthias Maier  gentoo  org>
AuthorDate: Sun Mar 17 15:17:05 2024 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sun Mar 17 15:52:07 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f83e8448

sci-visualization/paraview: add 5.12.0

Signed-off-by: Matthias Maier  gentoo.org>

 sci-visualization/paraview/Manifest   |   1 +
 sci-visualization/paraview/paraview-5.12.0.ebuild | 245 ++
 2 files changed, 246 insertions(+)

diff --git a/sci-visualization/paraview/Manifest 
b/sci-visualization/paraview/Manifest
index 807206bbd0bd..e93bfb6acbac 100644
--- a/sci-visualization/paraview/Manifest
+++ b/sci-visualization/paraview/Manifest
@@ -1,2 +1,3 @@
 DIST ParaView-v5.11.1.tar.xz 79847556 BLAKE2B 
efef5e519a82ef1c0a7d532578778f6a95f07ebd72ebefd0cbdcff0bfc3af1773601cd102ff81f45f302fcaa4bb6ec7ee68f7dec77f5d4e137c2842fbbb54e11
 SHA512 
d0e666b49f49e41dba23e23d454a9462f018bd6d832628b0029e8d54760f0439ca97841a26da3126c5144780fc01dc25234a6624fb35346a98d35cbe0e0c98ca
 DIST ParaView-v5.12.0-RC1.tar.xz 128908020 BLAKE2B 
3222ac21f733559b9f5c7e8c1009a19c0e462e2622805db7d61b683f25d70fc40cf096d699afde6dab9e23c102e3df9251a718d3ecbaac7a56db01c898270cd9
 SHA512 
1c6a052081e274a120563c5ffc73dadf4e02be237cc0c213a22d0b93a9865713c83992a3fc0cc1c52742b0753546b5b983a3f650989e8a472ac2f7e90383de92
+DIST ParaView-v5.12.0.tar.xz 129439820 BLAKE2B 
b9a59c22d15ee1582704c7e6c70a259d8b8df5d0f59fb87902ade07bce3ef7b52b055d75bb0876b7a0a9b493a7ef8df377f0ac281c370c72d9b89418efec9657
 SHA512 
d7ad95105f43672c5f0001f673977b7742cca113b78b0d953f4c55f60a6cf72b8a216515136251f63b8294becb0ea717b5118bf48b78ca8db85949a1b59892c1

diff --git a/sci-visualization/paraview/paraview-5.12.0.ebuild 
b/sci-visualization/paraview/paraview-5.12.0.ebuild
new file mode 100644
index ..ec1f53f6c0b3
--- /dev/null
+++ b/sci-visualization/paraview/paraview-5.12.0.ebuild
@@ -0,0 +1,245 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..12} )
+DOCS_BUILDER="doxygen"
+inherit cmake flag-o-matic desktop docs python-single-r1 qmake-utils 
toolchain-funcs xdg
+
+MAJOR_PV="$(ver_cut 1-2)"
+MINOR_PV="$(ver_cut 3)"
+RC_PV="$(ver_cut 4-5)"
+RC_PV="${RC_PV:+-${RC_PV^^}}"
+MY_P="ParaView-v${MAJOR_PV}.${MINOR_PV}${RC_PV}"
+
+DESCRIPTION="Powerful scientific data visualization application"
+HOMEPAGE="https://www.paraview.org;
+SRC_URI="https://www.paraview.org/files/v${MAJOR_PV}/${MY_P}.tar.xz;
+S="${WORKDIR}/${MY_P}"
+
+# TODO: check licenses of plugins (USE=plugins)
+LICENSE="BSD MIT PSF-2 VTK"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="boost cg examples ffmpeg mpi nvcontrol openmp offscreen plugins python 
+qt5 +sqlite test tk +webengine"
+
+RESTRICT="mirror test"
+
+REQUIRED_USE="
+   python? ( mpi ${PYTHON_REQUIRED_USE} )
+   webengine? ( qt5 )
+   qt5? ( sqlite )
+   ?? ( offscreen qt5 )"
+
+RDEPEND="
+   app-arch/lz4
+   dev-libs/expat
+   dev-libs/jsoncpp:=
+   dev-libs/libxml2:2
+   dev-libs/protobuf:=
+   dev-libs/pugixml
+   media-libs/freetype
+   media-libs/glew:0
+   media-libs/libpng:0
+   media-libs/libtheora
+   media-libs/tiff:=
+   sci-libs/cgnslib
+   sci-libs/hdf5:=[mpi=]
+   >=sci-libs/netcdf-4.2[hdf5]
+   >=sci-libs/netcdf-cxx-4.2:3
+   sys-libs/zlib
+   virtual/glu
+   media-libs/libjpeg-turbo:=
+   x11-libs/libX11
+   x11-libs/libXext
+   x11-libs/libXmu
+   x11-libs/libXt
+   ffmpeg? ( media-video/ffmpeg )
+   mpi? ( virtual/mpi[cxx,romio] )
+   offscreen? ( >=media-libs/mesa-18.3.6[osmesa] )
+   !offscreen? ( virtual/opengl )
+   python? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/constantly[${PYTHON_USEDEP}]
+   dev-python/incremental[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/numpy[${PYTHON_USEDEP}]
+   dev-python/pygments[${PYTHON_USEDEP}]
+   dev-python/sip:5[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/twisted[${PYTHON_USEDEP}]
+   dev-python/zope-interface[${PYTHON_USEDEP}]
+   mpi? ( dev-python/mpi4py )
+   qt5? ( dev-python/PyQt5[opengl,${PYTHON_USEDEP}] )
+   ')
+   )
+   qt5? (
+   dev-qt/designer:5
+   dev-qt/qtdeclarative:5
+   dev-qt/qtgui:5[-gles2-only]
+   dev-qt/qthelp:5
+   dev-qt/qtopengl:5[-gles2-on

[gentoo-commits] repo/gentoo:master commit in: sci-libs/dealii/

2024-02-15 Thread Matthias Maier
commit: f5e2a063c8ac8e9a286786b1ff39ce2151adc8e9
Author: Matthias Maier  gentoo  org>
AuthorDate: Fri Feb 16 00:49:09 2024 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Fri Feb 16 00:49:09 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5e2a063

sci-libs/dealii: drop 9.4.0-r1

Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/dealii/Manifest   |   4 -
 sci-libs/dealii/dealii-9.4.0-r1.ebuild | 179 -
 2 files changed, 183 deletions(-)

diff --git a/sci-libs/dealii/Manifest b/sci-libs/dealii/Manifest
index d5a5844c5276..3ac62d91cec5 100644
--- a/sci-libs/dealii/Manifest
+++ b/sci-libs/dealii/Manifest
@@ -1,7 +1,3 @@
-DIST dealii-9.4.0-offline_documentation.tar.gz 390747598 BLAKE2B 
6e8ed938b31a9e6bbbdd5baacce056edc31d489ecd3e9528283650f431d004ca122c968567fe342744d52bab8f8be53ab1b20d56636e2dc48f8cf551791a08bd
 SHA512 
703eb50150ae5bd77f0d84271babd50483c3a9b069abb5b7e8827d00efaa5d189a43ac54f0ef8b2f746b12a10dc611669f5fddd655241a66af4915ec1d458185
-DIST dealii-9.4.0-offline_documentation.tar.gz.asc 246 BLAKE2B 
cb828efcdb38b88af9abc3be95c90c126144ee1edd076e2c47c7a90dad1df3ac29ce104de7be551fb93671b0b3ffe44b737fcba3841ccb0921e1f0795360fec4
 SHA512 
59f8997f9a19580861f0c7afd06b9737519c0dbf6990c4569f5c8dbd05e7e41dce19d1b9a639504696be2f99f6e8c555086dcd85c43976ccd5c7ebf007864dc0
-DIST dealii-9.4.0.tar.gz 30297914 BLAKE2B 
6beb4c7b83f5316e703d4b77340900c376e622b1dc59c9058a8927174a8c6991994957588b6adf88238e72eec93f8941bfbfb2d0bb01070560468d051d9829f8
 SHA512 
3be740fbabff65a18870496f483ac4ed6d35c8a53b5128dd09b2dfabe82d60e4a75f02fd508b44f6c93805999aab98f551154f10ca2ad5fabede65c2d6dce320
-DIST dealii-9.4.0.tar.gz.asc 246 BLAKE2B 
972d3fa18c83ff9b3aff996efaa0e6d1db848f64a46afb80b083c4f228d42ab1a2d7c5f6172a1ad3ae8542ca9c2a351c2badf98b9104dd5448a0f3d0cbd73e2a
 SHA512 
b0754c891356bcf30d2d32b4ecc780d2ba814b720426d604c0596ebdbdb1a8ae00357b04596c03f75e809593067b022b9e7c08584f88e35f05248472dde44f3b
 DIST dealii-9.4.1-offline_documentation.tar.gz 392007419 BLAKE2B 
81404b02ba7dc97a0314f52fa9d775183981864288f4ab4ca81b550a1763d90cb5b04b32c056008ad60a7829b929c78edd80cbeeeb861e4ef638780c13d80aa7
 SHA512 
9bbaf6e9a478ac643e87f2f07918c8a5216e17b0ddaeba4beb2acde9ea54833e2f0e7d11f61b2cac8b986e442dbb181317b53e1a40a807e7c098167bfd073266
 DIST dealii-9.4.1-offline_documentation.tar.gz.asc 246 BLAKE2B 
9ace22c9b174e642cd3fba94c165d816c62814f892f5f6f272efa0301613dc55251152825e726fc6cf7e89bbfb7fa3552ec58ad426a7d58a74ecb89b9072f742
 SHA512 
50b43dd34a0687395f516f4910581df71054fa8be3c98006566ea649d0af866d38c9793da548ba6bdb7a9fec452dfb6d928d336aace943522d7c3f854209b81b
 DIST dealii-9.4.1.tar.gz 30298204 BLAKE2B 
499f542c7a7f071d04048127199c7bebf5668b6e8d13fc2701dd18e28165442e58112ee9e4926e16a592bffdd5d7b7c240eea55808e5f9c021961f7e44b7da79
 SHA512 
39089aff462d3ff4244ce75f74a4cd908f8f72a81dcc3fb02ca91b3cad2442ceb78677e72cd928b36a04d352c4baa146a25fa5e14c886ca9e2bad0be0069f7b8

diff --git a/sci-libs/dealii/dealii-9.4.0-r1.ebuild 
b/sci-libs/dealii/dealii-9.4.0-r1.ebuild
deleted file mode 100644
index e85fd0205e74..
--- a/sci-libs/dealii/dealii-9.4.0-r1.ebuild
+++ /dev/null
@@ -1,179 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# deal.II uses its own FindLAPACK.cmake file that calls into the system
-# FindLAPACK.cmake module and does additional internal setup. Do not remove
-# any of these modules:
-CMAKE_REMOVE_MODULES_LIST=""
-
-inherit cmake flag-o-matic verify-sig
-
-DESCRIPTION="Solving partial differential equations with the finite element 
method"
-HOMEPAGE="https://www.dealii.org/;
-
-if [[ ${PV} = ** ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/dealii/dealii.git;
-   SRC_URI=""
-else
-   
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz
-   verify-sig? ( 
https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz.asc )
-   doc? (
-   
https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}-offline_documentation.tar.gz
-   verify-sig? ( 
https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}-offline_documentation.tar.gz.asc
 )
-   )"
-   KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-fi
-
-LICENSE="LGPL-2.1+"
-SLOT="0"
-IUSE="
-   adolc arborx assimp arpack cgal cpu_flags_x86_avx cpu_flags_x86_avx512f
-   cpu_flags_x86_sse2 cuda +debug doc +examples ginkgo gmsh +gsl hdf5
-   +lapack metis mpi muparser opencascade p4est petsc scalapack slepc
-   +sparse static-libs sundials symengine trilinos
-"
-
-# TODO: add slepc use flag once slepc is packaged for gentoo-science
-REQUIRED_USE="
-   arborx? ( trilinos )
-   p4est? ( mpi )
-   slepc? ( pets

[gentoo-commits] repo/gentoo:master commit in: sci-libs/dealii/, sci-libs/dealii/files/

2024-02-15 Thread Matthias Maier
commit: 71634c39d291459439fadb16adfb9506278d2835
Author: Matthias Maier  gentoo  org>
AuthorDate: Fri Feb 16 00:55:22 2024 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Fri Feb 16 00:59:14 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71634c39

sci-libs/dealii: add 9.4.2, drop 9.4.1-r1

 - apply mpich fix

Bug: https://bugs.gentoo.org/920556
Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/dealii/Manifest   |  4 +-
 ...{dealii-9.4.1-r1.ebuild => dealii-9.4.2.ebuild} |  7 ++-
 ...-remove-superfluous-explicit-instantiatio.patch | 59 ++
 ...mark-a-template-variable-to-have-const-in.patch | 28 ++
 4 files changed, 94 insertions(+), 4 deletions(-)

diff --git a/sci-libs/dealii/Manifest b/sci-libs/dealii/Manifest
index 3ac62d91cec5..060460e46f39 100644
--- a/sci-libs/dealii/Manifest
+++ b/sci-libs/dealii/Manifest
@@ -1,7 +1,7 @@
 DIST dealii-9.4.1-offline_documentation.tar.gz 392007419 BLAKE2B 
81404b02ba7dc97a0314f52fa9d775183981864288f4ab4ca81b550a1763d90cb5b04b32c056008ad60a7829b929c78edd80cbeeeb861e4ef638780c13d80aa7
 SHA512 
9bbaf6e9a478ac643e87f2f07918c8a5216e17b0ddaeba4beb2acde9ea54833e2f0e7d11f61b2cac8b986e442dbb181317b53e1a40a807e7c098167bfd073266
 DIST dealii-9.4.1-offline_documentation.tar.gz.asc 246 BLAKE2B 
9ace22c9b174e642cd3fba94c165d816c62814f892f5f6f272efa0301613dc55251152825e726fc6cf7e89bbfb7fa3552ec58ad426a7d58a74ecb89b9072f742
 SHA512 
50b43dd34a0687395f516f4910581df71054fa8be3c98006566ea649d0af866d38c9793da548ba6bdb7a9fec452dfb6d928d336aace943522d7c3f854209b81b
-DIST dealii-9.4.1.tar.gz 30298204 BLAKE2B 
499f542c7a7f071d04048127199c7bebf5668b6e8d13fc2701dd18e28165442e58112ee9e4926e16a592bffdd5d7b7c240eea55808e5f9c021961f7e44b7da79
 SHA512 
39089aff462d3ff4244ce75f74a4cd908f8f72a81dcc3fb02ca91b3cad2442ceb78677e72cd928b36a04d352c4baa146a25fa5e14c886ca9e2bad0be0069f7b8
-DIST dealii-9.4.1.tar.gz.asc 246 BLAKE2B 
dbb1dc7b3e8a97f29287f154d11cd3db2566fdc4c7667fa57e686e2feba33f2115546408365f0e8f490ba593cb582b12489de373da3e33e8702b6e16804c7ebf
 SHA512 
eb987d34f19b59d523d79f3c2c99f5f3125b1d0c71af0eb32b77ad5959d6197b79f1971a8a79dbc52bab698335dcb6091aac88c51d845a1e07d3681c089754c7
+DIST dealii-9.4.2.tar.gz 30298479 BLAKE2B 
bff5dd5a1b5458dd6e295b87cee9d24626ffce0b4c6a3329f190739d8fc67d34f11f0218dbbcd69dcf2e031e3e9f04cd1f2d0768d2fad32198bf1360d132a686
 SHA512 
6f6f032f6eef73421b53576e01f40bef0b4ce3d89583a016d057f8ec023c1f925a5c245991fd4639f9e73c4852d5cfd36da92258251a56179a98cd4a612cac9f
+DIST dealii-9.4.2.tar.gz.asc 246 BLAKE2B 
b61a8e3e496ba34c87fe453fbcec9fd0fb0d59f8d7123f38352c65c81b3d0ea706a4f645444970857a9fd67a26a984fc5adcfe8ed6c43eae5656bba6dd3bed9e
 SHA512 
b11a79da7eeaababf7ec2c2264b41d0a5df9fd2f870829c535f888f0f8c07a6765920e023fd9d74f24a5a4744bd8d68a6db1669e449ed1a81757ee6c3c60b873
 DIST dealii-9.5.0-offline_documentation.tar.gz 412499027 BLAKE2B 
521aa2488d84d48a624f4cbdbe9c173d0cdcee2df8d06b97b7c25ba28d4a2113a7da9fd9abd9eb64cd56b37f8edc716bd034fc3ba8823f8b1def26c34aaeeb55
 SHA512 
2e0d331f92d52b0fd909a0139157a1960a9222d46d537611f0508cdb79020a8e51ff0da6aefdf95adff732cea050b72df7dc1a8af7e93c736721970218815cfe
 DIST dealii-9.5.0-offline_documentation.tar.gz.asc 246 BLAKE2B 
0a570885e80ad09ff154532b71c07e33894e93c96b3bca48dc8aae0b308883518cbb5eca57658c4e13de47efba47c3cb20bf376482ef7a26c6c0da93ee4dd689
 SHA512 
b63a9a0504fe5266b448ffda74e1d85ad5b6f344535c5b5f11d209546b51bb916ad69504ce5e4f1fd2287407c2d3d98a20b01bd830e8d45f510a85b7a057a8d5
 DIST dealii-9.5.1.tar.gz 31522808 BLAKE2B 
99db2beafb949364869fc7f06f78bf921b0d99c69de57da40115b0eb939e1c9a40dcbf40a186a988189ea92a6e1295da4969fd33a7e4738b27813ff1842cb99a
 SHA512 
7ba4e4751417a7916cb059379b3b70afcaa5f62786e92ac7332b6f55cbcfcb25df15de2a6071cc33444c911f104e576f8792ea4ac4e6702186e5740c7c909d72

diff --git a/sci-libs/dealii/dealii-9.4.1-r1.ebuild 
b/sci-libs/dealii/dealii-9.4.2.ebuild
similarity index 94%
rename from sci-libs/dealii/dealii-9.4.1-r1.ebuild
rename to sci-libs/dealii/dealii-9.4.2.ebuild
index e85fd0205e74..fd2fc4b43f39 100644
--- a/sci-libs/dealii/dealii-9.4.1-r1.ebuild
+++ b/sci-libs/dealii/dealii-9.4.2.ebuild
@@ -18,11 +18,12 @@ if [[ ${PV} = ** ]]; then
EGIT_REPO_URI="https://github.com/dealii/dealii.git;
SRC_URI=""
 else
+   DOC_PV=9.4.1

SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz
verify-sig? ( 
https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz.asc )
doc? (
-   
https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}-offline_documentation.tar.gz
-   verify-sig? ( 
https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}-offline_documentation.tar.gz.asc
 )
+   
https://github.com/${PN}/${PN}/releases/download/v${DOC_PV}/${PN}-${DOC_PV}-offline_documentation.tar.gz
+   verify-sig? ( 
https:/

[gentoo-commits] repo/gentoo:master commit in: sci-libs/dealii/

2024-02-15 Thread Matthias Maier
commit: 2c012df379f458f614c12177d41fbaa035706390
Author: Matthias Maier  gentoo  org>
AuthorDate: Fri Feb 16 01:01:17 2024 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Fri Feb 16 01:01:34 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c012df3

sci-libs/dealii: add 9.5.2, drop 9.5.1

 - apply mpich fix

Closes: https://bugs.gentoo.org/920556
Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/dealii/Manifest | 4 ++--
 sci-libs/dealii/{dealii-9.5.1.ebuild => dealii-9.5.2.ebuild} | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/sci-libs/dealii/Manifest b/sci-libs/dealii/Manifest
index 060460e46f39..020200830dea 100644
--- a/sci-libs/dealii/Manifest
+++ b/sci-libs/dealii/Manifest
@@ -4,5 +4,5 @@ DIST dealii-9.4.2.tar.gz 30298479 BLAKE2B 
bff5dd5a1b5458dd6e295b87cee9d24626ffce
 DIST dealii-9.4.2.tar.gz.asc 246 BLAKE2B 
b61a8e3e496ba34c87fe453fbcec9fd0fb0d59f8d7123f38352c65c81b3d0ea706a4f645444970857a9fd67a26a984fc5adcfe8ed6c43eae5656bba6dd3bed9e
 SHA512 
b11a79da7eeaababf7ec2c2264b41d0a5df9fd2f870829c535f888f0f8c07a6765920e023fd9d74f24a5a4744bd8d68a6db1669e449ed1a81757ee6c3c60b873
 DIST dealii-9.5.0-offline_documentation.tar.gz 412499027 BLAKE2B 
521aa2488d84d48a624f4cbdbe9c173d0cdcee2df8d06b97b7c25ba28d4a2113a7da9fd9abd9eb64cd56b37f8edc716bd034fc3ba8823f8b1def26c34aaeeb55
 SHA512 
2e0d331f92d52b0fd909a0139157a1960a9222d46d537611f0508cdb79020a8e51ff0da6aefdf95adff732cea050b72df7dc1a8af7e93c736721970218815cfe
 DIST dealii-9.5.0-offline_documentation.tar.gz.asc 246 BLAKE2B 
0a570885e80ad09ff154532b71c07e33894e93c96b3bca48dc8aae0b308883518cbb5eca57658c4e13de47efba47c3cb20bf376482ef7a26c6c0da93ee4dd689
 SHA512 
b63a9a0504fe5266b448ffda74e1d85ad5b6f344535c5b5f11d209546b51bb916ad69504ce5e4f1fd2287407c2d3d98a20b01bd830e8d45f510a85b7a057a8d5
-DIST dealii-9.5.1.tar.gz 31522808 BLAKE2B 
99db2beafb949364869fc7f06f78bf921b0d99c69de57da40115b0eb939e1c9a40dcbf40a186a988189ea92a6e1295da4969fd33a7e4738b27813ff1842cb99a
 SHA512 
7ba4e4751417a7916cb059379b3b70afcaa5f62786e92ac7332b6f55cbcfcb25df15de2a6071cc33444c911f104e576f8792ea4ac4e6702186e5740c7c909d72
-DIST dealii-9.5.1.tar.gz.asc 246 BLAKE2B 
4d6aac271d1f460c66a54eff2012ded302093ef68777ff91f40d9472694541fa5e168e34e13dfadad3a8353dbca44756884c3f944f6f29169fc649d0395c
 SHA512 
1065d0ab07b2ebc52fc52faf896e6d757f89f523c7a16c650307fe115dde361e6e0ecb96c9e5ecfbe5ebe58728fdd76bf83cbb3cb82cdb76b182526fee42ecb3
+DIST dealii-9.5.2.tar.gz 31523493 BLAKE2B 
4ad55b0c4c7b1c02de17007f44b345856ec18127d6326b08fda76747087039344324c911409502f293e61eecd6d574f8a774ec0a1bbb200a2a4ee62a2f81e6d8
 SHA512 
5989c2dfd66f803b0bcc32816f69048c0bbb411c8b792691df9bbfc0c965c1c95c7e8c3782e1a3d160e9d124fd0c5396b55372e28e477fa474c3f3c03a5bd4e9
+DIST dealii-9.5.2.tar.gz.asc 246 BLAKE2B 
bacd1dac5a6f3d0d6639329512f5c4cafe39ecd036a7a4e38b81d31b6ee452d496190e8ae26c814631cc62c42208a1df1cd081ac8accd97d2821d7091495b898
 SHA512 
1821b4763ddcda11baf37b88ae90ec73576d2cacdeb53f4196dcde9e1649e685eb1666b86317d4573944769642b09bc76fc1de34a5e8e436004552f8652cad23

diff --git a/sci-libs/dealii/dealii-9.5.1.ebuild 
b/sci-libs/dealii/dealii-9.5.2.ebuild
similarity index 96%
rename from sci-libs/dealii/dealii-9.5.1.ebuild
rename to sci-libs/dealii/dealii-9.5.2.ebuild
index 5923a44a0b2c..e69819e8e682 100644
--- a/sci-libs/dealii/dealii-9.5.1.ebuild
+++ b/sci-libs/dealii/dealii-9.5.2.ebuild
@@ -88,6 +88,8 @@ BDEPEND="
verify-sig? ( sec-keys/openpgp-keys-dealii )"
 
 PATCHES=(
+   
"${FILESDIR}"/${PN}-9.4.2-base-mpi.cc-remove-superfluous-explicit-instantiatio.patch
+   
"${FILESDIR}"/${PN}-9.4.2-base-mpi.h-mark-a-template-variable-to-have-const-in.patch
 )
 
 VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/dealii.asc"



[gentoo-commits] repo/gentoo:master commit in: app-text/doxygen/

2024-02-13 Thread Matthias Maier
commit: 5ef8f8462268cf6884f044b429fd0b4f441f64f2
Author: Matthias Maier  gentoo  org>
AuthorDate: Tue Feb 13 18:51:49 2024 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Tue Feb 13 18:52:05 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ef8f846

app-text/doxygen: drop 1.10.0

Signed-off-by: Matthias Maier  gentoo.org>

 app-text/doxygen/doxygen-1.10.0.ebuild | 153 -
 1 file changed, 153 deletions(-)

diff --git a/app-text/doxygen/doxygen-1.10.0.ebuild 
b/app-text/doxygen/doxygen-1.10.0.ebuild
deleted file mode 100644
index 1da0762f0e7d..
--- a/app-text/doxygen/doxygen-1.10.0.ebuild
+++ /dev/null
@@ -1,153 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LLVM_MAX_SLOT=17
-PYTHON_COMPAT=( python3_{10..12} )
-PYTHON_REQ_USE="xml(+)"
-
-inherit cmake flag-o-matic llvm python-any-r1
-
-DESCRIPTION="Documentation system for most programming languages"
-HOMEPAGE="https://www.doxygen.nl/;
-
-if [[ ${PV} == ** ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/doxygen/doxygen.git;
-else
-   SRC_URI="https://doxygen.nl/files/${P}.src.tar.gz;
-   SRC_URI+=" mirror://sourceforge/doxygen/rel-${PV}/${P}.src.tar.gz"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x64-solaris"
-fi
-
-# GPL-2 also for bundled libmscgen
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="clang debug doc dot doxysearch gui test"
-# - We need TeX for tests, bug #765472
-# - We keep the odd construct of noop USE=test because of
-#   the special relationship b/t RESTRICT & USE for tests.
-#   Also, it's a hint which avoids tests being silently skipped during arch 
testing.
-REQUIRED_USE="test? ( doc )"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
-   app-alternatives/yacc
-   app-alternatives/lex
-   ${PYTHON_DEPS}
-"
-RDEPEND="
-   app-text/ghostscript-gpl
-   dev-db/sqlite:3
-   dev-lang/perl
-   dev-libs/libfmt:=
-   dev-libs/spdlog:=
-   media-libs/libpng:=
-   virtual/libiconv
-   clang? (
-   https://github.com/doxygen/doxygen/issues/9287
-   filter-lto
-
-   local mycmakeargs=(
-   -Duse_libclang=$(usex clang)
-   # Let the user choose instead, see also bug #822615
-   -Duse_libc++=OFF
-   -Dbuild_doc=$(usex doc)
-   -Dbuild_search=$(usex doxysearch)
-   -Dbuild_wizard=$(usex gui)
-   -Duse_sys_spdlog=ON
-   -Duse_sys_sqlite3=ON
-   -DBUILD_SHARED_LIBS=OFF
-   -DGIT_EXECUTABLE="false"
-   )
-
-   use doc && mycmakeargs+=(
-   -DDOC_INSTALL_DIR="share/doc/${P}"
-   )
-
-   cmake_src_configure
-}
-
-src_compile() {
-   cmake_src_compile
-
-   if use doc; then
-   export VARTEXFONTS="${T}/fonts" # bug #564944
-
-   if ! use dot; then
-   sed -i -e "s/HAVE_DOT   = YES/HAVE_DOT= 
NO/" \
-   {testing/Doxyfile,doc/Doxyfile} \
-   || die "disabling dot failed"
-   fi
-
-   # -j1 for bug #770070
-   cmake_src_compile docs -j1
-   fi
-}
-
-src_install() {
-   cmake_src_install
-
-   doman doc/*.1
-}



[gentoo-commits] repo/gentoo:master commit in: app-text/doxygen/

2024-02-13 Thread Matthias Maier
commit: 9aff33af49dea70beaadc882f40ab39375bcf34d
Author: Eli Schwartz  gmail  com>
AuthorDate: Sun Feb 11 20:52:59 2024 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Tue Feb 13 18:52:05 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9aff33af

app-text/doxygen: fix incorrect and overly broad manpage installation

We only want manpages for the USE flags we enabled. Actually, we don't
want to manually install these at all, but upstream weirdly ties this to
USE=doc. Kludge around it with conditional `doman`.

This still isn't actually satisfactory, since the resulting manpages
contain lots of `Doxygen version @VERSION@` and suchlike, which is
supposed to get configured by cmake during the process of installing.
Handling this correctly requires upstream work.

Patch submitted upstream: https://github.com/doxygen/doxygen/pull/10647

Closes: https://github.com/gentoo/gentoo/pull/35281
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Matthias Maier  gentoo.org>

 app-text/doxygen/doxygen-1.10.0-r1.ebuild | 160 ++
 1 file changed, 160 insertions(+)

diff --git a/app-text/doxygen/doxygen-1.10.0-r1.ebuild 
b/app-text/doxygen/doxygen-1.10.0-r1.ebuild
new file mode 100644
index ..41e6877c588a
--- /dev/null
+++ b/app-text/doxygen/doxygen-1.10.0-r1.ebuild
@@ -0,0 +1,160 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_MAX_SLOT=17
+PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_REQ_USE="xml(+)"
+
+inherit cmake flag-o-matic llvm python-any-r1
+
+DESCRIPTION="Documentation system for most programming languages"
+HOMEPAGE="https://www.doxygen.nl/;
+
+if [[ ${PV} == ** ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/doxygen/doxygen.git;
+else
+   SRC_URI="https://doxygen.nl/files/${P}.src.tar.gz;
+   SRC_URI+=" mirror://sourceforge/doxygen/rel-${PV}/${P}.src.tar.gz"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x64-solaris"
+fi
+
+# GPL-2 also for bundled libmscgen
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="clang debug doc dot doxysearch gui test"
+# - We need TeX for tests, bug #765472
+# - We keep the odd construct of noop USE=test because of
+#   the special relationship b/t RESTRICT & USE for tests.
+#   Also, it's a hint which avoids tests being silently skipped during arch 
testing.
+REQUIRED_USE="test? ( doc )"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+   app-alternatives/yacc
+   app-alternatives/lex
+   ${PYTHON_DEPS}
+"
+RDEPEND="
+   app-text/ghostscript-gpl
+   dev-db/sqlite:3
+   dev-lang/perl
+   dev-libs/libfmt:=
+   dev-libs/spdlog:=
+   media-libs/libpng:=
+   virtual/libiconv
+   clang? (
+   https://github.com/doxygen/doxygen/issues/9287
+   filter-lto
+
+   local mycmakeargs=(
+   -Duse_libclang=$(usex clang)
+   # Let the user choose instead, see also bug #822615
+   -Duse_libc++=OFF
+   -Dbuild_doc=$(usex doc)
+   -Dbuild_search=$(usex doxysearch)
+   -Dbuild_wizard=$(usex gui)
+   -Duse_sys_spdlog=ON
+   -Duse_sys_sqlite3=ON
+   -DBUILD_SHARED_LIBS=OFF
+   -DGIT_EXECUTABLE="false"
+   )
+
+   use doc && mycmakeargs+=(
+   -DDOC_INSTALL_DIR="share/doc/${P}"
+   )
+
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_src_compile
+
+   if use doc; then
+   export VARTEXFONTS="${T}/fonts" # bug #564944
+
+   if ! use dot; then
+   sed -i -e "s/HAVE_DOT   = YES/HAVE_DOT= 
NO/" \
+   {testing/Doxyfile,doc/Doxyfile} \
+   || die "disabling dot failed"
+   fi
+
+   # -j1 for bug #770070
+   cmake_src_compile docs -j1
+   fi
+}
+
+src_install() {
+   cmake_src_install
+
+   # manpages are only automatically installed when docs are
+   # https://github.com/doxygen/doxygen/pull/10647
+   doman doc/doxygen.1
+   use gui && doman doc/doxywizard.1
+   use doxysearch && {
+   doman doc/doxyindexer.1
+   doman doc/doxysearch.1
+   }
+}



[gentoo-commits] repo/dev/tamiko:master commit in: net-analyzer/flent/

2024-01-15 Thread Matthias Maier
commit: 2fd8ae85433bb7f8107189d6ec73b476ade74376
Author: Matthias Maier  gentoo  org>
AuthorDate: Tue Jan 16 04:20:31 2024 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Tue Jan 16 04:20:31 2024 +
URL:https://gitweb.gentoo.org/repo/dev/tamiko.git/commit/?id=2fd8ae85

net-analyzer/flent: treeclean

Signed-off-by: Matthias Maier  gentoo.org>

 net-analyzer/flent/Manifest   |  2 --
 net-analyzer/flent/flent-1.3.2.ebuild | 24 
 net-analyzer/flent/flent-2.0.0.ebuild | 24 
 net-analyzer/flent/metadata.xml   | 14 --
 4 files changed, 64 deletions(-)

diff --git a/net-analyzer/flent/Manifest b/net-analyzer/flent/Manifest
deleted file mode 100644
index 26cef3c..000
--- a/net-analyzer/flent/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST flent-1.3.2.tar.gz 2977251 SHA256 
f71793bb924b36d0e4c230182755c3f5dd26cd7f239b1fa6b717d942258cbf9a SHA512 
cda7e9fa0b6d6e723c18e175fc844d97b8cae0299c46cbbd5ca03bd09d39d9d92c7ee72e6bda5bc27d921090ba5be747eca7a64dd4ef1f889575c18973d6
 WHIRLPOOL 
90fcf717903ddd0c9b6d57c43eedfa047732dd6781c49203ff3b85d3cfde8f66adb0bec313378dd377d423707494edeef8d375b80b52c67b5da5857ccb41724e
-DIST flent-2.0.0.tar.gz 3639477 SHA256 
e8dd2d5e17bd1c0a3a5aad3aa501faa3f0d748d8f5424a9265d42e30ae63d3df SHA512 
06b97a988deb8af1dffa3bfdd73fb87ca341b76c28eb1ad89fde77b8d5dfd040cfbb829550ee3afc3608e4fa1817305c850a068af3958a88233f2c524800f439
 WHIRLPOOL 
564ec0538c33acb2d7347022ba4909ca8974a2ea6d84afc2c857800ee0f4094db19a8498504630a0f9027b73312ea71e758864be1f8f546c4b30bf806f258a07

diff --git a/net-analyzer/flent/flent-1.3.2.ebuild 
b/net-analyzer/flent/flent-1.3.2.ebuild
deleted file mode 100644
index 6e99c4d..000
--- a/net-analyzer/flent/flent-1.3.2.ebuild
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6..11} )
-
-inherit distutils-r1
-
-DESCRIPTION="The FLExible Network Tester"
-HOMEPAGE="https://flent.org/;
-SRC_URI="https://github.com/tohojo/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+qt5 +plots"
-
-RDEPEND="qt5? ( dev-python/PyQt5[${PYTHON_USEDEP}] )
-   plots? ( dev-python/matplotlib[${PYTHON_USEDEP}] )
-   net-analyzer/netperf[demo]
-   net-misc/iperf
-   net-analyzer/fping"
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"

diff --git a/net-analyzer/flent/flent-2.0.0.ebuild 
b/net-analyzer/flent/flent-2.0.0.ebuild
deleted file mode 100644
index 6e99c4d..000
--- a/net-analyzer/flent/flent-2.0.0.ebuild
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6..11} )
-
-inherit distutils-r1
-
-DESCRIPTION="The FLExible Network Tester"
-HOMEPAGE="https://flent.org/;
-SRC_URI="https://github.com/tohojo/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+qt5 +plots"
-
-RDEPEND="qt5? ( dev-python/PyQt5[${PYTHON_USEDEP}] )
-   plots? ( dev-python/matplotlib[${PYTHON_USEDEP}] )
-   net-analyzer/netperf[demo]
-   net-misc/iperf
-   net-analyzer/fping"
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"

diff --git a/net-analyzer/flent/metadata.xml b/net-analyzer/flent/metadata.xml
deleted file mode 100644
index d33bba3..000
--- a/net-analyzer/flent/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-http://www.gentoo.org/dtd/metadata.dtd;>
-
-   
-   zx...@gentoo.org
-   Jason A. Donenfeld
-   
-   
-   Enable drawing plots
-   
-   
-   tohojo/flent
-   
-



[gentoo-commits] repo/dev/tamiko:master commit in: x11-misc/sddm/files/, x11-misc/sddm/

2024-01-12 Thread Matthias Maier
commit: cee14f0aca4c9c23adfcc88b5a2658959a18cf48
Author: Matthias Maier  gentoo  org>
AuthorDate: Sat Jan 13 05:57:45 2024 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sat Jan 13 05:58:27 2024 +
URL:https://gitweb.gentoo.org/repo/dev/tamiko.git/commit/?id=cee14f0a

x11-misc/sddm: remove

Signed-off-by: Matthias Maier  gentoo.org>

 x11-misc/sddm/files/pam-1.4-substack.patch |  31 -
 .../files/sddm-0.18.1-respect-user-flags.patch |  25 -
 x11-misc/sddm/files/sddm-0.19.0-Xsession.patch |  24 
 x11-misc/sddm/files/sddm.tmpfiles  |   1 -
 x11-misc/sddm/metadata.xml |  24 
 x11-misc/sddm/sddm-.ebuild | 125 -
 6 files changed, 230 deletions(-)

diff --git a/x11-misc/sddm/files/pam-1.4-substack.patch 
b/x11-misc/sddm/files/pam-1.4-substack.patch
deleted file mode 100644
index b0467b2..000
--- a/x11-misc/sddm/files/pam-1.4-substack.patch
+++ /dev/null
@@ -1,31 +0,0 @@
 sddm-0.18.1/services/sddm-autologin.pam.bak2020-06-19 
22:27:57.305580696 +0200
-+++ sddm-0.18.1/services/sddm-autologin.pam2020-06-19 22:30:50.513583973 
+0200
-@@ -1,6 +1,5 @@
- #%PAM-1.0
- authrequiredpam_env.so
--authrequiredpam_tally.so file=/var/log/faillog onerr=succeed
- authrequiredpam_shells.so
- authrequiredpam_nologin.so
- authrequiredpam_permit.so
 sddm-0.18.1/services/sddm.pam.bak  2020-06-19 22:27:26.721580117 +0200
-+++ sddm-0.18.1/services/sddm.pam  2020-06-19 22:27:48.729580533 +0200
-@@ -1,15 +1,15 @@
- #%PAM-1.0
- 
--auth  include system-login
-+auth  substacksystem-login
- -auth optionalpam_gnome_keyring.so
- -auth   optional  pam_kwallet5.so
- 
--account   include system-login
-+account   substacksystem-login
- 
--password  include system-login
-+password  substacksystem-login
- -password optionalpam_gnome_keyring.so use_authtok
- 
- session   optionalpam_keyinit.so force revoke
--session   include system-login
-+session   substacksystem-login
- -session  optionalpam_gnome_keyring.so auto_start
- -session  optional  pam_kwallet5.so auto_start
\ No newline at end of file

diff --git a/x11-misc/sddm/files/sddm-0.18.1-respect-user-flags.patch 
b/x11-misc/sddm/files/sddm-0.18.1-respect-user-flags.patch
deleted file mode 100644
index 6801fa7..000
--- a/x11-misc/sddm/files/sddm-0.18.1-respect-user-flags.patch
+++ /dev/null
@@ -1,25 +0,0 @@
 a/CMakeLists.txt   2020-10-12 13:03:39.0 +0200
-+++ b/CMakeLists.txt   2020-10-12 23:40:04.480687143 +0200
-@@ -41,22 +41,6 @@
- # Definitions
- add_definitions(-Wall -std=c++11 -DQT_NO_CAST_FROM_ASCII 
-DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_FOREACH)
- 
--# Default build type
--if(NOT CMAKE_BUILD_TYPE)
--set(CMAKE_BUILD_TYPE Release)
--endif()
--
--# Handle build type
--if(CMAKE_BUILD_TYPE MATCHES [Dd]ebug)
--message(STATUS "Debug build")
--add_definitions(-DDEBUG)
--set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O0")
--else()
--message(STATUS "Release build")
--add_definitions(-DNDEBUG)
--set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2")
--endif()
--
- # Default absolute paths
- if(NOT DEFINED CMAKE_INSTALL_SYSCONFDIR)
- set(CMAKE_INSTALL_SYSCONFDIR "/etc")

diff --git a/x11-misc/sddm/files/sddm-0.19.0-Xsession.patch 
b/x11-misc/sddm/files/sddm-0.19.0-Xsession.patch
deleted file mode 100644
index e1e3c15..000
--- a/x11-misc/sddm/files/sddm-0.19.0-Xsession.patch
+++ /dev/null
@@ -1,24 +0,0 @@
 a/data/scripts/Xsession
-+++ b/data/scripts/Xsession
-@@ -50,6 +50,10 @@
- ;;
- esac
- 
-+# Make D-Bus start properly, see:
-+# /etc/X11/xinit/xinitrc.d/80-dbus
-+command="$@"
-+
- [ -f /etc/xprofile ] && . /etc/xprofile
- [ -f $HOME/.xprofile ] && . $HOME/.xprofile
- 
-@@ -94,8 +98,8 @@
-   . "$USERXSESSION"
- fi
- 
--if [ -z "$*" ]; then
-+if [ -z "$command" ]; then
- exec xmessage -center -buttons OK:0 -default OK "Sorry, $DESKTOP_SESSION 
is no valid session."
- else
--exec $@
-+exec $command
- fi

diff --git a/x11-misc/sddm/files/sddm.tmpfiles 
b/x11-misc/sddm/files/sddm.tmpfiles
deleted file mode 100644
index 300d646..000
--- a/x11-misc/sddm/files/sddm.tmpfiles
+++ /dev/null
@@ -1 +0,0 @@
-d /var/lib/sddm 0755 sddm sddm

diff --git a/x11-misc/sddm/metadata.xml b/x11-misc/sddm/metadata.xml
deleted file mode 100644
index 7c58231..000
--- a/x11-misc/sddm/metadata.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-
-https://www.gentoo.org/dtd/metadata.dtd;>
-
-   
-   l...@gentoo.org
-   LXQt
-   
-   
-  

[gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/

2024-01-08 Thread Matthias Maier
commit: 7379c3fab44e15e3f1e30849045fe62330520d90
Author: Matthias Maier  gentoo  org>
AuthorDate: Mon Jan  8 22:46:03 2024 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Mon Jan  8 23:31:42 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7379c3fa

sci-visualization/paraview: keyword 5.12.0_rc1 for ~amd64, ~x86

Closes: https://bugs.gentoo.org/919805
Signed-off-by: Matthias Maier  gentoo.org>

 sci-visualization/paraview/paraview-5.12.0_rc1.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.12.0_rc1.ebuild 
b/sci-visualization/paraview/paraview-5.12.0_rc1.ebuild
index c2aea4ad2151..f048c53bd473 100644
--- a/sci-visualization/paraview/paraview-5.12.0_rc1.ebuild
+++ b/sci-visualization/paraview/paraview-5.12.0_rc1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -21,7 +21,7 @@ S="${WORKDIR}/${MY_P}"
 # TODO: check licenses of plugins (USE=plugins)
 LICENSE="BSD MIT PSF-2 VTK"
 SLOT="0"
-KEYWORDS="" # ~amd64 ~x86
+KEYWORDS="~amd64 ~x86"
 IUSE="boost cg examples ffmpeg mpi nvcontrol openmp offscreen plugins python 
+qt5 +sqlite test tk +webengine"
 
 RESTRICT="mirror test"
@@ -180,6 +180,7 @@ src_configure() {
# qt5
-DPARAVIEW_USE_QT="$(usex qt5)"
-DPARAVIEW_QT_VERSION="5"
+   -DVTK_QT_VERSION="5"
-DModule_pqPython="$(usex qt5 "$(usex python)" "off")"
-DVTK_USE_NVCONTROL="$(usex nvcontrol)"
-DVTK_GROUP_ENABLE_Qt="$(usex qt5 YES NO)"



[gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/

2024-01-08 Thread Matthias Maier
commit: e7b7eede0c2cb8f206816c9eb103607f98a8e876
Author: Matthias Maier  gentoo  org>
AuthorDate: Mon Jan  8 22:51:34 2024 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Mon Jan  8 23:31:50 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7b7eede

sci-visualization/paraview: add missing dependency

Closes: https://bugs.gentoo.org/910104
Signed-off-by: Matthias Maier  gentoo.org>

 .../paraview/{paraview-5.11.1.ebuild => paraview-5.11.1-r1.ebuild}   | 1 +
 .../{paraview-5.12.0_rc1.ebuild => paraview-5.12.0_rc1-r1.ebuild}| 1 +
 2 files changed, 2 insertions(+)

diff --git a/sci-visualization/paraview/paraview-5.11.1.ebuild 
b/sci-visualization/paraview/paraview-5.11.1-r1.ebuild
similarity index 99%
rename from sci-visualization/paraview/paraview-5.11.1.ebuild
rename to sci-visualization/paraview/paraview-5.11.1-r1.ebuild
index b1415ed7b27c..2c09c503af41 100644
--- a/sci-visualization/paraview/paraview-5.11.1.ebuild
+++ b/sci-visualization/paraview/paraview-5.11.1-r1.ebuild
@@ -77,6 +77,7 @@ RDEPEND="
)
qt5? (
dev-qt/designer:5
+   dev-qt/qtdeclarative:5
dev-qt/qtgui:5[-gles2-only]
dev-qt/qthelp:5
dev-qt/qtopengl:5[-gles2-only]

diff --git a/sci-visualization/paraview/paraview-5.12.0_rc1.ebuild 
b/sci-visualization/paraview/paraview-5.12.0_rc1-r1.ebuild
similarity index 99%
rename from sci-visualization/paraview/paraview-5.12.0_rc1.ebuild
rename to sci-visualization/paraview/paraview-5.12.0_rc1-r1.ebuild
index f048c53bd473..6a60b21c3a63 100644
--- a/sci-visualization/paraview/paraview-5.12.0_rc1.ebuild
+++ b/sci-visualization/paraview/paraview-5.12.0_rc1-r1.ebuild
@@ -77,6 +77,7 @@ RDEPEND="
)
qt5? (
dev-qt/designer:5
+   dev-qt/qtdeclarative:5
dev-qt/qtgui:5[-gles2-only]
dev-qt/qthelp:5
dev-qt/qtopengl:5[-gles2-only]



[gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/files/, sci-visualization/paraview/

2024-01-08 Thread Matthias Maier
commit: 43ac4e061e2033642bd8c137e0a5753ea6070b53
Author: Matthias Maier  gentoo  org>
AuthorDate: Mon Jan  8 22:48:01 2024 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Mon Jan  8 23:31:50 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43ac4e06

sci-visualization/paraview: fix compilation

Thanks to Attila Tóth for the patch

Closes: https://bugs.gentoo.org/910541
Signed-off-by: Matthias Maier  gentoo.org>

 .../paraview/files/paraview-5.11.1-missing-include.patch  | 11 +++
 sci-visualization/paraview/paraview-5.11.1.ebuild |  3 ++-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git 
a/sci-visualization/paraview/files/paraview-5.11.1-missing-include.patch 
b/sci-visualization/paraview/files/paraview-5.11.1-missing-include.patch
new file mode 100644
index ..d59d78412750
--- /dev/null
+++ b/sci-visualization/paraview/files/paraview-5.11.1-missing-include.patch
@@ -0,0 +1,11 @@
+diff -urNp 
ParaView-v5.11.1-orig/VTK/ThirdParty/libproj/vtklibproj/src/proj_json_streaming_writer.hpp
 
ParaView-v5.11.1-dwok/VTK/ThirdParty/libproj/vtklibproj/src/proj_json_streaming_writer.hpp
+--- 
ParaView-v5.11.1-orig/VTK/ThirdParty/libproj/vtklibproj/src/proj_json_streaming_writer.hpp
 2023-03-30 16:08:08.0 +0200
 
ParaView-v5.11.1-dwok/VTK/ThirdParty/libproj/vtklibproj/src/proj_json_streaming_writer.hpp
 2023-08-26 14:53:20.211944383 +0200
+@@ -33,6 +33,7 @@
+ 
+ #include 
+ #include 
++#include 
+ 
+ #define CPL_DLL
+ 

diff --git a/sci-visualization/paraview/paraview-5.11.1.ebuild 
b/sci-visualization/paraview/paraview-5.11.1.ebuild
index 5816780dbe50..b1415ed7b27c 100644
--- a/sci-visualization/paraview/paraview-5.11.1.ebuild
+++ b/sci-visualization/paraview/paraview-5.11.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -104,6 +104,7 @@ BDEPEND="
 
 PATCHES=(
"${FILESDIR}"/${PN}-5.5.0-allow_custom_build_type.patch
+   "${FILESDIR}"/${P}-missing-include.patch
 )
 
 pkg_pretend() {



[gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/

2024-01-08 Thread Matthias Maier
commit: 37203dbf96a90d9042f45c613f79b297c55f61a5
Author: Matthias Maier  gentoo  org>
AuthorDate: Mon Jan  8 22:58:42 2024 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Mon Jan  8 23:31:50 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37203dbf

sci-visualization/paraview: silence QA warning (implicit function during 
configure)

Closes: https://bugs.gentoo.org/904731
Signed-off-by: Matthias Maier  gentoo.org>

 sci-visualization/paraview/paraview-5.11.1-r1.ebuild | 6 ++
 sci-visualization/paraview/paraview-5.12.0_rc1-r1.ebuild | 6 ++
 2 files changed, 12 insertions(+)

diff --git a/sci-visualization/paraview/paraview-5.11.1-r1.ebuild 
b/sci-visualization/paraview/paraview-5.11.1-r1.ebuild
index 2c09c503af41..a33be6ae9bc3 100644
--- a/sci-visualization/paraview/paraview-5.11.1-r1.ebuild
+++ b/sci-visualization/paraview/paraview-5.11.1-r1.ebuild
@@ -108,6 +108,12 @@ PATCHES=(
"${FILESDIR}"/${P}-missing-include.patch
 )
 
+# false positive when checking for available HDF5 interface, bug #904731
+QA_CONFIG_IMPL_DECL_SKIP=(
+   H5Pset_coll_metadata_write
+   H5Pset_all_coll_metadata_ops
+)
+
 pkg_pretend() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
 }

diff --git a/sci-visualization/paraview/paraview-5.12.0_rc1-r1.ebuild 
b/sci-visualization/paraview/paraview-5.12.0_rc1-r1.ebuild
index 6a60b21c3a63..8b65892f70c6 100644
--- a/sci-visualization/paraview/paraview-5.12.0_rc1-r1.ebuild
+++ b/sci-visualization/paraview/paraview-5.12.0_rc1-r1.ebuild
@@ -107,6 +107,12 @@ PATCHES=(
"${FILESDIR}"/${PN}-5.5.0-allow_custom_build_type.patch
 )
 
+# false positive when checking for available HDF5 interface, bug #904731
+QA_CONFIG_IMPL_DECL_SKIP=(
+   H5Pset_coll_metadata_write
+   H5Pset_all_coll_metadata_ops
+)
+
 pkg_pretend() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
 }



[gentoo-commits] repo/gentoo:master commit in: sci-libs/trilinos/

2023-12-06 Thread Matthias Maier
commit: 17b2bb563f904dfb70c2079547cb8b68c6e08bef
Author: Matthias Maier  gentoo  org>
AuthorDate: Wed Dec  6 17:20:16 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Thu Dec  7 04:28:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17b2bb56

sci-libs/trilinos: add 15.0.0

Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/trilinos/Manifest   |   1 +
 sci-libs/trilinos/trilinos-15.0.0.ebuild | 261 +++
 2 files changed, 262 insertions(+)

diff --git a/sci-libs/trilinos/Manifest b/sci-libs/trilinos/Manifest
index d7a8fd54cb62..637a1574739e 100644
--- a/sci-libs/trilinos/Manifest
+++ b/sci-libs/trilinos/Manifest
@@ -1 +1,2 @@
 DIST trilinos-14.4.0.tar.gz 188325969 BLAKE2B 
909e3ebe229d035263d835e0d68977516d2a5df168785021fe300f7904e149586a82a6dba271cc1472455472397ee5467443244fb68fb27c00cf4e9b3d10a282
 SHA512 
497fc4fb4ab4338fffef7111635f3dc3b12cb7302bc3f56bafb5cc75b7c68e94cc22fcacd9dd625803a0f38e4fbce5105cab61df76e033a4581568c36a53fe8a
+DIST trilinos-15.0.0.tar.gz 182971338 BLAKE2B 
0e459b9d070085a2a5bf06de8274ceec628f8913ab87c87a9502baf8065bfdabeca827ea9fa0f274c163bff1e7dc252eabf79ca250c0470d1da5e13492287d28
 SHA512 
a364e67686cdd4e1e34aa0e14b6cc051ed21a72b63719c47260d7839d47590b9e652be76cb9d61e513c7933b965fc8141c3ff898167e22353b33c9491a525c84

diff --git a/sci-libs/trilinos/trilinos-15.0.0.ebuild 
b/sci-libs/trilinos/trilinos-15.0.0.ebuild
new file mode 100644
index ..86d691392b39
--- /dev/null
+++ b/sci-libs/trilinos/trilinos-15.0.0.ebuild
@@ -0,0 +1,261 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_MAKEFILE_GENERATOR=emake
+inherit cmake flag-o-matic toolchain-funcs
+
+DESCRIPTION="Scientific library collection for large scale problems"
+HOMEPAGE="http://trilinos.sandia.gov/;
+MY_PV="${PV//\./-}"
+PATCHSET="r0"
+SRC_URI="https://github.com/${PN}/Trilinos/archive/${PN}-release-${MY_PV}.tar.gz
 -> ${P}.tar.gz"
+
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+LICENSE="BSD LGPL-2.1"
+SLOT="0"
+
+IUSE="
+   adolc all-packages arprec clp cuda eigen glpk gtest hdf5 hwloc hypre
+   matio metis mkl mumps netcdf openmp petsc qd scalapack scotch sparse
+   superlu taucs tbb test threads tvmet yaml zlib X
+"
+
+# TODO: fix export cmake function for tests
+RESTRICT="test"
+
+RDEPEND="
+   !dev-cpp/kokkos
+   dev-libs/boost:=
+   sys-libs/binutils-libs:=
+   virtual/blas
+   virtual/lapack
+   virtual/mpi
+   adolc? ( sci-libs/adolc )
+   arprec? ( sci-libs/arprec )
+   clp? ( sci-libs/coinor-clp )
+   cuda? ( >=dev-util/nvidia-cuda-toolkit-3.2 )
+   eigen? ( dev-cpp/eigen:3 )
+   glpk? ( sci-mathematics/glpk )
+   gtest? ( dev-cpp/gtest )
+   hdf5? ( sci-libs/hdf5:=[mpi] )
+   hypre? ( sci-libs/hypre:= )
+   hwloc? ( sys-apps/hwloc:= )
+   matio? ( sci-libs/matio )
+   mkl? ( sci-libs/mkl )
+   metis? ( sci-libs/metis )
+   mumps? ( sci-libs/mumps )
+   netcdf? ( sci-libs/netcdf:= )
+   petsc? ( sci-mathematics/petsc )
+   qd? ( sci-libs/qd )
+   scalapack? ( sci-libs/scalapack )
+   scotch? ( sci-libs/scotch:= )
+   sparse? ( sci-libs/cxsparse sci-libs/umfpack )
+   superlu? ( sci-libs/superlu:= )
+   taucs? ( sci-libs/taucs )
+   tbb? ( dev-cpp/tbb:= )
+   tvmet? ( dev-libs/tvmet )
+   yaml? ( dev-cpp/yaml-cpp:= )
+   zlib? ( sys-libs/zlib )
+   X? ( x11-libs/libX11 )"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig"
+
+S="${WORKDIR}/Trilinos-${PN}-release-${MY_PV}"
+
+PATCHES=(
+)
+
+pkg_pretend() {
+   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+trilinos_conf() {
+   local dirs libs d
+   for d in $($(tc-getPKG_CONFIG) --libs-only-L $1); do
+   dirs="${dirs};${d:2}"
+   done
+   [[ -n ${dirs} ]] && mycmakeargs+=( "-D${2}_LIBRARY_DIRS=${dirs:1}" )
+   for d in $($(tc-getPKG_CONFIG) --libs-only-l $1); do
+   libs="${libs};${d:2}"
+   done
+   [[ -n ${libs} ]] && mycmakeargs+=( "-D${2}_LIBRARY_NAMES=${libs:1}" )
+   dirs=""
+   for d in $($(tc-getPKG_CONFIG) --cflags-only-I $1); do
+   dirs="${dirs};${d:2}"
+   done
+   [[ -n ${dirs} ]] && mycmakeargs+=( "-D${2}_INCLUDE_DIRS=${dirs:1}" )
+}
+
+#
+# The following packages are currently disabled:
+#  - Adelus/Zadelus due to underlinkage.
+#  - Moertel due to underlinkage
+#  - SEACAS is incompatible with netcdf, see
+#https://github.com/trilinos/Trilinos/tree/master/packages/

[gentoo-commits] repo/gentoo:master commit in: sci-libs/trilinos/

2023-12-06 Thread Matthias Maier
commit: 64731113a7d5e06e308874c4a6dfe89daac5239f
Author: Matthias Maier  gentoo  org>
AuthorDate: Thu Dec  7 05:23:12 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Thu Dec  7 05:23:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64731113

sci-libs/trilinos: add github upstream metadata

Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/trilinos/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sci-libs/trilinos/metadata.xml b/sci-libs/trilinos/metadata.xml
index 0d48858c237f..8e609b4870bb 100644
--- a/sci-libs/trilinos/metadata.xml
+++ b/sci-libs/trilinos/metadata.xml
@@ -44,4 +44,7 @@
Add support for tvmet 
(dev-libs/tvmet)
Add support for yaml 
(dev-cpp/yaml-cpp)

+   
+   trilinos/Trilinos
+   
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/trilinos/, sci-libs/trilinos/files/

2023-12-06 Thread Matthias Maier
commit: 00d64bc0fe4cc51c7c3bf3541dd47f485d4ac0f3
Author: Matthias Maier  gentoo  org>
AuthorDate: Wed Dec  6 17:22:27 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Thu Dec  7 04:28:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00d64bc0

sci-libs/trilinos: drop 13.4.0-r3, 13.4.1, 14.0.0, 14.2.0

Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/trilinos/Manifest |   5 -
 .../trilinos-14.0.0-missing_includes_gcc_13.patch  |  24 --
 sci-libs/trilinos/trilinos-13.4.0-r3.ebuild| 252 
 sci-libs/trilinos/trilinos-13.4.1.ebuild   | 252 
 sci-libs/trilinos/trilinos-14.0.0.ebuild   | 258 -
 sci-libs/trilinos/trilinos-14.2.0.ebuild   | 257 
 6 files changed, 1048 deletions(-)

diff --git a/sci-libs/trilinos/Manifest b/sci-libs/trilinos/Manifest
index 2db7f00749f6..d7a8fd54cb62 100644
--- a/sci-libs/trilinos/Manifest
+++ b/sci-libs/trilinos/Manifest
@@ -1,6 +1 @@
-DIST trilinos-13.4.0-patches-r0.tar.xz 8740 BLAKE2B 
333ab9ff1acb2f4b08007c7b99b96f023f6c742e4f991fc0ab9dd6595be7e3e319a77d5e329790cedca72d7a9060df837549d28e8a6cb4b8a838570d455ae356
 SHA512 
f30c16801cadec2a612ab2f7d3ca05c5ddfdfc513343a182562253cdfb58d38fa8b771ab07f7bc6bcb2505d146469da2ddda478f74447de746d5eca850da123e
-DIST trilinos-13.4.0.tar.gz 168733479 BLAKE2B 
3c4a1c89b792ec771c6347eebb6bb54a82fa5f172d1c5934bbd42c8bc9708a71451bd030ec0f5264191a62169b3c1305ac7a1290b3ab4845fb6e8ffef15ee03c
 SHA512 
27a5636bac8106a0705948ca4705b739878f0d8afa74264d1cd31036811084457e27e03e86dfad59a80d5e9ee798237fa930b50574ec3e43979e53c6ab5da535
-DIST trilinos-13.4.1.tar.gz 168720416 BLAKE2B 
5201c36aa998045f4eab99b67fce25f9a2f2a9524b8ca1147cd8db9ccc306e3df61336df3b2ee981317c8defbae2df9e36546a0e5ddfed3142213e437e4dfba0
 SHA512 
9c0fb3af2fa625cd0af1309bfa61c212e12657820707348c81355d506e07f540da5e42aa30237fbc80adf257bb636029345f248abaf7ef96fcdaed1c28ec3a19
-DIST trilinos-14.0.0.tar.gz 179086187 BLAKE2B 
0e0c3e3fa4b88164cd7e90720ec42eb007f8e89734e5537a7eba1f17754faf30c21fa1d77f7e8a7968bdb8bb230596a1adc74f8170577fd7b4eccb2e88c5b8f6
 SHA512 
b08fcf4f6bf2605267c44c038f352949e5bfe14b853de77e4c80e28f66c088ead1699b1e49f8475f1b98ce5a21238b98a299e760f1373e585c78b65120fa18e5
-DIST trilinos-14.2.0.tar.gz 178867695 BLAKE2B 
07ff61775399014091aae9c14ad12a69ab19853bc3489c15775490aa3f6e8ae868ac4e90bf046d10bf1ecb1d5558992f0afb0ce656f947336559fcf10085c038
 SHA512 
c676ff2b59904dc05a0ff434dd164bc96076999a5851c160c5851c124d3c519dd0cc3f088eba19f2000c7d1c2377f4efb2b2b8f9f3ee641b2180f3b99b28ea0b
 DIST trilinos-14.4.0.tar.gz 188325969 BLAKE2B 
909e3ebe229d035263d835e0d68977516d2a5df168785021fe300f7904e149586a82a6dba271cc1472455472397ee5467443244fb68fb27c00cf4e9b3d10a282
 SHA512 
497fc4fb4ab4338fffef7111635f3dc3b12cb7302bc3f56bafb5cc75b7c68e94cc22fcacd9dd625803a0f38e4fbce5105cab61df76e033a4581568c36a53fe8a

diff --git 
a/sci-libs/trilinos/files/trilinos-14.0.0-missing_includes_gcc_13.patch 
b/sci-libs/trilinos/files/trilinos-14.0.0-missing_includes_gcc_13.patch
deleted file mode 100644
index ee9836d84249..
--- a/sci-libs/trilinos/files/trilinos-14.0.0-missing_includes_gcc_13.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff --git a/packages/teuchos/core/src/Teuchos_BigUIntDecl.hpp 
b/packages/teuchos/core/src/Teuchos_BigUIntDecl.hpp
-index e82e8be9..b41b0d03 100644
 a/packages/teuchos/core/src/Teuchos_BigUIntDecl.hpp
-+++ b/packages/teuchos/core/src/Teuchos_BigUIntDecl.hpp
-@@ -43,6 +43,7 @@
- #define TEUCHOS_BIG_UINT_DECL_HPP
- 
- #include 
-+#include 
- 
- /*! \file Teuchos_BigUIntDecl.hpp
- \brief Arbitrary-precision unsigned integer declaration.
-diff --git a/packages/teuchos/core/src/Teuchos_PrintDouble.hpp 
b/packages/teuchos/core/src/Teuchos_PrintDouble.hpp
-index cf2fe0f3..7c95b1b5 100644
 a/packages/teuchos/core/src/Teuchos_PrintDouble.hpp
-+++ b/packages/teuchos/core/src/Teuchos_PrintDouble.hpp
-@@ -43,6 +43,7 @@
- #define TEUCHOS_PRINT_DOUBLE_HPP
- 
- #include 
-+#include 
- 
- /*! \file Teuchos_PrintDouble.hpp
- \brief Declares Teuchos::print_double

diff --git a/sci-libs/trilinos/trilinos-13.4.0-r3.ebuild 
b/sci-libs/trilinos/trilinos-13.4.0-r3.ebuild
deleted file mode 100644
index 9996b79bd35d..
--- a/sci-libs/trilinos/trilinos-13.4.0-r3.ebuild
+++ /dev/null
@@ -1,252 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-CMAKE_MAKEFILE_GENERATOR=emake
-inherit cmake toolchain-funcs
-
-DESCRIPTION="Scientific library collection for large scale problems"
-HOMEPAGE="http://trilinos.sandia.gov/;
-MY_PV="${PV//\./-}"
-PATCHSET="r0"
-SRC_URI="https://github.com/${PN}/Trilinos/archive/${PN}-release-${MY_PV}.tar.gz
 -> ${P}.tar.gz
-   
https://dev.gentoo.org/~tamiko/distfiles/${P}-patches-${PATCHSET}.tar.xz;
-
-KEYWORDS="~amd64 ~x86 

[gentoo-commits] repo/gentoo:master commit in: sci-libs/trilinos/

2023-12-06 Thread Matthias Maier
commit: 2ecd1110e3b70f751b8763a5146916e704adc926
Author: Matthias Maier  gentoo  org>
AuthorDate: Wed Dec  6 17:33:59 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Thu Dec  7 04:28:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ecd1110

sci-libs/trilinos: various QA fixes

 - remove obsolete configuration options
 - filter lto flags
 - disable RPATH handling
 - reenable SEACAS

Closes: https://bugs.gentoo.org/851489
Closes: https://bugs.gentoo.org/862987
Closes: https://bugs.gentoo.org/823434
Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/trilinos/trilinos-14.4.0.ebuild | 11 +++
 sci-libs/trilinos/trilinos-15.0.0.ebuild | 19 ---
 2 files changed, 11 insertions(+), 19 deletions(-)

diff --git a/sci-libs/trilinos/trilinos-14.4.0.ebuild 
b/sci-libs/trilinos/trilinos-14.4.0.ebuild
index 8e143ef76619..709a6fdc1fe0 100644
--- a/sci-libs/trilinos/trilinos-14.4.0.ebuild
+++ b/sci-libs/trilinos/trilinos-14.4.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 CMAKE_MAKEFILE_GENERATOR=emake
-inherit cmake toolchain-funcs
+inherit cmake flag-o-matic toolchain-funcs
 
 DESCRIPTION="Scientific library collection for large scale problems"
 HOMEPAGE="http://trilinos.sandia.gov/;
@@ -94,18 +94,21 @@ trilinos_conf() {
 
 #
 # The following packages are currently disabled:
-#  - Adelus/Zadelus due to underlinkage.
-#  - Moertel due to underlinkage
 #  - SEACAS is incompatible with netcdf, see
 #https://github.com/trilinos/Trilinos/tree/master/packages/seacas#netcdf
 #
 
 src_configure() {
+   # Trilinos is a massive C++ project. Fixing all of the lto warnings and
+   # making safe for lto compilation/linking will be a massive
+   # undertaking. Thus, simply filter lto flags. bug #862987
+   filter-lto
+
local mycmakeargs=(
-DBUILD_SHARED_LIBS=ON
-DCMAKE_INSTALL_PREFIX="${EPREFIX}"
+   -DCMAKE_SKIP_RPATH=ON
-DCMAKE_SKIP_INSTALL_RPATH=ON
-   -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF
-DTrilinos_INSTALL_INCLUDE_DIR="${EPREFIX}/usr/include/trilinos"

-DTrilinos_INSTALL_LIB_DIR="${EPREFIX}/usr/$(get_libdir)/trilinos"
-DTrilinos_ENABLE_ALL_PACKAGES="$(usex all-packages)"

diff --git a/sci-libs/trilinos/trilinos-15.0.0.ebuild 
b/sci-libs/trilinos/trilinos-15.0.0.ebuild
index 86d691392b39..2d104e3e9ce2 100644
--- a/sci-libs/trilinos/trilinos-15.0.0.ebuild
+++ b/sci-libs/trilinos/trilinos-15.0.0.ebuild
@@ -92,32 +92,21 @@ trilinos_conf() {
[[ -n ${dirs} ]] && mycmakeargs+=( "-D${2}_INCLUDE_DIRS=${dirs:1}" )
 }
 
-#
-# The following packages are currently disabled:
-#  - Adelus/Zadelus due to underlinkage.
-#  - Moertel due to underlinkage
-#  - SEACAS is incompatible with netcdf, see
-#https://github.com/trilinos/Trilinos/tree/master/packages/seacas#netcdf
-#
-
 src_configure() {
-   # Trilinos is a massive CPP project. Fixing all of the lto warnings and
-   # making lto compilation/linking save will be a massive undertaking.
-   # Thus, simply filter lto flags. bug #862987
+   # Trilinos is a massive C++ project. Fixing all of the lto warnings and
+   # making safe for lto compilation/linking will be a massive
+   # undertaking. Thus, simply filter lto flags. bug #862987
filter-lto
 
local mycmakeargs=(
-DBUILD_SHARED_LIBS=ON
-DCMAKE_INSTALL_PREFIX="${EPREFIX}"
+   -DCMAKE_SKIP_RPATH=ON
-DCMAKE_SKIP_INSTALL_RPATH=ON
-   -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF
-DTrilinos_INSTALL_INCLUDE_DIR="${EPREFIX}/usr/include/trilinos"

-DTrilinos_INSTALL_LIB_DIR="${EPREFIX}/usr/$(get_libdir)/trilinos"
-DTrilinos_ENABLE_ALL_PACKAGES="$(usex all-packages)"
-   -DTrilinos_ENABLE_Adelus=OFF
-   -DTrilinos_ENABLE_Moertel=OFF
-DTrilinos_ENABLE_PyTrilinos=OFF
-   -DTrilinos_ENABLE_SEACAS=OFF
-DTrilinos_ENABLE_Amesos=ON
-DTrilinos_ENABLE_AztecOO=ON
-DTrilinos_ENABLE_EpetraExt=ON



[gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/

2023-12-02 Thread Matthias Maier
commit: b0c614ea34d9c949bfa5fc228964dc7c9fe87657
Author: Matthias Maier  gentoo  org>
AuthorDate: Sat Dec  2 18:21:59 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sat Dec  2 18:41:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0c614ea

sci-visualization/paraview: [QA] break up excessively long lines

Signed-off-by: Matthias Maier  gentoo.org>

 sci-visualization/paraview/paraview-5.11.1.ebuild | 6 --
 sci-visualization/paraview/paraview-5.12.0_rc1.ebuild | 6 --
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.11.1.ebuild 
b/sci-visualization/paraview/paraview-5.11.1.ebuild
index 65d00b57a5b0..5816780dbe50 100644
--- a/sci-visualization/paraview/paraview-5.11.1.ebuild
+++ b/sci-visualization/paraview/paraview-5.11.1.ebuild
@@ -135,8 +135,10 @@ src_configure() {
# Needed to compile bundled VTK in ParaView 5.11.1 with gcc 12
# see also, bug #863299
filter-lto
-   append-cflags $(test-flags-CC -fno-strict-aliasing 
-Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion)
-   append-cxxflags $(test-flags-CXX -fno-strict-aliasing 
-Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion)
+   append-cflags $(test-flags-CC -fno-strict-aliasing \
+   -Wno-error=incompatible-function-pointer-types 
-Wno-error=int-conversion)
+   append-cxxflags $(test-flags-CXX -fno-strict-aliasing \
+   -Wno-error=incompatible-function-pointer-types 
-Wno-error=int-conversion)
 
# Make sure qmlplugindump is in path:
export PATH="$(qt5_get_bindir):${PATH}"

diff --git a/sci-visualization/paraview/paraview-5.12.0_rc1.ebuild 
b/sci-visualization/paraview/paraview-5.12.0_rc1.ebuild
index 65d00b57a5b0..5816780dbe50 100644
--- a/sci-visualization/paraview/paraview-5.12.0_rc1.ebuild
+++ b/sci-visualization/paraview/paraview-5.12.0_rc1.ebuild
@@ -135,8 +135,10 @@ src_configure() {
# Needed to compile bundled VTK in ParaView 5.11.1 with gcc 12
# see also, bug #863299
filter-lto
-   append-cflags $(test-flags-CC -fno-strict-aliasing 
-Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion)
-   append-cxxflags $(test-flags-CXX -fno-strict-aliasing 
-Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion)
+   append-cflags $(test-flags-CC -fno-strict-aliasing \
+   -Wno-error=incompatible-function-pointer-types 
-Wno-error=int-conversion)
+   append-cxxflags $(test-flags-CXX -fno-strict-aliasing \
+   -Wno-error=incompatible-function-pointer-types 
-Wno-error=int-conversion)
 
# Make sure qmlplugindump is in path:
export PATH="$(qt5_get_bindir):${PATH}"



[gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/

2023-12-02 Thread Matthias Maier
commit: dfc9829b239140bb1a273d4755054e1a896e6eed
Author: Matthias Maier  gentoo  org>
AuthorDate: Sat Dec  2 18:39:42 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sat Dec  2 18:41:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfc9829b

sci-visualization/paraview: force Qt5, unkeyword 5.12.0_rc1 for ~amd64, ~x86

 - force build against Qt5

 - drop keywords from release candidate

Signed-off-by: Matthias Maier  gentoo.org>

 sci-visualization/paraview/paraview-5.12.0_rc1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sci-visualization/paraview/paraview-5.12.0_rc1.ebuild 
b/sci-visualization/paraview/paraview-5.12.0_rc1.ebuild
index 5816780dbe50..c2aea4ad2151 100644
--- a/sci-visualization/paraview/paraview-5.12.0_rc1.ebuild
+++ b/sci-visualization/paraview/paraview-5.12.0_rc1.ebuild
@@ -21,7 +21,7 @@ S="${WORKDIR}/${MY_P}"
 # TODO: check licenses of plugins (USE=plugins)
 LICENSE="BSD MIT PSF-2 VTK"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="" # ~amd64 ~x86
 IUSE="boost cg examples ffmpeg mpi nvcontrol openmp offscreen plugins python 
+qt5 +sqlite test tk +webengine"
 
 RESTRICT="mirror test"
@@ -179,6 +179,7 @@ src_configure() {
 
# qt5
-DPARAVIEW_USE_QT="$(usex qt5)"
+   -DPARAVIEW_QT_VERSION="5"
-DModule_pqPython="$(usex qt5 "$(usex python)" "off")"
-DVTK_USE_NVCONTROL="$(usex nvcontrol)"
-DVTK_GROUP_ENABLE_Qt="$(usex qt5 YES NO)"



[gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/

2023-12-02 Thread Matthias Maier
commit: d79140eadceb7e842bd66cac8190e2aea0c4cec8
Author: Matthias Maier  gentoo  org>
AuthorDate: Fri Dec  1 23:59:25 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sat Dec  2 18:41:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d79140ea

sci-visualization/paraview: add 5.12.0_rc1; fix version extraction logic

 - add 5.12.0_rc1
 - fix version extraction logic
 - remove old comment

Signed-off-by: Matthias Maier  gentoo.org>

 sci-visualization/paraview/Manifest  |  1 +
 sci-visualization/paraview/paraview-5.11.1.ebuild| 12 +---
 .../{paraview-5.11.1.ebuild => paraview-5.12.0_rc1.ebuild}   | 12 +---
 3 files changed, 11 insertions(+), 14 deletions(-)

diff --git a/sci-visualization/paraview/Manifest 
b/sci-visualization/paraview/Manifest
index 748ff935c1c0..807206bbd0bd 100644
--- a/sci-visualization/paraview/Manifest
+++ b/sci-visualization/paraview/Manifest
@@ -1 +1,2 @@
 DIST ParaView-v5.11.1.tar.xz 79847556 BLAKE2B 
efef5e519a82ef1c0a7d532578778f6a95f07ebd72ebefd0cbdcff0bfc3af1773601cd102ff81f45f302fcaa4bb6ec7ee68f7dec77f5d4e137c2842fbbb54e11
 SHA512 
d0e666b49f49e41dba23e23d454a9462f018bd6d832628b0029e8d54760f0439ca97841a26da3126c5144780fc01dc25234a6624fb35346a98d35cbe0e0c98ca
+DIST ParaView-v5.12.0-RC1.tar.xz 128908020 BLAKE2B 
3222ac21f733559b9f5c7e8c1009a19c0e462e2622805db7d61b683f25d70fc40cf096d699afde6dab9e23c102e3df9251a718d3ecbaac7a56db01c898270cd9
 SHA512 
1c6a052081e274a120563c5ffc73dadf4e02be237cc0c213a22d0b93a9865713c83992a3fc0cc1c52742b0753546b5b983a3f650989e8a472ac2f7e90383de92

diff --git a/sci-visualization/paraview/paraview-5.11.1.ebuild 
b/sci-visualization/paraview/paraview-5.11.1.ebuild
index 14339e04a447..65d00b57a5b0 100644
--- a/sci-visualization/paraview/paraview-5.11.1.ebuild
+++ b/sci-visualization/paraview/paraview-5.11.1.ebuild
@@ -7,9 +7,11 @@ PYTHON_COMPAT=( python3_{9..11} )
 DOCS_BUILDER="doxygen"
 inherit cmake flag-o-matic desktop docs python-single-r1 qmake-utils 
toolchain-funcs xdg
 
-MAIN_PV=$(ver_cut 0-1)
-MAJOR_PV=$(ver_cut 1-2)
-MY_P="ParaView-v${PV}"
+MAJOR_PV="$(ver_cut 1-2)"
+MINOR_PV="$(ver_cut 3)"
+RC_PV="$(ver_cut 4-5)"
+RC_PV="${RC_PV:+-${RC_PV^^}}"
+MY_P="ParaView-v${MAJOR_PV}.${MINOR_PV}${RC_PV}"
 
 DESCRIPTION="Powerful scientific data visualization application"
 HOMEPAGE="https://www.paraview.org;
@@ -30,10 +32,6 @@ REQUIRED_USE="
qt5? ( sqlite )
?? ( offscreen qt5 )"
 
-# TODO: Verify that these two are not needed any more for the catalyst
-# module:
-#  - dev-python/PyQt5
-#  - dev-qt/qtgui:5[-gles2-only]
 RDEPEND="
app-arch/lz4
dev-libs/expat

diff --git a/sci-visualization/paraview/paraview-5.11.1.ebuild 
b/sci-visualization/paraview/paraview-5.12.0_rc1.ebuild
similarity index 96%
copy from sci-visualization/paraview/paraview-5.11.1.ebuild
copy to sci-visualization/paraview/paraview-5.12.0_rc1.ebuild
index 14339e04a447..65d00b57a5b0 100644
--- a/sci-visualization/paraview/paraview-5.11.1.ebuild
+++ b/sci-visualization/paraview/paraview-5.12.0_rc1.ebuild
@@ -7,9 +7,11 @@ PYTHON_COMPAT=( python3_{9..11} )
 DOCS_BUILDER="doxygen"
 inherit cmake flag-o-matic desktop docs python-single-r1 qmake-utils 
toolchain-funcs xdg
 
-MAIN_PV=$(ver_cut 0-1)
-MAJOR_PV=$(ver_cut 1-2)
-MY_P="ParaView-v${PV}"
+MAJOR_PV="$(ver_cut 1-2)"
+MINOR_PV="$(ver_cut 3)"
+RC_PV="$(ver_cut 4-5)"
+RC_PV="${RC_PV:+-${RC_PV^^}}"
+MY_P="ParaView-v${MAJOR_PV}.${MINOR_PV}${RC_PV}"
 
 DESCRIPTION="Powerful scientific data visualization application"
 HOMEPAGE="https://www.paraview.org;
@@ -30,10 +32,6 @@ REQUIRED_USE="
qt5? ( sqlite )
?? ( offscreen qt5 )"
 
-# TODO: Verify that these two are not needed any more for the catalyst
-# module:
-#  - dev-python/PyQt5
-#  - dev-qt/qtgui:5[-gles2-only]
 RDEPEND="
app-arch/lz4
dev-libs/expat



[gentoo-commits] repo/gentoo:master commit in: app-emulation/libvirt/, app-emulation/libvirt/files/

2023-10-31 Thread Matthias Maier
commit: 42fd27c7046a483b588a8e4e59f6ab8c1d2edcc2
Author: Michal Privoznik  gmail  com>
AuthorDate: Tue Oct 31 09:00:44 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Tue Oct 31 16:25:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42fd27c7

app-emulation/libvirt: Backport fix for CVE-2023-3750

A security flaw was identified in https://bugs.gentoo.org/916497
Closes: https://github.com/gentoo/gentoo/pull/33604
Signed-off-by: Michal Privoznik  gmail.com>
Signed-off-by: Matthias Maier  gentoo.org>

 ...-returning-of-locked-objects-from-virStor.patch | 57 ++
 ...ibvirt-9.3.0.ebuild => libvirt-9.3.0-r1.ebuild} |  1 +
 ...irt-9.4.0-r3.ebuild => libvirt-9.4.0-r4.ebuild} |  1 +
 ...ibvirt-9.5.0.ebuild => libvirt-9.5.0-r1.ebuild} |  1 +
 4 files changed, 60 insertions(+)

diff --git 
a/app-emulation/libvirt/files/libvirt-9.6.0-storage-Fix-returning-of-locked-objects-from-virStor.patch
 
b/app-emulation/libvirt/files/libvirt-9.6.0-storage-Fix-returning-of-locked-objects-from-virStor.patch
new file mode 100644
index ..b2e1b3536227
--- /dev/null
+++ 
b/app-emulation/libvirt/files/libvirt-9.6.0-storage-Fix-returning-of-locked-objects-from-virStor.patch
@@ -0,0 +1,57 @@
+From 9a47442366fcf8a7b6d7422016d7bbb6764a1098 Mon Sep 17 00:00:00 2001
+Message-ID: 
<9a47442366fcf8a7b6d7422016d7bbb6764a1098.1698742017.git.mpriv...@redhat.com>
+From: Peter Krempa 
+Date: Thu, 13 Jul 2023 16:16:37 +0200
+Subject: [PATCH] storage: Fix returning of locked objects from
+ 'virStoragePoolObjListSearch'
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+CVE-2023-3750
+
+'virStoragePoolObjListSearch' explicitly documents that it's returning
+a pointer to a locked and ref'd pool that maches the lookup function.
+
+This was not the case as in commit 0c4b391e2a9 (released in
+libvirt-8.3.0) the code was accidentally converted to use 'VIR_LOCK_GUARD'
+which auto-unlocked it when leaving the scope, even when the code was
+originally "leaking" the lock.
+
+Revert the corresponding conversion and add a comment that this function
+is intentionally leaking a locked object.
+
+Fixes: 0c4b391e2a9
+Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2221851
+Signed-off-by: Peter Krempa 
+Reviewed-by: Ján Tomko 
+Signed-off-by: Michal Privoznik 
+---
+ src/conf/virstorageobj.c | 7 ++-
+ 1 file changed, 6 insertions(+), 1 deletion(-)
+
+diff --git a/src/conf/virstorageobj.c b/src/conf/virstorageobj.c
+index 7010e97d61..59fa5da372 100644
+--- a/src/conf/virstorageobj.c
 b/src/conf/virstorageobj.c
+@@ -454,11 +454,16 @@ virStoragePoolObjListSearchCb(const void *payload,
+ virStoragePoolObj *obj = (virStoragePoolObj *) payload;
+ struct _virStoragePoolObjListSearchData *data =
+ (struct _virStoragePoolObjListSearchData *)opaque;
+-VIR_LOCK_GUARD lock = virObjectLockGuard(obj);
+ 
++virObjectLock(obj);
++
++/* If we find the matching pool object we must return while the object is
++ * locked as the caller wants to return a locked object. */
+ if (data->searcher(obj, data->opaque))
+ return 1;
+ 
++virObjectUnlock(obj);
++
+ return 0;
+ }
+ 
+-- 
+2.41.0
+

diff --git a/app-emulation/libvirt/libvirt-9.3.0.ebuild 
b/app-emulation/libvirt/libvirt-9.3.0-r1.ebuild
similarity index 99%
rename from app-emulation/libvirt/libvirt-9.3.0.ebuild
rename to app-emulation/libvirt/libvirt-9.3.0-r1.ebuild
index 35e25c535b20..fb7df1f1d07e 100644
--- a/app-emulation/libvirt/libvirt-9.3.0.ebuild
+++ b/app-emulation/libvirt/libvirt-9.3.0-r1.ebuild
@@ -145,6 +145,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-6.0.0-fix_paths_in_libvirt-guests_sh.patch
"${FILESDIR}"/${PN}-8.2.0-do-not-use-sysconfig.patch
"${FILESDIR}"/${PN}-8.2.0-fix-paths-for-apparmor.patch
+   
"${FILESDIR}"/${PN}-9.6.0-storage-Fix-returning-of-locked-objects-from-virStor.patch
 )
 
 pkg_setup() {

diff --git a/app-emulation/libvirt/libvirt-9.4.0-r3.ebuild 
b/app-emulation/libvirt/libvirt-9.4.0-r4.ebuild
similarity index 99%
rename from app-emulation/libvirt/libvirt-9.4.0-r3.ebuild
rename to app-emulation/libvirt/libvirt-9.4.0-r4.ebuild
index 1118dfad61ae..360f8a9efd17 100644
--- a/app-emulation/libvirt/libvirt-9.4.0-r3.ebuild
+++ b/app-emulation/libvirt/libvirt-9.4.0-r4.ebuild
@@ -146,6 +146,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-9.4.0-fix_paths_in_libvirt-guests_sh.patch
"${FILESDIR}"/${PN}-9.4.0-do-not-use-sysconfig.patch
"${FILESDIR}"/${PN}-9.4.0-fix-paths-for-apparmor.patch
+   
"${FILESDIR}"/${PN}-9.6.0-storage-Fix-returning-of-locked-objects-from-virStor.patch
 )
 
 pkg_setup() {

diff --git a/app-emulation/libvirt/libvirt-9.5.0.ebuild 
b/app-emulation/libvirt/libvirt-9.5.0-r1.ebuild
similarity index 99%
rename from app-emulation/libvirt/libvirt-9.5.0

[gentoo-commits] repo/gentoo:master commit in: app-emacs/nxml-libvirt-schemas/

2023-10-04 Thread Matthias Maier
commit: 3fa94b0e3f9da3df733206154ad2a538b0904265
Author: Michal Privoznik  gmail  com>
AuthorDate: Wed Oct  4 10:14:57 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Wed Oct  4 17:46:47 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fa94b0e

app-emacs/nxml-libvirt-schemas: Add 9.8.0

Signed-off-by: Michal Privoznik  gmail.com>
Signed-off-by: Matthias Maier  gentoo.org>
Acked-by: Ulrich Müller  gentoo.org>

 app-emacs/nxml-libvirt-schemas/Manifest|  1 +
 .../nxml-libvirt-schemas-9.8.0.ebuild  | 45 ++
 2 files changed, 46 insertions(+)

diff --git a/app-emacs/nxml-libvirt-schemas/Manifest 
b/app-emacs/nxml-libvirt-schemas/Manifest
index 13b044a62827..9c904ad1f0cf 100644
--- a/app-emacs/nxml-libvirt-schemas/Manifest
+++ b/app-emacs/nxml-libvirt-schemas/Manifest
@@ -3,3 +3,4 @@ DIST libvirt-8.9.0.tar.xz 8946352 BLAKE2B 
537b6badb6171110e99561613fb13181449911
 DIST libvirt-9.2.0.tar.xz 9182060 BLAKE2B 
8b9ffc86e088de6b1ec6b38b649bded3abbbce8eec9c1ba19f31e73ecd7ee13a5c521a6e1fd8da9f308158dd05c87171aa443cd00f0c87a73f205e3d57a22567
 SHA512 
9afd4fcccb9ef39c1ed50eb0db94cd8b06cc5b60041cdb9aa5fe7b27e5ab11855f4b538d6868413725d603dc1a6090e0983207137dcd43ed2bbcfbeb6fc69c58
 DIST libvirt-9.3.0.tar.xz 9246292 BLAKE2B 
6e47a70ec247b37c1958e324d5bf7ebcbff6aca5a7a9860f437ebe6a969d569a449d3dd5720081ad27926f445bcbe10089cb3b1d27960decc6239306f82259f9
 SHA512 
b9349dcd7798c76d75bb20afad67d6e676758cb201acaf7aed5109f0e91422b2bcca964a2f19aa8dc4fd0eca2923902474e16e3839bf8b15aca827028e88ddb7
 DIST libvirt-9.6.0.tar.xz 9282400 BLAKE2B 
a58f2dea7a3051bb7a69678bd1e1dac9123892b2ca7ee6b204bda1a0a3c8fd2d210b2295b300bb88fab86dfddb3d7472d495ff4c10af84bb53b7662190cf17c4
 SHA512 
654d22cc71926715e103313f01a4f117a19dfcf3087ffe714cf2114dbc88e42ac33cc6c100c61e60f76f13468ff5f369b157748ca6cd69c4d504d4de6b6e44b4
+DIST libvirt-9.8.0.tar.xz 9307064 BLAKE2B 
aae47e8d4eeaf97532a0356de23ed5a9eea71b369d025eda95b5fd74576779eb4b843d05df6c87b79a14f218c341953749e319ee7244846a2db410a74a746880
 SHA512 
0118725073de33eec3fa3e4616d3154707f9828fdb9ec973f503fe68f18eab72b9704da660f281152630ddc95e605c786673af9d23dc9bdfc0108422e0efbd41

diff --git a/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-9.8.0.ebuild 
b/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-9.8.0.ebuild
new file mode 100644
index ..cdedf3214219
--- /dev/null
+++ b/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-9.8.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Packages which get releases together:
+# app-emacs/nxml-libvirt-schemas
+# dev-python/libvirt-python
+# dev-perl/Sys-Virt
+# app-emulation/libvirt
+# Please bump them together!
+
+inherit elisp
+
+MY_P="libvirt-${PV}"
+DESCRIPTION="Extension for nxml-mode with libvirt schemas"
+HOMEPAGE="https://www.libvirt.org/;
+SRC_URI="https://libvirt.org/sources/${MY_P}.tar.xz;
+S="${WORKDIR}/${MY_P%-rc*}/src/conf/schemas"
+
+# This is the license of the package, but the schema files are
+# provided without license, maybe it's bad.
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# Yes this requires Java, but I'd rather not repackage this, if you
+# know something better in C, I'll be glad to use that.
+BDEPEND="app-text/trang"
+
+SITEFILE="60${PN}-gentoo.el"
+
+src_compile() {
+   emake -f - <<'EOF'
+all: $(patsubst %.rng,%.rnc,$(wildcard *.rng))
+%.rnc: %.rng
+   trang -I rng -O rnc $< $@
+EOF
+}
+
+src_install() {
+   insinto "${SITEETC}/${PN}"
+   doins "${FILESDIR}"/schemas.xml *.rnc
+   elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/libvirt/

2023-10-04 Thread Matthias Maier
commit: f55d722b028e6d5ba4d74721d5665efbd1c66460
Author: Michal Privoznik  gmail  com>
AuthorDate: Wed Oct  4 10:01:56 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Wed Oct  4 17:46:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f55d722b

app-emulation/libvirt: Add 9.8.0

Signed-off-by: Michal Privoznik  gmail.com>
Signed-off-by: Matthias Maier  gentoo.org>

 app-emulation/libvirt/Manifest |   2 +
 app-emulation/libvirt/libvirt-9.8.0.ebuild | 363 +
 2 files changed, 365 insertions(+)

diff --git a/app-emulation/libvirt/Manifest b/app-emulation/libvirt/Manifest
index 07e1f0f26d89..d3983cf5129f 100644
--- a/app-emulation/libvirt/Manifest
+++ b/app-emulation/libvirt/Manifest
@@ -6,3 +6,5 @@ DIST libvirt-9.5.0.tar.xz 9261176 BLAKE2B 
9c270f782bb74194f209251d6397537182949e
 DIST libvirt-9.5.0.tar.xz.asc 833 BLAKE2B 
48e935f3509b05403a742119657983f4708a26637af1ec6b622ff82ae5d2507ff935cdf113ade37b643b2bca49ad56bfd1eba7809349a17634e4779d25edbd96
 SHA512 
794e7be683e61da963b96ac6185e4abb65a44578e00fa14073a0d6c7d98973c4fa5038a0a905f822a6d2f8fd1b201145714b0137adf936c6d56df79523a08b9e
 DIST libvirt-9.6.0.tar.xz 9282400 BLAKE2B 
a58f2dea7a3051bb7a69678bd1e1dac9123892b2ca7ee6b204bda1a0a3c8fd2d210b2295b300bb88fab86dfddb3d7472d495ff4c10af84bb53b7662190cf17c4
 SHA512 
654d22cc71926715e103313f01a4f117a19dfcf3087ffe714cf2114dbc88e42ac33cc6c100c61e60f76f13468ff5f369b157748ca6cd69c4d504d4de6b6e44b4
 DIST libvirt-9.6.0.tar.xz.asc 833 BLAKE2B 
c8eb984dfb797dad5c09a1aea28b835f43f14ee560548df5d3514efab14b0c4df37c964caa6ec092751a804f998d48b89cdddb03172a6d19de82b649774212b5
 SHA512 
8f1cb80ecddeaed137c2a381be9c324a08aa661d629c56667ef0080b14f288ce33491c3ebdd286f490b6935ce460cb4dd7b5ec694f4636d6fff2d621ca88
+DIST libvirt-9.8.0.tar.xz 9307064 BLAKE2B 
aae47e8d4eeaf97532a0356de23ed5a9eea71b369d025eda95b5fd74576779eb4b843d05df6c87b79a14f218c341953749e319ee7244846a2db410a74a746880
 SHA512 
0118725073de33eec3fa3e4616d3154707f9828fdb9ec973f503fe68f18eab72b9704da660f281152630ddc95e605c786673af9d23dc9bdfc0108422e0efbd41
+DIST libvirt-9.8.0.tar.xz.asc 833 BLAKE2B 
3ecd0a925992eeadd50675f7ad8e815bde532c0f66e331ea766fff8e613b6a60b002bedee82fd03684e703057bc13d4e92191268dcd5efe2611ce9bd3cf6b505
 SHA512 
e041db13281eae9323c22189b7a258caf8d0e2a350cbd31b6cbed7054ccaf09d05c155c3c09daea07940affdf15e8d42bb2339945480cd141a6e8cb417a78536

diff --git a/app-emulation/libvirt/libvirt-9.8.0.ebuild 
b/app-emulation/libvirt/libvirt-9.8.0.ebuild
new file mode 100644
index ..4adcd0b92658
--- /dev/null
+++ b/app-emulation/libvirt/libvirt-9.8.0.ebuild
@@ -0,0 +1,363 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Packages which get releases together:
+# app-emacs/nxml-libvirt-schemas
+# dev-python/libvirt-python
+# dev-perl/Sys-Virt
+# app-emulation/libvirt
+# Please bump them together!
+
+PYTHON_COMPAT=( python3_{9..11} )
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libvirt.org.asc
+inherit meson linux-info python-any-r1 readme.gentoo-r1 tmpfiles verify-sig
+
+if [[ ${PV} = ** ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://gitlab.com/libvirt/libvirt.git;
+   EGIT_BRANCH="master"
+else
+   SRC_URI="https://libvirt.org/sources/${P}.tar.xz
+   verify-sig? ( https://libvirt.org/sources/${P}.tar.xz.asc )"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+fi
+
+DESCRIPTION="C toolkit to manipulate virtual machines"
+HOMEPAGE="https://www.libvirt.org/ https://gitlab.com/libvirt/libvirt/;
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+IUSE="
+   apparmor audit bash-completion +caps dtrace firewalld fuse glusterfs
+   iscsi iscsi-direct +libvirtd lvm libssh libssh2 lxc nfs nls numa openvz
+   parted pcap policykit +qemu rbd sasl selinux test +udev
+   virtualbox +virt-network wireshark-plugins xen zfs
+"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="
+   firewalld? ( virt-network )
+   libvirtd? ( || ( lxc openvz qemu virtualbox xen ) )
+   lxc? ( caps libvirtd )
+   openvz? ( libvirtd )
+   qemu? ( libvirtd )
+   virt-network? ( libvirtd )
+   virtualbox? ( libvirtd )
+   xen? ( libvirtd )"
+
+BDEPEND="
+   app-text/xhtml1
+   dev-lang/perl
+   dev-libs/libxslt
+   dev-perl/XML-XPath
+   dev-python/docutils
+   virtual/pkgconfig
+   net-libs/rpcsvc-proto
+   bash-completion? ( >=app-shells/bash-completion-2.0 )
+   verify-sig? ( sec-keys/openpgp-keys-libvirt )"
+
+# gettext.sh command is used by the libvirt command wrappers, and it's
+# non-optional, so put it into RDEPEND.
+# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
+# package will use 3 by default. Since we don't have slot pinning

[gentoo-commits] repo/gentoo:master commit in: dev-perl/Sys-Virt/

2023-10-04 Thread Matthias Maier
commit: c781bf4b6ea340dcbbb16156fa895e92b0f5a49a
Author: Michal Privoznik  gmail  com>
AuthorDate: Wed Oct  4 10:15:50 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Wed Oct  4 17:46:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c781bf4b

dev-perl/Sys-Virt: Add 9.7.0

Acked-by: Sam James  gentoo.org>
Signed-off-by: Michal Privoznik  gmail.com>
Signed-off-by: Matthias Maier  gentoo.org>

 dev-perl/Sys-Virt/Manifest  |  1 +
 dev-perl/Sys-Virt/Sys-Virt-9.7.0.ebuild | 40 +
 2 files changed, 41 insertions(+)

diff --git a/dev-perl/Sys-Virt/Manifest b/dev-perl/Sys-Virt/Manifest
index 87f7c86be56d..a12fcf314fbf 100644
--- a/dev-perl/Sys-Virt/Manifest
+++ b/dev-perl/Sys-Virt/Manifest
@@ -1,2 +1,3 @@
 DIST Sys-Virt-v9.2.0.tar.gz 171375 BLAKE2B 
e0690967901880190206694f8cc46d39b14e1b4d38232b6d0c6d919bfaf67657565744f1063028bae96dc713bb915393707ceb19d94a81affedae272c26dbf2a
 SHA512 
83265b2679b508226a8d406a6366bb1d0c96dc64adef6454a793cc02277863bd35d17d67bdbae994eb53ad431ccbb82fae9f796749171b13bebb1a0b74e7251c
 DIST Sys-Virt-v9.4.0.tar.gz 171578 BLAKE2B 
1f8d1b51e881500d0efc33faa38a567fed6cdec11c1d025031e1f95f6540e3e0149b50476f9fe232be74465a7f211a794244d104121931e45304d976f46b43f4
 SHA512 
7dd0f018e5e0b548989bdc670630ec3301de0c95dd8ccbdc59cfd990b65f5be7ba6a72eb3755e561888c19c548744ba5eeed3cba1880acb7e351ad4719d3636d
+DIST Sys-Virt-v9.7.0.tar.gz 174737 BLAKE2B 
676be20e39102f92b9b1d3cc703479c67f43d7007f01f9cfb725d13002ba0abdb3123ac756ace666ffd3c67224943281ad79b840c50afbfd4e8f7f9c5ca4be27
 SHA512 
211cc36536ec8538e096d36bca568b0362a2c84fe78322acb34a473a91128f46251503db14e38b63cd865a2f16b5c021e6e75ec1832368ae26480bb7e32180d4

diff --git a/dev-perl/Sys-Virt/Sys-Virt-9.7.0.ebuild 
b/dev-perl/Sys-Virt/Sys-Virt-9.7.0.ebuild
new file mode 100644
index ..8e76827b7b8e
--- /dev/null
+++ b/dev-perl/Sys-Virt/Sys-Virt-9.7.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Packages which get releases together:
+# app-emacs/nxml-libvirt-schemas
+# dev-python/libvirt-python
+# dev-perl/Sys-Virt
+# app-emulation/libvirt
+# Please bump them together!
+
+DIST_AUTHOR=DANBERR
+DIST_VERSION=v${PV}
+DIST_EXAMPLES=("examples/*")
+inherit perl-module
+
+DESCRIPTION="API for using the libvirt library from Perl"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   >=app-emulation/libvirt-${PV}
+"
+BDEPEND="${RDEPEND}
+   virtual/perl-ExtUtils-CBuilder
+   dev-perl/Module-Build
+   virtual/pkgconfig
+   test? (
+   dev-perl/CPAN-Changes
+   dev-perl/Test-More-UTF8
+   dev-perl/Test-Pod-Coverage
+   dev-perl/XML-XPath
+   virtual/perl-Test-Simple
+   virtual/perl-Time-HiRes
+   )"
+DEPEND="
+   >=app-emulation/libvirt-${PV}
+"



[gentoo-commits] repo/gentoo:master commit in: app-emulation/virt-viewer/

2023-10-04 Thread Matthias Maier
commit: 2d24b05f1768cda3161d03b529115ae1c2267c0c
Author: Michal Privoznik  gmail  com>
AuthorDate: Wed Oct  4 10:10:13 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Wed Oct  4 17:46:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d24b05f

app-emulation/virt-viewer: Add link to the repo to $HOMEPAGE

Digging out link to virt-viewer's repository from the official
homepage is a bit tricky and slows down checking for new
releases. Add the link to $HOMEPAGE, just like we do for other
virt related ebuilds.

Signed-off-by: Michal Privoznik  gmail.com>
Signed-off-by: Matthias Maier  gentoo.org>

 app-emulation/virt-viewer/virt-viewer-11.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emulation/virt-viewer/virt-viewer-11.0.ebuild 
b/app-emulation/virt-viewer/virt-viewer-11.0.ebuild
index c832d7926ced..e018a5a1b62a 100644
--- a/app-emulation/virt-viewer/virt-viewer-11.0.ebuild
+++ b/app-emulation/virt-viewer/virt-viewer-11.0.ebuild
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python3_{9..11} )
 inherit meson python-any-r1 xdg
 
 DESCRIPTION="Graphical console client for connecting to virtual machines"
-HOMEPAGE="https://virt-manager.org/;
+HOMEPAGE="https://virt-manager.org/ https://gitlab.com/virt-viewer/virt-viewer;
 if [[ ${PV} == *_p* ]] ; then
GIT_HASH="f0cc7103becccbce95bdf0c80151178af2bace5a"

SRC_URI="https://gitlab.com/${PN}/${PN}/-/archive/${GIT_HASH}/${PN}-${GIT_HASH}.tar.bz2
 -> ${P}.tar.bz2"



[gentoo-commits] repo/gentoo:master commit in: dev-python/libvirt-python/

2023-10-04 Thread Matthias Maier
commit: e209985ed4b1fd3c767925f3cb30c92fefc8a833
Author: Michal Privoznik  gmail  com>
AuthorDate: Wed Oct  4 10:15:29 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Wed Oct  4 17:46:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e209985e

dev-python/libvirt-python: Add 9.8.0

Signed-off-by: Michal Privoznik  gmail.com>
Signed-off-by: Matthias Maier  gentoo.org>

 dev-python/libvirt-python/Manifest |  2 +
 .../libvirt-python/libvirt-python-9.8.0.ebuild | 63 ++
 2 files changed, 65 insertions(+)

diff --git a/dev-python/libvirt-python/Manifest 
b/dev-python/libvirt-python/Manifest
index 183c7badea87..2903c4991a81 100644
--- a/dev-python/libvirt-python/Manifest
+++ b/dev-python/libvirt-python/Manifest
@@ -6,3 +6,5 @@ DIST libvirt-python-9.5.0.tar.gz 132020 BLAKE2B 
00bf4c88618952ec8908f5fc6f2b36ca
 DIST libvirt-python-9.5.0.tar.gz.asc 833 BLAKE2B 
11aac50ec85e3aa88abc02f210bcd7371828b8aa5aeb0cf3ceaa477f32f7f4129f8cafa0abc356fa2333a7621bafe00524299627d7c5ed33cfe10b17e6e91671
 SHA512 
b43b714c3910ddd04c4a11dc1d88343f9528761eed432bb2293a03cb719d5993041706549a932810e0ef66cc5efe69295269ad545583328b17607190afa449a4
 DIST libvirt-python-9.6.0.tar.gz 132068 BLAKE2B 
650f96b50c57bd23907a92fb20891fcd6e7d5ed7705432838e2d70a62cb9306aed8fe68133d1aa682630d47ac1c309304cf145ebc7ea68d881cae5b8d197e34c
 SHA512 
bb44cde55ecd4e77b28fbea8eaf9ffa71c09bafd97aebd7ec32b7210e06e56c00c167aa1aecbe482eb5adfdf84b81ddb45eec54d1d7219ece0826c1a3efd8737
 DIST libvirt-python-9.6.0.tar.gz.asc 833 BLAKE2B 
ea10f24f42dc259b1b3c87957f782b490db09c19d310c0448aa229f7e5e329027c1eeb5bc5399d93f2c098508f219ef8f8110faff72d8dbf5cd7ac5ecaa3600f
 SHA512 
78821adf4b35ffd8328f992db0aeef3d4e24434ec81a62a866c80cfdde47c5bd08e4832a9b2a033707db847a9e6a7581d87ed8d24bdb586335dfab4f2574be75
+DIST libvirt-python-9.8.0.tar.gz 246277 BLAKE2B 
c333909d1f4fd32f9e05d42e468b3808971360bb8aaf35934ec25f8155f0231b2ff3bfd90944a50cf13e09cec3cf35fdf41fb5869b1683c1cd36b4767f2b3dd1
 SHA512 
c9871ca2fa9d18ae42c4aa76e9a7ba9f0a026061b058072c862c8fe402c2d2325189687e1490718360a9b8f6c13d8ae2adfbe54f79a367fb6be9fbde381f4901
+DIST libvirt-python-9.8.0.tar.gz.asc 833 BLAKE2B 
78e6556031c325674d26322d0a6a4dfc391dd050223bd6d939d30328fc7bb1a2f8671aae95eb3a37b916311e6f4c44a4c1929093844347e06dffa23480793e34
 SHA512 
b999d442f8e22d91ccf9988f53603159406b3aacd3469fd613ed24afd67722206eb2b319a1518bc7aa8cc12684f84685de885bd40c9ba7d9a94ef16cf03f6065

diff --git a/dev-python/libvirt-python/libvirt-python-9.8.0.ebuild 
b/dev-python/libvirt-python/libvirt-python-9.8.0.ebuild
new file mode 100644
index ..fbbffef66a1e
--- /dev/null
+++ b/dev-python/libvirt-python/libvirt-python-9.8.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Packages which get releases together:
+# app-emacs/nxml-libvirt-schemas
+# dev-python/libvirt-python
+# dev-perl/Sys-Virt
+# app-emulation/libvirt
+# Please bump them together!
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+inherit distutils-r1 verify-sig
+
+if [[ ${PV} == ** ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://gitlab.com/libvirt/libvirt-python.git;
+   RDEPEND="app-emulation/libvirt:="
+else
+   MY_P="${P/_rc/-rc}"
+   SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz
+   verify-sig? ( 
https://libvirt.org/sources/python/${MY_P}.tar.gz.asc )"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+   RDEPEND="app-emulation/libvirt:0/${PV}"
+fi
+S="${WORKDIR}/${P%_rc*}"
+
+DESCRIPTION="libvirt Python bindings"
+HOMEPAGE="https://www.libvirt.org;
+
+LICENSE="LGPL-2"
+SLOT="0"
+IUSE="examples test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+   virtual/pkgconfig
+   test? (
+   dev-python/lxml[${PYTHON_USEDEP}]
+   )
+   verify-sig? ( sec-keys/openpgp-keys-libvirt )
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libvirt.org.asc
+
+distutils_enable_tests pytest
+
+python_compile() {
+   # setuptools is broken for C extensions, bug #907718
+   distutils-r1_python_compile -j1
+}
+
+python_install_all() {
+   if use examples; then
+   dodoc -r examples
+   docompress -x /usr/share/doc/${PF}/examples
+   fi
+
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/libvirt/files/, app-emulation/libvirt/

2023-10-04 Thread Matthias Maier
commit: 81d9f2dab9193e06e613d230d007d8fb85a64218
Author: Michal Privoznik  gmail  com>
AuthorDate: Wed Oct  4 10:03:00 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Wed Oct  4 17:46:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81d9f2da

app-emulation/libvirt: Update live ebuild

The libvirt-9.4.0-do-not-use-sysconfig.patch does not apply
cleanly anymore (because of libvirt's upstream commit of
0f09223fc5a09f438b3e19567a8630672f108cb3). Rebase it and update
the live ebuild.

Signed-off-by: Michal Privoznik  gmail.com>
Signed-off-by: Matthias Maier  gentoo.org>

 .../files/libvirt-9.9.0-do-not-use-sysconfig.patch | 79 ++
 app-emulation/libvirt/libvirt-.ebuild  |  2 +-
 2 files changed, 80 insertions(+), 1 deletion(-)

diff --git 
a/app-emulation/libvirt/files/libvirt-9.9.0-do-not-use-sysconfig.patch 
b/app-emulation/libvirt/files/libvirt-9.9.0-do-not-use-sysconfig.patch
new file mode 100644
index ..debca8c80146
--- /dev/null
+++ b/app-emulation/libvirt/files/libvirt-9.9.0-do-not-use-sysconfig.patch
@@ -0,0 +1,79 @@
+From bdc0f6b9c91615c601ea3a625220097f5cb0eeb0 Mon Sep 17 00:00:00 2001
+Message-ID: 

+From: Michal Privoznik 
+Date: Wed, 2 Mar 2022 10:01:04 +0100
+Subject: [PATCH] libvirt-9.9.0-do-not-use-sysconfig.patch
+
+Signed-off-by: Michal Privoznik 
+---
+ src/locking/virtlockd.service.in | 1 -
+ src/logging/virtlogd.service.in  | 1 -
+ src/remote/libvirtd.service.in   | 1 -
+ src/virtd.service.in | 1 -
+ tools/libvirt-guests.service.in  | 2 +-
+ 5 files changed, 1 insertion(+), 5 deletions(-)
+
+diff --git a/src/locking/virtlockd.service.in 
b/src/locking/virtlockd.service.in
+index ce00b6def9..9dee9189db 100644
+--- a/src/locking/virtlockd.service.in
 b/src/locking/virtlockd.service.in
+@@ -10,7 +10,6 @@ After=virtlockd-admin.socket
+ [Service]
+ Type=notify
+ Environment=VIRTLOCKD_ARGS=
+-EnvironmentFile=-@initconfdir@/virtlockd
+ ExecStart=@sbindir@/virtlockd $VIRTLOCKD_ARGS
+ ExecReload=/bin/kill -USR1 $MAINPID
+ # Losing the locks is a really bad thing that will
+diff --git a/src/logging/virtlogd.service.in b/src/logging/virtlogd.service.in
+index 52c9e5bb9e..90c63f0483 100644
+--- a/src/logging/virtlogd.service.in
 b/src/logging/virtlogd.service.in
+@@ -10,7 +10,6 @@ After=virtlogd-admin.socket
+ [Service]
+ Type=notify
+ Environment=VIRTLOGD_ARGS=
+-EnvironmentFile=-@initconfdir@/virtlogd
+ ExecStart=@sbindir@/virtlogd $VIRTLOGD_ARGS
+ ExecReload=/bin/kill -USR1 $MAINPID
+ # Losing the logs is a really bad thing that will
+diff --git a/src/remote/libvirtd.service.in b/src/remote/libvirtd.service.in
+index 24a6712b75..e4b4a189e1 100644
+--- a/src/remote/libvirtd.service.in
 b/src/remote/libvirtd.service.in
+@@ -28,7 +28,6 @@ Conflicts=xendomains.service
+ [Service]
+ Type=notify
+ Environment=LIBVIRTD_ARGS="--timeout 120"
+-EnvironmentFile=-@initconfdir@/libvirtd
+ ExecStart=@sbindir@/libvirtd $LIBVIRTD_ARGS
+ ExecReload=/bin/kill -HUP $MAINPID
+ KillMode=process
+diff --git a/src/virtd.service.in b/src/virtd.service.in
+index 651a8d82d7..b87c7e0553 100644
+--- a/src/virtd.service.in
 b/src/virtd.service.in
+@@ -17,7 +17,6 @@ After=apparmor.service
+ [Service]
+ Type=notify
+ Environment=@SERVICE@_ARGS="--timeout 120"
+-EnvironmentFile=-@initconfdir@/@service@
+ ExecStart=@sbindir@/@service@ $@SERVICE@_ARGS
+ ExecReload=/bin/kill -HUP $MAINPID
+ Restart=on-failure
+diff --git a/tools/libvirt-guests.service.in b/tools/libvirt-guests.service.in
+index c547218f2a..f5a1a60abe 100644
+--- a/tools/libvirt-guests.service.in
 b/tools/libvirt-guests.service.in
+@@ -14,7 +14,7 @@ Documentation=man:libvirt-guests(8)
+ Documentation=https://libvirt.org
+ 
+ [Service]
+-EnvironmentFile=-@initconfdir@/libvirt-guests
++EnvironmentFile=-/etc/libvirt/libvirt-guests.conf
+ # Hack just call traditional service until we factor
+ # out the code
+ ExecStart=@libexecdir@/libvirt-guests.sh start
+-- 
+2.41.0
+

diff --git a/app-emulation/libvirt/libvirt-.ebuild 
b/app-emulation/libvirt/libvirt-.ebuild
index 4adcd0b92658..753f54b9a2e9 100644
--- a/app-emulation/libvirt/libvirt-.ebuild
+++ b/app-emulation/libvirt/libvirt-.ebuild
@@ -144,7 +144,7 @@ PDEPEND="
 
 PATCHES=(
"${FILESDIR}"/${PN}-9.4.0-fix_paths_in_libvirt-guests_sh.patch
-   "${FILESDIR}"/${PN}-9.4.0-do-not-use-sysconfig.patch
+   "${FILESDIR}"/${PN}-9.9.0-do-not-use-sysconfig.patch
"${FILESDIR}"/${PN}-9.6.0-fix-paths-for-apparmor.patch
 )
 



[gentoo-commits] repo/gentoo:master commit in: app-shells/gentoo-zsh-completions/

2023-09-16 Thread Matthias Maier
commit: 6d7cf05c25c658f0ce7268b0cc62ddbe6997b3ce
Author: Matthias Maier  gentoo  org>
AuthorDate: Sun Sep 17 01:26:49 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sun Sep 17 01:27:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d7cf05c

app-shells/gentoo-zsh-completions: use tabstop for indenting in metadata.xml

Signed-off-by: Matthias Maier  gentoo.org>

 app-shells/gentoo-zsh-completions/metadata.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-shells/gentoo-zsh-completions/metadata.xml 
b/app-shells/gentoo-zsh-completions/metadata.xml
index 562a97957008..ecc741398397 100644
--- a/app-shells/gentoo-zsh-completions/metadata.xml
+++ b/app-shells/gentoo-zsh-completions/metadata.xml
@@ -6,7 +6,7 @@
    Matthias Maier


-  
-gentoo/gentoo-zsh-completions
-  
+   
+   gentoo/gentoo-zsh-completions
+   
 



[gentoo-commits] repo/gentoo:master commit in: app-shells/zsh-completions/

2023-09-16 Thread Matthias Maier
commit: 46b03f4688b3743129e9b5184ed9461e8d32a1b9
Author: Matthias Maier  gentoo  org>
AuthorDate: Sat Sep 16 23:42:47 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sat Sep 16 23:44:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46b03f46

app-shells/zsh-completions: add myself as a maintainer

Signed-off-by: Matthias Maier  gentoo.org>

 app-shells/zsh-completions/metadata.xml | 13 -
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/app-shells/zsh-completions/metadata.xml 
b/app-shells/zsh-completions/metadata.xml
index 3c6fe95b7998..4ba58baa724a 100644
--- a/app-shells/zsh-completions/metadata.xml
+++ b/app-shells/zsh-completions/metadata.xml
@@ -1,9 +1,12 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-  
-  
-  
-zsh-users/zsh-completions
-  
+   
+   tam...@gentoo.org
+       Matthias Maier
+   
+   
+   
+   zsh-users/zsh-completions
+   
 



[gentoo-commits] repo/gentoo:master commit in: app-shells/gentoo-zsh-completions/

2023-09-16 Thread Matthias Maier
commit: 37984f0774fe5ffc44eaaef89a336fba4af01e98
Author: Matthias Maier  gentoo  org>
AuthorDate: Sat Sep 16 23:44:10 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sat Sep 16 23:44:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37984f07

app-shells/gentoo-zsh-completions: add myself as a maintainer

Signed-off-by: Matthias Maier  gentoo.org>

 app-shells/gentoo-zsh-completions/metadata.xml | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/app-shells/gentoo-zsh-completions/metadata.xml 
b/app-shells/gentoo-zsh-completions/metadata.xml
index f0cd0b94ad24..562a97957008 100644
--- a/app-shells/gentoo-zsh-completions/metadata.xml
+++ b/app-shells/gentoo-zsh-completions/metadata.xml
@@ -1,7 +1,11 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-  
+   
+   tam...@gentoo.org
+       Matthias Maier
+   
+   
   
 gentoo/gentoo-zsh-completions
   



[gentoo-commits] repo/gentoo:master commit in: app-crypt/tpm2-openssl/

2023-09-16 Thread Matthias Maier
commit: 9087009cbc96d9e66ba4395bd701d5159c4772d3
Author: Matthias Maier  gentoo  org>
AuthorDate: Sat Sep 16 17:12:39 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sat Sep 16 17:12:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9087009c

app-crypt/tpm2-openssl: add missing build dependency

The "eautoreconf" call requires sys-devel/autoconf-archive to be
present, otherwise configure fails due to missing autoconf archive
features.

Signed-off-by: Matthias Maier  gentoo.org>

 app-crypt/tpm2-openssl/tpm2-openssl-1.1.1-r1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/app-crypt/tpm2-openssl/tpm2-openssl-1.1.1-r1.ebuild 
b/app-crypt/tpm2-openssl/tpm2-openssl-1.1.1-r1.ebuild
index a7e97911f696..a420baf98c3a 100644
--- a/app-crypt/tpm2-openssl/tpm2-openssl-1.1.1-r1.ebuild
+++ b/app-crypt/tpm2-openssl/tpm2-openssl-1.1.1-r1.ebuild
@@ -24,7 +24,9 @@ DEPEND="${RDEPEND}
app-crypt/tpm2-abrmd
app-crypt/tpm2-tools
)"
-BDEPEND="virtual/pkgconfig"
+BDEPEND="
+   sys-devel/autoconf-archive
+   virtual/pkgconfig"
 
 PATCHES=(

"${FILESDIR}/${P}-tests-include-base-provider-required-to-load-ecparam.patch"



[gentoo-commits] repo/gentoo:master commit in: app-crypt/tpm2-openssl/files/, app-crypt/tpm2-openssl/

2023-09-16 Thread Matthias Maier
commit: ae59aba546e498bc1a8a1ec17b4c070d6af489f9
Author: Christopher Byrne  gmail  com>
AuthorDate: Fri Sep 15 16:45:01 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sat Sep 16 16:36:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae59aba5

app-crypt/tpm2-openssl: Fix build with slibtool

Closes: https://bugs.gentoo.org/914239
Closes: https://github.com/gentoo/gentoo/pull/32814
Signed-off-by: Christopher Byrne  gmail.com>
Signed-off-by: Matthias Maier  gentoo.org>

 ...-undefined-references-when-using-slibtool.patch | 26 ++
 .../tpm2-openssl/tpm2-openssl-1.1.1-r1.ebuild  | 12 +-
 2 files changed, 37 insertions(+), 1 deletion(-)

diff --git 
a/app-crypt/tpm2-openssl/files/tpm2-openssl-1.1.1-build-Fix-undefined-references-when-using-slibtool.patch
 
b/app-crypt/tpm2-openssl/files/tpm2-openssl-1.1.1-build-Fix-undefined-references-when-using-slibtool.patch
new file mode 100644
index ..4045a940756f
--- /dev/null
+++ 
b/app-crypt/tpm2-openssl/files/tpm2-openssl-1.1.1-build-Fix-undefined-references-when-using-slibtool.patch
@@ -0,0 +1,26 @@
+From 8c87d708a168ab090f8e5fc01f2bf1db5103427d Mon Sep 17 00:00:00 2001
+From: Christopher Byrne 
+Date: Fri, 15 Sep 2023 11:26:55 -0500
+Subject: [PATCH] build: Fix undefined references when using slibtool
+
+Signed-off-by: Christopher Byrne 
+---
+ Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index a0ad0d5..34a751c 100644
+--- a/Makefile.am
 b/Makefile.am
+@@ -50,7 +50,7 @@ tpm2_la_LIBADD = $(TSS2_ESYS_LIBS) $(TSS2_TCTILDR_LIBS) 
$(LIBS) $(CODE_COVERAGE_
+ if TSS2_RC
+ tpm2_la_LIBADD += $(TSS2_RC_LIBS)
+ endif
+-tpm2_la_LDFLAGS = -module -avoid-version -no-undefined -export-symbols-regex 
'OSSL_provider_init' $(COMMON_LDFLAGS) $(CODE_COVERAGE_LDFLAGS)
++tpm2_la_LDFLAGS = -module -avoid-version -export-symbols-regex 
'OSSL_provider_init' $(COMMON_LDFLAGS) $(CODE_COVERAGE_LDFLAGS)
+ 
+ check_PROGRAMS = test/selftest
+ test_selftest_SOURCES = test/selftest.c
+-- 
+2.41.0
+

diff --git a/app-crypt/tpm2-openssl/tpm2-openssl-1.1.1-r1.ebuild 
b/app-crypt/tpm2-openssl/tpm2-openssl-1.1.1-r1.ebuild
index 9149a1e93139..a7e97911f696 100644
--- a/app-crypt/tpm2-openssl/tpm2-openssl-1.1.1-r1.ebuild
+++ b/app-crypt/tpm2-openssl/tpm2-openssl-1.1.1-r1.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=8
 
+inherit autotools
+
 DESCRIPTION="OpenSSL Provider for TPM2 integration"
 HOMEPAGE="https://github.com/tpm2-software/tpm2-openssl;
 
SRC_URI="https://github.com/tpm2-software/tpm2-openssl/releases/download/${PV}/${P}.tar.gz;
@@ -24,7 +26,15 @@ DEPEND="${RDEPEND}
)"
 BDEPEND="virtual/pkgconfig"
 
-PATCHES=( 
"${FILESDIR}"/${P}-tests-include-base-provider-required-to-load-ecparam.patch )
+PATCHES=(
+   
"${FILESDIR}/${P}-tests-include-base-provider-required-to-load-ecparam.patch"
+   
"${FILESDIR}/${P}-build-Fix-undefined-references-when-using-slibtool.patch"
+)
+
+src_prepare() {
+   eautoreconf
+   default
+}
 
 src_test() {
dbus_run() {



[gentoo-commits] repo/gentoo:master commit in: app-crypt/tpm2-openssl/

2023-09-16 Thread Matthias Maier
commit: 8a1203bde98779e86ad2b0d1e6031ad319dc4525
Author: Matthias Maier  gentoo  org>
AuthorDate: Sat Sep 16 16:19:29 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sat Sep 16 16:20:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a1203bd

app-crypt/tpm2-openssl: update dependency on app-crypt/swtpm[gnutls(+)]

This change is necessary for the recent change of dropping USE=gnutls
from app-crypt/swtpm.

Signed-off-by: Matthias Maier  gentoo.org>

 .../{tpm2-openssl-1.1.1.ebuild => tpm2-openssl-1.1.1-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-crypt/tpm2-openssl/tpm2-openssl-1.1.1.ebuild 
b/app-crypt/tpm2-openssl/tpm2-openssl-1.1.1-r1.ebuild
similarity index 98%
rename from app-crypt/tpm2-openssl/tpm2-openssl-1.1.1.ebuild
rename to app-crypt/tpm2-openssl/tpm2-openssl-1.1.1-r1.ebuild
index 54fda1a513cb..9149a1e93139 100644
--- a/app-crypt/tpm2-openssl/tpm2-openssl-1.1.1.ebuild
+++ b/app-crypt/tpm2-openssl/tpm2-openssl-1.1.1-r1.ebuild
@@ -18,7 +18,7 @@ RDEPEND="
>=dev-libs/openssl-3:="
 DEPEND="${RDEPEND}
test? (
-   app-crypt/swtpm[gnutls]
+   app-crypt/swtpm[gnutls(+)]
app-crypt/tpm2-abrmd
app-crypt/tpm2-tools
)"



[gentoo-commits] repo/gentoo:master commit in: app-crypt/swtpm/

2023-09-16 Thread Matthias Maier
commit: 385cf751b98496cf4e297b0f1cbf3e1ba9e26d80
Author: Christopher Byrne  gmail  com>
AuthorDate: Sat Sep 16 15:51:13 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sat Sep 16 15:54:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=385cf751

app-crypt/swtpm: Add gnutls dependency back for swtpm_cert

RDEPEND=net-libs/gnutls[tools,pkcs11] is essentiallly required for
app-crypt/swtpm. New vTPMs cannot be provisioned without it, and upstream
expects gnutls to have PKCS11 support:
https://github.com/stefanberger/swtpm/issues/477 .

Closes: https://github.com/gentoo/gentoo/pull/32704
Closes: https://bugs.gentoo.org/913586
Bug: https://bugs.gentoo.org/909754
Signed-off-by: Christopher Byrne  gmail.com>
Signed-off-by: Matthias Maier  gentoo.org>

 app-crypt/swtpm/metadata.xml   |  1 -
 ...swtpm-0.8.0-r1.ebuild => swtpm-0.8.0-r2.ebuild} | 22 --
 ...swtpm-0.8.1-r1.ebuild => swtpm-0.8.1-r2.ebuild} | 22 --
 3 files changed, 24 insertions(+), 21 deletions(-)

diff --git a/app-crypt/swtpm/metadata.xml b/app-crypt/swtpm/metadata.xml
index 0cef26f8515d..3187cf4dce7f 100644
--- a/app-crypt/swtpm/metadata.xml
+++ b/app-crypt/swtpm/metadata.xml
@@ -15,7 +15,6 @@


Support sys-fs/fuse based /dev/tpm 
interface
-   Build the swtpm_cert binary which depends 
on net-libs/gnutls


stefanberger/swtpm

diff --git a/app-crypt/swtpm/swtpm-0.8.0-r1.ebuild 
b/app-crypt/swtpm/swtpm-0.8.0-r2.ebuild
similarity index 79%
rename from app-crypt/swtpm/swtpm-0.8.0-r1.ebuild
rename to app-crypt/swtpm/swtpm-0.8.0-r2.ebuild
index fa93580b5b34..650e54402d13 100644
--- a/app-crypt/swtpm/swtpm-0.8.0-r1.ebuild
+++ b/app-crypt/swtpm/swtpm-0.8.0-r2.ebuild
@@ -14,30 +14,32 @@ 
SRC_URI="https://github.com/stefanberger/swtpm/archive/v${PV}.tar.gz -> ${P}.tar
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86"
-IUSE="fuse +gnutls seccomp test"
+IUSE="fuse seccomp test"
 RESTRICT="!test? ( test )"
 
+# net-libs/gnutls[pkcs11,tools] is required otherwsie it not possible to
+# provision new vTPMs. swtpm_cert spawns certttool, and upstream expects
+# pkcs11 in gnutls: https://github.com/stefanberger/swtpm/issues/477.
+
 RDEPEND="fuse? (
dev-libs/glib:2
sys-fs/fuse:0
)
-   gnutls? (
-   dev-libs/libtasn1:=
-   >=net-libs/gnutls-3.4.0:=[tools,pkcs11]
-   )
seccomp? ( sys-libs/libseccomp )
-   dev-libs/libtasn1:=
acct-group/tss
acct-user/tss
dev-libs/openssl:0=
dev-libs/json-glib
-   dev-libs/libtpms"
+   dev-libs/libtpms
+   dev-libs/libtasn1:=
+   net-libs/gnutls[pkcs11,tools]
+"
 
 DEPEND="${RDEPEND}
-   test? (
+   test?   (
net-misc/socat
dev-tcltk/expect
-   )"
+   )"
 
 BDEPEND="${PYTHON_DEPS}"
 
@@ -55,9 +57,9 @@ src_prepare() {
 src_configure() {
econf \
--with-openssl \
+   --with-gnutls \
--without-selinux \
$(use_with fuse cuse) \
-   $(use_with gnutls) \
$(use_with seccomp) \
$(use_enable test)
 }

diff --git a/app-crypt/swtpm/swtpm-0.8.1-r1.ebuild 
b/app-crypt/swtpm/swtpm-0.8.1-r2.ebuild
similarity index 79%
rename from app-crypt/swtpm/swtpm-0.8.1-r1.ebuild
rename to app-crypt/swtpm/swtpm-0.8.1-r2.ebuild
index 96cec582841b..43e4f293c488 100644
--- a/app-crypt/swtpm/swtpm-0.8.1-r1.ebuild
+++ b/app-crypt/swtpm/swtpm-0.8.1-r2.ebuild
@@ -14,30 +14,32 @@ 
SRC_URI="https://github.com/stefanberger/swtpm/archive/v${PV}.tar.gz -> ${P}.tar
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
-IUSE="fuse +gnutls seccomp test"
+IUSE="fuse seccomp test"
 RESTRICT="!test? ( test )"
 
+# net-libs/gnutls[pkcs11,tools] is required otherwsie it not possible to
+# provision new vTPMs. swtpm_cert spawns certttool, and upstream expects
+# pkcs11 in gnutls: https://github.com/stefanberger/swtpm/issues/477.
+
 RDEPEND="fuse? (
dev-libs/glib:2
sys-fs/fuse:0
)
-   gnutls? (
-   dev-libs/libtasn1:=
-   >=net-libs/gnutls-3.4.0:=[tools,pkcs11]
-   )
seccomp? ( sys-libs/libseccomp )
-   dev-libs/libtasn1:=
acct-group/tss
acct-user/tss
dev-libs/openssl:0=
dev-libs/json-glib
-   dev-libs/libtpms"
+   dev-libs/libtpms
+   dev-libs/libtasn1:=
+   net-libs/gnutls[pkcs11,tools]
+"
 
 DEPEND="${RDEPEND}
-   test? (
+   test?   (
net-misc/socat

[gentoo-commits] repo/gentoo:master commit in: app-crypt/swtpm/

2023-09-14 Thread Matthias Maier
commit: e470d198cc9fe863a54e392fb7e8bf963b5be5e9
Author: Matthias Maier  gentoo  org>
AuthorDate: Thu Sep 14 15:04:21 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Thu Sep 14 15:05:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e470d198

app-crypt/swtpm: add back support for swtpm_cert, improve description

Bug: https://bugs.gentoo.org/909754
Closes: https://bugs.gentoo.org/913586
Signed-off-by: Matthias Maier  gentoo.org>

 app-crypt/swtpm/metadata.xml  | 2 +-
 app-crypt/swtpm/{swtpm-0.8.0.ebuild => swtpm-0.8.0-r1.ebuild} | 5 +++--
 app-crypt/swtpm/{swtpm-0.8.1.ebuild => swtpm-0.8.1-r1.ebuild} | 7 ++-
 3 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/app-crypt/swtpm/metadata.xml b/app-crypt/swtpm/metadata.xml
index f93b188345c2..0cef26f8515d 100644
--- a/app-crypt/swtpm/metadata.xml
+++ b/app-crypt/swtpm/metadata.xml
@@ -15,7 +15,7 @@


Support sys-fs/fuse based /dev/tpm 
interface
-   Use net-libs/gnutls as crypto 
engine
+   Build the swtpm_cert binary which depends 
on net-libs/gnutls


stefanberger/swtpm

diff --git a/app-crypt/swtpm/swtpm-0.8.0.ebuild 
b/app-crypt/swtpm/swtpm-0.8.0-r1.ebuild
similarity index 91%
rename from app-crypt/swtpm/swtpm-0.8.0.ebuild
rename to app-crypt/swtpm/swtpm-0.8.0-r1.ebuild
index 3ecf2ac06a0d..96cec582841b 100644
--- a/app-crypt/swtpm/swtpm-0.8.0.ebuild
+++ b/app-crypt/swtpm/swtpm-0.8.0-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9,10,11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit autotools python-any-r1
 
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/stefanberger/swtpm/archive/v${PV}.tar.gz -> ${P}.tar
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
 IUSE="fuse +gnutls seccomp test"
 RESTRICT="!test? ( test )"
 
@@ -26,6 +26,7 @@ RDEPEND="fuse? (
>=net-libs/gnutls-3.4.0:=[tools,pkcs11]
)
seccomp? ( sys-libs/libseccomp )
+   dev-libs/libtasn1:=
acct-group/tss
acct-user/tss
dev-libs/openssl:0=

diff --git a/app-crypt/swtpm/swtpm-0.8.1.ebuild 
b/app-crypt/swtpm/swtpm-0.8.1-r1.ebuild
similarity index 90%
rename from app-crypt/swtpm/swtpm-0.8.1.ebuild
rename to app-crypt/swtpm/swtpm-0.8.1-r1.ebuild
index b7d305979779..96cec582841b 100644
--- a/app-crypt/swtpm/swtpm-0.8.1.ebuild
+++ b/app-crypt/swtpm/swtpm-0.8.1-r1.ebuild
@@ -14,13 +14,17 @@ 
SRC_URI="https://github.com/stefanberger/swtpm/archive/v${PV}.tar.gz -> ${P}.tar
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
-IUSE="fuse seccomp test"
+IUSE="fuse +gnutls seccomp test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="fuse? (
dev-libs/glib:2
sys-fs/fuse:0
)
+   gnutls? (
+   dev-libs/libtasn1:=
+   >=net-libs/gnutls-3.4.0:=[tools,pkcs11]
+   )
seccomp? ( sys-libs/libseccomp )
dev-libs/libtasn1:=
acct-group/tss
@@ -53,6 +57,7 @@ src_configure() {
--with-openssl \
--without-selinux \
$(use_with fuse cuse) \
+   $(use_with gnutls) \
$(use_with seccomp) \
$(use_enable test)
 }



[gentoo-commits] repo/gentoo:master commit in: sec-keys/openpgp-keys-dealii/

2023-09-04 Thread Matthias Maier
commit: f2d1e3978d3250dc34afd5ecf08f989c8f545cfa
Author: Matthias Maier  gentoo  org>
AuthorDate: Mon Sep  4 18:44:10 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Mon Sep  4 19:20:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2d1e397

sec-keys/openpgp-keys-dealii: add 20230904, refresh keys from keyserver

 - force a refresh from openpgp keyserver
 - use ${P} in distfile name to ensure that when bumping this package
   keys are properly refetched

Signed-off-by: Matthias Maier  gentoo.org>

 sec-keys/openpgp-keys-dealii/Manifest   | 4 ++--
 ...s-dealii-20221207.ebuild => openpgp-keys-dealii-20230904.ebuild} | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/sec-keys/openpgp-keys-dealii/Manifest 
b/sec-keys/openpgp-keys-dealii/Manifest
index 53941312adb0..6162c193d737 100644
--- a/sec-keys/openpgp-keys-dealii/Manifest
+++ b/sec-keys/openpgp-keys-dealii/Manifest
@@ -1,2 +1,2 @@
-DIST 1EE97BF66221FC3069B5CF90B5A4E06FBD3A97A3.asc 120415 BLAKE2B 
d82a89da6f9614db322522870dc2eb430f8a926d65512d7e9579059174da4bbe8f6e8d483435c8cbd1509740b08faa76f39cd5fa50cf82c1b78e77577be76bf5
 SHA512 
2aed5cfb1b4cae019ddd8ff6075582cddb4e28c0103ee137a52a64cfac35faf2b0770da6678b7b33d22879f188bab273bb8b81d542d6d420ecbddff8f23491de
-DIST 3D0EAB10AE6243B4BA27CE03E31EE5662371CB21.asc 5934 BLAKE2B 
650cff11b404accb902932e2aad80ee14d40e03a9f513f70ce89b409b8250870e19520689febb7214c22b1df930740d90518a1105e81a7d1c4e809875794
 SHA512 
256b7b47c558bcbc49256fdba4d8a57258670cb9a7fb4b91d53e1b3858ce4ff42de2610c28b70576de240eda3f8ec9e433fe3cf9eeaed8597eae22f3337f70ed
+DIST openpgp-keys-dealii-20230904-1EE97BF66221FC3069B5CF90B5A4E06FBD3A97A3.asc 
130501 BLAKE2B 
07526d497ffe1719e9ae8b1532b80ad9a6300d5d3a1c39fb50f70063b4bb1577df317da0293a45852c8aceadcc57cda9b46544060f2217969829db88a71fa1e6
 SHA512 
a0f0e18c6686aee2dc4bfeafaa3a620baf5d153c3285aa95b9b0215cc615e8fc94b934863a3a7cc80ce79e6d8eb467353f00fc674cfab11f8764de6e9018861d
+DIST openpgp-keys-dealii-20230904-3D0EAB10AE6243B4BA27CE03E31EE5662371CB21.asc 
9495 BLAKE2B 
f34454b6c608c6da5498b8289da7700b8805befc23511fa37c50bb121eafb6661ae0013e3dd9ca2d28d2af1109ff71d4b481b10f7fd995e70ac6a78fe8b0b83f
 SHA512 
b338b4d36752695493ce3f78499e038e10127de63cf1756c6a3f359d46948417e4681e9d57b62b5357c99825ea25265feba59ae16e53f2dd6178a11420fdf3d5

diff --git a/sec-keys/openpgp-keys-dealii/openpgp-keys-dealii-20221207.ebuild 
b/sec-keys/openpgp-keys-dealii/openpgp-keys-dealii-20230904.ebuild
similarity index 81%
rename from sec-keys/openpgp-keys-dealii/openpgp-keys-dealii-20221207.ebuild
rename to sec-keys/openpgp-keys-dealii/openpgp-keys-dealii-20230904.ebuild
index 7b909b1382ef..fd1ed882fe59 100644
--- a/sec-keys/openpgp-keys-dealii/openpgp-keys-dealii-20221207.ebuild
+++ b/sec-keys/openpgp-keys-dealii/openpgp-keys-dealii-20230904.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -7,9 +7,9 @@ DESCRIPTION="OpenPGP keys used by dealii"
 HOMEPAGE="https://www.dealii.org/ https://github.com/dealii/dealii/;
 SRC_URI="

https://keys.openpgp.org/vks/v1/by-fingerprint/1EE97BF66221FC3069B5CF90B5A4E06FBD3A97A3
-   -> 1EE97BF66221FC3069B5CF90B5A4E06FBD3A97A3.asc
+   -> ${P}-1EE97BF66221FC3069B5CF90B5A4E06FBD3A97A3.asc

https://keys.openpgp.org/vks/v1/by-fingerprint/3D0EAB10AE6243B4BA27CE03E31EE5662371CB21
-   -> 3D0EAB10AE6243B4BA27CE03E31EE5662371CB21.asc"
+   -> ${P}-3D0EAB10AE6243B4BA27CE03E31EE5662371CB21.asc"
 S="${WORKDIR}"
 
 LICENSE="public-domain"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/dealii/

2023-09-04 Thread Matthias Maier
commit: 3ca62ae64fcc2c7b0a5b829ca149942e5fe6408d
Author: Matthias Maier  gentoo  org>
AuthorDate: Mon Sep  4 17:12:22 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Mon Sep  4 19:20:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ca62ae6

sci-libs/dealii: add 9.5.1, drop 9.5.0

Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/dealii/Manifest |  4 +++-
 sci-libs/dealii/{dealii-9.5.0.ebuild => dealii-9.5.1.ebuild} | 12 ++--
 2 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/sci-libs/dealii/Manifest b/sci-libs/dealii/Manifest
index 553c4c6190b1..d5a5844c5276 100644
--- a/sci-libs/dealii/Manifest
+++ b/sci-libs/dealii/Manifest
@@ -7,4 +7,6 @@ DIST dealii-9.4.1-offline_documentation.tar.gz.asc 246 BLAKE2B 
9ace22c9b174e642c
 DIST dealii-9.4.1.tar.gz 30298204 BLAKE2B 
499f542c7a7f071d04048127199c7bebf5668b6e8d13fc2701dd18e28165442e58112ee9e4926e16a592bffdd5d7b7c240eea55808e5f9c021961f7e44b7da79
 SHA512 
39089aff462d3ff4244ce75f74a4cd908f8f72a81dcc3fb02ca91b3cad2442ceb78677e72cd928b36a04d352c4baa146a25fa5e14c886ca9e2bad0be0069f7b8
 DIST dealii-9.4.1.tar.gz.asc 246 BLAKE2B 
dbb1dc7b3e8a97f29287f154d11cd3db2566fdc4c7667fa57e686e2feba33f2115546408365f0e8f490ba593cb582b12489de373da3e33e8702b6e16804c7ebf
 SHA512 
eb987d34f19b59d523d79f3c2c99f5f3125b1d0c71af0eb32b77ad5959d6197b79f1971a8a79dbc52bab698335dcb6091aac88c51d845a1e07d3681c089754c7
 DIST dealii-9.5.0-offline_documentation.tar.gz 412499027 BLAKE2B 
521aa2488d84d48a624f4cbdbe9c173d0cdcee2df8d06b97b7c25ba28d4a2113a7da9fd9abd9eb64cd56b37f8edc716bd034fc3ba8823f8b1def26c34aaeeb55
 SHA512 
2e0d331f92d52b0fd909a0139157a1960a9222d46d537611f0508cdb79020a8e51ff0da6aefdf95adff732cea050b72df7dc1a8af7e93c736721970218815cfe
-DIST dealii-9.5.0.tar.gz 31524412 BLAKE2B 
0388b4c8441b1e59baba3fcb3f19c19a357c452c7b30a95a040c1ae628f56734d85aeb4ed755fc68b7bb6c28b508d857f14bb0793e23b7e207f260e0a0bf70ac
 SHA512 
33308711f9efb41030a509f25c537680e0980df95d90947641958f12ddd00c3aee542837de8ba4d100cbdb5470c001132c7526b52020e0eb219bf4b0f6c23586
+DIST dealii-9.5.0-offline_documentation.tar.gz.asc 246 BLAKE2B 
0a570885e80ad09ff154532b71c07e33894e93c96b3bca48dc8aae0b308883518cbb5eca57658c4e13de47efba47c3cb20bf376482ef7a26c6c0da93ee4dd689
 SHA512 
b63a9a0504fe5266b448ffda74e1d85ad5b6f344535c5b5f11d209546b51bb916ad69504ce5e4f1fd2287407c2d3d98a20b01bd830e8d45f510a85b7a057a8d5
+DIST dealii-9.5.1.tar.gz 31522808 BLAKE2B 
99db2beafb949364869fc7f06f78bf921b0d99c69de57da40115b0eb939e1c9a40dcbf40a186a988189ea92a6e1295da4969fd33a7e4738b27813ff1842cb99a
 SHA512 
7ba4e4751417a7916cb059379b3b70afcaa5f62786e92ac7332b6f55cbcfcb25df15de2a6071cc33444c911f104e576f8792ea4ac4e6702186e5740c7c909d72
+DIST dealii-9.5.1.tar.gz.asc 246 BLAKE2B 
4d6aac271d1f460c66a54eff2012ded302093ef68777ff91f40d9472694541fa5e168e34e13dfadad3a8353dbca44756884c3f944f6f29169fc649d0395c
 SHA512 
1065d0ab07b2ebc52fc52faf896e6d757f89f523c7a16c650307fe115dde361e6e0ecb96c9e5ecfbe5ebe58728fdd76bf83cbb3cb82cdb76b182526fee42ecb3

diff --git a/sci-libs/dealii/dealii-9.5.0.ebuild 
b/sci-libs/dealii/dealii-9.5.1.ebuild
similarity index 90%
rename from sci-libs/dealii/dealii-9.5.0.ebuild
rename to sci-libs/dealii/dealii-9.5.1.ebuild
index fc798a6b87d3..60337976d7ad 100644
--- a/sci-libs/dealii/dealii-9.5.0.ebuild
+++ b/sci-libs/dealii/dealii-9.5.1.ebuild
@@ -8,7 +8,7 @@ EAPI=8
 # any of these modules:
 CMAKE_REMOVE_MODULES_LIST=""
 
-inherit cmake flag-o-matic
+inherit cmake flag-o-matic verify-sig
 
 DESCRIPTION="Solving partial differential equations with the finite element 
method"
 HOMEPAGE="https://www.dealii.org/;
@@ -18,9 +18,12 @@ if [[ ${PV} = ** ]]; then
EGIT_REPO_URI="https://github.com/dealii/dealii.git;
SRC_URI=""
 else
+   DOC_PV=9.5.0

SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz
+   verify-sig? ( 
https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz.asc )
doc? (
-   
https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}-offline_documentation.tar.gz
+   
https://github.com/${PN}/${PN}/releases/download/v${DOC_PV}/${PN}-${DOC_PV}-offline_documentation.tar.gz
+   verify-sig? ( 
https://github.com/${PN}/${PN}/releases/download/v${DOC_PV}/${PN}-${DOC_PV}-offline_documentation.tar.gz.asc
 )
)"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 fi
@@ -81,9 +84,14 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
doc? ( app-doc/doxygen[dot] dev-lang/perl )"
 
+BDEPEND="
+   verify-sig? ( sec-keys/openpgp-keys-dealii )"
+
 PATCHES=(
 )
 
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/dealii.asc"
+
 src_configure() {
# deal.II needs a custom build type:
local CMAKE_BUILD_TYPE=$(usex debug DebugRelease Release)



[gentoo-commits] repo/gentoo:master commit in: app-shells/zsh/

2023-09-02 Thread Matthias Maier
commit: ddca2530c0e4dc377d02035df2865c982a963e80
Author: Matthias Maier  gentoo  org>
AuthorDate: Sun Sep  3 02:38:53 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sun Sep  3 02:38:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddca2530

app-shells/zsh: add myself as a maintainer

Signed-off-by: Matthias Maier  gentoo.org>

 app-shells/zsh/metadata.xml | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/app-shells/zsh/metadata.xml b/app-shells/zsh/metadata.xml
index 6cbf3538bfb5..df37bfc47736 100644
--- a/app-shells/zsh/metadata.xml
+++ b/app-shells/zsh/metadata.xml
@@ -1,7 +1,10 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-   
+   
+   tam...@gentoo.org
+       Matthias Maier
+   

Zsh is a shell designed for interactive use, although it is 
also a
powerful scripting language. Many of the useful features of 
bash, ksh,



[gentoo-commits] repo/gentoo:master commit in: sci-libs/arpack/

2023-08-23 Thread Matthias Maier
commit: 7199527c9451cfdeb524cd8e7b618a903fef8cc0
Author: Matthias Maier  gentoo  org>
AuthorDate: Thu Aug 24 01:03:34 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Thu Aug 24 01:04:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7199527c

sci-libs/arpack: also install headers for ISO C bindings

Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/arpack/{arpack-3.8.0.ebuild => arpack-3.8.0-r1.ebuild} | 1 +
 sci-libs/arpack/{arpack-3.9.0.ebuild => arpack-3.9.0-r1.ebuild} | 1 +
 sci-libs/arpack/arpack-.ebuild  | 3 ++-
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/sci-libs/arpack/arpack-3.8.0.ebuild 
b/sci-libs/arpack/arpack-3.8.0-r1.ebuild
similarity index 98%
rename from sci-libs/arpack/arpack-3.8.0.ebuild
rename to sci-libs/arpack/arpack-3.8.0-r1.ebuild
index c54db4557179..33421451eea4 100644
--- a/sci-libs/arpack/arpack-3.8.0.ebuild
+++ b/sci-libs/arpack/arpack-3.8.0-r1.ebuild
@@ -35,6 +35,7 @@ src_prepare() {
 src_configure() {
econf \
--disable-static \
+   --enable-icb \
--with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \
--with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)" \
$(use_enable mpi)

diff --git a/sci-libs/arpack/arpack-3.9.0.ebuild 
b/sci-libs/arpack/arpack-3.9.0-r1.ebuild
similarity index 98%
rename from sci-libs/arpack/arpack-3.9.0.ebuild
rename to sci-libs/arpack/arpack-3.9.0-r1.ebuild
index cfd783760a46..543b592a542d 100644
--- a/sci-libs/arpack/arpack-3.9.0.ebuild
+++ b/sci-libs/arpack/arpack-3.9.0-r1.ebuild
@@ -35,6 +35,7 @@ src_prepare() {
 src_configure() {
econf \
--disable-static \
+   --enable-icb \
--with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \
--with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)" \
$(use_enable mpi)

diff --git a/sci-libs/arpack/arpack-.ebuild 
b/sci-libs/arpack/arpack-.ebuild
index 4130db5de749..543b592a542d 100644
--- a/sci-libs/arpack/arpack-.ebuild
+++ b/sci-libs/arpack/arpack-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -35,6 +35,7 @@ src_prepare() {
 src_configure() {
econf \
--disable-static \
+   --enable-icb \
--with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \
--with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)" \
$(use_enable mpi)



[gentoo-commits] repo/gentoo:master commit in: sci-libs/trilinos/

2023-08-15 Thread Matthias Maier
commit: 3a1839fbc6fc57aa215896771754a0bd50f75e0b
Author: Matthias Maier  gentoo  org>
AuthorDate: Wed Aug 16 04:46:07 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Wed Aug 16 05:27:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a1839fb

sci-libs/trilinos: add 14.4.0

Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/trilinos/Manifest   |   1 +
 sci-libs/trilinos/trilinos-14.4.0.ebuild | 256 +++
 2 files changed, 257 insertions(+)

diff --git a/sci-libs/trilinos/Manifest b/sci-libs/trilinos/Manifest
index b29bc8431dae..2db7f00749f6 100644
--- a/sci-libs/trilinos/Manifest
+++ b/sci-libs/trilinos/Manifest
@@ -3,3 +3,4 @@ DIST trilinos-13.4.0.tar.gz 168733479 BLAKE2B 
3c4a1c89b792ec771c6347eebb6bb54a82
 DIST trilinos-13.4.1.tar.gz 168720416 BLAKE2B 
5201c36aa998045f4eab99b67fce25f9a2f2a9524b8ca1147cd8db9ccc306e3df61336df3b2ee981317c8defbae2df9e36546a0e5ddfed3142213e437e4dfba0
 SHA512 
9c0fb3af2fa625cd0af1309bfa61c212e12657820707348c81355d506e07f540da5e42aa30237fbc80adf257bb636029345f248abaf7ef96fcdaed1c28ec3a19
 DIST trilinos-14.0.0.tar.gz 179086187 BLAKE2B 
0e0c3e3fa4b88164cd7e90720ec42eb007f8e89734e5537a7eba1f17754faf30c21fa1d77f7e8a7968bdb8bb230596a1adc74f8170577fd7b4eccb2e88c5b8f6
 SHA512 
b08fcf4f6bf2605267c44c038f352949e5bfe14b853de77e4c80e28f66c088ead1699b1e49f8475f1b98ce5a21238b98a299e760f1373e585c78b65120fa18e5
 DIST trilinos-14.2.0.tar.gz 178867695 BLAKE2B 
07ff61775399014091aae9c14ad12a69ab19853bc3489c15775490aa3f6e8ae868ac4e90bf046d10bf1ecb1d5558992f0afb0ce656f947336559fcf10085c038
 SHA512 
c676ff2b59904dc05a0ff434dd164bc96076999a5851c160c5851c124d3c519dd0cc3f088eba19f2000c7d1c2377f4efb2b2b8f9f3ee641b2180f3b99b28ea0b
+DIST trilinos-14.4.0.tar.gz 188325969 BLAKE2B 
909e3ebe229d035263d835e0d68977516d2a5df168785021fe300f7904e149586a82a6dba271cc1472455472397ee5467443244fb68fb27c00cf4e9b3d10a282
 SHA512 
497fc4fb4ab4338fffef7111635f3dc3b12cb7302bc3f56bafb5cc75b7c68e94cc22fcacd9dd625803a0f38e4fbce5105cab61df76e033a4581568c36a53fe8a

diff --git a/sci-libs/trilinos/trilinos-14.4.0.ebuild 
b/sci-libs/trilinos/trilinos-14.4.0.ebuild
new file mode 100644
index ..8e143ef76619
--- /dev/null
+++ b/sci-libs/trilinos/trilinos-14.4.0.ebuild
@@ -0,0 +1,256 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_MAKEFILE_GENERATOR=emake
+inherit cmake toolchain-funcs
+
+DESCRIPTION="Scientific library collection for large scale problems"
+HOMEPAGE="http://trilinos.sandia.gov/;
+MY_PV="${PV//\./-}"
+PATCHSET="r0"
+SRC_URI="https://github.com/${PN}/Trilinos/archive/${PN}-release-${MY_PV}.tar.gz
 -> ${P}.tar.gz"
+
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+LICENSE="BSD LGPL-2.1"
+SLOT="0"
+
+IUSE="
+   adolc all-packages arprec clp cuda eigen glpk gtest hdf5 hwloc hypre
+   matio metis mkl mumps netcdf openmp petsc qd scalapack scotch sparse
+   superlu taucs tbb test threads tvmet yaml zlib X
+"
+
+# TODO: fix export cmake function for tests
+RESTRICT="test"
+
+RDEPEND="
+   !dev-cpp/kokkos
+   dev-libs/boost:=
+   sys-libs/binutils-libs:=
+   virtual/blas
+   virtual/lapack
+   virtual/mpi
+   adolc? ( sci-libs/adolc )
+   arprec? ( sci-libs/arprec )
+   clp? ( sci-libs/coinor-clp )
+   cuda? ( >=dev-util/nvidia-cuda-toolkit-3.2 )
+   eigen? ( dev-cpp/eigen:3 )
+   glpk? ( sci-mathematics/glpk )
+   gtest? ( dev-cpp/gtest )
+   hdf5? ( sci-libs/hdf5:=[mpi] )
+   hypre? ( sci-libs/hypre:= )
+   hwloc? ( sys-apps/hwloc:= )
+   matio? ( sci-libs/matio )
+   mkl? ( sci-libs/mkl )
+   metis? ( sci-libs/metis )
+   mumps? ( sci-libs/mumps )
+   netcdf? ( sci-libs/netcdf:= )
+   petsc? ( sci-mathematics/petsc )
+   qd? ( sci-libs/qd )
+   scalapack? ( sci-libs/scalapack )
+   scotch? ( sci-libs/scotch:= )
+   sparse? ( sci-libs/cxsparse sci-libs/umfpack )
+   superlu? ( sci-libs/superlu:= )
+   taucs? ( sci-libs/taucs )
+   tbb? ( dev-cpp/tbb:= )
+   tvmet? ( dev-libs/tvmet )
+   yaml? ( dev-cpp/yaml-cpp:= )
+   zlib? ( sys-libs/zlib )
+   X? ( x11-libs/libX11 )"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig"
+
+S="${WORKDIR}/Trilinos-${PN}-release-${MY_PV}"
+
+PATCHES=(
+)
+
+pkg_pretend() {
+   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+trilinos_conf() {
+   local dirs libs d
+   for d in $($(tc-getPKG_CONFIG) --libs-only-L $1); do
+   dirs="${dirs};${d:2}"
+   done
+   [[ -n ${dirs} ]] && mycmakeargs+=( "-D${2}_LIBRARY_DIRS=${dirs:1}" )
+ 

[gentoo-commits] repo/gentoo:master commit in: sci-chemistry/gelemental/

2023-07-30 Thread Matthias Maier
commit: 2f1413af3d43fc3f30004fdb5f7eab958e5e8b4a
Author: Matthias Maier  gentoo  org>
AuthorDate: Sun Jul 30 21:31:35 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sun Jul 30 21:34:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f1413af

sci-chemistry/gelemental: drop 2.0.1

Signed-off-by: Matthias Maier  gentoo.org>

 sci-chemistry/gelemental/Manifest|  1 -
 sci-chemistry/gelemental/gelemental-2.0.1.ebuild | 48 
 2 files changed, 49 deletions(-)

diff --git a/sci-chemistry/gelemental/Manifest 
b/sci-chemistry/gelemental/Manifest
index e143a87c6d11..3e9ffd532262 100644
--- a/sci-chemistry/gelemental/Manifest
+++ b/sci-chemistry/gelemental/Manifest
@@ -1,3 +1,2 @@
 DIST gelemental-2.0.0.tar.gz 779052 BLAKE2B 
86f98a97acaf84c2bd6e03e991e226f19e65ed9c06fc43c809278d5e6d8b93645aa64ac4983166fad6b6b9b3d0ad5bba7a7cbfe2dccbbe2ea093deaaa8bdfabd
 SHA512 
86b0f59a3508560e3882f40b820d7b24b780bb4d1619df94f3410b0832255deec8e55d11c5ad960f96fc3e16d8a624279bf53bf178bf1dacdfe80a72181e48d6
-DIST gelemental-2.0.1.tar.gz 779930 BLAKE2B 
99d4da62c10201134868241403bc3472c5d0c1d80ae2319cf4a152655eb829e9e1c4cac35e01b89176658e99ab872c74b7415d8a453f5b6970c16c88295604b5
 SHA512 
e3f8e1757ff3e7843f2a860ffd41413e15a8382a3d4bd41d850b629857764b1e1508de8e825d257e5232617395d56bc5f517797301d9fe13849ceb0e48a68da2
 DIST gelemental-2.0.2.tar.gz 775839 BLAKE2B 
642a868400ed362539182f7ebf1b034872018e93d7d797acbdef4ca4d2faafd44a72f16ff15273cd49152caf702b1e973a35ce6f119a85400b87664351c6ed56
 SHA512 
52304622df0c2edc002f17a21502875a7bd6b0d98ed7109363500e122e2947f364f2457c9425740ce4c5b063903eafd92ae04cfda05ddc8a3685c1ec92fdb8b1

diff --git a/sci-chemistry/gelemental/gelemental-2.0.1.ebuild 
b/sci-chemistry/gelemental/gelemental-2.0.1.ebuild
deleted file mode 100644
index d74be9286d1e..
--- a/sci-chemistry/gelemental/gelemental-2.0.1.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools flag-o-matic xdg
-
-DESCRIPTION="Periodic table viewer with detailed information on the chemical 
elements"
-HOMEPAGE="https://github.com/ginggs/gelemental/;
-SRC_URI="https://github.com/ginggs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3 MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc"
-
-RDEPEND="
-   dev-cpp/gtkmm:2.4
-   dev-cpp/glibmm:2"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   dev-util/intltool
-   sys-devel/gettext
-   virtual/pkgconfig
-   doc? ( app-doc/doxygen )
-"
-
-PATCHES=(
-   "${FILESDIR}"/${P}-pango.patch
-   )
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   append-cxxflags -std=c++11 #566450
-
-   econf \
-   --disable-static \
-   $(use_enable doc api-docs)
-}
-
-src_install() {
-   default
-   find "${ED}" -name '*.la' -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: sci-chemistry/gelemental/

2023-07-30 Thread Matthias Maier
commit: dd154eedb48f8f4076cf1be54ade2c77d1bb8d15
Author: Matthias Maier  gentoo  org>
AuthorDate: Sun Jul 30 21:31:13 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sun Jul 30 21:34:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd154eed

sci-chemistry/gelemental: add 2.0.2

Signed-off-by: Matthias Maier  gentoo.org>

 sci-chemistry/gelemental/Manifest|  1 +
 sci-chemistry/gelemental/gelemental-2.0.2.ebuild | 47 
 2 files changed, 48 insertions(+)

diff --git a/sci-chemistry/gelemental/Manifest 
b/sci-chemistry/gelemental/Manifest
index f10db30bd029..e143a87c6d11 100644
--- a/sci-chemistry/gelemental/Manifest
+++ b/sci-chemistry/gelemental/Manifest
@@ -1,2 +1,3 @@
 DIST gelemental-2.0.0.tar.gz 779052 BLAKE2B 
86f98a97acaf84c2bd6e03e991e226f19e65ed9c06fc43c809278d5e6d8b93645aa64ac4983166fad6b6b9b3d0ad5bba7a7cbfe2dccbbe2ea093deaaa8bdfabd
 SHA512 
86b0f59a3508560e3882f40b820d7b24b780bb4d1619df94f3410b0832255deec8e55d11c5ad960f96fc3e16d8a624279bf53bf178bf1dacdfe80a72181e48d6
 DIST gelemental-2.0.1.tar.gz 779930 BLAKE2B 
99d4da62c10201134868241403bc3472c5d0c1d80ae2319cf4a152655eb829e9e1c4cac35e01b89176658e99ab872c74b7415d8a453f5b6970c16c88295604b5
 SHA512 
e3f8e1757ff3e7843f2a860ffd41413e15a8382a3d4bd41d850b629857764b1e1508de8e825d257e5232617395d56bc5f517797301d9fe13849ceb0e48a68da2
+DIST gelemental-2.0.2.tar.gz 775839 BLAKE2B 
642a868400ed362539182f7ebf1b034872018e93d7d797acbdef4ca4d2faafd44a72f16ff15273cd49152caf702b1e973a35ce6f119a85400b87664351c6ed56
 SHA512 
52304622df0c2edc002f17a21502875a7bd6b0d98ed7109363500e122e2947f364f2457c9425740ce4c5b063903eafd92ae04cfda05ddc8a3685c1ec92fdb8b1

diff --git a/sci-chemistry/gelemental/gelemental-2.0.2.ebuild 
b/sci-chemistry/gelemental/gelemental-2.0.2.ebuild
new file mode 100644
index ..b440621168c2
--- /dev/null
+++ b/sci-chemistry/gelemental/gelemental-2.0.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic xdg
+
+DESCRIPTION="Periodic table viewer with detailed information on the chemical 
elements"
+HOMEPAGE="https://github.com/ginggs/gelemental/;
+SRC_URI="https://github.com/ginggs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND="
+   dev-cpp/gtkmm:2.4
+   dev-cpp/glibmm:2"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   dev-util/intltool
+   sys-devel/gettext
+   virtual/pkgconfig
+   doc? ( app-doc/doxygen )
+"
+
+PATCHES=(
+   )
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   append-cxxflags -std=c++11 #566450
+
+   econf \
+   --disable-static \
+   $(use_enable doc api-docs)
+}
+
+src_install() {
+   default
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: app-crypt/swtpm/

2023-07-28 Thread Matthias Maier
commit: 3586b3e6796a5c2121e83960c70d66b84fcfdf6a
Author: Matthias Maier  gentoo  org>
AuthorDate: Sat Jul 29 03:43:08 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sat Jul 29 03:46:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3586b3e6

app-crypt/swtpm: remove erroneous USE=openssl,  remove USE=gnutls

 - openssl is an unconditional dependency
 - gnutls was only ever used for running some tests

Let us remove all of the stray use flag choices and depend on openssl
unconditionally.

Thanks to Matt Turner for pointing this out.

Bug: https://bugs.gentoo.org/909754
Signed-off-by: Matthias Maier  gentoo.org>

 .../swtpm/{swtpm-0.8.0-r1.ebuild => swtpm-0.8.0-r2.ebuild}  | 13 ++---
 1 file changed, 2 insertions(+), 11 deletions(-)

diff --git a/app-crypt/swtpm/swtpm-0.8.0-r1.ebuild 
b/app-crypt/swtpm/swtpm-0.8.0-r2.ebuild
similarity index 85%
rename from app-crypt/swtpm/swtpm-0.8.0-r1.ebuild
rename to app-crypt/swtpm/swtpm-0.8.0-r2.ebuild
index dc312dd8bd52..4f2d43053f44 100644
--- a/app-crypt/swtpm/swtpm-0.8.0-r1.ebuild
+++ b/app-crypt/swtpm/swtpm-0.8.0-r2.ebuild
@@ -14,22 +14,15 @@ 
SRC_URI="https://github.com/stefanberger/swtpm/archive/v${PV}.tar.gz -> ${P}.tar
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
-IUSE="fuse gnutls seccomp +openssl test"
+IUSE="fuse seccomp test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="fuse? (
dev-libs/glib:2
sys-fs/fuse:0
)
-   gnutls? (
-   dev-libs/libtasn1:=
-   >=net-libs/gnutls-3.4.0:=[tools,pkcs11]
-   )
-   openssl? (
-   dev-libs/libtasn1:=
-   dev-libs/openssl
-   )
seccomp? ( sys-libs/libseccomp )
+   dev-libs/libtasn1:=
acct-group/tss
acct-user/tss
dev-libs/openssl:0=
@@ -60,8 +53,6 @@ src_configure() {
--with-openssl \
--without-selinux \
$(use_with fuse cuse) \
-   $(use_with gnutls) \
-   $(use_with openssl) \
$(use_with seccomp) \
$(use_enable test)
 }



[gentoo-commits] repo/gentoo:master commit in: sci-libs/libsc/

2023-07-15 Thread Matthias Maier
commit: d2e7a69e4ca554651411c3e73468b0a2eaced1cd
Author: Matthias Maier  gentoo  org>
AuthorDate: Sat Jul 15 08:36:03 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sat Jul 15 09:06:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2e7a69e

sci-libs/libsc: try to avoid a performance regression with 2.8.5

Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/libsc/{libsc-2.8.5-r2.ebuild => libsc-2.8.5-r3.ebuild} | 4 
 1 file changed, 4 insertions(+)

diff --git a/sci-libs/libsc/libsc-2.8.5-r2.ebuild 
b/sci-libs/libsc/libsc-2.8.5-r3.ebuild
similarity index 92%
rename from sci-libs/libsc/libsc-2.8.5-r2.ebuild
rename to sci-libs/libsc/libsc-2.8.5-r3.ebuild
index 786ecf6012b8..037755f94524 100644
--- a/sci-libs/libsc/libsc-2.8.5-r2.ebuild
+++ b/sci-libs/libsc/libsc-2.8.5-r3.ebuild
@@ -47,6 +47,10 @@ pkg_setup() {
 }
 
 src_configure() {
+   # avoid using debug codepaths that are manually enabled with the
+   # RelWithDebInfo build type
+   local CMAKE_BUILD_TYPE="Release"
+
local mycmakeargs=(
-Dmpi="$(usex mpi)"
-Dopenmp="$(usex openmp)"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/p4est/

2023-07-15 Thread Matthias Maier
commit: 539e82b485a80fe6c8685e5997e60c610660f89f
Author: Matthias Maier  gentoo  org>
AuthorDate: Sat Jul 15 08:36:45 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sat Jul 15 09:07:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=539e82b4

sci-libs/p4est: try to avoid a performance regression with 2.8.5

Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/p4est/{p4est-2.8.5-r2.ebuild => p4est-2.8.5-r3.ebuild} | 4 
 1 file changed, 4 insertions(+)

diff --git a/sci-libs/p4est/p4est-2.8.5-r2.ebuild 
b/sci-libs/p4est/p4est-2.8.5-r3.ebuild
similarity index 92%
rename from sci-libs/p4est/p4est-2.8.5-r2.ebuild
rename to sci-libs/p4est/p4est-2.8.5-r3.ebuild
index 3bcba02fb697..253f6ee31911 100644
--- a/sci-libs/p4est/p4est-2.8.5-r2.ebuild
+++ b/sci-libs/p4est/p4est-2.8.5-r3.ebuild
@@ -50,6 +50,10 @@ pkg_setup() {
 }
 
 src_configure() {
+   # avoid using debug codepaths that are manually enabled with the
+   # RelWithDebInfo build type
+   local CMAKE_BUILD_TYPE="Release"
+
local mycmakeargs=(
-Dmpi="$(usex mpi)"
-Dopenmp="$(usex openmp)"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/p4est/

2023-07-14 Thread Matthias Maier
commit: 8c3a2486af41d5813a8b76583f57937752a865f8
Author: Matthias Maier  gentoo  org>
AuthorDate: Sat Jul 15 02:16:13 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sat Jul 15 02:16:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c3a2486

sci-libs/p4est: drop 2.8-r1

Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/p4est/Manifest|  1 -
 sci-libs/p4est/p4est-2.8-r1.ebuild | 70 --
 2 files changed, 71 deletions(-)

diff --git a/sci-libs/p4est/Manifest b/sci-libs/p4est/Manifest
index 9bd9ae0dc0a1..ec900fcf2092 100644
--- a/sci-libs/p4est/Manifest
+++ b/sci-libs/p4est/Manifest
@@ -1,4 +1,3 @@
 DIST libsc-2.3.6.tar.gz 346618 BLAKE2B 
6da88f1eec572a5d30ebef5e17554874e3d88d124fbbb7582092bd43a85a547f130a5406ffd40f86d564c95a3e600b2eb854ee0378b8e0c2d755a7d45d55ff1e
 SHA512 
9037ebeebcf84d1dc3026172ee3fd3182729fbdbdadb478e8c05670b17bd3e2f3b192bac9a509bd99312c5f944a10fb7eb0636e8c7bd133b30677eb5ead6d117
 DIST p4est-2.3.6.tar.gz 2645384 BLAKE2B 
f6763e6a5b8b371eeead8a9d6481ea63e01ec5f13ea0dd9748aeaaec5551d39ac5d73f75f92275bfe61370e578ba1b1d0940c569e48fbd83997eaad4ab65b088
 SHA512 
99df91ee9d351cc889a532764096428e3f575c5f71199fca9f217c3dac5030a263308aa9c698476e7a12774d0751409f27e70ac2e9cd27847b2345b3f909b195
 DIST p4est-2.8.5.tar.gz 2721258 BLAKE2B 
07fd70f5b7ce0d2dcdc0d913cd9ae7920272a0e459c7db7f9d180b592570a5232c7d2bd03547eecdcdc6fdc83adcce30c71eb9c44ab6e6b9b9a314707471
 SHA512 
22b5a9bbfb51e972f4b93a90f5fa0f9557770ccbe357044b5bb97b31d02783affef188cde38c86bb4ece31ba23ce47e4eb95a6e7c5f02d11549cf986e85f68a0
-DIST p4est-2.8.tar.gz 2655761 BLAKE2B 
0637045bca3525d5d737010865c06d1273c6ecf848ab5ca55d1f19156550b7d7676c4f8d7c7a71b1fc70381dc7912cdca1e5405bb0af948180f75da1a3b1f343
 SHA512 
599faad177ce21f917e4ddfd969d6ef8c1f08b1e701cbdb9d4a1aa6dfd927176468afe757d018b9b7ded6a9ce165cd6fe78e0688b22cf6b9975cbd85d6f45d3c

diff --git a/sci-libs/p4est/p4est-2.8-r1.ebuild 
b/sci-libs/p4est/p4est-2.8-r1.ebuild
deleted file mode 100644
index 10b3de8b3e22..
--- a/sci-libs/p4est/p4est-2.8-r1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake toolchain-funcs
-
-DESCRIPTION="Scalable Algorithms for Parallel Adaptive Mesh Refinement on 
Forests of Octrees"
-HOMEPAGE="http://www.p4est.org/;
-
-LIBSC_VERSION="2.8.3"
-
-if [[ ${PV} = ** ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/cburstedde/${PN}.git;
-   EGIT_BRANCH="develop"
-   SRC_URI=""
-else
-   SRC_URI="https://github.com/cburstedde/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="GPL-2+"
-SLOT="0"
-
-# TODO petsc
-IUSE="debug doc examples mpi openmp threads +vtk-binary"
-
-RDEPEND="
-   ~sci-libs/libsc-${LIBSC_VERSION}[mpi=,openmp=,threads=]
-   sys-apps/util-linux
-   virtual/blas
-   virtual/lapack
-   mpi? ( virtual/mpi[romio] )"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
-   "${FILESDIR}"/${P}-fix_build_system.patch
-   "${FILESDIR}"/${P}-set_version.patch
-)
-
-S="${WORKDIR}/${PN}-2.8"
-
-pkg_pretend() {
-   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-pkg_setup() {
-   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -Dmpi="$(usex mpi)"
-   -Dopenmp="$(usex openmp)"
-   -Dlibrary_reldir="$(get_libdir)"
-   )
-
-   cmake_src_configure
-}
-
-src_install() {
-   cmake_src_install
-
-   rm "${ED}"/usr/lib/cmake/Modules/FindSC.cmake || die "rm failed"
-   mkdir -p "${ED}"/usr/share/doc/${P}
-   mv "${ED}"/usr/share/docs/P4EST/* "${ED}"/usr/share/doc/${P}/ || die 
"mv failed"
-   rm -r "${ED}"/usr/share/docs || die "rm failed"
-}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/p4est/files/, sci-libs/p4est/

2023-07-14 Thread Matthias Maier
commit: 9b151ef2013fc9c821883e2e33eab35310ec0495
Author: Matthias Maier  gentoo  org>
AuthorDate: Sat Jul 15 01:23:20 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sat Jul 15 02:15:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b151ef2

sci-libs/p4est: add 2.3.6

This partially reverts commit 406d3fc821c6be208814445bc2ad98bed3c2e9b4
and bumps 2.3.3 to 2.3.6.

In turns out that libsc/p4est-2.8.5 has a massive performance regression
which necessitates to use the "stable" version 2.3.6. Thus, bring it
back into the tree.

Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/p4est/Manifest|   2 +
 sci-libs/p4est/files/p4est-2.3-fix_aclocal.patch   |  12 ++
 .../p4est/files/p4est-2.3.6-override_soname.patch  |  13 +++
 sci-libs/p4est/metadata.xml|   1 +
 sci-libs/p4est/p4est-2.3.6.ebuild  | 122 +
 5 files changed, 150 insertions(+)

diff --git a/sci-libs/p4est/Manifest b/sci-libs/p4est/Manifest
index 0af4a2590156..9bd9ae0dc0a1 100644
--- a/sci-libs/p4est/Manifest
+++ b/sci-libs/p4est/Manifest
@@ -1,2 +1,4 @@
+DIST libsc-2.3.6.tar.gz 346618 BLAKE2B 
6da88f1eec572a5d30ebef5e17554874e3d88d124fbbb7582092bd43a85a547f130a5406ffd40f86d564c95a3e600b2eb854ee0378b8e0c2d755a7d45d55ff1e
 SHA512 
9037ebeebcf84d1dc3026172ee3fd3182729fbdbdadb478e8c05670b17bd3e2f3b192bac9a509bd99312c5f944a10fb7eb0636e8c7bd133b30677eb5ead6d117
+DIST p4est-2.3.6.tar.gz 2645384 BLAKE2B 
f6763e6a5b8b371eeead8a9d6481ea63e01ec5f13ea0dd9748aeaaec5551d39ac5d73f75f92275bfe61370e578ba1b1d0940c569e48fbd83997eaad4ab65b088
 SHA512 
99df91ee9d351cc889a532764096428e3f575c5f71199fca9f217c3dac5030a263308aa9c698476e7a12774d0751409f27e70ac2e9cd27847b2345b3f909b195
 DIST p4est-2.8.5.tar.gz 2721258 BLAKE2B 
07fd70f5b7ce0d2dcdc0d913cd9ae7920272a0e459c7db7f9d180b592570a5232c7d2bd03547eecdcdc6fdc83adcce30c71eb9c44ab6e6b9b9a314707471
 SHA512 
22b5a9bbfb51e972f4b93a90f5fa0f9557770ccbe357044b5bb97b31d02783affef188cde38c86bb4ece31ba23ce47e4eb95a6e7c5f02d11549cf986e85f68a0
 DIST p4est-2.8.tar.gz 2655761 BLAKE2B 
0637045bca3525d5d737010865c06d1273c6ecf848ab5ca55d1f19156550b7d7676c4f8d7c7a71b1fc70381dc7912cdca1e5405bb0af948180f75da1a3b1f343
 SHA512 
599faad177ce21f917e4ddfd969d6ef8c1f08b1e701cbdb9d4a1aa6dfd927176468afe757d018b9b7ded6a9ce165cd6fe78e0688b22cf6b9975cbd85d6f45d3c

diff --git a/sci-libs/p4est/files/p4est-2.3-fix_aclocal.patch 
b/sci-libs/p4est/files/p4est-2.3-fix_aclocal.patch
new file mode 100644
index ..a3209d5064fb
--- /dev/null
+++ b/sci-libs/p4est/files/p4est-2.3-fix_aclocal.patch
@@ -0,0 +1,12 @@
+diff --git a/Makefile.am b/Makefile.am
+index e8b7e67..1817e37 100644
+--- a/Makefile.am
 b/Makefile.am
+@@ -2,7 +2,6 @@
+ # This file is part of p4est.
+ # Makefile.am in toplevel directory
+ 
+-ACLOCAL_AMFLAGS = -I config @P4EST_SC_AMFLAGS@
+ if P4EST_SC_MK_USE
+ @P4EST_SC_MK_INCLUDE@
+ endif

diff --git a/sci-libs/p4est/files/p4est-2.3.6-override_soname.patch 
b/sci-libs/p4est/files/p4est-2.3.6-override_soname.patch
new file mode 100644
index ..40f032c109b7
--- /dev/null
+++ b/sci-libs/p4est/files/p4est-2.3.6-override_soname.patch
@@ -0,0 +1,13 @@
+diff --git a/src/Makefile.am b/src/Makefile.am
+index b30f0e3..2c636f9 100644
+--- a/src/Makefile.am
 b/src/Makefile.am
+@@ -82,7 +82,7 @@ src_libp4est_la_SOURCES = \
+ src_libp4est_la_CPPFLAGS = $(AM_CPPFLAGS) $(P4EST_CPPFLAGS)
+ ## This is the official API versioning scheme of libtool.  Please see:
+ ## Read https://www.gnu.org/software/libtool/manual/libtool.html#Versioning
+-src_libp4est_la_LDFLAGS = -version-info 1:0:0
++src_libp4est_la_LDFLAGS = -release $(VERSION)
+ src_libp4est_la_LIBADD = @P4EST_SC_LDADD@
+ LDADD += src/libp4est.la @P4EST_SC_LDADD@
+ EXTRA_src_libp4est_la_DEPENDENCIES = @P4EST_SC_LDADD@

diff --git a/sci-libs/p4est/metadata.xml b/sci-libs/p4est/metadata.xml
index f29f22e517cb..c58dd131de04 100644
--- a/sci-libs/p4est/metadata.xml
+++ b/sci-libs/p4est/metadata.xml
@@ -17,6 +17,7 @@ processor cores.


Enable binary vtk output. If disabled 
vtk files will be written in ASCII text format.
+   Build with support for the ROMIO MPI-IO 
component


cburstedde/libsc

diff --git a/sci-libs/p4est/p4est-2.3.6.ebuild 
b/sci-libs/p4est/p4est-2.3.6.ebuild
new file mode 100644
index ..27b596c41c15
--- /dev/null
+++ b/sci-libs/p4est/p4est-2.3.6.ebuild
@@ -0,0 +1,122 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-{1..3} )
+
+inherit autotools flag-o-matic lua-single toolchain-funcs
+
+DESCRIPTION="Scalable Algorithms for Parallel Adaptive Mesh Refinement on 
Forests of Octrees"
+HOMEPAGE="http://www.p4est.org/;
+
+if [[ ${PV} = ** ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/cb

[gentoo-commits] repo/gentoo:master commit in: sci-libs/libsc/files/, sci-libs/libsc/

2023-07-14 Thread Matthias Maier
commit: deade5ff52628efc8005c16ca711917bf8565f99
Author: Matthias Maier  gentoo  org>
AuthorDate: Sat Jul 15 01:23:44 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sat Jul 15 02:15:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=deade5ff

sci-libs/libsc: add 2.3.6

This partially reverts commit 406d3fc821c6be208814445bc2ad98bed3c2e9b4
and bumps 2.3.3 to 2.3.6.

In turns out that libsc/p4est-2.8.5 has a massive performance regression
which necessitates to use the "stable" version 2.3.6. Thus, bring it
back into the tree

Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/libsc/Manifest|   1 +
 .../files/libsc-2.3-autoconf_lua_version.patch |  64 +
 .../libsc/files/libsc-2.3.6-override_soname.patch  |  13 +++
 sci-libs/libsc/libsc-2.3.6.ebuild  | 100 +
 sci-libs/libsc/metadata.xml|   3 +
 5 files changed, 181 insertions(+)

diff --git a/sci-libs/libsc/Manifest b/sci-libs/libsc/Manifest
index af1e9c81cb76..d17cc1e97d93 100644
--- a/sci-libs/libsc/Manifest
+++ b/sci-libs/libsc/Manifest
@@ -1,2 +1,3 @@
+DIST libsc-2.3.6.tar.gz 346618 BLAKE2B 
6da88f1eec572a5d30ebef5e17554874e3d88d124fbbb7582092bd43a85a547f130a5406ffd40f86d564c95a3e600b2eb854ee0378b8e0c2d755a7d45d55ff1e
 SHA512 
9037ebeebcf84d1dc3026172ee3fd3182729fbdbdadb478e8c05670b17bd3e2f3b192bac9a509bd99312c5f944a10fb7eb0636e8c7bd133b30677eb5ead6d117
 DIST libsc-2.8.3.tar.gz 360755 BLAKE2B 
2d7e3a16b97de551678ebb33f362e1ef7ebb0bcbf8d00b1a5317bfbf6732cf7bb9be2d215c79395809f3c616c23da5236c4f0f436a7b8bb07171141aaf08bbb3
 SHA512 
9def8850898f2d7d7a6ffaffd0872bc18af28026407356a1fe10f2b4f6d4a32ae6febe59c91cfa8817969624f995d48f64e0d5424b475e3a4c501338f4de70de
 DIST libsc-2.8.5.tar.gz 401520 BLAKE2B 
28f74c03dc9a6238c254683585e3a6e372718bbf147f1a1bfe051d9a9079491650eca645bb695ce4c36920dda459904be6f9d41fb53163952d9076302072e181
 SHA512 
d7854a77cb574531d410c978af5768782d6201c730a3248371a822172cb99fe0b2efc8c2e4f495160924fb867ed77ab1b9ac17a1db349d8a6495228698cf970b

diff --git a/sci-libs/libsc/files/libsc-2.3-autoconf_lua_version.patch 
b/sci-libs/libsc/files/libsc-2.3-autoconf_lua_version.patch
new file mode 100644
index ..9881d0aa6227
--- /dev/null
+++ b/sci-libs/libsc/files/libsc-2.3-autoconf_lua_version.patch
@@ -0,0 +1,64 @@
+diff --git a/config/sc_include.m4 b/config/sc_include.m4
+index f6f7873..3befe0e 100644
+--- a/config/sc_include.m4
 b/config/sc_include.m4
+@@ -281,8 +281,7 @@ AC_DEFUN([SC_CHECK_LIBRARIES],
+ [
+ SC_REQUIRE_LIB([m], [fabs])
+ SC_CHECK_LIB([z], [adler32_combine], [ZLIB], [$1])
+-SC_CHECK_LIB([lua53 lua5.3 lua52 lua5.2 lua51 lua5.1 lua lua5], 
[lua_createtable],
+-   [LUA], [$1])
++SC_CHECK_LIB([$LUA_IMPL], [lua_createtable], [LUA], [$1])
+ SC_CHECK_BLAS_LAPACK([$1])
+ SC_BUILTIN_ALL_PREFIX([$1])
+ SC_CHECK_PTHREAD([$1])
+diff --git a/configure.ac b/configure.ac
+index ce462e0..b291685 100644
+--- a/configure.ac
 b/configure.ac
+@@ -78,7 +78,7 @@ echo "o---"
+ AC_CHECK_HEADERS([fcntl.h sys/ioctl.h sys/select.h sys/stat.h])
+ AC_CHECK_HEADERS([linux/videodev2.h])
+ AC_CHECK_HEADERS([execinfo.h signal.h sys/time.h sys/types.h time.h])
+-AC_CHECK_HEADERS([lua.h lua5.1/lua.h lua5.2/lua.h lua5.3/lua.h])
++AC_CHECK_HEADERS([$LUA_IMPL/lua.h])
+ 
+ echo "o---"
+ echo "| Checking functions"
+diff --git a/src/sc_lua.h b/src/sc_lua.h
+index 770b52f..a6db175 100644
+--- a/src/sc_lua.h
 b/src/sc_lua.h
+@@ -30,29 +30,9 @@
+ 
+ SC_EXTERN_C_BEGIN;
+ 
+-#ifdef SC_HAVE_LUA5_3_LUA_H
+-#include 
+-#include 
+-#include 
+-#else
+-#ifdef SC_HAVE_LUA5_2_LUA_H
+-#include 
+-#include 
+-#include 
+-#else
+-#ifdef SC_HAVE_LUA5_1_LUA_H
+-#include 
+-#include 
+-#include 
+-#else
+-#ifdef SC_HAVE_LUA_H
+-#include 
+-#include 
+-#include 
+-#endif
+-#endif
+-#endif
+-#endif
++#include <@LUA_IMPL@/lua.h>
++#include <@LUA_IMPL@/lualib.h>
++#include <@LUA_IMPL@/lauxlib.h>
+ 
+ SC_EXTERN_C_END;
+ 

diff --git a/sci-libs/libsc/files/libsc-2.3.6-override_soname.patch 
b/sci-libs/libsc/files/libsc-2.3.6-override_soname.patch
new file mode 100644
index ..54a45294c380
--- /dev/null
+++ b/sci-libs/libsc/files/libsc-2.3.6-override_soname.patch
@@ -0,0 +1,13 @@
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 914237c..0bf982a 100644
+--- a/src/Makefile.am
 b/src/Makefile.am
+@@ -45,7 +45,7 @@ src_libsc_la_SOURCES = \
+ src_libsc_la_CPPFLAGS = $(AM_CPPFLAGS) $(LIBSC_CPPFLAGS)
+ ## This is the official API versioning scheme of libtool.  Please see:
+ ## Read https://www.gnu.org/software/libtool/manual/libtool.html#Versioning
+-src_libsc_la_LDFLAGS = -version-info 1:0:0
++src_libsc_la_LDFLAGS = -release $(VERSION)
+ LDADD += src/libsc.la
+ 
+ nodist_include_HEADERS += $(libsc_generated_headers)

diff --git a/sci-libs/libsc/libsc-2.3

[gentoo-commits] repo/gentoo:master commit in: sci-libs/libsc/

2023-07-14 Thread Matthias Maier
commit: bdb52bb04e85c64a2065df20f188b2d34add3499
Author: Matthias Maier  gentoo  org>
AuthorDate: Sat Jul 15 01:57:42 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sat Jul 15 02:15:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdb52bb0

sci-libs/libsc: drop 2.8.3

Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/libsc/Manifest   |  1 -
 sci-libs/libsc/libsc-2.8.3.ebuild | 65 ---
 2 files changed, 66 deletions(-)

diff --git a/sci-libs/libsc/Manifest b/sci-libs/libsc/Manifest
index d17cc1e97d93..fdfb64071d01 100644
--- a/sci-libs/libsc/Manifest
+++ b/sci-libs/libsc/Manifest
@@ -1,3 +1,2 @@
 DIST libsc-2.3.6.tar.gz 346618 BLAKE2B 
6da88f1eec572a5d30ebef5e17554874e3d88d124fbbb7582092bd43a85a547f130a5406ffd40f86d564c95a3e600b2eb854ee0378b8e0c2d755a7d45d55ff1e
 SHA512 
9037ebeebcf84d1dc3026172ee3fd3182729fbdbdadb478e8c05670b17bd3e2f3b192bac9a509bd99312c5f944a10fb7eb0636e8c7bd133b30677eb5ead6d117
-DIST libsc-2.8.3.tar.gz 360755 BLAKE2B 
2d7e3a16b97de551678ebb33f362e1ef7ebb0bcbf8d00b1a5317bfbf6732cf7bb9be2d215c79395809f3c616c23da5236c4f0f436a7b8bb07171141aaf08bbb3
 SHA512 
9def8850898f2d7d7a6ffaffd0872bc18af28026407356a1fe10f2b4f6d4a32ae6febe59c91cfa8817969624f995d48f64e0d5424b475e3a4c501338f4de70de
 DIST libsc-2.8.5.tar.gz 401520 BLAKE2B 
28f74c03dc9a6238c254683585e3a6e372718bbf147f1a1bfe051d9a9079491650eca645bb695ce4c36920dda459904be6f9d41fb53163952d9076302072e181
 SHA512 
d7854a77cb574531d410c978af5768782d6201c730a3248371a822172cb99fe0b2efc8c2e4f495160924fb867ed77ab1b9ac17a1db349d8a6495228698cf970b

diff --git a/sci-libs/libsc/libsc-2.8.3.ebuild 
b/sci-libs/libsc/libsc-2.8.3.ebuild
deleted file mode 100644
index 9ed5ecf5c58f..
--- a/sci-libs/libsc/libsc-2.8.3.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake toolchain-funcs
-
-DESCRIPTION="Support for parallel scientific applications"
-HOMEPAGE="http://www.p4est.org/;
-
-if [[ ${PV} == * ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/cburstedde/${PN}.git;
-   EGIT_BRANCH="develop"
-else
-   SRC_URI="https://github.com/cburstedde/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="LGPL-2.1+"
-SLOT="0"
-IUSE="debug examples mpi openmp threads"
-
-RDEPEND="
-   sys-apps/util-linux
-   sys-libs/zlib
-   virtual/blas
-   virtual/lapack
-   mpi? ( virtual/mpi[romio] )"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
-   "${FILESDIR}"/${P}-set_version.patch
-   "${FILESDIR}"/${P}-fix_build_system.patch
-)
-
-pkg_pretend() {
-   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-pkg_setup() {
-   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -Dmpi="$(usex mpi)"
-   -Dopenmp="$(usex openmp)"
-   -Dlibrary_reldir="$(get_libdir)"
-   )
-
-   cmake_src_configure
-}
-
-src_install() {
-   cmake_src_install
-
-   rm -r "${ED}"/usr/include/getopt.h \
-   "${ED}"/usr/include/getopt_int.h \
-   "${ED}"/usr/include/sc_builtin || die "rm failed"
-
-   mv "${ED}"/usr/share/docs/SC/* "${ED}"/usr/share/doc/${P}/ || die "mv 
failed"
-   rm -r "${ED}"/usr/share/docs || die "rm failed"
-}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/dealii/

2023-07-10 Thread Matthias Maier
commit: 138ff81074a35a00c2fca84d37d34e1a5bef4876
Author: Matthias Maier  gentoo  org>
AuthorDate: Tue Jul 11 03:39:41 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Tue Jul 11 03:39:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=138ff810

sci-libs/dealii: add 9.5.0

Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/dealii/Manifest|   2 +
 sci-libs/dealii/dealii-9.5.0.ebuild | 168 
 2 files changed, 170 insertions(+)

diff --git a/sci-libs/dealii/Manifest b/sci-libs/dealii/Manifest
index 6062fdd497e2..553c4c6190b1 100644
--- a/sci-libs/dealii/Manifest
+++ b/sci-libs/dealii/Manifest
@@ -6,3 +6,5 @@ DIST dealii-9.4.1-offline_documentation.tar.gz 392007419 
BLAKE2B 81404b02ba7dc97
 DIST dealii-9.4.1-offline_documentation.tar.gz.asc 246 BLAKE2B 
9ace22c9b174e642cd3fba94c165d816c62814f892f5f6f272efa0301613dc55251152825e726fc6cf7e89bbfb7fa3552ec58ad426a7d58a74ecb89b9072f742
 SHA512 
50b43dd34a0687395f516f4910581df71054fa8be3c98006566ea649d0af866d38c9793da548ba6bdb7a9fec452dfb6d928d336aace943522d7c3f854209b81b
 DIST dealii-9.4.1.tar.gz 30298204 BLAKE2B 
499f542c7a7f071d04048127199c7bebf5668b6e8d13fc2701dd18e28165442e58112ee9e4926e16a592bffdd5d7b7c240eea55808e5f9c021961f7e44b7da79
 SHA512 
39089aff462d3ff4244ce75f74a4cd908f8f72a81dcc3fb02ca91b3cad2442ceb78677e72cd928b36a04d352c4baa146a25fa5e14c886ca9e2bad0be0069f7b8
 DIST dealii-9.4.1.tar.gz.asc 246 BLAKE2B 
dbb1dc7b3e8a97f29287f154d11cd3db2566fdc4c7667fa57e686e2feba33f2115546408365f0e8f490ba593cb582b12489de373da3e33e8702b6e16804c7ebf
 SHA512 
eb987d34f19b59d523d79f3c2c99f5f3125b1d0c71af0eb32b77ad5959d6197b79f1971a8a79dbc52bab698335dcb6091aac88c51d845a1e07d3681c089754c7
+DIST dealii-9.5.0-offline_documentation.tar.gz 412499027 BLAKE2B 
521aa2488d84d48a624f4cbdbe9c173d0cdcee2df8d06b97b7c25ba28d4a2113a7da9fd9abd9eb64cd56b37f8edc716bd034fc3ba8823f8b1def26c34aaeeb55
 SHA512 
2e0d331f92d52b0fd909a0139157a1960a9222d46d537611f0508cdb79020a8e51ff0da6aefdf95adff732cea050b72df7dc1a8af7e93c736721970218815cfe
+DIST dealii-9.5.0.tar.gz 31524412 BLAKE2B 
0388b4c8441b1e59baba3fcb3f19c19a357c452c7b30a95a040c1ae628f56734d85aeb4ed755fc68b7bb6c28b508d857f14bb0793e23b7e207f260e0a0bf70ac
 SHA512 
33308711f9efb41030a509f25c537680e0980df95d90947641958f12ddd00c3aee542837de8ba4d100cbdb5470c001132c7526b52020e0eb219bf4b0f6c23586

diff --git a/sci-libs/dealii/dealii-9.5.0.ebuild 
b/sci-libs/dealii/dealii-9.5.0.ebuild
new file mode 100644
index ..fc798a6b87d3
--- /dev/null
+++ b/sci-libs/dealii/dealii-9.5.0.ebuild
@@ -0,0 +1,168 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# deal.II uses its own FindLAPACK.cmake file that calls into the system
+# FindLAPACK.cmake module and does additional internal setup. Do not remove
+# any of these modules:
+CMAKE_REMOVE_MODULES_LIST=""
+
+inherit cmake flag-o-matic
+
+DESCRIPTION="Solving partial differential equations with the finite element 
method"
+HOMEPAGE="https://www.dealii.org/;
+
+if [[ ${PV} = ** ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/dealii/dealii.git;
+   SRC_URI=""
+else
+   
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz
+   doc? (
+   
https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}-offline_documentation.tar.gz
+   )"
+   KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+fi
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+IUSE="
+   adolc arborx assimp arpack cgal cpu_flags_x86_avx cpu_flags_x86_avx512f
+   cpu_flags_x86_sse2 cuda +debug doc +examples ginkgo gmsh +gsl hdf5
+   +lapack metis mpi muparser opencascade p4est petsc scalapack slepc
+   +sparse sundials symengine trilinos
+"
+
+# TODO: add slepc use flag once slepc is packaged for gentoo-science
+REQUIRED_USE="
+   arborx? ( trilinos )
+   p4est? ( mpi )
+   slepc? ( petsc )
+   trilinos? ( mpi )"
+
+RDEPEND="dev-libs/boost:=
+   app-arch/bzip2
+   sys-libs/zlib
+   dev-cpp/tbb:=
+   arborx? ( sci-libs/arborx[mpi=] )
+   adolc? ( sci-libs/adolc )
+   arpack? ( sci-libs/arpack[mpi=] )
+   assimp? ( media-libs/assimp:= )
+   cgal? ( sci-mathematics/cgal )
+   cuda? ( dev-util/nvidia-cuda-toolkit )
+   ginkgo? ( sci-libs/ginkgo )
+   gmsh? ( sci-libs/gmsh )
+   gsl? ( sci-libs/gsl:= )
+   hdf5? ( sci-libs/hdf5[mpi=] )
+   lapack? ( virtual/lapack )
+   metis? (
+   >=sci-libs/metis-5
+   mpi? ( >=sci-libs/parmetis-4 )
+   )
+   mpi? ( virtual/mpi[cxx] )
+   muparser? ( dev-cpp/muParser )
+   opencascade? ( sci-libs/opencascade:= )
+   p4est? ( sci-libs/p4est[mpi] )
+   petsc? ( sci-mathematics/petsc[mpi

[gentoo-commits] repo/gentoo:master commit in: sci-libs/dealii/

2023-07-10 Thread Matthias Maier
commit: b9f726a4c8c73356f8abb48e1096dd56d833b123
Author: Matthias Maier  gentoo  org>
AuthorDate: Tue Jul 11 02:59:32 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Tue Jul 11 02:59:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9f726a4

sci-libs/dealii: update live ebuild

Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/dealii/dealii-.ebuild | 17 +++--
 1 file changed, 7 insertions(+), 10 deletions(-)

diff --git a/sci-libs/dealii/dealii-.ebuild 
b/sci-libs/dealii/dealii-.ebuild
index 3d175695c483..c6d3a65a9086 100644
--- a/sci-libs/dealii/dealii-.ebuild
+++ b/sci-libs/dealii/dealii-.ebuild
@@ -31,7 +31,7 @@ IUSE="
adolc arborx assimp arpack cgal cpu_flags_x86_avx cpu_flags_x86_avx512f
cpu_flags_x86_sse2 cuda +debug doc +examples ginkgo gmsh +gsl hdf5
+lapack metis mpi muparser opencascade p4est petsc scalapack slepc
-   +sparse static-libs sundials symengine trilinos
+   +sparse sundials symengine trilinos
 "
 
 # TODO: add slepc use flag once slepc is packaged for gentoo-science
@@ -70,7 +70,12 @@ RDEPEND="dev-libs/boost:=
sparse? ( sci-libs/umfpack )
sundials? ( sci-libs/sundials:= )
symengine? ( >=sci-libs/symengine-0.4:= )
-   trilinos? ( sci-libs/trilinos )"
+   trilinos? ( sci-libs/trilinos )
+   || (
+   dev-cpp/kokkos
+   sci-libs/trilinos
+   )
+   "
 
 DEPEND="${RDEPEND}
virtual/pkgconfig
@@ -109,7 +114,6 @@ src_configure() {
-DDEAL_II_WITH_GMSH="$(usex gmsh)"
-DDEAL_II_WITH_GSL="$(usex gsl)"
-DDEAL_II_WITH_HDF5="$(usex hdf5)"
-   -DDEAL_II_WITH_KOKKOS="$(usex trilinos)"
-DDEAL_II_WITH_LAPACK="$(usex lapack)"
-DDEAL_II_WITH_METIS="$(usex metis)"
-DDEAL_II_WITH_MPI="$(usex mpi)"
@@ -122,8 +126,6 @@ src_configure() {
-DDEAL_II_WITH_SUNDIALS="$(usex sundials)"
-DDEAL_II_WITH_SYMENGINE="$(usex symengine)"
-DDEAL_II_WITH_UMFPACK="$(usex sparse)"
-   -DBUILD_SHARED_LIBS="$(usex !static-libs)"
-   -DDEAL_II_PREFER_STATIC_LIBS="$(usex static-libs)"
-DDEAL_II_WITH_TBB=ON
-DDEAL_II_WITH_TASKFLOW=OFF
-DDEAL_II_WITH_TRILINOS="$(usex trilinos)"
@@ -147,11 +149,6 @@ src_configure() {
append-cxxflags "-msse2"
fi
 
-   # Unconditionally enable strict C++17 standard. This is necessary for
-   # USE=cgal and USE=kokkos and safe to set for all presently supported
-   # compilers
-   append-cxxflags "-std=c++17"
-
cmake_src_configure
 }
 



[gentoo-commits] repo/gentoo:master commit in: app-crypt/swtpm/

2023-07-06 Thread Matthias Maier
commit: cd5108f577a44c494d630197f0b67b92c5f85235
Author: Matthias Maier  gentoo  org>
AuthorDate: Thu Jul  6 17:27:02 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Thu Jul  6 17:28:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd5108f5

app-crypt/swtpm: add USE=+openssl as default crypto provider

Bug: https://bugs.gentoo.org/909754
Signed-off-by: Matthias Maier  gentoo.org>

 app-crypt/swtpm/metadata.xml  |  2 +
 app-crypt/swtpm/swtpm-0.8.0-r1.ebuild | 75 +++
 2 files changed, 77 insertions(+)

diff --git a/app-crypt/swtpm/metadata.xml b/app-crypt/swtpm/metadata.xml
index 3187cf4dce7f..56af2735d414 100644
--- a/app-crypt/swtpm/metadata.xml
+++ b/app-crypt/swtpm/metadata.xml
@@ -15,6 +15,8 @@


Support sys-fs/fuse based /dev/tpm 
interface
+   Use net-libs/gnutls as crypto 
engine
+   Use dev-libs/openssl as crypto 
engine


stefanberger/swtpm

diff --git a/app-crypt/swtpm/swtpm-0.8.0-r1.ebuild 
b/app-crypt/swtpm/swtpm-0.8.0-r1.ebuild
new file mode 100644
index ..dc312dd8bd52
--- /dev/null
+++ b/app-crypt/swtpm/swtpm-0.8.0-r1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9,10,11} )
+
+inherit autotools python-any-r1
+
+DESCRIPTION="Libtpms-based TPM emulator"
+HOMEPAGE="https://github.com/stefanberger/swtpm;
+SRC_URI="https://github.com/stefanberger/swtpm/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+IUSE="fuse gnutls seccomp +openssl test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="fuse? (
+   dev-libs/glib:2
+   sys-fs/fuse:0
+   )
+   gnutls? (
+   dev-libs/libtasn1:=
+   >=net-libs/gnutls-3.4.0:=[tools,pkcs11]
+   )
+   openssl? (
+   dev-libs/libtasn1:=
+   dev-libs/openssl
+   )
+   seccomp? ( sys-libs/libseccomp )
+   acct-group/tss
+   acct-user/tss
+   dev-libs/openssl:0=
+   dev-libs/json-glib
+   dev-libs/libtpms"
+
+DEPEND="${RDEPEND}
+   test? (
+   net-misc/socat
+   dev-tcltk/expect
+   )"
+
+BDEPEND="${PYTHON_DEPS}"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-0.6.0-fix-localca-path.patch"
+   "${FILESDIR}/${PN}-0.5.0-build-sys-Remove-WError.patch"
+   "${FILESDIR}/${PN}-0.7.2-Conditionalize-test-dependencies.patch"
+)
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   --with-openssl \
+   --without-selinux \
+   $(use_with fuse cuse) \
+   $(use_with gnutls) \
+   $(use_with openssl) \
+   $(use_with seccomp) \
+   $(use_enable test)
+}
+
+src_install() {
+   default
+   fowners -R tss:root /var/lib/swtpm-localca
+   fperms 750 /var/lib/swtpm-localca
+   keepdir /var/lib/swtpm-localca
+   find "${D}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/likwid/

2023-07-01 Thread Matthias Maier
commit: 55121850326fa7c30ecacdb20c9bdff599732cc4
Author: Matthias Maier  gentoo  org>
AuthorDate: Sun Jul  2 05:17:48 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sun Jul  2 05:19:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55121850

sys-apps/likwid: add 5.2.2

Signed-off-by: Matthias Maier  gentoo.org>

 sys-apps/likwid/Manifest|   1 +
 sys-apps/likwid/likwid-5.2.2.ebuild | 147 
 2 files changed, 148 insertions(+)

diff --git a/sys-apps/likwid/Manifest b/sys-apps/likwid/Manifest
index 0ad4fd9fba92..1f8bdfdbd74f 100644
--- a/sys-apps/likwid/Manifest
+++ b/sys-apps/likwid/Manifest
@@ -1,2 +1,3 @@
 DIST likwid-4.3.4.tar.gz 1584829 BLAKE2B 
dcd1c3a0c5e549dc3d22bb98120339521e270da55460f5af9f2fe04849af0fe1ac4d9b881883a4efc3695ceb087d1afad5bcc55b55543199d2c33b0f5012cc68
 SHA512 
f1ee930a98d160728078a81a2cdc798ec62ac484545ced937131e6a6443e5ac23b8e597d31c7b1b9f67c1169e1c662c366cf1098158cb467d9f7ff12946b08a2
 DIST likwid-5.2.1.tar.gz 2308041 BLAKE2B 
1913212fb5157365a439757018ab58b4555e2b4401575ee05c784d038e13296644a7d0a89769599eef0444b13ed10f0357ad09b9cbae712f7d1fb9cca65fb1e3
 SHA512 
f096dcc071e976284c874aeb254dcb83c66ae808876a8c6be7b05e359d06800f1da25c01c072950c3493eb9ca10f6f9d81624feef61cc7a01f40fc0d003f98a7
+DIST likwid-5.2.2.tar.gz 2312420 BLAKE2B 
ceb5ee35fc266e6669f5a304bc222ae5fa598b76b0b2af9b37a214279033e8189f6c7726bdb41ad111f331a2fea52f6ff49cf190d7150b813ea651dbdc06d53f
 SHA512 
5949933341092a1ccb81add47771c8e5613c9faef8650d70ed8e7f81cee4e6d87bc6838686873bd6270f4cfef3fd57d8a69b067f943134e4ac08c14664105d0d

diff --git a/sys-apps/likwid/likwid-5.2.2.ebuild 
b/sys-apps/likwid/likwid-5.2.2.ebuild
new file mode 100644
index ..9e9d5ae85a94
--- /dev/null
+++ b/sys-apps/likwid/likwid-5.2.2.ebuild
@@ -0,0 +1,147 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FORTRAN_NEEDED=fortran
+
+inherit fcaps fortran-2 linux-info toolchain-funcs
+
+DESCRIPTION="A performance-oriented tool suite for x86 multicore environments"
+HOMEPAGE="https://github.com/rrze-likwid/likwid;
+SRC_URI="https://ftp.fau.de/pub/likwid/${P}.tar.gz;
+
+LICENSE="GPL-3+ BSD MIT"
+
+SLOT="0"
+KEYWORDS="~amd64" # upstream partial support exists for x86 arm arm64
+IUSE="fortran"
+
+CDEPEND="dev-lang/perl"
+
+RDEPEND="${CDEPEND}"
+DEPEND="${CDEPEND}"
+
+CONFIG_CHECK="~X86_MSR"
+
+FILECAPS=(
+   -M 755 cap_sys_rawio+ep usr/sbin/likwid-accessD
+   --
+   -M 755 cap_sys_rawio+ep usr/sbin/likwid-setFreq
+)
+
+PATCHES=(
+   "${FILESDIR}/${PN}-4.3.1-fix-gnustack.patch"
+)
+
+pkg_setup() {
+   fortran-2_pkg_setup
+}
+
+src_prepare() {
+   # Ensure we build with a non executable stack
+   sed \
+   -e '/^SHARED_CFLAGS/s/$/ -Wa,--noexecstack/' \
+   -i make/include_{GCC*,CLANG}.mk \
+   || die "Failed to set nonexecstack"
+
+   # Make the install targets respect Q= for being quiet or not
+   # MUCH easier for debugging
+   sed -r \
+   -e '/^install/,/^[a-z]/{/^\t@/{ s/@/$(Q)/; }}' \
+   -i \
+   Makefile || die "Failed to sed Makefile"
+
+   sed -i \
+   -e '/^\.NOTPARALLEL:/d' \
+   Makefile \
+   bench/Makefile \
+   ext/hwloc/Makefile || die "Failed to re-enable parallel"
+
+   default
+}
+
+export_emake_opts() {
+   # Warning: this build system uses PREFIX in a way that differs from
+   # autoconf! It's more like:
+   # PREFIX=$(DESTDIR)$(INSTALLED_PREFIX)
+   # it's not 100% like that, because parts of the Makefiles are 
inconsistent.
+   # this is the same solution used in the upstream RPM specs
+   # these variables are uppercase so they match what's put into Make.
+   local INSTALLED_PREFIX=/usr
+   local INSTALLED_LIBPREFIX=/usr/$(get_libdir) # upstream is 
'$(INSTALLED_PREFIX)/lib'
+   local INSTALLED_MANPREFIX=/usr/share/man # upstream has it as used but 
undefined variable.
+   # If the build is too loud, pass 'Q=@'
+   src_compile_opts=(
+   "Q="
+   "INSTALLED_PREFIX=${INSTALLED_PREFIX}"
+   "INSTALLED_LIBPREFIX=${INSTALLED_LIBPREFIX}"
+   "INSTALLED_MANPREFIX=${INSTALLED_MANPREFIX}"
+   "PREFIX=${INSTALLED_PREFIX}"
+   "LIBPREFIX=${INSTALLED_LIBPREFIX}"
+   "MANPREFIX=${INSTALLED_MANPREFIX}"
+   "CC=$(tc-getCC)"
+   "ANSI_CFLAGS=${CFLAGS}"
+   "INSTRUMENT_BENCH=true"
+   "FORTRAN_INTERFACE=$(usex fortran likwid.mod false)"
+   "FC=$(usex fortr

[gentoo-commits] repo/gentoo:master commit in: sci-libs/trilinos/

2023-06-21 Thread Matthias Maier
commit: ec6f72b1ba50d7a9e9a8687a1a019f234ab9c02a
Author: Matthias Maier  gentoo  org>
AuthorDate: Wed Jun 21 22:05:33 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Wed Jun 21 22:48:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec6f72b1

sci-libs/trilinos: add 14.2.0

Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/trilinos/Manifest   |   1 +
 sci-libs/trilinos/trilinos-14.2.0.ebuild | 257 +++
 2 files changed, 258 insertions(+)

diff --git a/sci-libs/trilinos/Manifest b/sci-libs/trilinos/Manifest
index ec1f4d6749d7..b29bc8431dae 100644
--- a/sci-libs/trilinos/Manifest
+++ b/sci-libs/trilinos/Manifest
@@ -2,3 +2,4 @@ DIST trilinos-13.4.0-patches-r0.tar.xz 8740 BLAKE2B 
333ab9ff1acb2f4b08007c7b99b9
 DIST trilinos-13.4.0.tar.gz 168733479 BLAKE2B 
3c4a1c89b792ec771c6347eebb6bb54a82fa5f172d1c5934bbd42c8bc9708a71451bd030ec0f5264191a62169b3c1305ac7a1290b3ab4845fb6e8ffef15ee03c
 SHA512 
27a5636bac8106a0705948ca4705b739878f0d8afa74264d1cd31036811084457e27e03e86dfad59a80d5e9ee798237fa930b50574ec3e43979e53c6ab5da535
 DIST trilinos-13.4.1.tar.gz 168720416 BLAKE2B 
5201c36aa998045f4eab99b67fce25f9a2f2a9524b8ca1147cd8db9ccc306e3df61336df3b2ee981317c8defbae2df9e36546a0e5ddfed3142213e437e4dfba0
 SHA512 
9c0fb3af2fa625cd0af1309bfa61c212e12657820707348c81355d506e07f540da5e42aa30237fbc80adf257bb636029345f248abaf7ef96fcdaed1c28ec3a19
 DIST trilinos-14.0.0.tar.gz 179086187 BLAKE2B 
0e0c3e3fa4b88164cd7e90720ec42eb007f8e89734e5537a7eba1f17754faf30c21fa1d77f7e8a7968bdb8bb230596a1adc74f8170577fd7b4eccb2e88c5b8f6
 SHA512 
b08fcf4f6bf2605267c44c038f352949e5bfe14b853de77e4c80e28f66c088ead1699b1e49f8475f1b98ce5a21238b98a299e760f1373e585c78b65120fa18e5
+DIST trilinos-14.2.0.tar.gz 178867695 BLAKE2B 
07ff61775399014091aae9c14ad12a69ab19853bc3489c15775490aa3f6e8ae868ac4e90bf046d10bf1ecb1d5558992f0afb0ce656f947336559fcf10085c038
 SHA512 
c676ff2b59904dc05a0ff434dd164bc96076999a5851c160c5851c124d3c519dd0cc3f088eba19f2000c7d1c2377f4efb2b2b8f9f3ee641b2180f3b99b28ea0b

diff --git a/sci-libs/trilinos/trilinos-14.2.0.ebuild 
b/sci-libs/trilinos/trilinos-14.2.0.ebuild
new file mode 100644
index ..4ba10c76e0d2
--- /dev/null
+++ b/sci-libs/trilinos/trilinos-14.2.0.ebuild
@@ -0,0 +1,257 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_MAKEFILE_GENERATOR=emake
+inherit cmake toolchain-funcs
+
+DESCRIPTION="Scientific library collection for large scale problems"
+HOMEPAGE="http://trilinos.sandia.gov/;
+MY_PV="${PV//\./-}"
+PATCHSET="r0"
+SRC_URI="https://github.com/${PN}/Trilinos/archive/${PN}-release-${MY_PV}.tar.gz
 -> ${P}.tar.gz"
+
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+LICENSE="BSD LGPL-2.1"
+SLOT="0"
+
+IUSE="
+   adolc all-packages arprec clp cuda eigen glpk gtest hdf5 hwloc hypre
+   matio metis mkl mumps netcdf openmp petsc qd scalapack scotch sparse
+   superlu taucs tbb test threads tvmet yaml zlib X
+"
+
+# TODO: fix export cmake function for tests
+RESTRICT="test"
+
+RDEPEND="
+   !dev-cpp/kokkos
+   dev-libs/boost:=
+   sys-libs/binutils-libs:=
+   virtual/blas
+   virtual/lapack
+   virtual/mpi
+   adolc? ( sci-libs/adolc )
+   arprec? ( sci-libs/arprec )
+   clp? ( sci-libs/coinor-clp )
+   cuda? ( >=dev-util/nvidia-cuda-toolkit-3.2 )
+   eigen? ( dev-cpp/eigen:3 )
+   glpk? ( sci-mathematics/glpk )
+   gtest? ( dev-cpp/gtest )
+   hdf5? ( sci-libs/hdf5:=[mpi] )
+   hypre? ( sci-libs/hypre:= )
+   hwloc? ( sys-apps/hwloc:= )
+   matio? ( sci-libs/matio )
+   mkl? ( sci-libs/mkl )
+   metis? ( sci-libs/metis )
+   mumps? ( sci-libs/mumps )
+   netcdf? ( sci-libs/netcdf:= )
+   petsc? ( sci-mathematics/petsc )
+   qd? ( sci-libs/qd )
+   scalapack? ( sci-libs/scalapack )
+   scotch? ( sci-libs/scotch:= )
+   sparse? ( sci-libs/cxsparse sci-libs/umfpack )
+   superlu? ( sci-libs/superlu:= )
+   taucs? ( sci-libs/taucs )
+   tbb? ( dev-cpp/tbb:= )
+   tvmet? ( dev-libs/tvmet )
+   yaml? ( dev-cpp/yaml-cpp:= )
+   zlib? ( sys-libs/zlib )
+   X? ( x11-libs/libX11 )"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig"
+
+S="${WORKDIR}/Trilinos-${PN}-release-${MY_PV}"
+
+PATCHES=(
+)
+
+pkg_pretend() {
+   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+trilinos_conf() {
+   local dirs libs d
+   for d in $($(tc-getPKG_CONFIG) --libs-only-L $1); do
+   dirs="${dirs};${d:2}"
+   done
+   [[ -n ${dirs} ]] && mycmakeargs+=( "-D${2}_LIBRARY_DIRS=${dirs:1}" )
+ 

[gentoo-commits] repo/gentoo:master commit in: app-emulation/libvirt/, app-emulation/libvirt/files/

2023-06-21 Thread Matthias Maier
commit: 45065ac9faa6e202f0c4920fadf8e68ae1f8feba
Author: Matthias Maier  gentoo  org>
AuthorDate: Wed Jun 21 21:39:18 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Wed Jun 21 21:48:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45065ac9

app-emulation/libvirt: fix patch name

Signed-off-by: Matthias Maier  gentoo.org>

 ...hs-for-apparmor.patch => libvirt-9.4.0-fix-paths-for-apparmor.patch} | 0
 app-emulation/libvirt/libvirt-9.4.0-r2.ebuild   | 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/app-emulation/libvirt/files/libvirt-9.5.0-fix-paths-for-apparmor.patch 
b/app-emulation/libvirt/files/libvirt-9.4.0-fix-paths-for-apparmor.patch
similarity index 100%
rename from 
app-emulation/libvirt/files/libvirt-9.5.0-fix-paths-for-apparmor.patch
rename to app-emulation/libvirt/files/libvirt-9.4.0-fix-paths-for-apparmor.patch

diff --git a/app-emulation/libvirt/libvirt-9.4.0-r2.ebuild 
b/app-emulation/libvirt/libvirt-9.4.0-r2.ebuild
index 6c17559eba62..0a0255e18fcf 100644
--- a/app-emulation/libvirt/libvirt-9.4.0-r2.ebuild
+++ b/app-emulation/libvirt/libvirt-9.4.0-r2.ebuild
@@ -145,7 +145,7 @@ PDEPEND="
 PATCHES=(
"${FILESDIR}"/${PN}-9.4.0-fix_paths_in_libvirt-guests_sh.patch
"${FILESDIR}"/${PN}-9.4.0-do-not-use-sysconfig.patch
-   "${FILESDIR}"/${PN}-9.5.0-fix-paths-for-apparmor.patch
+   "${FILESDIR}"/${PN}-9.4.0-fix-paths-for-apparmor.patch
 )
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: app-emulation/libvirt/files/, app-emulation/libvirt/

2023-06-21 Thread Matthias Maier
commit: 91f917f5a995053cd671b0b4bf22d1a326fdf61e
Author: Kai-Chun Ning  gmail  com>
AuthorDate: Tue Jun 20 18:26:46 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Wed Jun 21 21:48:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91f917f5

app-emulation/libvirt-9.4.0-r2: fix apparmor path

Closes: https://bugs.gentoo.org/908805
Closes: https://github.com/gentoo/gentoo/pull/31557
Signed-off-by: Kai-Chun Ning  gmail.com>
Signed-off-by: Matthias Maier  gentoo.org>

 .../files/libvirt-9.5.0-fix-paths-for-apparmor.patch| 17 +
 ...{libvirt-9.4.0-r1.ebuild => libvirt-9.4.0-r2.ebuild} |  0
 2 files changed, 13 insertions(+), 4 deletions(-)

diff --git 
a/app-emulation/libvirt/files/libvirt-9.5.0-fix-paths-for-apparmor.patch 
b/app-emulation/libvirt/files/libvirt-9.5.0-fix-paths-for-apparmor.patch
index 52a12beb2cca..dd2562f395fb 100644
--- a/app-emulation/libvirt/files/libvirt-9.5.0-fix-paths-for-apparmor.patch
+++ b/app-emulation/libvirt/files/libvirt-9.5.0-fix-paths-for-apparmor.patch
@@ -7,11 +7,11 @@ Subject: [PATCH] libvirt-9.5.0-fix-paths-for-apparmor.patch
 Signed-off-by: Michal Privoznik 
 ---
  src/security/apparmor/libvirt-qemu| 1 +
- src/security/apparmor/meson.build | 2 +-
+ src/security/apparmor/meson.build | 4 ++--
  src/security/apparmor/usr.lib.libvirt.virt-aa-helper.local| 1 -
  ...irt-aa-helper.in => usr.libexec.libvirt.virt-aa-helper.in} | 4 ++--
  .../apparmor/usr.libexec.libvirt.virt-aa-helper.local | 1 +
- 5 files changed, 5 insertions(+), 4 deletions(-)
+ 5 files changed, 6 insertions(+), 5 deletions(-)
  delete mode 100644 src/security/apparmor/usr.lib.libvirt.virt-aa-helper.local
  rename src/security/apparmor/{usr.lib.libvirt.virt-aa-helper.in => 
usr.libexec.libvirt.virt-aa-helper.in} (94%)
  create mode 100644 
src/security/apparmor/usr.libexec.libvirt.virt-aa-helper.local
@@ -29,7 +29,7 @@ index 44056b5f14..1f0db2cda2 100644
# pki for libvirt-vnc and libvirt-spice (LP: #901272, #1690140)
/etc/pki/CA/ r,
 diff --git a/src/security/apparmor/meson.build 
b/src/security/apparmor/meson.build
-index 02a6d098ad..39214a679f 100644
+index 58b4024b85..6f4ebb7fa9 100644
 --- a/src/security/apparmor/meson.build
 +++ b/src/security/apparmor/meson.build
 @@ -1,5 +1,5 @@
@@ -39,6 +39,15 @@ index 02a6d098ad..39214a679f 100644
'usr.sbin.libvirtd',
'usr.sbin.virtqemud',
'usr.sbin.virtxend',
+@@ -35,7 +35,7 @@ install_data(
+ )
+ 
+ install_data(
+-  'usr.lib.libvirt.virt-aa-helper.local',
++  'usr.libexec.libvirt.virt-aa-helper.local',
+   install_dir: apparmor_dir / 'local',
+   rename: 'usr.lib.libvirt.virt-aa-helper',
+ )
 diff --git a/src/security/apparmor/usr.lib.libvirt.virt-aa-helper.local 
b/src/security/apparmor/usr.lib.libvirt.virt-aa-helper.local
 deleted file mode 100644
 index c0990e51d0..00
@@ -77,5 +86,5 @@ index 00..974653d797
 @@ -0,0 +1 @@
 +# Site-specific additions and overrides for 
'usr.libexec.libvirt.virt-aa-helper'
 -- 
-2.39.3
+2.41.0
 

diff --git a/app-emulation/libvirt/libvirt-9.4.0-r1.ebuild 
b/app-emulation/libvirt/libvirt-9.4.0-r2.ebuild
similarity index 100%
rename from app-emulation/libvirt/libvirt-9.4.0-r1.ebuild
rename to app-emulation/libvirt/libvirt-9.4.0-r2.ebuild



[gentoo-commits] repo/gentoo:master commit in: sci-libs/ginkgo/, sci-libs/ginkgo/files/

2023-06-19 Thread Matthias Maier
commit: 4408dc6855b61b1849f78825afabf3d853da18d3
Author: Matthias Maier  gentoo  org>
AuthorDate: Tue Jun 20 01:49:09 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Tue Jun 20 01:49:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4408dc68

sci-libs/ginkgo: fix compilation with clang and libc++, avoid automagic deps

Signed-off-by: Matthias Maier  gentoo.org>

 ...nkgo-1.6.0-disable_automagic_dependencies.patch | 24 ++
 .../files/ginkgo-1.6.0-fix_type_mismatch.patch | 12 +++
 sci-libs/ginkgo/ginkgo-1.6.0.ebuild|  5 +
 3 files changed, 41 insertions(+)

diff --git 
a/sci-libs/ginkgo/files/ginkgo-1.6.0-disable_automagic_dependencies.patch 
b/sci-libs/ginkgo/files/ginkgo-1.6.0-disable_automagic_dependencies.patch
new file mode 100644
index ..c910ad92c5a9
--- /dev/null
+++ b/sci-libs/ginkgo/files/ginkgo-1.6.0-disable_automagic_dependencies.patch
@@ -0,0 +1,24 @@
+diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
+index 41ed77d900..9a0c7d5128 100644
+--- a/examples/CMakeLists.txt
 b/examples/CMakeLists.txt
+@@ -40,8 +40,7 @@ if(GINKGO_BUILD_EXTLIB_EXAMPLE)
+ list(APPEND EXAMPLES_LIST external-lib-interfacing)
+ endif()
+ 
+-find_package(OpenCV QUIET)
+-if(OpenCV_FOUND)
++if(FALSE)
+ list(APPEND EXAMPLES_LIST heat-equation schroedinger-splitting)
+ else()
+ message(STATUS "No OpenCV found, disabling examples with video output")
+@@ -55,8 +54,7 @@ if(GINKGO_BUILD_MPI)
+ list(APPEND EXAMPLES_LIST distributed-solver)
+ endif()
+ 
+-find_package(Kokkos QUIET)
+-if(Kokkos_FOUND)
++if(FALSE)
+ if(GINKGO_WITH_CCACHE)
+ message(WARNING "The CMAKE_CXX_COMPILER_LAUNCHER is set due to "
+ "GINKGO_WITH_CCACHE=ON which is known to casue issues with CUDA 
enabled "

diff --git a/sci-libs/ginkgo/files/ginkgo-1.6.0-fix_type_mismatch.patch 
b/sci-libs/ginkgo/files/ginkgo-1.6.0-fix_type_mismatch.patch
new file mode 100644
index ..d248fe87f2d7
--- /dev/null
+++ b/sci-libs/ginkgo/files/ginkgo-1.6.0-fix_type_mismatch.patch
@@ -0,0 +1,12 @@
+diff --git a/core/base/timer.cpp b/core/base/timer.cpp
+index bc1c716..0185567 100644
+--- a/core/base/timer.cpp
 b/core/base/timer.cpp
+@@ -124,7 +124,7 @@ void CpuTimer::wait(time_point& time) {}
+ std::chrono::nanoseconds CpuTimer::difference_async(const time_point& start,
+ const time_point& stop)
+ {
+-return std::chrono::duration_cast(
++return std::chrono::duration_cast(
+ stop.data_.chrono - start.data_.chrono);
+ }

diff --git a/sci-libs/ginkgo/ginkgo-1.6.0.ebuild 
b/sci-libs/ginkgo/ginkgo-1.6.0.ebuild
index 00081e5e00a7..4cceeb06c5b6 100644
--- a/sci-libs/ginkgo/ginkgo-1.6.0.ebuild
+++ b/sci-libs/ginkgo/ginkgo-1.6.0.ebuild
@@ -26,6 +26,11 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}"
 
+PATCHES=(
+   "${FILESDIR}"/${P}-fix_type_mismatch.patch
+   "${FILESDIR}"/${P}-disable_automagic_dependencies.patch
+)
+
 pkg_pretend() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
 }



[gentoo-commits] repo/gentoo:master commit in: sci-libs/p4est/

2023-06-19 Thread Matthias Maier
commit: 0991bf3755bdb20a78be7dd2e6a46fc55c57393a
Author: Matthias Maier  gentoo  org>
AuthorDate: Tue Jun 20 01:31:32 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Tue Jun 20 01:32:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0991bf37

sci-libs/p4est: QA: quote variable

Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/p4est/p4est-2.8.5-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/p4est/p4est-2.8.5-r2.ebuild 
b/sci-libs/p4est/p4est-2.8.5-r2.ebuild
index 3a6126c24456..3bcba02fb697 100644
--- a/sci-libs/p4est/p4est-2.8.5-r2.ebuild
+++ b/sci-libs/p4est/p4est-2.8.5-r2.ebuild
@@ -62,7 +62,7 @@ src_configure() {
 src_install() {
cmake_src_install
 
-   [ ! "$(get_libdir)" = "lib" ] && mv 
${ED}/usr/{lib,$(get_libdir)}/pkgconfig || die "mv failed"
+   [ ! "$(get_libdir)" = "lib" ] && mv 
"${ED}"/usr/{lib,$(get_libdir)}/pkgconfig || die "mv failed"
 
mkdir -p "${ED}"/usr/share/doc/${PF}
mv "${ED}"/usr/share/docs/P4EST/* "${ED}"/usr/share/doc/${PF}/ || die 
"mv failed"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/p4est/files/, sci-libs/p4est/

2023-06-19 Thread Matthias Maier
commit: 9f4a07d859cb62b737d5ab70161693cbb768b3d0
Author: Matthias Maier  gentoo  org>
AuthorDate: Tue Jun 20 00:19:20 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Tue Jun 20 00:45:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f4a07d8

sci-libs/p4est: QA: fix install locations, EAPI bump

Signed-off-by: Matthias Maier  gentoo.org>

 .../p4est/files/p4est-2.8.5-fix_cmake_path.patch   | 44 ++
 ...p4est-2.8.5-r1.ebuild => p4est-2.8.5-r2.ebuild} |  9 +++--
 2 files changed, 49 insertions(+), 4 deletions(-)

diff --git a/sci-libs/p4est/files/p4est-2.8.5-fix_cmake_path.patch 
b/sci-libs/p4est/files/p4est-2.8.5-fix_cmake_path.patch
new file mode 100644
index ..8202a4007ede
--- /dev/null
+++ b/sci-libs/p4est/files/p4est-2.8.5-fix_cmake_path.patch
@@ -0,0 +1,44 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index d1b2094..e5fe188 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -104,9 +104,8 @@ endif(BUILD_TESTING)
+ # --- packaging
+ 
+ install(FILES
+-${CMAKE_CURRENT_SOURCE_DIR}/cmake/FindSC.cmake
+ ${CMAKE_CURRENT_SOURCE_DIR}/cmake/FindP4EST.cmake
+-DESTINATION cmake)
++DESTINATION ${library_reldir}/cmake/P4est)
+ 
+ include(cmake/pkgconf.cmake)
+ include(cmake/install.cmake)
+diff --git a/cmake/install.cmake b/cmake/install.cmake
+index f4f92c4..0f31976 100644
+--- a/cmake/install.cmake
 b/cmake/install.cmake
+@@ -4,7 +4,7 @@ include(CMakePackageConfigHelpers)
+ 
+ configure_package_config_file(${CMAKE_CURRENT_LIST_DIR}/config.cmake.in
+ ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/${PROJECT_NAME}Config.cmake
+-INSTALL_DESTINATION cmake
++INSTALL_DESTINATION ${library_reldir}/cmake/P4est
+ )
+ 
+ write_basic_package_version_file(
+@@ -14,13 +14,13 @@ COMPATIBILITY SameMajorVersion
+ 
+ install(EXPORT ${PROJECT_NAME}-targets
+ NAMESPACE ${PROJECT_NAME}::
+-DESTINATION cmake
++DESTINATION ${library_reldir}/cmake/P4est
+ )
+ 
+ install(FILES
+ ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/${PROJECT_NAME}Config.cmake
+ ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/${PROJECT_NAME}ConfigVersion.cmake
+-DESTINATION cmake
++DESTINATION ${library_reldir}/cmake/P4est
+ )
+ 
+ # --- CPack

diff --git a/sci-libs/p4est/p4est-2.8.5-r1.ebuild 
b/sci-libs/p4est/p4est-2.8.5-r2.ebuild
similarity index 83%
rename from sci-libs/p4est/p4est-2.8.5-r1.ebuild
rename to sci-libs/p4est/p4est-2.8.5-r2.ebuild
index e53b6f7eaa2e..3a6126c24456 100644
--- a/sci-libs/p4est/p4est-2.8.5-r1.ebuild
+++ b/sci-libs/p4est/p4est-2.8.5-r2.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit cmake toolchain-funcs
 
@@ -38,6 +38,7 @@ BDEPEND="virtual/pkgconfig"
 PATCHES=(
"${FILESDIR}"/${P}-fix_build_system.patch
"${FILESDIR}"/${P}-set_version.patch
+   "${FILESDIR}"/${P}-fix_cmake_path.patch
 )
 
 pkg_pretend() {
@@ -61,9 +62,9 @@ src_configure() {
 src_install() {
cmake_src_install
 
-   mv "${ED}"/usr/cmake "${ED}"/usr/$(get_libdir)/ || die "mv failed"
+   [ ! "$(get_libdir)" = "lib" ] && mv 
${ED}/usr/{lib,$(get_libdir)}/pkgconfig || die "mv failed"
 
-   mkdir -p "${ED}"/usr/share/doc/${P}
-   mv "${ED}"/usr/share/docs/P4EST/* "${ED}"/usr/share/doc/${P}/ || die 
"mv failed"
+   mkdir -p "${ED}"/usr/share/doc/${PF}
+   mv "${ED}"/usr/share/docs/P4EST/* "${ED}"/usr/share/doc/${PF}/ || die 
"mv failed"
rm -r "${ED}"/usr/share/docs || die "rm failed"
 }



[gentoo-commits] repo/gentoo:master commit in: sci-libs/libsc/files/, sci-libs/libsc/

2023-06-19 Thread Matthias Maier
commit: c5fa4cd54e6ce9ecb1d40b444587763d0507abd5
Author: Matthias Maier  gentoo  org>
AuthorDate: Tue Jun 20 00:17:41 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Tue Jun 20 00:45:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5fa4cd5

sci-libs/libsc: QA: fix install locations, EAPI bump

Signed-off-by: Matthias Maier  gentoo.org>

 .../libsc/files/libsc-2.8.5-fix_cmake_path.patch   | 33 ++
 ...libsc-2.8.5-r1.ebuild => libsc-2.8.5-r2.ebuild} |  7 ++---
 2 files changed, 36 insertions(+), 4 deletions(-)

diff --git a/sci-libs/libsc/files/libsc-2.8.5-fix_cmake_path.patch 
b/sci-libs/libsc/files/libsc-2.8.5-fix_cmake_path.patch
new file mode 100644
index ..d36f9151901c
--- /dev/null
+++ b/sci-libs/libsc/files/libsc-2.8.5-fix_cmake_path.patch
@@ -0,0 +1,33 @@
+diff --git a/cmake/install.cmake b/cmake/install.cmake
+index f093fa9..c281f66 100644
+--- a/cmake/install.cmake
 b/cmake/install.cmake
+@@ -14,13 +14,13 @@ COMPATIBILITY SameMajorVersion
+ 
+ install(EXPORT ${PROJECT_NAME}-targets
+ NAMESPACE ${PROJECT_NAME}::
+-DESTINATION cmake
++DESTINATION ${library_reldir}/cmake/SC
+ )
+ 
+ install(FILES
+ ${CMAKE_CURRENT_BINARY_DIR}/cmake/${PROJECT_NAME}Config.cmake
+ ${CMAKE_CURRENT_BINARY_DIR}/cmake/${PROJECT_NAME}ConfigVersion.cmake
+-DESTINATION cmake
++DESTINATION ${library_reldir}/cmake/SC
+ )
+ 
+ export(EXPORT ${PROJECT_NAME}-targets
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 800937f..9de0cfe 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -75,7 +75,7 @@ endif(BUILD_TESTING)
+ 
+ install(FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/cmake/FindSC.cmake
+-DESTINATION cmake)
++DESTINATION ${library_reldir}/cmake/SC)
+ 
+ include(cmake/pkgconf.cmake)
+ include(cmake/install.cmake)

diff --git a/sci-libs/libsc/libsc-2.8.5-r1.ebuild 
b/sci-libs/libsc/libsc-2.8.5-r2.ebuild
similarity index 90%
rename from sci-libs/libsc/libsc-2.8.5-r1.ebuild
rename to sci-libs/libsc/libsc-2.8.5-r2.ebuild
index 33d78e6073fe..786ecf6012b8 100644
--- a/sci-libs/libsc/libsc-2.8.5-r1.ebuild
+++ b/sci-libs/libsc/libsc-2.8.5-r2.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit cmake toolchain-funcs
 
@@ -35,6 +35,7 @@ PATCHES=(
"${FILESDIR}"/${P}-fix_build_system.patch
"${FILESDIR}"/${P}-do_not_compile_zlib-ng.patch
"${FILESDIR}"/${P}-use_zlib-ng_symbols.patch
+   "${FILESDIR}"/${P}-fix_cmake_path.patch
 )
 
 pkg_pretend() {
@@ -58,12 +59,10 @@ src_configure() {
 src_install() {
cmake_src_install
 
-   mv "${ED}"/usr/cmake "${ED}"/usr/$(get_libdir)/ || die "mv failed"
-
rm -r "${ED}"/usr/include/getopt.h \
"${ED}"/usr/include/getopt_int.h \
"${ED}"/usr/include/sc_builtin || die "rm failed"
 
-   mv "${ED}"/usr/share/docs/SC/* "${ED}"/usr/share/doc/${P}/ || die "mv 
failed"
+   mv "${ED}"/usr/share/docs/SC/* "${ED}"/usr/share/doc/${PF}/ || die "mv 
failed"
rm -r "${ED}"/usr/share/docs || die "rm failed"
 }



[gentoo-commits] repo/gentoo:master commit in: sci-libs/p4est/

2023-06-19 Thread Matthias Maier
commit: f045d787a94b5cbc2fe3c5a2762f982f98e0fb3b
Author: Matthias Maier  gentoo  org>
AuthorDate: Mon Jun 19 23:53:33 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Mon Jun 19 23:54:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f045d787

sci-libs/p4est: also install cmake configuration

Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/p4est/{p4est-2.8.5.ebuild => p4est-2.8.5-r1.ebuild} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sci-libs/p4est/p4est-2.8.5.ebuild 
b/sci-libs/p4est/p4est-2.8.5-r1.ebuild
similarity index 95%
rename from sci-libs/p4est/p4est-2.8.5.ebuild
rename to sci-libs/p4est/p4est-2.8.5-r1.ebuild
index 89afa3c98840..e53b6f7eaa2e 100644
--- a/sci-libs/p4est/p4est-2.8.5.ebuild
+++ b/sci-libs/p4est/p4est-2.8.5-r1.ebuild
@@ -61,7 +61,8 @@ src_configure() {
 src_install() {
cmake_src_install
 
-   rm -r "${ED}"/usr/cmake || die "rm failed"
+   mv "${ED}"/usr/cmake "${ED}"/usr/$(get_libdir)/ || die "mv failed"
+
mkdir -p "${ED}"/usr/share/doc/${P}
mv "${ED}"/usr/share/docs/P4EST/* "${ED}"/usr/share/doc/${P}/ || die 
"mv failed"
rm -r "${ED}"/usr/share/docs || die "rm failed"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/libsc/

2023-06-19 Thread Matthias Maier
commit: 152a0b69c8f2d48e1b171a1584466d7202f28344
Author: Matthias Maier  gentoo  org>
AuthorDate: Mon Jun 19 23:52:01 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Mon Jun 19 23:54:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=152a0b69

sci-libs/libsc: also install cmake configuration

Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/libsc/{libsc-2.8.5.ebuild => libsc-2.8.5-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/libsc/libsc-2.8.5.ebuild 
b/sci-libs/libsc/libsc-2.8.5-r1.ebuild
similarity index 95%
rename from sci-libs/libsc/libsc-2.8.5.ebuild
rename to sci-libs/libsc/libsc-2.8.5-r1.ebuild
index e6f5712f4c17..33d78e6073fe 100644
--- a/sci-libs/libsc/libsc-2.8.5.ebuild
+++ b/sci-libs/libsc/libsc-2.8.5-r1.ebuild
@@ -58,7 +58,7 @@ src_configure() {
 src_install() {
cmake_src_install
 
-   rm -r "${ED}"/usr/cmake || die "rm failed"
+   mv "${ED}"/usr/cmake "${ED}"/usr/$(get_libdir)/ || die "mv failed"
 
rm -r "${ED}"/usr/include/getopt.h \
"${ED}"/usr/include/getopt_int.h \



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/

2023-06-19 Thread Matthias Maier
commit: f3592fadc8f7d5862342a6f021d11bf2df3b9c90
Author: Matthias Maier  gentoo  org>
AuthorDate: Mon Jun 19 21:03:02 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Mon Jun 19 21:03:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3592fad

dev-cpp/kokkos: update EAPI 7 -> 8

Signed-off-by: Matthias Maier  gentoo.org>

 dev-cpp/kokkos/kokkos-4.0.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/kokkos/kokkos-4.0.1.ebuild 
b/dev-cpp/kokkos/kokkos-4.0.1.ebuild
index 4ec60171c232..fb34ce9b8546 100644
--- a/dev-cpp/kokkos/kokkos-4.0.1.ebuild
+++ b/dev-cpp/kokkos/kokkos-4.0.1.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit cmake toolchain-funcs
 
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${MY_PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 -x86"
+KEYWORDS="~amd64 -x86"
 IUSE="+openmp test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/slepc/

2023-06-19 Thread Matthias Maier
commit: 7113832626abd0f70f62624ce20d05be26bcae18
Author: Matthias Maier  gentoo  org>
AuthorDate: Mon Jun 19 18:29:25 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Mon Jun 19 18:37:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71138326

sci-mathematics/slepc: add 3.19.1

Signed-off-by: Matthias Maier  gentoo.org>

 sci-mathematics/slepc/Manifest|   2 +
 sci-mathematics/slepc/slepc-3.19.1.ebuild | 125 ++
 2 files changed, 127 insertions(+)

diff --git a/sci-mathematics/slepc/Manifest b/sci-mathematics/slepc/Manifest
index 989e43b029f9..f015302a3885 100644
--- a/sci-mathematics/slepc/Manifest
+++ b/sci-mathematics/slepc/Manifest
@@ -2,4 +2,6 @@ DIST slepc-3.16.0.tar.gz 5486237 BLAKE2B 
28f45036ba7e6aa2b227c6f25e2c8edf7fc6914
 DIST slepc-3.17.1.tar.gz 5450177 BLAKE2B 
ec4f597085a176a010797d599779cc4532e52996105bb76f755073876ebb81026c580cb5759a03bda58cb2de2767b1dcdb01ff0d946f218117edb2a7a6557414
 SHA512 
5429aa7516ec0b2fee8158f9317634faf1c963aa60237be81a0392d5f2fa9f531db59b4a9ad04e266d808befdbd71b5a30259b4abc639a1da2defffd74acd35b
 DIST slepc-3.18.1.tar.gz 6013016 BLAKE2B 
1526b7e6e0f0387a8410cfcbee9bc62f35f930420b86bcb58146b16f73b28b349c6aad0ef59e02a635c374a0a8b6eb16ac50b7bcb79ce6c06a3de56029db551a
 SHA512 
d366844c492be6bf77edabdbe0d61672ead45605fc299c25ac24bf14d9d15bc107bb62f0d08aa403a5f269a2b12ae4d7cd3768958d792812e6c1924b93a27be4
 DIST slepc-3.19.0.tar.gz 1803822 BLAKE2B 
742cc773e649d46ff8513263ef53fe5d62f6cac537d5444eeeb494d0816d496a5c0c2f260615aa8a82ebdc983877302acf7d0c88f01bd4bea66246149dabac13
 SHA512 
edb8c589c162766a7b4a81b484356f2a5b2f70a7c90c87e39efda1a00f6fe544d7ae644e8903059b7dab990c1fa2129cd5d1c7dbb759511483ab43d3d691419c
+DIST slepc-3.19.1.tar.gz 1804559 BLAKE2B 
e70d0801f84ee62409efd53b56cf57405017ee02cbc0c5484ca2aaf550f97ce8be665a360d774b69b8315dc1cdd0404535a316b6d744c7d0a6f87129c93dcf4d
 SHA512 
a0bcbdb917e0a9606ba2bd00ee04e3016e9d5feb7e6ced069c1c57452a8661cdb57fa0d81004340367796cec91b7f9280339c7c0dfaaa0e5f839d91194dd43cb
 DIST slepc-with-docs-3.19.0.tar.gz 6320650 BLAKE2B 
32d383d7ddfe6cf21755fcae768517830076d38ef4c0d844c0a4270194de541a32849883d951f1a47d98491be05866b415de3ca6148b9d9cdf0bfc5e6487234e
 SHA512 
48695c8449a323755a5d8bd3e88560e72ef82a48d0d1150e2a751a323db02836b7bbaea3bb44c9a79b900a93337f6ced12aba6cfd939a7c1edae49f17e71
+DIST slepc-with-docs-3.19.1.tar.gz 6325794 BLAKE2B 
45f33632b2096df5b25a910da33307bf1b3023949068cc84dda091a6fd142a8dc155c4d81e500dde05c3e852f87165b9cf72cdd1844a5fa7da554fe5a7740fea
 SHA512 
5d886f05e6e21f7344391aacb892ae44cc5ac6f2144e9738fa318aab3724c010e51c968f242b5a19988e362f6f5a9d28a57fe4a4749a18be928ad458b3583936

diff --git a/sci-mathematics/slepc/slepc-3.19.1.ebuild 
b/sci-mathematics/slepc/slepc-3.19.1.ebuild
new file mode 100644
index ..3622655a7bd1
--- /dev/null
+++ b/sci-mathematics/slepc/slepc-3.19.1.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit python-any-r1
+
+DESCRIPTION="Scalable Library for Eigenvalue Problem Computations"
+HOMEPAGE="https://slepc.upv.es/;
+SRC_URI="
+   !doc? ( https://slepc.upv.es/download/distrib/${P}.tar.gz )
+   doc? ( 
https://slepc.upv.es/download/distrib/${PN}-with-docs-${PV}.tar.gz )"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="arpack complex-scalars doc +examples mpi"
+
+REQUIRED_USE="arpack? ( mpi )"
+
+RDEPEND="
+   =sci-mathematics/petsc-$(ver_cut 1-2)*:=[examples,mpi=,complex-scalars=]
+   arpack? ( sci-libs/arpack[mpi=] )
+   mpi? ( virtual/mpi )
+"
+
+DEPEND="${RDEPEND}
+   ${PYTHON_DEPS}
+   virtual/pkgconfig
+   dev-util/cmake
+"
+
+MAKEOPTS="${MAKEOPTS} V=1"
+
+src_unpack() {
+   use doc || unpack ${P}.tar.gz
+   use doc && unpack ${PN}-with-docs-${PV}.tar.gz
+}
+
+src_configure() {
+   # *sigh*
+   addpredict "${PETSC_DIR}"/.nagged
+
+   # Make sure that the environment is set up correctly:
+   unset PETSC_DIR
+   unset PETSC_ARCH
+   source "${EPREFIX}"/etc/env.d/99petsc
+   export PETSC_DIR
+   export PETSC_ARCH
+   export SLEPC_DIR="${S}"
+
+   # configure is a custom python script and doesn't want to have default
+   # configure arguments that we set with econf
+   if use arpack; then
+   ./configure \
+   --prefix="${EPREFIX}/usr/$(get_libdir)/slepcdir" \
+   --with-arpack=1 \
+   --with-arpack-lib="$(usex mpi "-lparpack -larpack" 
"-larpack")"
+   else
+   ./configure \
+   --prefix="${EPREFIX}/usr/$(get_libdir)/slepcdir" \
+ 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/petsc/

2023-06-19 Thread Matthias Maier
commit: 98c1b3779f2858afe843a654420e1aa8170a449a
Author: Matthias Maier  gentoo  org>
AuthorDate: Mon Jun 19 18:28:09 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Mon Jun 19 18:37:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98c1b377

sci-mathematics/petsc: add 3.19.2

Signed-off-by: Matthias Maier  gentoo.org>

 sci-mathematics/petsc/Manifest|   1 +
 sci-mathematics/petsc/petsc-3.19.2.ebuild | 236 ++
 2 files changed, 237 insertions(+)

diff --git a/sci-mathematics/petsc/Manifest b/sci-mathematics/petsc/Manifest
index c091688e3fb8..47472501cfd8 100644
--- a/sci-mathematics/petsc/Manifest
+++ b/sci-mathematics/petsc/Manifest
@@ -3,3 +3,4 @@ DIST petsc-3.16.0.tar.gz 16748960 BLAKE2B 
87f9fdb79a9c44e5f476fa4746ad0cbe72f3ed
 DIST petsc-3.17.1.tar.gz 17082265 BLAKE2B 
de1bfe45f93e18e32181499e59912df9225c8e24d75f52e641e552fd43e4d5be48d549d284365b173aa93e51603f5b7740eaac0557ff8c7c96b370f4683257f6
 SHA512 
8c81cc148b1a899a55e54a013d61519ec7b44f98f7ae30c3f8d0e83ba285b23f4b4d9e2cd483c531d337bc41887e4079b727ba73676b1b653910140291e93575
 DIST petsc-3.18.2.tar.gz 18409507 BLAKE2B 
999d4fc80dedb5f9ce58333b6052b15ff499e3d5e4fee3e37639f5e3d2c5e86b514290d01e75b71795467436254d2cb8b05dac3d6252c80db898010bbed95544
 SHA512 
a8e9757144a20d61c004f54615821df7f9dbd920af71fea4674eb0fd1bf9f0b50dbc5c89aae285fef35a23daf67ba9647e479a6e92dbcd26e53fd8302735a47b
 DIST petsc-3.19.1.tar.gz 16659061 BLAKE2B 
8c7b22e5f97756261a5d0e8b707670d55db53e209fd1e116a2adb517d42f5e8bd5ecc911c9e967b88a8dc60a2d872c1d7a279539c65064884b4cfbe856434ad3
 SHA512 
5b9b71599a95e2d82d18d5313c424a08eead0c10f27f40c82159839ef0fa8aeda88ddea693a12d58b8ac29a41c4138e8188a3c91d6af540196ee3a977cf9539d
+DIST petsc-3.19.2.tar.gz 16627765 BLAKE2B 
1267db717989c3819f32ac6a62642054af2ac49d9e9276ffd4f0846d73e31ae4a5dcca4ad794b91cdb29463b7ec68040baa4e1cad99aaef8ab910ff7b64d7478
 SHA512 
f8feeb66fa8bd2406227be0e2cc2946485238362270d40e3f07dc89491177751f6bf680f51b70696bc30b677624c0e525c3fa9784eabdeb2337697ec56f63fc1

diff --git a/sci-mathematics/petsc/petsc-3.19.2.ebuild 
b/sci-mathematics/petsc/petsc-3.19.2.ebuild
new file mode 100644
index ..f57281175844
--- /dev/null
+++ b/sci-mathematics/petsc/petsc-3.19.2.ebuild
@@ -0,0 +1,236 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} pypy3 )
+
+inherit flag-o-matic fortran-2 python-any-r1 toolchain-funcs
+
+DESCRIPTION="Portable, Extensible Toolkit for Scientific Computation"
+HOMEPAGE="https://www.mcs.anl.gov/petsc;
+SRC_URI="http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/${P}.tar.gz;
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="afterimage boost complex-scalars debug +examples fftw
+fortran hdf5 hypre int64 mpi metis mumps scotch superlu threads X"
+
+# readd sparse when suitesparse-5.6.0 is in tree
+# sparse? ( >=sci-libs/suitesparse-5.6.0 >=sci-libs/cholmod-1.7.0 )
+# $(use_with sparse suitesparse) \
+RDEPEND="
+   virtual/blas
+   virtual/lapack
+
+   afterimage? ( media-libs/libafterimage )
+   boost? ( dev-libs/boost )
+   fftw? ( sci-libs/fftw:3.0[mpi?] )
+   hdf5? ( sci-libs/hdf5[mpi?] )
+   hypre? ( >=sci-libs/hypre-2.18.0[int64?,mpi?] )
+   metis? ( >=sci-libs/parmetis-4 )
+   mpi? ( virtual/mpi[fortran?] )
+   mumps? ( sci-libs/mumps[mpi?] sci-libs/scalapack )
+   scotch? ( sci-libs/scotch[int64?,mpi?] )
+   superlu? ( >=sci-libs/superlu-5 )
+   X? ( x11-libs/libX11 )
+"
+DEPEND="
+   ${RDEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   dev-util/cmake
+   sys-apps/which
+   virtual/pkgconfig
+"
+
+# hypre and superlu curretly exclude each other due to missing linking to hypre
+# if both are enabled
+REQUIRED_USE="
+   afterimage? ( X )
+   complex-scalars? ( !hypre !superlu )
+   fftw? ( mpi )
+   hdf5? ( mpi )
+   hypre? ( mpi !superlu )
+   mumps? ( mpi scotch )
+   scotch? ( mpi )
+   superlu? ( !hypre )
+"
+PATCHES=(
+   "${FILESDIR}/${PN}-3.7.0-disable-rpath.patch"
+   "${FILESDIR}"/${PN}-3.16.0-fix_sandbox_violation.patch
+)
+
+# petsc uses --with-blah=1 and --with-blah=0 to en/disable options
+petsc_enable() {
+   use "$1" && echo "--with-${2:-$1}=1" || echo "--with-${2:-$1}=0"
+}
+# add external library:
+# petsc_with use_flag libname libdir
+# petsc_with use_flag libname include linking_libs
+petsc_with() {
+   local myuse p=${2:-${1}}
+   if use ${1}; then
+   myuse="--with-${p}=1"
+   if [[ $# -ge 4 ]]; then
+   myuse="${myuse} --with-${p}-include=${EPREFIX}${3}"
+   shift 3
+   m

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/taskflow/

2023-06-19 Thread Matthias Maier
commit: e3c24d458854d8a57f9046acbc787b25ddaa8e9d
Author: Matthias Maier  gentoo  org>
AuthorDate: Mon Jun 19 18:35:40 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Mon Jun 19 18:37:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3c24d45

dev-cpp/taskflow: add 3.6.0

Signed-off-by: Matthias Maier  gentoo.org>

 dev-cpp/taskflow/Manifest  |  1 +
 dev-cpp/taskflow/taskflow-3.6.0.ebuild | 45 ++
 2 files changed, 46 insertions(+)

diff --git a/dev-cpp/taskflow/Manifest b/dev-cpp/taskflow/Manifest
index faea89a0e6f3..356b679b2e87 100644
--- a/dev-cpp/taskflow/Manifest
+++ b/dev-cpp/taskflow/Manifest
@@ -1,2 +1,3 @@
 DIST taskflow-3.3.0.tar.gz 64446007 BLAKE2B 
07878a03bd90af64914f1dc80850bcf5d4140f20ecfa998237039b6f37cc668e8c2b5dffafb75f4518209b3ac01f9935f5e30a020871334f131e6fe7654748bf
 SHA512 
08ab20bf38927d49c8332fc103cb7b4b6358efa06466cb8471f2004eb27b79b9eadc9971ec4acd110c8f369686b6f99bf3e21192285c3f28b9cb855bfd9ab0b5
 DIST taskflow-3.4.0.tar.gz 64152239 BLAKE2B 
cec78155bc8db3ac7fb6e61ece8c1bb4697c6655122cdcd987405ce21b1f4f30570debda8a7cccf43d089bac791cb18654e829380e244addae2875ad4fdb47c5
 SHA512 
e0e3589feec65677c4de6583a70c14f90826f2177636010955c597a3232f7842431c697eae711318f4a64fae52ac3e33e2d0739ef36bb7c57698110b6fa4740d
+DIST taskflow-3.6.0.tar.gz 66335249 BLAKE2B 
bcdc6d721e32b7c40f65ed5bd115d2c0083663e8b51c0e4460baa5f62e576382a45e8da735119b577d8a6ae7a64c72431654471a3b8335997fdf4f9191ad64af
 SHA512 
1bf17b69cdb29b982fc74b9091f5b6c8fc4fd3004b26afe7e73e71569738e492cf8663b71d98cfbc4e240c08ceb8a99bf51e95254710722f89929a4bbea8

diff --git a/dev-cpp/taskflow/taskflow-3.6.0.ebuild 
b/dev-cpp/taskflow/taskflow-3.6.0.ebuild
new file mode 100644
index ..10460bc1e66a
--- /dev/null
+++ b/dev-cpp/taskflow/taskflow-3.6.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Modern C++ Parallel Task Programming"
+HOMEPAGE="https://taskflow.github.io;
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://github.com/taskflow/${PN}.git;
+   inherit git-r3
+   S="${WORKDIR}/taskflow-${PV}"
+else
+   SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+   S="${WORKDIR}/taskflow-${PV}"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="examples test"
+RESTRICT="!test? ( test )"
+
+DEPEND="test? ( dev-cpp/doctest )"
+
+HTML_DOCS=( docs/. )
+
+PATCHES=(
+)
+
+src_prepare() {
+   cmake_src_prepare
+}
+
+src_configure() {
+   # TODO: enable CUDA via USE flag
+   local mycmakeargs=(
+   -DTF_BUILD_CUDA=OFF
+   -DTF_BUILD_EXAMPLES=$(usex examples)
+   -DTF_BUILD_TESTS=$(usex test)
+   )
+
+   cmake_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/taskflow/

2023-06-19 Thread Matthias Maier
commit: 08c890eedf7837a36bc91385f6707046ae70e7ce
Author: Matthias Maier  gentoo  org>
AuthorDate: Mon Jun 19 18:37:09 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Mon Jun 19 18:37:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08c890ee

dev-cpp/taskflow: update keyword list in live ebuild

Signed-off-by: Matthias Maier  gentoo.org>

 dev-cpp/taskflow/taskflow-.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/taskflow/taskflow-.ebuild 
b/dev-cpp/taskflow/taskflow-.ebuild
index 67272062e500..0a0560906b3d 100644
--- a/dev-cpp/taskflow/taskflow-.ebuild
+++ b/dev-cpp/taskflow/taskflow-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
S="${WORKDIR}/taskflow-${PV}"
 else
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
S="${WORKDIR}/taskflow-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/libsc/, sci-libs/libsc/files/

2023-06-19 Thread Matthias Maier
commit: ca942b500cd74be4ef39a90a282d6ba6870826a0
Author: Matthias Maier  gentoo  org>
AuthorDate: Mon Jun 19 17:33:43 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Mon Jun 19 18:26:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca942b50

sci-libs/libsc: add 2.8.5

Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/libsc/Manifest|   1 +
 .../files/libsc-2.8.5-do_not_compile_zlib-ng.patch |  57 +
 .../libsc/files/libsc-2.8.5-fix_build_system.patch |  25 
 sci-libs/libsc/files/libsc-2.8.5-set_version.patch |  49 
 .../files/libsc-2.8.5-use_zlib-ng_symbols.patch| 135 +
 sci-libs/libsc/libsc-2.8.5.ebuild  |  69 +++
 6 files changed, 336 insertions(+)

diff --git a/sci-libs/libsc/Manifest b/sci-libs/libsc/Manifest
index d14ff4ef580d..af1e9c81cb76 100644
--- a/sci-libs/libsc/Manifest
+++ b/sci-libs/libsc/Manifest
@@ -1 +1,2 @@
 DIST libsc-2.8.3.tar.gz 360755 BLAKE2B 
2d7e3a16b97de551678ebb33f362e1ef7ebb0bcbf8d00b1a5317bfbf6732cf7bb9be2d215c79395809f3c616c23da5236c4f0f436a7b8bb07171141aaf08bbb3
 SHA512 
9def8850898f2d7d7a6ffaffd0872bc18af28026407356a1fe10f2b4f6d4a32ae6febe59c91cfa8817969624f995d48f64e0d5424b475e3a4c501338f4de70de
+DIST libsc-2.8.5.tar.gz 401520 BLAKE2B 
28f74c03dc9a6238c254683585e3a6e372718bbf147f1a1bfe051d9a9079491650eca645bb695ce4c36920dda459904be6f9d41fb53163952d9076302072e181
 SHA512 
d7854a77cb574531d410c978af5768782d6201c730a3248371a822172cb99fe0b2efc8c2e4f495160924fb867ed77ab1b9ac17a1db349d8a6495228698cf970b

diff --git a/sci-libs/libsc/files/libsc-2.8.5-do_not_compile_zlib-ng.patch 
b/sci-libs/libsc/files/libsc-2.8.5-do_not_compile_zlib-ng.patch
new file mode 100644
index ..fb0ce0de7dbb
--- /dev/null
+++ b/sci-libs/libsc/files/libsc-2.8.5-do_not_compile_zlib-ng.patch
@@ -0,0 +1,57 @@
+diff --git a/cmake/zlib.cmake b/cmake/zlib.cmake
+index 5ca9f6d..86b9035 100644
+--- a/cmake/zlib.cmake
 b/cmake/zlib.cmake
+@@ -1,51 +1,8 @@
+ # build Zlib to ensure compatibility.
+ # We use Zlib 2.x for speed and robustness.
+ include(GNUInstallDirs)
+-include(ExternalProject)
+ 
+-set(ZLIB_INCLUDE_DIRS ${CMAKE_INSTALL_PREFIX}/include)
+-
+-if(BUILD_SHARED_LIBS)
+-  if(WIN32)
+-set(ZLIB_LIBRARIES 
${CMAKE_INSTALL_PREFIX}/lib/${CMAKE_SHARED_LIBRARY_PREFIX}zlib1${CMAKE_SHARED_LIBRARY_SUFFIX})
+-  else()
+-set(ZLIB_LIBRARIES 
${CMAKE_INSTALL_PREFIX}/lib/${CMAKE_SHARED_LIBRARY_PREFIX}z${CMAKE_SHARED_LIBRARY_SUFFIX})
+-  endif()
+-else()
+-  if(MSVC)
+-set(ZLIB_LIBRARIES 
${CMAKE_INSTALL_PREFIX}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}zlibstatic${CMAKE_STATIC_LIBRARY_SUFFIX})
+-  else()
+-set(ZLIB_LIBRARIES 
${CMAKE_INSTALL_PREFIX}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}z${CMAKE_STATIC_LIBRARY_SUFFIX})
+-  endif()
+-endif()
+-
+-set(zlib_cmake_args
+--DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_INSTALL_PREFIX}
+--DBUILD_SHARED_LIBS:BOOL=${BUILD_SHARED_LIBS}
+--DCMAKE_BUILD_TYPE=Release
+--DZLIB_COMPAT:BOOL=on
+--DZLIB_ENABLE_TESTS:BOOL=off
+--DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=ON
+--DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}
+-)
+-
+-ExternalProject_Add(ZLIB
+-GIT_REPOSITORY https://github.com/zlib-ng/zlib-ng.git
+-GIT_TAG 2.0.6
+-GIT_SHALLOW true
+-CMAKE_ARGS ${zlib_cmake_args}
+-BUILD_BYPRODUCTS ${ZLIB_LIBRARIES}
+-TLS_VERIFY true
+-CONFIGURE_HANDLED_BY_BUILD ON
+-INACTIVITY_TIMEOUT 60
+-)
+-
+-# --- imported target
+-
+-file(MAKE_DIRECTORY ${ZLIB_INCLUDE_DIRS})
+-# avoid race condition
++find_library(ZLIB_LIBRARIES NAMES z-ng)
+ 
+ add_library(ZLIB::ZLIB INTERFACE IMPORTED GLOBAL)
+-add_dependencies(ZLIB::ZLIB ZLIB)  # to avoid include directory race condition
+ target_link_libraries(ZLIB::ZLIB INTERFACE ${ZLIB_LIBRARIES})
+-target_include_directories(ZLIB::ZLIB INTERFACE ${ZLIB_INCLUDE_DIRS})

diff --git a/sci-libs/libsc/files/libsc-2.8.5-fix_build_system.patch 
b/sci-libs/libsc/files/libsc-2.8.5-fix_build_system.patch
new file mode 100644
index ..6adfbf31c997
--- /dev/null
+++ b/sci-libs/libsc/files/libsc-2.8.5-fix_build_system.patch
@@ -0,0 +1,25 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 87af1b1..82cb357 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -8,6 +8,8 @@ HOMEPAGE_URL https://www.p4est.org/
+ DESCRIPTION "The SC library supports parallel scientific applications."
+ VERSION ${PROJECT_VERSION})
+ 
++set(CMAKE_POSITION_INDEPENDENT_CODE ON)
++
+ enable_testing()
+ 
+ include(cmake/options.cmake)
+@@ -57,7 +59,10 @@ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
+ FILES_MATCHING PATTERN "*.h"
+ )
+ 
+-install(TARGETS sc EXPORT ${PROJECT_NAME}-targets)
++install(TARGETS sc EXPORT ${PROJECT_NAME}-targets
++ARCHIVE DESTINATION ${library_reldir}
++LIBRARY DESTINATION ${library_reldir}
++)
+ 
+ add_subdirectory(src)
+ add_subdirectory(example)

diff --git a/sci-libs/libsc/files/libsc-2.8.5-set_version.patch 
b/sci-libs/libsc/files/libsc-2.8.5-set_version.patch
new file mode 100644
ind

[gentoo-commits] repo/gentoo:master commit in: sci-libs/p4est/

2023-06-19 Thread Matthias Maier
commit: f57c3bc231081fee7861d6f330e2c7ee58616bd8
Author: Matthias Maier  gentoo  org>
AuthorDate: Mon Jun 19 18:14:34 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Mon Jun 19 18:26:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f57c3bc2

sci-libs/p4est: fix dependency on libsc

Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/p4est/p4est-2.8.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/p4est/p4est-2.8.5.ebuild 
b/sci-libs/p4est/p4est-2.8.5.ebuild
index 0663c7d292ba..89afa3c98840 100644
--- a/sci-libs/p4est/p4est-2.8.5.ebuild
+++ b/sci-libs/p4est/p4est-2.8.5.ebuild
@@ -8,7 +8,7 @@ inherit cmake toolchain-funcs
 DESCRIPTION="Scalable Algorithms for Parallel Adaptive Mesh Refinement on 
Forests of Octrees"
 HOMEPAGE="http://www.p4est.org/;
 
-LIBSC_VERSION="2.8.3"
+LIBSC_VERSION="${PV}"
 
 if [[ ${PV} = ** ]]; then
inherit git-r3



[gentoo-commits] repo/gentoo:master commit in: sci-libs/libsc/

2023-06-19 Thread Matthias Maier
commit: 2d9bc6d5e9e0bfc614f40ac791816c200d949848
Author: Matthias Maier  gentoo  org>
AuthorDate: Mon Jun 19 18:12:39 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Mon Jun 19 18:26:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d9bc6d5

sci-libs/libsc: drop 

Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/libsc/libsc-.ebuild | 65 
 1 file changed, 65 deletions(-)

diff --git a/sci-libs/libsc/libsc-.ebuild b/sci-libs/libsc/libsc-.ebuild
deleted file mode 100644
index 8d6bdbb8314c..
--- a/sci-libs/libsc/libsc-.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake toolchain-funcs
-
-DESCRIPTION="Support for parallel scientific applications"
-HOMEPAGE="http://www.p4est.org/;
-
-if [[ ${PV} == * ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/cburstedde/${PN}.git;
-   EGIT_BRANCH="develop"
-else
-   SRC_URI="https://github.com/cburstedde/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="LGPL-2.1+"
-SLOT="0"
-IUSE="debug examples mpi openmp threads"
-
-RDEPEND="
-   sys-apps/util-linux
-   sys-libs/zlib
-   virtual/blas
-   virtual/lapack
-   mpi? ( virtual/mpi[romio] )"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-2.8.3-fix_build_system.patch
-   "${FILESDIR}"/${P}-set_version.patch
-)
-
-pkg_pretend() {
-   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-pkg_setup() {
-   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -Dmpi="$(usex mpi)"
-   -Dopenmp="$(usex openmp)"
-   -Dlibrary_reldir="$(get_libdir)"
-   )
-
-   cmake_src_configure
-}
-
-src_install() {
-   cmake_src_install
-
-   rm -r "${ED}"/usr/include/getopt.h \
-   "${ED}"/usr/include/getopt_int.h \
-   "${ED}"/usr/include/sc_builtin || die "rm failed"
-
-   mv "${ED}"/usr/share/docs/SC/* "${ED}"/usr/share/doc/${P}/ || die "mv 
failed"
-   rm -r "${ED}"/usr/share/docs || die "rm failed"
-}



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cgal/

2023-06-19 Thread Matthias Maier
commit: 40a535162ec3b07a9db49dec148bef7026a67875
Author: Matthias Maier  gentoo  org>
AuthorDate: Mon Jun 19 17:00:35 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Mon Jun 19 18:26:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40a53516

sci-mathematics/cgal: add 5.5.2

Signed-off-by: Matthias Maier  gentoo.org>

 sci-mathematics/cgal/Manifest  |  2 ++
 sci-mathematics/cgal/cgal-5.5.2.ebuild | 60 ++
 2 files changed, 62 insertions(+)

diff --git a/sci-mathematics/cgal/Manifest b/sci-mathematics/cgal/Manifest
index 266d17d8ebf4..f5968708d127 100644
--- a/sci-mathematics/cgal/Manifest
+++ b/sci-mathematics/cgal/Manifest
@@ -1,2 +1,4 @@
 DIST CGAL-5.5-doc_html.tar.xz 53145672 BLAKE2B 
7a575f09eed2fd97f3e68f37428d4ab41c267a6e4c158e653a8c2b5a17f2c56a31b64937fa161d3f256b473a1e617acbce2f3bfb71c2e810b8b0335b57a8b54c
 SHA512 
41e16b44b93664ddd5185358165cce99f149fa33bdb308ce7230550ee79e3603c24df5b8d4f67de324ebf7e8a8c1e343e6d76341464cedd9d9af50f5d512af3b
+DIST CGAL-5.5.2-doc_html.tar.xz 53155520 BLAKE2B 
349f4dd2a5821412a614c6aa6c20bc3da24f23341b286d0d4eff0546a5decb9e4d13a8b53cd41a4431a710e2dfa54594997d4075bed548538b5590b1d375a363
 SHA512 
7b98462e32d29553bdc11e435ba086c81a9cf7506b9ad8d118de8cb8d689d3647c7956164e81b8b02768990f7cc0661e6cdc1eea0ac01d55a87b95e4c9248791
+DIST CGAL-5.5.2.tar.xz 24159628 BLAKE2B 
23417651deba4fa1587ee3082483672f7f8864621ceb8ef273d2ab0490bb7fe0dc96358393d39d33b14c50c5bde4d2138b8982fa3907a049151d12e7cbc3c4f8
 SHA512 
2842b027f68d98be5b747bbf1c5fa9310b82247520f1dc90b7612311a77aad83f519805a366317c4d50ca440dc604be6b7ca88160add1ce2b8006f0e561363eb
 DIST CGAL-5.5.tar.xz 24156768 BLAKE2B 
e5f02cd082abfa8443e65430ed366cfdc3736c6a7af37284969ddd558ede1aa6c881d6928c65708504fd58f68ea01f56aa0749267d6dc83fd54f0b28e8c01374
 SHA512 
7fa6bf6c046727a9e0bce7cbde34cbe85979127a1ad0904f2865be83a80e89fa9af5118e5647572414f8096d29ecc808ee471d4bd3e7ecd41338be649b549290

diff --git a/sci-mathematics/cgal/cgal-5.5.2.ebuild 
b/sci-mathematics/cgal/cgal-5.5.2.ebuild
new file mode 100644
index ..d1309dbac6e5
--- /dev/null
+++ b/sci-mathematics/cgal/cgal-5.5.2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Modules provided by dev-cpp/eigen
+CMAKE_REMOVE_MODULES_LIST=( FindEigen3 )
+inherit cmake
+
+MY_P=CGAL-${PV}
+DESCRIPTION="C++ library for geometric algorithms and data structures"
+HOMEPAGE="https://www.cgal.org/;
+SRC_URI="
+   https://github.com/CGAL/cgal/releases/download/v${PV}/${MY_P}.tar.xz
+   doc? ( 
https://github.com/CGAL/cgal/releases/download/v${PV}/${MY_P}-doc_html.tar.xz )"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="LGPL-3 GPL-3 Boost-1.0"
+SLOT="0/14"
+KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples"
+
+RDEPEND="
+   dev-cpp/eigen
+   dev-libs/boost:=
+   dev-libs/gmp:=[cxx]
+   dev-libs/mpfr:=
+   sys-libs/zlib
+   x11-libs/libX11:=
+   virtual/glu:=
+   virtual/opengl:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   app-arch/xz-utils
+   virtual/pkgconfig
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.11.1-fix-buildsystem.patch
+)
+
+src_configure() {
+   local mycmakeargs=(
+   -DCGAL_INSTALL_LIB_DIR="$(get_libdir)"
+   -DCGAL_INSTALL_CMAKE_DIR="$(get_libdir)/cmake/CGAL"
+   )
+
+   cmake_src_configure
+}
+
+src_install() {
+   use doc && local HTML_DOCS=( "${WORKDIR}"/doc_html/. )
+
+   cmake_src_install
+
+   if use examples; then
+   dodoc -r examples demo
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/p4est/

2023-06-19 Thread Matthias Maier
commit: 6a50020bc6833ba5dd8a6663dc84a461b104cd43
Author: Matthias Maier  gentoo  org>
AuthorDate: Mon Jun 19 18:12:54 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Mon Jun 19 18:26:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a50020b

sci-libs/p4est: drop 

Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/p4est/p4est-.ebuild | 67 
 1 file changed, 67 deletions(-)

diff --git a/sci-libs/p4est/p4est-.ebuild b/sci-libs/p4est/p4est-.ebuild
deleted file mode 100644
index 41605b7be0f7..
--- a/sci-libs/p4est/p4est-.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake toolchain-funcs
-
-DESCRIPTION="Scalable Algorithms for Parallel Adaptive Mesh Refinement on 
Forests of Octrees"
-HOMEPAGE="http://www.p4est.org/;
-
-LIBSC_VERSION="2.8.3"
-
-if [[ ${PV} = ** ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/cburstedde/${PN}.git;
-   EGIT_BRANCH="develop"
-   SRC_URI=""
-else
-   SRC_URI="https://github.com/cburstedde/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="GPL-2+"
-SLOT="0"
-
-# TODO petsc
-IUSE="debug doc examples mpi openmp threads +vtk-binary"
-
-RDEPEND="
-   ~sci-libs/libsc-${LIBSC_VERSION}[mpi=,openmp=,threads=]
-   sys-apps/util-linux
-   virtual/blas
-   virtual/lapack
-   mpi? ( virtual/mpi[romio] )"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-2.8-fix_build_system.patch
-   "${FILESDIR}"/${P}-set_version.patch
-)
-
-pkg_pretend() {
-   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-pkg_setup() {
-   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -Dmpi="$(usex mpi)"
-   -Dopenmp="$(usex openmp)"
-   -Dlibrary_reldir="$(get_libdir)"
-   )
-
-   cmake_src_configure
-}
-
-src_install() {
-   cmake_src_install
-
-   rm "${ED}"/usr/lib/cmake/Modules/FindSC.cmake || die "rm failed"
-   mv "${ED}"/usr/share/docs/P4EST/* "${ED}"/usr/share/doc/${P}/ || die 
"mv failed"
-   rm -r "${ED}"/usr/share/docs || die "rm failed"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/

2023-06-19 Thread Matthias Maier
commit: 59a319267dc55c49e8789d935f55a8b4fd94f4af
Author: Matthias Maier  gentoo  org>
AuthorDate: Mon Jun 19 17:08:09 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Mon Jun 19 18:26:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59a31926

dev-cpp/kokkos: add 4.0.1

Signed-off-by: Matthias Maier  gentoo.org>

 dev-cpp/kokkos/Manifest|  1 +
 dev-cpp/kokkos/kokkos-4.0.1.ebuild | 56 ++
 2 files changed, 57 insertions(+)

diff --git a/dev-cpp/kokkos/Manifest b/dev-cpp/kokkos/Manifest
index aead5200cb02..5a04b2ab21bf 100644
--- a/dev-cpp/kokkos/Manifest
+++ b/dev-cpp/kokkos/Manifest
@@ -1 +1,2 @@
 DIST kokkos-3.7.1.tar.gz 2305103 BLAKE2B 
c94493077190c1e5d2681d0e138012fcd82f91a1f7616ea7373f3c12f577a195937d507dd2d64f82902fa6760f63da8b3e2c1ef31a7114b9da21841280e22e33
 SHA512 
97cb7e05aec145ba9adae30b20ae3138a532db3a56cdd5e092d8f9c1e1788efe7a6f721282e2a5c5bf9c0da4c53d28f30b27fcb546b68aa8eaa589a362eb40c1
+DIST kokkos-4.0.1.tar.gz 2322402 BLAKE2B 
a4aba2f7ffe7b7c93051ad65d398f442b753975eceb3f83ed1bff0b8c468e4ffdcb6437989e740c65fc550f17ef8ddf78ca50ca881d3953f886309dc7d6fc597
 SHA512 
cf6742f4be777b52673858b49cf68fdf335e760509688483e62ef41af5026070f69dcf39d010134c85dc6c4868f82a38900872be11ed43190432c8530b90deee

diff --git a/dev-cpp/kokkos/kokkos-4.0.1.ebuild 
b/dev-cpp/kokkos/kokkos-4.0.1.ebuild
new file mode 100644
index ..4ec60171c232
--- /dev/null
+++ b/dev-cpp/kokkos/kokkos-4.0.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake toolchain-funcs
+
+DESCRIPTION="C++ Performance Portability Programming EcoSystem"
+HOMEPAGE="https://github.com/kokkos;
+MY_PV="$(ver_cut 1-2).0$(ver_cut 3)"
+SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 -x86"
+IUSE="+openmp test"
+RESTRICT="!test? ( test )"
+
+DEPEND="sys-apps/hwloc:="
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+pkg_pretend() {
+   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DCMAKE_INSTALL_INCLUDEDIR=include/kokkos
+   -DKokkos_ENABLE_TESTS=$(usex test)
+   -DKokkos_ENABLE_AGGRESSIVE_VECTORIZATION=ON
+   -DKokkos_ENABLE_SERIAL=ON
+   -DKokkos_ENABLE_HWLOC=ON
+   -DKokkos_HWLOC_DIR="${EPREFIX}/usr"
+   -DKokkos_ENABLE_OPENMP=$(usex openmp)
+   -DBUILD_SHARED_LIBS=ON
+   )
+
+   cmake_src_configure
+}
+
+src_test() {
+   local myctestargs=(
+   # Contains "death tests" which are known/expected(?) to fail
+   # https://github.com/kokkos/kokkos/issues/3033
+   # bug #791514
+   -E "(KokkosCore_UnitTest_OpenMP|KokkosCore_UnitTest_Serial)"
+   )
+
+   cmake_src_test
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/

2023-06-19 Thread Matthias Maier
commit: 40849d1e87ab7f12c9fb9c6e075b4fcec1a6431c
Author: Matthias Maier  gentoo  org>
AuthorDate: Mon Jun 19 17:07:03 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Mon Jun 19 18:26:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40849d1e

dev-cpp/kokkos: update maintainers

Signed-off-by: Matthias Maier  gentoo.org>

 dev-cpp/kokkos/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/dev-cpp/kokkos/metadata.xml b/dev-cpp/kokkos/metadata.xml
index a5d2799906b4..5a851f194061 100644
--- a/dev-cpp/kokkos/metadata.xml
+++ b/dev-cpp/kokkos/metadata.xml
@@ -5,6 +5,10 @@
tam...@gentoo.org
    Matthias Maier

+   
+   s...@gentoo.org
+   Gentoo Science Project
+   

kokkos/kokkos




[gentoo-commits] repo/gentoo:master commit in: sci-libs/p4est/files/, sci-libs/p4est/

2023-06-19 Thread Matthias Maier
commit: bf7994ec88eedaae653bef2b16f670506741ac83
Author: Matthias Maier  gentoo  org>
AuthorDate: Mon Jun 19 17:25:24 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Mon Jun 19 18:26:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf7994ec

sci-libs/p4est: add 2.8.5

Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/p4est/Manifest|  1 +
 .../p4est/files/p4est-2.8.5-fix_build_system.patch | 24 
 sci-libs/p4est/files/p4est-2.8.5-set_version.patch | 49 
 sci-libs/p4est/p4est-2.8.5.ebuild  | 68 ++
 4 files changed, 142 insertions(+)

diff --git a/sci-libs/p4est/Manifest b/sci-libs/p4est/Manifest
index 2a5552e304f3..0af4a2590156 100644
--- a/sci-libs/p4est/Manifest
+++ b/sci-libs/p4est/Manifest
@@ -1 +1,2 @@
+DIST p4est-2.8.5.tar.gz 2721258 BLAKE2B 
07fd70f5b7ce0d2dcdc0d913cd9ae7920272a0e459c7db7f9d180b592570a5232c7d2bd03547eecdcdc6fdc83adcce30c71eb9c44ab6e6b9b9a314707471
 SHA512 
22b5a9bbfb51e972f4b93a90f5fa0f9557770ccbe357044b5bb97b31d02783affef188cde38c86bb4ece31ba23ce47e4eb95a6e7c5f02d11549cf986e85f68a0
 DIST p4est-2.8.tar.gz 2655761 BLAKE2B 
0637045bca3525d5d737010865c06d1273c6ecf848ab5ca55d1f19156550b7d7676c4f8d7c7a71b1fc70381dc7912cdca1e5405bb0af948180f75da1a3b1f343
 SHA512 
599faad177ce21f917e4ddfd969d6ef8c1f08b1e701cbdb9d4a1aa6dfd927176468afe757d018b9b7ded6a9ce165cd6fe78e0688b22cf6b9975cbd85d6f45d3c

diff --git a/sci-libs/p4est/files/p4est-2.8.5-fix_build_system.patch 
b/sci-libs/p4est/files/p4est-2.8.5-fix_build_system.patch
new file mode 100644
index ..0063acf9c5c1
--- /dev/null
+++ b/sci-libs/p4est/files/p4est-2.8.5-fix_build_system.patch
@@ -0,0 +1,24 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 78c02bf..d1b2094 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -8,6 +8,8 @@ HOMEPAGE_URL https://www.p4est.org/
+ DESCRIPTION "p4est manages a collection---a forest---of octrees in parallel."
+ VERSION ${PROJECT_VERSION})
+ 
++set(CMAKE_POSITION_INDEPENDENT_CODE ON)
++
+ include(CTest)
+ 
+ list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake/Modules)
+@@ -68,8 +70,8 @@ install(DIRECTORY ${PROJECT_SOURCE_DIR}/src/ 
${PROJECT_BINARY_DIR}/include/
+ 
+ install(TARGETS p4est
+ EXPORT ${PROJECT_NAME}-targets
+-ARCHIVE DESTINATION lib
+-LIBRARY DESTINATION lib
++ARCHIVE DESTINATION ${library_reldir}
++LIBRARY DESTINATION ${library_reldir}
+ RUNTIME DESTINATION bin
+ )
+ 

diff --git a/sci-libs/p4est/files/p4est-2.8.5-set_version.patch 
b/sci-libs/p4est/files/p4est-2.8.5-set_version.patch
new file mode 100644
index ..061081a0da9e
--- /dev/null
+++ b/sci-libs/p4est/files/p4est-2.8.5-set_version.patch
@@ -0,0 +1,49 @@
+diff --git a/cmake/git.cmake b/cmake/git.cmake
+index f88e984..f04f52b 100644
+--- a/cmake/git.cmake
 b/cmake/git.cmake
+@@ -1,39 +1,5 @@
+-# --- extract version from Git
+-
+-set(PROJECT_MAJOR 0)
+-set(PROJECT_MINOR 0)
+-set(PROJECT_PATCH 0)
+-set(PROJECT_VERSION 0.0.0)
+-find_program(GIT_VERSION_GEN NAMES git-version-gen
+- PATHS ${CMAKE_SOURCE_DIR}/build-aux NO_DEFAULT_PATH)
+-if(GIT_VERSION_GEN)
+-  execute_process(COMMAND ${GIT_VERSION_GEN} .tarball-version
+-WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
+-RESULT_VARIABLE _err
+-OUTPUT_VARIABLE git_version
+-OUTPUT_STRIP_TRAILING_WHITESPACE)
+-endif()
+-if(_err EQUAL 0)
+-  if(git_version MATCHES
+- "^(0|[1-9][0-9]*)[.](0|[1-9][0-9]*)[.](0|[1-9][0-9]*)[.].*")
+-set(PROJECT_MAJOR "${CMAKE_MATCH_1}")
+-set(PROJECT_MINOR "${CMAKE_MATCH_2}")
+-set(PROJECT_PATCH "${CMAKE_MATCH_3}")
+-set(PROJECT_VERSION 
${PROJECT_MAJOR}.${PROJECT_MINOR}.${PROJECT_PATCH}.999)
+-  elseif(git_version MATCHES
+- "^(0|[1-9][0-9]*)[.](0|[1-9][0-9]*)[.](0|[1-9][0-9]*)")
+-set(PROJECT_MAJOR "${CMAKE_MATCH_1}")
+-set(PROJECT_MINOR "${CMAKE_MATCH_2}")
+-set(PROJECT_PATCH "${CMAKE_MATCH_3}")
+-set(PROJECT_VERSION ${PROJECT_MAJOR}.${PROJECT_MINOR}.${PROJECT_PATCH})
+-  elseif(git_version MATCHES
+- "^(0|[1-9][0-9]*)[.](0|[1-9][0-9]*)")
+-set(PROJECT_MAJOR "${CMAKE_MATCH_1}")
+-set(PROJECT_MINOR "${CMAKE_MATCH_2}")
+-set(PROJECT_VERSION ${PROJECT_MAJOR}.${PROJECT_MINOR})
+-  elseif(git_version MATCHES
+- "^(0|[1-9][0-9]*)")
+-set(PROJECT_MAJOR "${CMAKE_MATCH_1}")
+-set(PROJECT_VERSION ${PROJECT_MAJOR})
+-  endif()
+-endif()
++set(git_version 2.8.5)
++set(PROJECT_MAJOR 2)
++set(PROJECT_MINOR 8)
++set(PROJECT_PATCH 5)
++set(PROJECT_VERSION 2.8.5)

diff --git a/sci-libs/p4est/p4est-2.8.5.ebuild 
b/sci-libs/p4est/p4est-2.8.5.ebuild
new file mode 100644
index ..0663c7d292ba
--- /dev/null
+++ b/sci-libs/p4est/p4est-2.8.5.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2023 Gentoo Autho

[gentoo-commits] repo/gentoo:master commit in: sci-libs/ginkgo/

2023-06-19 Thread Matthias Maier
commit: fe24aa961fb7bc82373b4609fec7ccacc0c4145a
Author: Matthias Maier  gentoo  org>
AuthorDate: Mon Jun 19 17:05:08 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Mon Jun 19 18:26:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe24aa96

sci-libs/ginkgo: add 1.6.0

Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/ginkgo/Manifest|  1 +
 sci-libs/ginkgo/ginkgo-1.6.0.ebuild | 57 +
 2 files changed, 58 insertions(+)

diff --git a/sci-libs/ginkgo/Manifest b/sci-libs/ginkgo/Manifest
index 4a45be486a9b..85fa14f2e7ef 100644
--- a/sci-libs/ginkgo/Manifest
+++ b/sci-libs/ginkgo/Manifest
@@ -1 +1,2 @@
 DIST ginkgo-1.4.0.tar.gz 2574052 BLAKE2B 
99677d9d75831991cac40312095d32c44bef18cd05b120d80fdb9e64ea6dc15796c09b26f35dc8230db6b55c7be4dd76efd6d1cd8ca13c83e1f3087550db0dca
 SHA512 
9bfcb2c415c7a1a70cf8e49f20adf62d02cab83bb23b6fcecfeaeeb322b2d4e1ad8d8fa6582735073753f9a05eac8688b9bd1ff1d4203957c1a80702d117e807
+DIST ginkgo-1.6.0.tar.gz 12788830 BLAKE2B 
c452e20eddb3673b5863106d8a8d42aab253cb5a17cf0445194903ebadcffe53ef0df6b5f26e2602e137faaa4a230b192f3453b4bd440907385fc09d004a
 SHA512 
507a17bc9ad010c235c4ae49ac4bef3f4d5b65b4ea02bfa5cad5ea578fa65d28f564d1faf0a1f5618a6e72d744217f58bdff68c5f1fffc9cfb484800f7f84c50

diff --git a/sci-libs/ginkgo/ginkgo-1.6.0.ebuild 
b/sci-libs/ginkgo/ginkgo-1.6.0.ebuild
new file mode 100644
index ..00081e5e00a7
--- /dev/null
+++ b/sci-libs/ginkgo/ginkgo-1.6.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake toolchain-funcs
+
+DESCRIPTION="Numerical linear algebra software package"
+HOMEPAGE="https://ginkgo-project.github.io/;
+
+if [[ ${PV} = ** ]]; then
+   EGIT_REPO_URI="https://github.com/ginkgo-project/ginkgo;
+   inherit git-r3
+else
+   SRC_URI="https://github.com/${PN}-project/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="BSD-with-attribution"
+SLOT="0"
+IUSE="cuda hwloc +openmp"
+
+RDEPEND="
+   cuda? ( dev-util/nvidia-cuda-toolkit )
+   hwloc? ( sys-apps/hwloc:= )
+"
+DEPEND="${RDEPEND}"
+
+pkg_pretend() {
+   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+src_prepare() {
+   sed -i \
+   -e "s#\"lib\"#\"$(get_libdir)\"#g" \
+   -e "s#\"lib/#\"$(get_libdir)/#g" \
+   cmake/install_helpers.cmake || die "sed failed"
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DGINKGO_DEVEL_TOOLS=OFF
+   -DGINKGO_BUILD_TESTS=OFF
+   -DGINKGO_BUILD_BENCHMARKS=OFF
+   -DGINKGO_BUILD_REFERENCE=ON
+   -DGINKGO_BUILD_CUDA=$(usex cuda)
+   -DGINKGO_BUILD_HWLOC=$(usex hwloc)
+   -DGINKGO_BUILD_OMP=$(usex openmp)
+   )
+   cmake_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/trilinos/files/, sci-libs/trilinos/

2023-06-18 Thread Matthias Maier
commit: 350a29229a4f46312a027e90b35f0a023432ad30
Author: Matthias Maier  gentoo  org>
AuthorDate: Sun Jun 18 06:14:36 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sun Jun 18 06:15:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=350a2922

sci-libs/trilinos: fix compilation with gcc 13

Closes: https://bugs.gentoo.org/900677
Signed-off-by: Matthias Maier  gentoo.org>

 .../trilinos-14.0.0-missing_includes_gcc_13.patch  | 24 ++
 sci-libs/trilinos/trilinos-14.0.0.ebuild   |  1 +
 2 files changed, 25 insertions(+)

diff --git 
a/sci-libs/trilinos/files/trilinos-14.0.0-missing_includes_gcc_13.patch 
b/sci-libs/trilinos/files/trilinos-14.0.0-missing_includes_gcc_13.patch
new file mode 100644
index ..ee9836d84249
--- /dev/null
+++ b/sci-libs/trilinos/files/trilinos-14.0.0-missing_includes_gcc_13.patch
@@ -0,0 +1,24 @@
+diff --git a/packages/teuchos/core/src/Teuchos_BigUIntDecl.hpp 
b/packages/teuchos/core/src/Teuchos_BigUIntDecl.hpp
+index e82e8be9..b41b0d03 100644
+--- a/packages/teuchos/core/src/Teuchos_BigUIntDecl.hpp
 b/packages/teuchos/core/src/Teuchos_BigUIntDecl.hpp
+@@ -43,6 +43,7 @@
+ #define TEUCHOS_BIG_UINT_DECL_HPP
+ 
+ #include 
++#include 
+ 
+ /*! \file Teuchos_BigUIntDecl.hpp
+ \brief Arbitrary-precision unsigned integer declaration.
+diff --git a/packages/teuchos/core/src/Teuchos_PrintDouble.hpp 
b/packages/teuchos/core/src/Teuchos_PrintDouble.hpp
+index cf2fe0f3..7c95b1b5 100644
+--- a/packages/teuchos/core/src/Teuchos_PrintDouble.hpp
 b/packages/teuchos/core/src/Teuchos_PrintDouble.hpp
+@@ -43,6 +43,7 @@
+ #define TEUCHOS_PRINT_DOUBLE_HPP
+ 
+ #include 
++#include 
+ 
+ /*! \file Teuchos_PrintDouble.hpp
+ \brief Declares Teuchos::print_double

diff --git a/sci-libs/trilinos/trilinos-14.0.0.ebuild 
b/sci-libs/trilinos/trilinos-14.0.0.ebuild
index 4ba10c76e0d2..9c6599250eda 100644
--- a/sci-libs/trilinos/trilinos-14.0.0.ebuild
+++ b/sci-libs/trilinos/trilinos-14.0.0.ebuild
@@ -65,6 +65,7 @@ DEPEND="${RDEPEND}
 S="${WORKDIR}/Trilinos-${PN}-release-${MY_PV}"
 
 PATCHES=(
+   "${FILESDIR}"/${P}-missing_includes_gcc_13.patch
 )
 
 pkg_pretend() {



[gentoo-commits] repo/gentoo:master commit in: sys-firmware/ipxe/

2023-06-17 Thread Matthias Maier
commit: 1112a96564118f3449b46e3d02e47e33663b7587
Author: Matthias Maier  gentoo  org>
AuthorDate: Sun Jun 18 03:31:14 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sun Jun 18 03:46:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1112a965

sys-firmware/ipxe: add 1.21.1_p20230601

 - update to a git snapshot from early 2023-06-01

 - add efi32 and efi64 use flags for compiling/installing 32bit and
   64bit variants of the ipxe.efi binary

Bug: https://bugs.gentoo.org/882393
Bug: https://bugs.gentoo.org/27
Signed-off-by: Matthias Maier  gentoo.org>

 sys-firmware/ipxe/Manifest |   2 +
 sys-firmware/ipxe/ipxe-1.21.1_p20230601.ebuild | 127 +
 sys-firmware/ipxe/metadata.xml |   3 +-
 3 files changed, 131 insertions(+), 1 deletion(-)

diff --git a/sys-firmware/ipxe/Manifest b/sys-firmware/ipxe/Manifest
index 9d8bdecfe24a..03e4b585e3cd 100644
--- a/sys-firmware/ipxe/Manifest
+++ b/sys-firmware/ipxe/Manifest
@@ -1,2 +1,4 @@
 DIST ipxe-1.21.1-bin.tar.xz 1860424 BLAKE2B 
9d621c92be1058389758f885a02b601169d645335bba366a18d16326a7616345e44eb0cd5007d32ac034e7e3c8f8eecd90ade3346e34ca0df899622321f38017
 SHA512 
85afacfb70e562a935380b7d14ab7328e418478a6f6124eaec7cd0fefb9ba13b8a3f04833fab7b724ceb4c94897a7be2c67faa8be59373719a972ad51e6a5ab3
 DIST ipxe-1.21.1.tar.gz 3934045 BLAKE2B 
03871b5f89c6228a9082bb89c7b102d85e5f3afcd5fe0d93762e220fe162c9c3037a9918f30251fd103835d949335f99109a12559f560a5b686e65a7c24c6501
 SHA512 
47400975110ed4ab95835aa1b7c8d5a6917c19c5713c6ab88bc0741a3adcd62245a9c4251d1f46fffc45289c6b18bf893f86dbc3b67d3189c41b7f198367ecaa
+DIST ipxe-1.21.1_p20230601-bin.tar.xz 2248076 BLAKE2B 
aac91488a4df65548b857980283fc66b3d6d245e400a8dc1115be1708439d09aafb9d6fe93366feafa889035bdfb13edd15be34bf47aa52b75f14f75a1956618
 SHA512 
2dbcc5b6bf764f9fecf0fd18e304d4ac21ae081a590ceda710a2984e2cd500cff3f26f36d4abb15f806ee64f11ee1b1eb299e6e184f54d85ce74843918a4f02a
+DIST ipxe-1.21.1_p20230601.gh.tar.gz 4137586 BLAKE2B 
51d8e0f5c95e77707d934a0d8c16104c0d7c500ca33f408c2d94b77244d4b198e7a4b40ee091eb059a55bc0f780572bee8d3556de28f9fdae498206c24139276
 SHA512 
3fbb803bd679adbeb805c7d3a8ac952e14ff41fdbb7b0c30d8ccb196e39da346faf4c3e2588466bc82400b9f113f08aa8a8056d4ed2393d1aa0fee0d22b67111

diff --git a/sys-firmware/ipxe/ipxe-1.21.1_p20230601.ebuild 
b/sys-firmware/ipxe/ipxe-1.21.1_p20230601.ebuild
new file mode 100644
index ..8123927dca19
--- /dev/null
+++ b/sys-firmware/ipxe/ipxe-1.21.1_p20230601.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit savedconfig toolchain-funcs
+
+# for 1.21.1_p20230601
+COMMIT_SHA1="4fa4052c7ebb59e4d4aa396f1563c89118623ec7"
+
+DESCRIPTION="Open source network boot (PXE) firmware"
+HOMEPAGE="https://ipxe.org/;
+SRC_URI="
+   !binary? ( https://github.com/${PN}/${PN}/archive/${COMMIT_SHA1}.tar.gz 
-> ${P}.gh.tar.gz )
+   binary? ( https://dev.gentoo.org/~tamiko/distfiles/${P}-bin.tar.xz )"
+S="${WORKDIR}/${PN}-${COMMIT_SHA1}/src"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
x86"
+IUSE="+binary efi efi64 ipv6 iso lkrn +qemu undi usb vmware"
+REQUIRED_USE="!amd64? ( !x86? ( binary ) )"
+
+SOURCE_DEPEND="
+   app-arch/xz-utils
+   dev-lang/perl
+   iso? (
+   app-cdr/cdrtools
+   sys-boot/syslinux
+   )"
+BDEPEND="
+   !binary? (
+   amd64? ( ${SOURCE_DEPEND} )
+   x86? ( ${SOURCE_DEPEND} )
+   )"
+
+src_configure() {
+   use binary && return
+
+   cat > config/local/general.h <<-EOF || die
+   #undef BANNER_TIMEOUT
+   #define BANNER_TIMEOUT 0
+   EOF
+
+   if use ipv6; then
+   cat >> config/local/general.h <<-EOF || die
+   #define NET_PROTO_IPV6
+   EOF
+   fi
+
+   if use vmware; then
+   cat >> config/local/general.h <<-EOF || die
+   #define VMWARE_SETTINGS
+   #define CONSOLE_VMWARE
+   EOF
+   fi
+
+   restore_config config/local/general.h
+
+   tc-ld-disable-gold
+}
+
+ipxemake() {
+   # Q='' makes the build verbose since that's what everyone loves now
+   emake Q='' \
+   CC="$(tc-getCC)" \
+   LD="$(tc-getLD)" \
+   AS="$(tc-getAS)" \
+   AR="$(tc-getAR)" \
+   NM="$(tc-getNM)" \
+   OBJCOPY="$(tc-getOBJCOPY)" \
+   RANLIB="$(tc-getRANLIB)" \
+   OBJDUMP="$(tc-getOBJDUMP)" \
+   HOST_CC="$(tc-getBUIL

[gentoo-commits] repo/gentoo:master commit in: media-libs/virglrenderer/

2023-06-17 Thread Matthias Maier
commit: 91375c988a6264836a9782d0eb0c2c43ec12b9d8
Author: Matthias Maier  gentoo  org>
AuthorDate: Sun Jun 18 02:29:05 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sun Jun 18 03:00:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91375c98

media-libs/virglrenderer: add freedesktop-gitlab upstream metadata

Signed-off-by: Matthias Maier  gentoo.org>

 media-libs/virglrenderer/metadata.xml | 19 +++
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git a/media-libs/virglrenderer/metadata.xml 
b/media-libs/virglrenderer/metadata.xml
index 91cf03682da3..9f949b7f80f7 100644
--- a/media-libs/virglrenderer/metadata.xml
+++ b/media-libs/virglrenderer/metadata.xml
@@ -1,12 +1,15 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-
-   tam...@gentoo.org
-       Matthias Maier
-
-
-   virtualizat...@gentoo.org
-   Gentoo Virtualization Project
-
+   
+   tam...@gentoo.org
+       Matthias Maier
+   
+   
+   virtualizat...@gentoo.org
+   Gentoo Virtualization Project
+   
+   
+   virgl/virglrenderer
+   
 



[gentoo-commits] repo/gentoo:master commit in: sys-firmware/ipxe/

2023-06-17 Thread Matthias Maier
commit: 07f766e6200b38954a176a05f925c1c09ce11670
Author: Matthias Maier  gentoo  org>
AuthorDate: Sun Jun 18 02:57:26 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sun Jun 18 03:00:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07f766e6

sys-firmware/ipxe: add github upstream metadata

Signed-off-by: Matthias Maier  gentoo.org>

 sys-firmware/ipxe/metadata.xml | 41 ++---
 1 file changed, 22 insertions(+), 19 deletions(-)

diff --git a/sys-firmware/ipxe/metadata.xml b/sys-firmware/ipxe/metadata.xml
index 8f1848c208ca..75c7fde1f5bc 100644
--- a/sys-firmware/ipxe/metadata.xml
+++ b/sys-firmware/ipxe/metadata.xml
@@ -1,23 +1,26 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-
-   tam...@gentoo.org
-       Matthias Maier
-
-
-   virtualizat...@gentoo.org
-   Gentoo Virtualization Project
-
-
-   Use pre-built binaries
-   Build an EFI program for using PXE
-   Build a bootable ISO for using PXE
-   Build a linux kernel bootable file for using with 
grub/etc...
-   Build a bootable USB image for using PXE
-   Build a Universal Network Device Interface driver
-   chainloading your existing PXE NIC into iPXE
-   Build the required PXE ROM images for 
app-emulation/qemu
-   Build the PXE ROM images that VMWare uses
-
+   
+   tam...@gentoo.org
+       Matthias Maier
+   
+   
+   virtualizat...@gentoo.org
+   Gentoo Virtualization Project
+   
+   
+   Use pre-built binaries
+   Build an EFI program for using PXE
+   Build a bootable ISO for using PXE
+   Build a linux kernel bootable file for using 
with grub/etc...
+   Build a bootable USB image for using PXE
+   Build a Universal Network Device Interface 
driver
+   chainloading your existing PXE NIC into iPXE
+   Build the required PXE ROM images for 
app-emulation/qemu
+   Build the PXE ROM images that VMWare 
uses
+   
+   
+   ipxe/ipxe
+   
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/virglrenderer/

2023-06-17 Thread Matthias Maier
commit: 133db48d54b5109d352720043b6188da947840c0
Author: Matthias Maier  gentoo  org>
AuthorDate: Sun Jun 18 02:26:58 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sun Jun 18 03:00:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=133db48d

media-libs/virglrenderer: add 0.10.4

Signed-off-by: Matthias Maier  gentoo.org>

 media-libs/virglrenderer/Manifest  |  1 +
 .../virglrenderer/virglrenderer-0.10.4.ebuild  | 47 ++
 2 files changed, 48 insertions(+)

diff --git a/media-libs/virglrenderer/Manifest 
b/media-libs/virglrenderer/Manifest
index ea46ffad6a6f..f2fd4dcfdc2e 100644
--- a/media-libs/virglrenderer/Manifest
+++ b/media-libs/virglrenderer/Manifest
@@ -1 +1,2 @@
 DIST virglrenderer-0.10.1.tar.gz 3814616 BLAKE2B 
f292bf49f772624d8bbc2dc48faa5c5cc3e2eeb46aef3e04abb7141743b763055e944beb6f119e1a99396d5b607510c1be7f9de0a319e63cf52d31d30216d273
 SHA512 
d832a1c19f7776fffcdabd848d8e3d43125613e3d4590704a98e63274d12573f0ab4501182076c28e026495e3690e79940695216da13eeabdddbe0e542eb077a
+DIST virglrenderer-0.10.4.tar.gz 3833794 BLAKE2B 
45420e5085866a5e38543129cff0361672595274b6dd94fd4a172ae78536ad13b5e0e8bcebd21f2ca1ac2b82e3cd0cd2217e6bdc67f22fe88969bb9544b51864
 SHA512 
dd545b4dd1ec504f8fc1209a933fef63ffdb08298c0cf274f0f314525b0bf03233a1b18cb6d7a8c372d1476af3a1b4b74bc3dc72ea18e99954a3ca324c2bb81f

diff --git a/media-libs/virglrenderer/virglrenderer-0.10.4.ebuild 
b/media-libs/virglrenderer/virglrenderer-0.10.4.ebuild
new file mode 100644
index ..a5451fe14c0b
--- /dev/null
+++ b/media-libs/virglrenderer/virglrenderer-0.10.4.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+if [[ ${PV} == "" ]] ; then
+   EGIT_REPO_URI="https://anongit.freedesktop.org/git/virglrenderer.git;
+   inherit git-r3
+else
+   MY_P="${PN}-${P}"
+   
SRC_URI="https://gitlab.freedesktop.org/virgl/${PN}/-/archive/${P}/${MY_P}.tar.gz
 -> ${P}.tar.gz"
+   S="${WORKDIR}/${MY_P}"
+
+   KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
+fi
+
+DESCRIPTION="library used implement a virtual 3D GPU used by qemu"
+HOMEPAGE="https://virgil3d.github.io/;
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="static-libs"
+
+RDEPEND="
+   >=x11-libs/libdrm-2.4.50
+   media-libs/libepoxy"
+
+DEPEND="${RDEPEND}"
+
+# Most of the testsuite cannot run in our sandboxed environment, just don't
+# deal with it for now.
+RESTRICT="test"
+
+src_configure() {
+   local emesonargs=(
+   -Ddefault_library=$(usex static-libs both shared)
+   )
+
+   meson_src_configure
+}
+
+src_install() {
+   meson_src_install
+   find "${ED}/usr" -name 'lib*.la' -delete
+}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/qemu-guest-agent/

2023-06-17 Thread Matthias Maier
commit: c6fcd181c9f137a2787be8201cd56136bc91bbd8
Author: Matthias Maier  gentoo  org>
AuthorDate: Sun Jun 18 02:35:18 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sun Jun 18 03:00:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6fcd181

app-emulation/qemu-guest-agent: add 8.0.2

Signed-off-by: Matthias Maier  gentoo.org>

 app-emulation/qemu-guest-agent/Manifest|  1 +
 .../qemu-guest-agent/qemu-guest-agent-8.0.2.ebuild | 81 ++
 2 files changed, 82 insertions(+)

diff --git a/app-emulation/qemu-guest-agent/Manifest 
b/app-emulation/qemu-guest-agent/Manifest
index b33e329c0338..b4bf0c1f18c3 100644
--- a/app-emulation/qemu-guest-agent/Manifest
+++ b/app-emulation/qemu-guest-agent/Manifest
@@ -1,3 +1,4 @@
 DIST qemu-6.0.0.tar.xz 107333232 BLAKE2B 
7746329d3e13782b7c346ce4052cc517cfc65cd9b2d514d199e4d5b8570ca79566ec04b0c114db2e97c84e68eb551e0d4cdce1b14b91a88fe08d2a5f682c1418
 SHA512 
ee3ff00aebec4d8891d2ff6dabe4e667e510b2a4fe3f6190aa34673a91ea32dcd2db2e9bf94c2f1bf05aa79788f17cfbbedc6027c0988ea08a92587b79ee05e4
 DIST qemu-7.1.0.tar.xz 121833004 BLAKE2B 
e05f91ce4993c7591a2df08b5fb017f8b8ec2141ab7bfd55d14730ea6b793ac1091de539992058392a5522d4e58beee92a87752707be58e3619b8213ef9f35bf
 SHA512 
c60c5ff8ec99b7552e485768908920658fdd8035ff7a6fa370fb6881957dc8b7e5f18ff1a8f49bd6aa22909ede2a7c084986d8244f12074ccd33ebe40a0c411f
 DIST qemu-8.0.0.tar.xz 127835148 BLAKE2B 
9b54aae10fe09691a26e68374723ded5fdda6409673b4de9461a25ee060cfd03968a16ddeadc21d48b9262e53aa6d4e5eb645376969f97c65807fad19607b04f
 SHA512 
1f31d1e653dec2d35f1b7a5468ee3f471553b48eca8c8afafffcf9243c6b2260e78a5b73da3fe567f9b85d4133573eebd397747b3aec501fb24076263eb07b27
+DIST qemu-8.0.2.tar.xz 126707132 BLAKE2B 
f2b1a63e10c42aabfe39722c7732d0f04818ad367b769b3deb29c5bf9adcabc3aca1706f3c40fafeeb57ac1f7a61ded5066de32134c483e2fd27bc65b4b7d30a
 SHA512 
4e915d33a662bf55b09247fb85150be376c92270d3764e3d6470c452cb70cc558f54e84de5610dd60a9eb3ea02d5d4277b1ec75c9804967d278fa8361c7f9b9a

diff --git a/app-emulation/qemu-guest-agent/qemu-guest-agent-8.0.2.ebuild 
b/app-emulation/qemu-guest-agent/qemu-guest-agent-8.0.2.ebuild
new file mode 100644
index ..7fe0fb48886c
--- /dev/null
+++ b/app-emulation/qemu-guest-agent/qemu-guest-agent-8.0.2.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit edo systemd toolchain-funcs python-any-r1 udev
+
+MY_PN="qemu"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="QEMU Guest Agent (qemu-ga) for use when running inside a VM"
+HOMEPAGE="https://wiki.qemu.org/Features/GuestAgent;
+SRC_URI="http://wiki.qemu.org/download/${MY_P}.tar.xz;
+
+LICENSE="GPL-2 BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+RDEPEND="dev-libs/glib"
+DEPEND="${RDEPEND}"
+BDEPEND="${PYTHON_DEPS}
+   dev-lang/perl
+   dev-util/ninja"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+)
+
+src_configure() {
+   tc-export AR LD OBJCOPY RANLIB
+
+   local myconf=(
+   --prefix=/usr
+   --sysconfdir=/etc
+   --libdir="/usr/$(get_libdir)"
+   --localstatedir=/
+   --disable-bsd-user
+   --disable-linux-user
+   --disable-system
+   --disable-strip
+   --enable-tools
+   --disable-werror
+   --enable-guest-agent
+   --python="${PYTHON}"
+   --cc="$(tc-getCC)"
+   --cxx="$(tc-getCXX)"
+   --host-cc="$(tc-getBUILD_CC)"
+   )
+
+   edo ./configure "${myconf[@]}"
+}
+
+src_install() {
+   dobin build/qga/qemu-ga
+
+   # Normal init stuff
+   newinitd "${FILESDIR}/qemu-ga.init-r1" qemu-guest-agent
+   newconfd "${FILESDIR}/qemu-ga.conf-r1" qemu-guest-agent
+
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}/qemu-ga.logrotate" qemu-guest-agent
+
+   # systemd stuff
+   udev_newrules "${FILESDIR}/qemu-ga-systemd.udev" 
99-qemu-guest-agent.rules
+
+   systemd_newunit "${FILESDIR}/qemu-ga-systemd.service" \
+   qemu-guest-agent.service
+}
+
+pkg_postinst() {
+   elog "You should add 'qemu-guest-agent' to the default runlevel."
+   elog "e.g. rc-update add qemu-guest-agent default"
+   udev_reload
+}
+
+pkg_postrm() {
+   udev_reload
+}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2023-06-17 Thread Matthias Maier
commit: 606a92e1d12c8a98d5b1ec0f773948cf66d2f4b8
Author: Matthias Maier  gentoo  org>
AuthorDate: Sun Jun 18 02:17:40 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sun Jun 18 02:18:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=606a92e1

app-emulation/spice-vdagent: also call udev_reload in pkg_postrm()

Closes: https://bugs.gentoo.org/851645
Signed-off-by: Matthias Maier  gentoo.org>

 app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild
index 36be63a656d9..a53a0f00c60d 100644
--- a/app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild
+++ b/app-emulation/spice-vdagent/spice-vdagent-0.22.1.ebuild
@@ -67,3 +67,7 @@ pkg_postinst() {
udev_reload
tmpfiles_process spice-vdagentd.conf
 }
+
+pkg_postrm() {
+   udev_reload
+}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/

2023-06-17 Thread Matthias Maier
commit: ae2e20389d4bae50fcad0996e6dc6ff2496cc95a
Author: Matthias Maier  gentoo  org>
AuthorDate: Sun Jun 18 02:07:38 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sun Jun 18 02:07:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae2e2038

app-emulation/spice-vdagent: drop 0.19.0-r1, 0.21.0

Bug: https://bugs.gentoo.org/753956
Signed-off-by: Matthias Maier  gentoo.org>

 app-emulation/spice-vdagent/Manifest   |  2 -
 .../spice-vdagent/spice-vdagent-0.19.0-r1.ebuild   | 63 
 .../spice-vdagent/spice-vdagent-0.21.0.ebuild  | 67 --
 3 files changed, 132 deletions(-)

diff --git a/app-emulation/spice-vdagent/Manifest 
b/app-emulation/spice-vdagent/Manifest
index 1ef47e9cd14d..49738685af14 100644
--- a/app-emulation/spice-vdagent/Manifest
+++ b/app-emulation/spice-vdagent/Manifest
@@ -1,3 +1 @@
-DIST spice-vdagent-0.19.0.tar.bz2 151356 BLAKE2B 
b7a99a7205d955b27edfe483746e3f267a6e0b7885c4b8146ba42d99b581cf4e1748b503a37a3d6b66623ef2515b42756f2e6a5a4775d56def7aa396bd0dfb4f
 SHA512 
f5056dfe66df3ee8205549be22bbc8c17d2196c8448eda97f01659ff30c34d9929f330767d7fafec557dc5f7fb9b65eaf85973193b38df774042de9b72d6e60d
-DIST spice-vdagent-0.21.0.tar.bz2 164103 BLAKE2B 
298122b334f880ffb8d77d3a7d822b70debce56d62bc3004bbac37445f10236a47706d23501ee3f82520c45b65deec12c9578cf4a8b9ac138df8b1c0b8cdb784
 SHA512 
1ff1a89e75301b1c2c89f26ba4bce8d4df29bbff6387ade128ce847ca30162a2bc731c70c10a8d129518e64bbca6b8271fd11ff3e340899182a65a5295051bff
 DIST spice-vdagent-0.22.1.tar.bz2 165560 BLAKE2B 
4fd4318592d20d305d515c65d7491b90ac79bcc7f5bdfafd9df7858bdce24aa57c79f2121bbf9cbadec8e6297890f4b8598b9abcadcce5a9f39712b96deaa396
 SHA512 
5a4d2661145f33a0583880a128d925b15ca5aec05df83271c80f8baa0fcdd28fab0242301bc38443ccddf70fbdcfd76b5d30bb5a6b4b7c895c3cea0eb38bdf92

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.19.0-r1.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.19.0-r1.ebuild
deleted file mode 100644
index 749e2012d13c..
--- a/app-emulation/spice-vdagent/spice-vdagent-0.19.0-r1.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit linux-info
-
-DESCRIPTION="SPICE VD Linux Guest Agent"
-HOMEPAGE="https://www.spice-space.org/;
-SRC_URI="https://www.spice-space.org/download/releases/${P}.tar.bz2;
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="gtk selinux systemd"
-
-CDEPEND="
-   dev-libs/glib:2
-   >=app-emulation/spice-protocol-0.14.0
-   media-libs/alsa-lib
-   sys-apps/dbus
-   >=x11-libs/libpciaccess-0.10
-   x11-libs/libdrm
-   x11-libs/libXfixes
-   x11-libs/libXrandr
-   x11-libs/libX11
-   x11-libs/libXinerama
-   gtk? ( x11-libs/gtk+:3 )
-   systemd? ( sys-apps/systemd )"
-DEPEND="${CDEPEND}
-   virtual/pkgconfig"
-RDEPEND="${CDEPEND}
-   selinux? ( sec-policy/selinux-vdagent )"
-
-CONFIG_CHECK="~INPUT_UINPUT ~VIRTIO_CONSOLE"
-ERROR_INPUT_UINPUT="User level input support (INPUT_UINPUT) is required"
-ERROR_VIRTIO_CONSOLE="VirtIO console/serial device support (VIRTIO_CONSOLE) is 
required"
-
-src_configure() {
-   local opt=()
-   if use systemd; then
-   opt+=( --with-session-info=systemd )
-   else
-   opt+=( --with-session-info=none )
-   fi
-
-   econf \
-   --with-init-script=systemd \
-   --localstatedir="${EPREFIX}"/var \
-   $(use_with gtk) \
-   "${opt[@]}"
-}
-
-src_install() {
-   default
-
-   cd "${ED}" && rmdir -p var/run/spice-vdagentd || die
-
-   keepdir /var/log/spice-vdagentd
-
-   newinitd "${FILESDIR}/${PN}.initd-4" "${PN}"
-   newconfd "${FILESDIR}/${PN}.confd-2" "${PN}"
-}

diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild 
b/app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild
deleted file mode 100644
index 4bce7514acb3..
--- a/app-emulation/spice-vdagent/spice-vdagent-0.21.0.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit linux-info tmpfiles
-
-DESCRIPTION="SPICE VD Linux Guest Agent"
-HOMEPAGE="https://www.spice-space.org/;
-SRC_URI="https://www.spice-space.org/download/releases/${P}.tar.bz2;
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="gtk selinux systemd"
-
-CDEPEND="
-   dev-libs/glib:2
-   >=app-emulation/spice-protocol-0.14.0
-   media-libs/alsa-lib
-   sys-apps/dbus
-   >=x11-libs/libpciaccess-0.10
-   x11-libs

[gentoo-commits] repo/gentoo:master commit in: app-emulation/libvirt/, app-emulation/libvirt/files/

2023-06-17 Thread Matthias Maier
commit: c433fe97671c3f9786ffe2405e91ba9f00ae04fe
Author: Matthias Maier  gentoo  org>
AuthorDate: Sun Jun 18 01:42:49 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sun Jun 18 01:54:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c433fe97

app-emulation/libvirt: drop 8.7.0-r1, 8.8.0-r1, 8.9.0, 8.9.0-r2, 9.2.0

Bug: https://bugs.gentoo.org/908042
Bug: https://bugs.gentoo.org/836128
Signed-off-by: Matthias Maier  gentoo.org>

 app-emulation/libvirt/Manifest |   8 -
 0-meson-Stop-detecting-Wl-version-script.patch |  55 
 0-meson-Stop-detecting-Wl-version-script.patch |  53 ---
 app-emulation/libvirt/libvirt-8.7.0-r1.ebuild  | 353 
 app-emulation/libvirt/libvirt-8.8.0-r1.ebuild  | 353 
 app-emulation/libvirt/libvirt-8.9.0-r2.ebuild  | 360 -
 app-emulation/libvirt/libvirt-8.9.0.ebuild | 356 
 app-emulation/libvirt/libvirt-9.2.0.ebuild | 359 
 8 files changed, 1897 deletions(-)

diff --git a/app-emulation/libvirt/Manifest b/app-emulation/libvirt/Manifest
index 5e6f37dd471e..e8ae7f99693f 100644
--- a/app-emulation/libvirt/Manifest
+++ b/app-emulation/libvirt/Manifest
@@ -1,11 +1,3 @@
-DIST libvirt-8.7.0.tar.xz 8937316 BLAKE2B 
131d46206662627e952b6daa3ceeab187321ff5fb1984980bc2816dfedf730c6ccd4b5a1cbfb46f33cc9e84508621e2625fa661f06b9e35561e8de52906824e5
 SHA512 
35d33d0e0dab525e8f0a8a592d286e9d17fc5c5d1ff2fab5af5c40b85248481dd17b5c3daf64e8c6e1b8a93328eebee6ece3e95edacff208a81d8b78dc102d7a
-DIST libvirt-8.7.0.tar.xz.asc 833 BLAKE2B 
ebea1430670bcb44e9ffb4460388b2ab41e8b409d1513d09ac56b12f379621f5ad39af0dba9691b36220bbed5634ad24b2efda8315b41bb2e7f3f6a65e9b028c
 SHA512 
5ac09b10de74283c474fb80cfe600a171d6b49039df73113702cda565889f6c6919e99aff6ce60538ee7fda52287ef035ee15e8f47e5f724384c6ec474e6bed8
-DIST libvirt-8.8.0.tar.xz 8941928 BLAKE2B 
f3b8cb4fe30a156884a03e5c873f3fcef0c8d13315c79b865f387ea053635ae2435a3b4d6e81c988cfcd087d55223450e7b874e24e4503479d152b417c398250
 SHA512 
868e49b369afe200c5af6e2cd0606de2eeebfa92523b5ad3c653203c8838d304bd0cdc5acfb3c4d4c33c0a87ab8e769b84cc62e3f06e055936c43573a23d7190
-DIST libvirt-8.8.0.tar.xz.asc 833 BLAKE2B 
3919af7c208d9a5f863a9351cfcf72916ff67cbef26fe7b86bb3b1042b5556f75a4a0c5210cdb67aee79bd3706047d2d2244c967297dbf2aba2d28c625797361
 SHA512 
9bc3c0ae6f7fa9d6ee17ca183e218b0f2f6e413b303bd429cda090828ac0521c142178ca4c3c3bc6030c9e58f36ae5d33c7c8a9d6c8147f214e1740a78f66d2a
-DIST libvirt-8.9.0.tar.xz 8946352 BLAKE2B 
537b6badb6171110e99561613fb1318144991107139401296248afb747ae6f9cfafcd17b2292b8d8dcc9188ff4206035ea814efa6c129bae50c0518f61be9b81
 SHA512 
10426d45d55bb18e8e5d4327d698fbc6efd83c5f515ac40a0fcd72048a77936fe0b422ac14bce9966a65379d262df294c314f854a97861a223a0cbc6a8fd2382
-DIST libvirt-8.9.0.tar.xz.asc 833 BLAKE2B 
a2054d0d9c8301aa0f8697253690b1ddd530a577bc789c7f38dc36a835134d0c8e5fc88536371c75da66afd9808540b9236e8d1247e4d7bd5f3a0aaf35c45f97
 SHA512 
087d5406ef23d6beee4a37e471d7d0aa433990b892f0beb7be76609fbdfcb69381acd59d63c62dcd2e2f9ccfcdefc35109cc175a0da4263e9b189981cb2baff1
-DIST libvirt-9.2.0.tar.xz 9182060 BLAKE2B 
8b9ffc86e088de6b1ec6b38b649bded3abbbce8eec9c1ba19f31e73ecd7ee13a5c521a6e1fd8da9f308158dd05c87171aa443cd00f0c87a73f205e3d57a22567
 SHA512 
9afd4fcccb9ef39c1ed50eb0db94cd8b06cc5b60041cdb9aa5fe7b27e5ab11855f4b538d6868413725d603dc1a6090e0983207137dcd43ed2bbcfbeb6fc69c58
-DIST libvirt-9.2.0.tar.xz.asc 833 BLAKE2B 
64882091890860119c92c6cb0337ea20bfdd8206f5db648cb505ee0d4673cfb8aa5996e6cf3152a7293df98592aa7187d10bb42b4ee979770e9b0040e6bb2d48
 SHA512 
3c47c5ea182c1310b56641cc2df5adf2f82ae9b35fdeccfddef42f3e2149499b23c61eeafd5e4995ef596ed003ab55b4b17d041dff72ae5f8851b355bfadfb78
 DIST libvirt-9.3.0.tar.xz 9246292 BLAKE2B 
6e47a70ec247b37c1958e324d5bf7ebcbff6aca5a7a9860f437ebe6a969d569a449d3dd5720081ad27926f445bcbe10089cb3b1d27960decc6239306f82259f9
 SHA512 
b9349dcd7798c76d75bb20afad67d6e676758cb201acaf7aed5109f0e91422b2bcca964a2f19aa8dc4fd0eca2923902474e16e3839bf8b15aca827028e88ddb7
 DIST libvirt-9.3.0.tar.xz.asc 833 BLAKE2B 
25810919210bd489ecfd85f172c472d52e911e90d651fac2c7fa4f73220890bd2448317448f0469e8abfe8ad5ea6f3eb6b321e6d989e64f6ad4b676a5a38312c
 SHA512 
0b51a621cef616ac55ac40c9bf9da56d3e1d59b5e87bcd04deaac7f775faab8f30861e53112be2242d9c8c6be41f1ed1c29d345d96e39be0ac33ef0b01494c45
 DIST libvirt-9.4.0.tar.xz 9250724 BLAKE2B 
837a6eef509a43a0cd25a2ecaac9de95f21e903b553d5e56b404a689495e66bb0053866c9aea672cbe69130286d5a2ff2eb38ff447c77100e92bcb56cd244ee3
 SHA512 
8a8e3983c47c5ed5f4b50d90cb04e435717afddd27e16112ceeddda458d45c693daf65575f5d50274cfffcd1c83cbdd290819d8ece63f3bf9441b6bdaa309852

diff --git 
a/app-emulation/libvirt/files/libvirt-8.7.0-meson-Stop-detecting-Wl-version-script.patch
 
b/app-emulation/libvirt/files/libvirt-8.7.0-meson-Stop-detecting-Wl-version-script.patch
deleted file mode 100644
index 749e580b4432..
-

[gentoo-commits] repo/gentoo:master commit in: dev-python/libvirt-python/

2023-06-17 Thread Matthias Maier
commit: cc83775aa785158a1f545320b436015e1bb4d36c
Author: Matthias Maier  gentoo  org>
AuthorDate: Sun Jun 18 01:46:57 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sun Jun 18 01:54:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc83775a

dev-python/libvirt-python: add 9.4.0

Signed-off-by: Matthias Maier  gentoo.org>

 dev-python/libvirt-python/Manifest |  2 +
 .../libvirt-python/libvirt-python-9.4.0.ebuild | 58 ++
 2 files changed, 60 insertions(+)

diff --git a/dev-python/libvirt-python/Manifest 
b/dev-python/libvirt-python/Manifest
index 409b72f934ca..994b2468d25e 100644
--- a/dev-python/libvirt-python/Manifest
+++ b/dev-python/libvirt-python/Manifest
@@ -8,3 +8,5 @@ DIST libvirt-python-9.2.0.tar.gz 243411 BLAKE2B 
4478060de12fe78dc60505cbfdc9a38d
 DIST libvirt-python-9.2.0.tar.gz.asc 833 BLAKE2B 
8f09ba2399fa083d41c979354dd72ca0c44047f46c6117b08cf823d8fc7ba5a2bfa031e51855238865dc08eb77846362d200d362e8675049f32b635e40bb25cc
 SHA512 
4cb0bffaaa95e93cff1dd2f35f0219bc97567e21e04778b6f5bd0b33aa3523cea43f5fd7d95da73ba82f695b2cab8c771a5adbd9511e8a6deeb13e7e80fe7aa2
 DIST libvirt-python-9.3.0.tar.gz 244181 BLAKE2B 
1f472233ea336bf7196f83c41606817c6422b08ba76bb07a39510018498cc378a3e31626155e9953881ac4718ca642df6878e9a2b6bfe74116052819fabf63c6
 SHA512 
5fe04eb6fbccb20f90637d5bb74887b0676743761838c91f6c7f08f8aff39ea8e1d8cdc50c4c244918c2100efb00c6bb380ac44b4d403a08863c8c99ecdbe937
 DIST libvirt-python-9.3.0.tar.gz.asc 833 BLAKE2B 
bb3f47ce3dea2fca251a956c170f98406485f3b738e068d6b3dab59c5f440aba7127683f484278866d5b39f53cd18a5dbb9697e701515c6d93141b3e7ecae18b
 SHA512 
0123bc657ec2680ea998e70c62f2dba0f5960239faa43158e4897e4e3e287a0fdb29daa409bf98514b271477410308c959a0ab1e4e90fa82f409cd4f858201fe
+DIST libvirt-python-9.4.0.tar.gz 244574 BLAKE2B 
cdba846dc9e1c5023a0d8fe22da9f539f8b2946512eed6f74ff9c3516335c580d72d50609bab100a0f50289295cf8402e0d7c695a5afbe1ed989f89f758ee2ee
 SHA512 
899d88009b54b1c6e225f609bf121d7b7ea7558fc8562a01b6b46d828c4882c01b3b129263f68354b5576727e2626d63ba12e6ff33bca2bad14ace75942d6069
+DIST libvirt-python-9.4.0.tar.gz.asc 833 BLAKE2B 
32c46f9af1eef25e6c1803b35eeb03e81bb7ec85a5059070fc18676ca392385b15de8399bd3432d868b50e8ee52d20e67c9988b3152c4c89512f89283df785d5
 SHA512 
571cc70d763f4c1f5f3ef6aca02d051a59b5a5b6acd4d7035396336ce484e195a2f9f97cd715f7812cc54b1fbcdbe254d7b0ad088a806c54efa2471a3ca31391

diff --git a/dev-python/libvirt-python/libvirt-python-9.4.0.ebuild 
b/dev-python/libvirt-python/libvirt-python-9.4.0.ebuild
new file mode 100644
index ..0e657b8769c3
--- /dev/null
+++ b/dev-python/libvirt-python/libvirt-python-9.4.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Packages which get releases together:
+# app-emacs/nxml-libvirt-schemas
+# dev-python/libvirt-python
+# dev-perl/Sys-Virt
+# app-emulation/libvirt
+# Please bump them together!
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+inherit distutils-r1 verify-sig
+
+if [[ ${PV} == ** ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://gitlab.com/libvirt/libvirt-python.git;
+   RDEPEND="app-emulation/libvirt:="
+else
+   MY_P="${P/_rc/-rc}"
+   SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz
+   verify-sig? ( 
https://libvirt.org/sources/python/${MY_P}.tar.gz.asc )"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+   RDEPEND="app-emulation/libvirt:0/${PV}"
+fi
+S="${WORKDIR}/${P%_rc*}"
+
+DESCRIPTION="libvirt Python bindings"
+HOMEPAGE="https://www.libvirt.org;
+
+LICENSE="LGPL-2"
+SLOT="0"
+IUSE="examples test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+   virtual/pkgconfig
+   test? (
+   dev-python/lxml[${PYTHON_USEDEP}]
+   )
+   verify-sig? ( sec-keys/openpgp-keys-libvirt )
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libvirt.org.asc
+
+distutils_enable_tests pytest
+
+python_install_all() {
+   if use examples; then
+   dodoc -r examples
+   docompress -x /usr/share/doc/${PF}/examples
+   fi
+
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/libvirt-python/

2023-06-17 Thread Matthias Maier
commit: 4de6170db063a0948d6873f413b8e7b175c0e80f
Author: Matthias Maier  gentoo  org>
AuthorDate: Sun Jun 18 01:47:20 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sun Jun 18 01:54:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4de6170d

dev-python/libvirt-python: drop 8.7.0, 8.8.0, 8.9.0, 9.2.0

Signed-off-by: Matthias Maier  gentoo.org>

 dev-python/libvirt-python/Manifest |  8 ---
 .../libvirt-python/libvirt-python-8.7.0.ebuild | 56 -
 .../libvirt-python/libvirt-python-8.8.0.ebuild | 56 -
 .../libvirt-python/libvirt-python-8.9.0.ebuild | 56 -
 .../libvirt-python/libvirt-python-9.2.0.ebuild | 58 --
 5 files changed, 234 deletions(-)

diff --git a/dev-python/libvirt-python/Manifest 
b/dev-python/libvirt-python/Manifest
index 994b2468d25e..eea6865a4a8d 100644
--- a/dev-python/libvirt-python/Manifest
+++ b/dev-python/libvirt-python/Manifest
@@ -1,11 +1,3 @@
-DIST libvirt-python-8.7.0.tar.gz 236343 BLAKE2B 
563cd1a18f06c0210465905267c46b3e5c598a9dcb208f468660d40988a4f6d80e61feed3702d830d465769eebb2c4d6604ef9449700923795c0485c36e38680
 SHA512 
f7883964875657a11c6756e31fda59eadba8394b71dda04df366aac85b163f3ffb379054bace38922d10d0b8972d1e1210d1513498cfd5cd8f0b76d6985ee945
-DIST libvirt-python-8.7.0.tar.gz.asc 833 BLAKE2B 
5386780d75114c21105d012fd0ec2fd22fdd979dd6cdaea59f578eff4c0616e377da52d8aec05f337b837fda663ce8afb6d670e960ee65146679cd8c9a60b12b
 SHA512 
499324c7cb520edbd1778a16434de43be062545255abb271832a636ff1ce9f4ba87e90226a181e081d084fccd6c190acc15763fecfc89e80093845589c12f535
-DIST libvirt-python-8.8.0.tar.gz 236523 BLAKE2B 
56504045d4c44c2419fb8f97b1c147f12539122acc35644aef748631db5bce0d1ded8ebb5c1bd1160d2472757c0887105f3dd5e41c271a56f963ef21616565c8
 SHA512 
bcfe69b1279d8e2fc1343959f2c17ff29ef957c1d7f98b233c8bb32cffe50285138d1be11b0c327f6b18e2395b6353c3552cecfd9bbfcb5cc6bc97981f9d6f26
-DIST libvirt-python-8.8.0.tar.gz.asc 833 BLAKE2B 
2769a404916227ce9d77ec0e76d2985b67f7e59e3f280486b59f9a9edb4fe5405ae22dd03c2d4c9f1c620a977eef90ec8fdc93d3891d8824021a226a0581cb9a
 SHA512 
edeace09e2de739d318f63ac7b33f814ac3d2e4ad7a32164fb0691723b4872d64bc60d0f96baf1809158e76fd7dbbff75c6ee4e9112b1ba6c264287c36d691b4
-DIST libvirt-python-8.9.0.tar.gz 240769 BLAKE2B 
992f02fe584f33ea5bd91a28338e281d49515bae392d5209e07a916b9449965c753b9a12b2f4d8433069efc1e3c5907a378e3e2d8ee1d55ab682a3e983b2eca3
 SHA512 
f13767528518189bb4a6094dc029f3dee16179a269b25f1224ba448569e3a2f8b036124711060d4dda8de0f7719474a700b616e1e8e8d29028d585c2a631aa32
-DIST libvirt-python-8.9.0.tar.gz.asc 833 BLAKE2B 
690613f7f558155db56a5194042bdf49e004143b2066bcaccb48fc9082364a88b5f8d4112623095838a116817a55e34e8ca29e01221299efc396fb1501a060ae
 SHA512 
a490284745c948d87f0239b70257b5cd66ae2515a4f3f33c05a2b3e1ccc28e2769c8c61d45e4f855b595a6d82b6d73e50bcd00a8bbfc7cb7fbe1a4969e48e17b
-DIST libvirt-python-9.2.0.tar.gz 243411 BLAKE2B 
4478060de12fe78dc60505cbfdc9a38d398ea3860e9a1a146379695f6ed7ec21d8840b54e6a716b1177e422a934ec5dfd86365208147515f70bc02c605c32b8c
 SHA512 
24abeb7ec27135c30cdf751476b091b89b3aa2e448f6fe57d29064e1465a49944b2c0bb19cb01ce4d728036c9387bb244594816a9853a00b1d43d89dd7f94cd5
-DIST libvirt-python-9.2.0.tar.gz.asc 833 BLAKE2B 
8f09ba2399fa083d41c979354dd72ca0c44047f46c6117b08cf823d8fc7ba5a2bfa031e51855238865dc08eb77846362d200d362e8675049f32b635e40bb25cc
 SHA512 
4cb0bffaaa95e93cff1dd2f35f0219bc97567e21e04778b6f5bd0b33aa3523cea43f5fd7d95da73ba82f695b2cab8c771a5adbd9511e8a6deeb13e7e80fe7aa2
 DIST libvirt-python-9.3.0.tar.gz 244181 BLAKE2B 
1f472233ea336bf7196f83c41606817c6422b08ba76bb07a39510018498cc378a3e31626155e9953881ac4718ca642df6878e9a2b6bfe74116052819fabf63c6
 SHA512 
5fe04eb6fbccb20f90637d5bb74887b0676743761838c91f6c7f08f8aff39ea8e1d8cdc50c4c244918c2100efb00c6bb380ac44b4d403a08863c8c99ecdbe937
 DIST libvirt-python-9.3.0.tar.gz.asc 833 BLAKE2B 
bb3f47ce3dea2fca251a956c170f98406485f3b738e068d6b3dab59c5f440aba7127683f484278866d5b39f53cd18a5dbb9697e701515c6d93141b3e7ecae18b
 SHA512 
0123bc657ec2680ea998e70c62f2dba0f5960239faa43158e4897e4e3e287a0fdb29daa409bf98514b271477410308c959a0ab1e4e90fa82f409cd4f858201fe
 DIST libvirt-python-9.4.0.tar.gz 244574 BLAKE2B 
cdba846dc9e1c5023a0d8fe22da9f539f8b2946512eed6f74ff9c3516335c580d72d50609bab100a0f50289295cf8402e0d7c695a5afbe1ed989f89f758ee2ee
 SHA512 
899d88009b54b1c6e225f609bf121d7b7ea7558fc8562a01b6b46d828c4882c01b3b129263f68354b5576727e2626d63ba12e6ff33bca2bad14ace75942d6069

diff --git a/dev-python/libvirt-python/libvirt-python-8.7.0.ebuild 
b/dev-python/libvirt-python/libvirt-python-8.7.0.ebuild
deleted file mode 100644
index 9bb4f0bab67f..
--- a/dev-python/libvirt-python/libvirt-python-8.7.0.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Packages which get releases together:
-# app-emacs/nxml-libvir

[gentoo-commits] repo/gentoo:master commit in: app-emulation/libvirt/

2023-06-17 Thread Matthias Maier
commit: 4fa9735e3f445c8455e05aeee2ddd98445381e6a
Author: Matthias Maier  gentoo  org>
AuthorDate: Sun Jun 18 01:38:48 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sun Jun 18 01:54:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fa9735e

app-emulation/libvirt: add 9.4.0

Closes: https://bugs.gentoo.org/776751
Signed-off-by: Matthias Maier  gentoo.org>

 app-emulation/libvirt/Manifest |   2 +
 app-emulation/libvirt/libvirt-9.4.0.ebuild | 363 +
 2 files changed, 365 insertions(+)

diff --git a/app-emulation/libvirt/Manifest b/app-emulation/libvirt/Manifest
index ae24cea63d37..5e6f37dd471e 100644
--- a/app-emulation/libvirt/Manifest
+++ b/app-emulation/libvirt/Manifest
@@ -8,3 +8,5 @@ DIST libvirt-9.2.0.tar.xz 9182060 BLAKE2B 
8b9ffc86e088de6b1ec6b38b649bded3abbbce
 DIST libvirt-9.2.0.tar.xz.asc 833 BLAKE2B 
64882091890860119c92c6cb0337ea20bfdd8206f5db648cb505ee0d4673cfb8aa5996e6cf3152a7293df98592aa7187d10bb42b4ee979770e9b0040e6bb2d48
 SHA512 
3c47c5ea182c1310b56641cc2df5adf2f82ae9b35fdeccfddef42f3e2149499b23c61eeafd5e4995ef596ed003ab55b4b17d041dff72ae5f8851b355bfadfb78
 DIST libvirt-9.3.0.tar.xz 9246292 BLAKE2B 
6e47a70ec247b37c1958e324d5bf7ebcbff6aca5a7a9860f437ebe6a969d569a449d3dd5720081ad27926f445bcbe10089cb3b1d27960decc6239306f82259f9
 SHA512 
b9349dcd7798c76d75bb20afad67d6e676758cb201acaf7aed5109f0e91422b2bcca964a2f19aa8dc4fd0eca2923902474e16e3839bf8b15aca827028e88ddb7
 DIST libvirt-9.3.0.tar.xz.asc 833 BLAKE2B 
25810919210bd489ecfd85f172c472d52e911e90d651fac2c7fa4f73220890bd2448317448f0469e8abfe8ad5ea6f3eb6b321e6d989e64f6ad4b676a5a38312c
 SHA512 
0b51a621cef616ac55ac40c9bf9da56d3e1d59b5e87bcd04deaac7f775faab8f30861e53112be2242d9c8c6be41f1ed1c29d345d96e39be0ac33ef0b01494c45
+DIST libvirt-9.4.0.tar.xz 9250724 BLAKE2B 
837a6eef509a43a0cd25a2ecaac9de95f21e903b553d5e56b404a689495e66bb0053866c9aea672cbe69130286d5a2ff2eb38ff447c77100e92bcb56cd244ee3
 SHA512 
8a8e3983c47c5ed5f4b50d90cb04e435717afddd27e16112ceeddda458d45c693daf65575f5d50274cfffcd1c83cbdd290819d8ece63f3bf9441b6bdaa309852
+DIST libvirt-9.4.0.tar.xz.asc 833 BLAKE2B 
3a31f4097d8684a3a5e4b696c9bb49316a07c611a0cf1703e18653536af93d018ec44cbe5d0ce031e6f2c23a7c72691ded4c219faafa4bc770ad0dd7b616d0ce
 SHA512 
710861b6b1c866be452e2da18a631076ad3ca3fbeb1728e561de08b34d16d2b49a0c390e7fa36eb35d0dc58fa35d5866ea6c573c84e9312b02880cdb969f7342

diff --git a/app-emulation/libvirt/libvirt-9.4.0.ebuild 
b/app-emulation/libvirt/libvirt-9.4.0.ebuild
new file mode 100644
index ..194bcf790db6
--- /dev/null
+++ b/app-emulation/libvirt/libvirt-9.4.0.ebuild
@@ -0,0 +1,363 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Packages which get releases together:
+# app-emacs/nxml-libvirt-schemas
+# dev-python/libvirt-python
+# dev-perl/Sys-Virt
+# app-emulation/libvirt
+# Please bump them together!
+
+PYTHON_COMPAT=( python3_{9..11} )
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libvirt.org.asc
+inherit meson linux-info python-any-r1 readme.gentoo-r1 tmpfiles verify-sig
+
+if [[ ${PV} = ** ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://gitlab.com/libvirt/libvirt.git;
+   EGIT_BRANCH="master"
+else
+   SRC_URI="https://libvirt.org/sources/${P}.tar.xz
+   verify-sig? ( https://libvirt.org/sources/${P}.tar.xz.asc )"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+fi
+
+DESCRIPTION="C toolkit to manipulate virtual machines"
+HOMEPAGE="https://www.libvirt.org/ https://gitlab.com/libvirt/libvirt/;
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+IUSE="
+   apparmor audit bash-completion +caps dtrace firewalld fuse glusterfs
+   iscsi iscsi-direct +libvirtd lvm libssh libssh2 lxc nfs nls numa openvz
+   parted pcap policykit +qemu rbd sasl selinux test +udev
+   virtualbox +virt-network wireshark-plugins xen zfs
+"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="
+   firewalld? ( virt-network )
+   libvirtd? ( || ( lxc openvz qemu virtualbox xen ) )
+   lxc? ( caps libvirtd )
+   openvz? ( libvirtd )
+   qemu? ( libvirtd )
+   virt-network? ( libvirtd )
+   virtualbox? ( libvirtd )
+   xen? ( libvirtd )"
+
+BDEPEND="
+   app-text/xhtml1
+   dev-lang/perl
+   dev-libs/libxslt
+   dev-perl/XML-XPath
+   dev-python/docutils
+   virtual/pkgconfig
+   net-libs/rpcsvc-proto
+   bash-completion? ( >=app-shells/bash-completion-2.0 )
+   verify-sig? ( sec-keys/openpgp-keys-libvirt )"
+
+# gettext.sh command is used by the libvirt command wrappers, and it's
+# non-optional, so put it into RDEPEND.
+# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
+# package will use 3 by default. Since we don't have slot pinning in an API,
+# 

[gentoo-commits] repo/gentoo:master commit in: sci-libs/arborx/

2023-06-16 Thread Matthias Maier
commit: 8d22a861176f2b60b519ea0d4a996f5dda2b02fb
Author: Matthias Maier  gentoo  org>
AuthorDate: Thu Jun 15 23:18:50 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sat Jun 17 01:03:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d22a861

sci-libs/arborx: drop 1.2

Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/arborx/Manifest  |  1 -
 sci-libs/arborx/arborx-1.2.ebuild | 37 -
 2 files changed, 38 deletions(-)

diff --git a/sci-libs/arborx/Manifest b/sci-libs/arborx/Manifest
index 4edaadde14e2..4cf219e6a8a7 100644
--- a/sci-libs/arborx/Manifest
+++ b/sci-libs/arborx/Manifest
@@ -1,2 +1 @@
-DIST arborx-1.2.tar.gz 380705 BLAKE2B 
eb0006e69edb6cfd1d402dfe5a58db76954c34f847ce8acd1c0f2bd2044a29a434fc01df67829fce4ec911f5c882c1625aa7a50bc39a5d33dfb2c26d6a4cbb4f
 SHA512 
d48650b11fc26770c43f4821999647acb0c7675367e416ad025ab21eb50da66c732f03bc6decf840d25dac26ff7f1f5dca77b7514dffc619cef8d401e83a8795
 DIST arborx-1.4.1.tar.gz 408999 BLAKE2B 
83e172f89ac8ff82d4add40fd036457d9c563b44c11b15d86aa884dc03742f3e22a13cc4b6f068ef377fcd8e63d239f704dd1821772079d2f9f8c169b1f31fae
 SHA512 
3799deed5eae1e6092c19a62894207ac0ccd81ba84c8d42734fa3d0e5a3fc9d6a8f7b1442d2203b06f4e251970569f67506d419fb6695039c11e78dfd740e565

diff --git a/sci-libs/arborx/arborx-1.2.ebuild 
b/sci-libs/arborx/arborx-1.2.ebuild
deleted file mode 100644
index 68330b8a5df7..
--- a/sci-libs/arborx/arborx-1.2.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="Library for performance portable algorithms for geometric search"
-HOMEPAGE="https://github.com/arborx/ArborX;
-
-SRC_URI="https://github.com/${PN}/ArborX/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-
-LICENSE="LGPL-2.1+"
-SLOT="0"
-IUSE="mpi"
-
-RDEPEND="dev-libs/boost:=
-   mpi? ( virtual/mpi[cxx] )
-   sci-libs/trilinos"
-
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}"/ArborX-${PV}
-
-src_configure() {
-   local mycmakeargs=(
-   -DARBORX_ENABLE_MPI="$(usex mpi)"
-   )
-
-   cmake_src_configure
-}
-
-src_install() {
-   cmake_src_install
-}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/arborx/

2023-06-16 Thread Matthias Maier
commit: 161fc86a9bdc9277f26b023de5e422bb5d56c2b8
Author: Matthias Maier  gentoo  org>
AuthorDate: Thu Jun 15 23:17:24 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Sat Jun 17 01:03:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=161fc86a

sci-libs/arborx: fix libdir

Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/arborx/{arborx-1.4.1.ebuild => arborx-1.4.1-r1.ebuild} | 8 
 1 file changed, 8 insertions(+)

diff --git a/sci-libs/arborx/arborx-1.4.1.ebuild 
b/sci-libs/arborx/arborx-1.4.1-r1.ebuild
similarity index 81%
rename from sci-libs/arborx/arborx-1.4.1.ebuild
rename to sci-libs/arborx/arborx-1.4.1-r1.ebuild
index c27f694b4071..d0d4cf0e2ed2 100644
--- a/sci-libs/arborx/arborx-1.4.1.ebuild
+++ b/sci-libs/arborx/arborx-1.4.1-r1.ebuild
@@ -24,6 +24,14 @@ DEPEND="${RDEPEND}"
 
 S="${WORKDIR}"/ArborX-${PV}
 
+src_prepare() {
+   default
+   cmake_src_prepare
+
+   # replace hardcoded "lib/" directory:
+   sed -i -e "s#lib/#$(get_libdir)/#g" CMakeLists.txt || die "sed failed"
+}
+
 src_configure() {
local mycmakeargs=(
-DARBORX_ENABLE_MPI="$(usex mpi)"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/arborx/

2023-06-15 Thread Matthias Maier
commit: 454365d389737e10203299e5dc5065c1d52ac019
Author: Matthias Maier  gentoo  org>
AuthorDate: Thu Jun 15 18:24:37 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Thu Jun 15 18:25:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=454365d3

sci-libs/arborx: add 1.4.1

Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/arborx/Manifest|  1 +
 sci-libs/arborx/arborx-1.4.1.ebuild | 37 +
 2 files changed, 38 insertions(+)

diff --git a/sci-libs/arborx/Manifest b/sci-libs/arborx/Manifest
index fdd46ae98bd0..4edaadde14e2 100644
--- a/sci-libs/arborx/Manifest
+++ b/sci-libs/arborx/Manifest
@@ -1 +1,2 @@
 DIST arborx-1.2.tar.gz 380705 BLAKE2B 
eb0006e69edb6cfd1d402dfe5a58db76954c34f847ce8acd1c0f2bd2044a29a434fc01df67829fce4ec911f5c882c1625aa7a50bc39a5d33dfb2c26d6a4cbb4f
 SHA512 
d48650b11fc26770c43f4821999647acb0c7675367e416ad025ab21eb50da66c732f03bc6decf840d25dac26ff7f1f5dca77b7514dffc619cef8d401e83a8795
+DIST arborx-1.4.1.tar.gz 408999 BLAKE2B 
83e172f89ac8ff82d4add40fd036457d9c563b44c11b15d86aa884dc03742f3e22a13cc4b6f068ef377fcd8e63d239f704dd1821772079d2f9f8c169b1f31fae
 SHA512 
3799deed5eae1e6092c19a62894207ac0ccd81ba84c8d42734fa3d0e5a3fc9d6a8f7b1442d2203b06f4e251970569f67506d419fb6695039c11e78dfd740e565

diff --git a/sci-libs/arborx/arborx-1.4.1.ebuild 
b/sci-libs/arborx/arborx-1.4.1.ebuild
new file mode 100644
index ..c27f694b4071
--- /dev/null
+++ b/sci-libs/arborx/arborx-1.4.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Library for performance portable algorithms for geometric search"
+HOMEPAGE="https://github.com/arborx/ArborX;
+
+SRC_URI="https://github.com/${PN}/ArborX/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+IUSE="mpi"
+
+RDEPEND="dev-libs/boost:=
+   mpi? ( virtual/mpi[cxx] )
+   sci-libs/trilinos"
+
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"/ArborX-${PV}
+
+src_configure() {
+   local mycmakeargs=(
+   -DARBORX_ENABLE_MPI="$(usex mpi)"
+   )
+
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/magic-wormhole/

2023-05-26 Thread Matthias Maier
commit: 6ec50c0ec9e1cdc6072d97c59d1ec668714f8efa
Author: Matthias Maier  gentoo  org>
AuthorDate: Fri May 26 09:27:13 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Fri May 26 09:27:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ec50c0e

dev-python/magic-wormhole: QA

  - as requested in bug #907117, do not use vcs-snapshot - even though
this makes for much nicer paths when using commit snapshots...

Bug: https://bugs.gentoo.org/907117

Signed-off-by: Matthias Maier  gentoo.org>

 dev-python/magic-wormhole/magic-wormhole-0.12.0_p20230525.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/magic-wormhole/magic-wormhole-0.12.0_p20230525.ebuild 
b/dev-python/magic-wormhole/magic-wormhole-0.12.0_p20230525.ebuild
index 6a6c99bff5a9..4afc806872fe 100644
--- a/dev-python/magic-wormhole/magic-wormhole-0.12.0_p20230525.ebuild
+++ b/dev-python/magic-wormhole/magic-wormhole-0.12.0_p20230525.ebuild
@@ -10,7 +10,7 @@ DISTUTILS_USE_PEP517=setuptools
 # miscellanous improvements
 COMMIT_SHA1="8afd171791943b9fab036f0e0067b87c9b59"
 
-inherit distutils-r1 vcs-snapshot
+inherit distutils-r1
 
 DESCRIPTION="Get Things From One Computer To Another, Safely"
 HOMEPAGE="https://magic-wormhole.readthedocs.io/en/latest/ 
https://pypi.org/project/magic-wormhole/;
@@ -19,7 +19,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/archive/${COMMIT_SHA1}.tar.gz -> ${P}.gh
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-S="${WORKDIR}/${P}.gh"
+S="${WORKDIR}/magic-wormhole-${COMMIT_SHA1}"
 
 RDEPEND="
dev-python/attrs[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/magic-wormhole-transit-relay/

2023-05-26 Thread Matthias Maier
commit: 3bcba35091d347f92a741c3590daf75a548cdea9
Author: Matthias Maier  gentoo  org>
AuthorDate: Fri May 26 09:18:44 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Fri May 26 09:20:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bcba350

dev-python/magic-wormhole-transit-relay: QA

  - add missing test dependency on dev-python/mock
  - as requested in bug #907117, do not use vcs-snapshot - even though
this makes for much nicer paths when using commit snapshots...

Closes: https://bugs.gentoo.org/907200
Bug: https://bugs.gentoo.org/907117
Signed-off-by: Matthias Maier  gentoo.org>

 .../magic-wormhole-transit-relay-0.2.1_p20230525.ebuild | 17 +++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git 
a/dev-python/magic-wormhole-transit-relay/magic-wormhole-transit-relay-0.2.1_p20230525.ebuild
 
b/dev-python/magic-wormhole-transit-relay/magic-wormhole-transit-relay-0.2.1_p20230525.ebuild
index aa0b710e9a36..910aee6cec11 100644
--- 
a/dev-python/magic-wormhole-transit-relay/magic-wormhole-transit-relay-0.2.1_p20230525.ebuild
+++ 
b/dev-python/magic-wormhole-transit-relay/magic-wormhole-transit-relay-0.2.1_p20230525.ebuild
@@ -10,7 +10,7 @@ DISTUTILS_USE_PEP517=setuptools
 # miscelleanous bufixes
 COMMIT_SHA1="db48e915311d1d10c748bb5299e2345c74e90a1b"
 
-inherit distutils-r1 vcs-snapshot
+inherit distutils-r1
 
 DESCRIPTION="Transit relay server for magic-wormhole"
 HOMEPAGE="https://magic-wormhole.readthedocs.io/en/latest/ 
https://pypi.org/project/magic-wormhole-transit-relay/;
@@ -19,10 +19,23 @@ 
SRC_URI="https://github.com/magic-wormhole/${PN}/archive/${COMMIT_SHA1}.tar.gz -
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-S="${WORKDIR}/${P}.gh"
+S="${WORKDIR}/magic-wormhole-transit-relay-${COMMIT_SHA1}"
 
 RDEPEND="
dev-python/autobahn[${PYTHON_USEDEP}]
dev-python/twisted[ssl,${PYTHON_USEDEP}]"
 
+BDEPEND="test? (
+   dev-python/mock[${PYTHON_USEDEP}]
+   )"
+
 distutils_enable_tests pytest
+
+python_test() {
+   # deselect test_buff_fill test because it exhibits intermittent hangs,
+   # bug #907200
+   local EPYTEST_DESELECT=(
+   
src/wormhole_transit_relay/test/test_backpressure.py::TransitWebSockets::test_buffer_fill
+   )
+   epytest
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/magic-wormhole-mailbox-server/

2023-05-26 Thread Matthias Maier
commit: 8715822c57cf2a409b1515413fa564da5ccf3303
Author: Matthias Maier  gentoo  org>
AuthorDate: Fri May 26 08:05:00 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Fri May 26 09:02:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8715822c

dev-python/magic-wormhole-mailbox-server: QA

 - add missing test dependency on dev-python/mock
 - as requested in bug #907117, do not use vcs-snapshot - even though
   this makes for much nicer paths when using commit snapshots...

Closes: https://bugs.gentoo.org/907199
Bug: https://bugs.gentoo.org/907117
Signed-off-by: Matthias Maier  gentoo.org>

 .../magic-wormhole-mailbox-server-0.4.1_p20230525.ebuild | 9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git 
a/dev-python/magic-wormhole-mailbox-server/magic-wormhole-mailbox-server-0.4.1_p20230525.ebuild
 
b/dev-python/magic-wormhole-mailbox-server/magic-wormhole-mailbox-server-0.4.1_p20230525.ebuild
index f5769517ec9f..47035e89b80c 100644
--- 
a/dev-python/magic-wormhole-mailbox-server/magic-wormhole-mailbox-server-0.4.1_p20230525.ebuild
+++ 
b/dev-python/magic-wormhole-mailbox-server/magic-wormhole-mailbox-server-0.4.1_p20230525.ebuild
@@ -9,7 +9,7 @@ DISTUTILS_USE_PEP517=setuptools
 # Version 0.4.1 with additional upstream fixes for python 3.11 support
 COMMIT_SHA1="39672ae95a2635ba9daaba62f483aa75bfd80a22"
 
-inherit distutils-r1 vcs-snapshot
+inherit distutils-r1
 
 DESCRIPTION="Mailbox server for magic-wormhole"
 HOMEPAGE="https://magic-wormhole.readthedocs.io/en/latest/ 
https://pypi.org/project/magic-wormhole-mailbox-server/;
@@ -18,12 +18,15 @@ 
SRC_URI="https://github.com/magic-wormhole/${PN}/archive/${COMMIT_SHA1}.tar.gz -
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-S="${WORKDIR}/${P}.gh"
+S="${WORKDIR}/magic-wormhole-mailbox-server-${COMMIT_SHA1}"
 
 RDEPEND="
dev-python/autobahn[${PYTHON_USEDEP}]
dev-python/twisted[ssl,${PYTHON_USEDEP}]"
 
-BDEPEND="test? ( dev-python/treq[${PYTHON_USEDEP}] )"
+BDEPEND="test? (
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/treq[${PYTHON_USEDEP}]
+   )"
 
 distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/spake2/files/, dev-python/spake2/

2023-05-26 Thread Matthias Maier
commit: 825af0a2600cbe7454c0eed9c7034bbb867e0c6b
Author: Matthias Maier  gentoo  org>
AuthorDate: Fri May 26 07:57:08 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Fri May 26 08:00:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=825af0a2

dev-python/spake2: change to dev-python/cryptography

Bug: https://bugs.gentoo.org/907117
Signed-off-by: Matthias Maier  gentoo.org>

 .../files/spake2-0.8-do_not_use_hkdf_package.patch | 113 +
 .../{spake2-0.8.ebuild => spake2-0.8-r1.ebuild}|   8 +-
 2 files changed, 119 insertions(+), 2 deletions(-)

diff --git a/dev-python/spake2/files/spake2-0.8-do_not_use_hkdf_package.patch 
b/dev-python/spake2/files/spake2-0.8-do_not_use_hkdf_package.patch
new file mode 100644
index ..40e9e17a6843
--- /dev/null
+++ b/dev-python/spake2/files/spake2-0.8-do_not_use_hkdf_package.patch
@@ -0,0 +1,113 @@
+From 930bfabc17748ea3772e6a40b04e84fc4aafcf04 Mon Sep 17 00:00:00 2001
+From: meejah 
+Date: Wed, 9 Nov 2022 23:42:33 -0700
+Subject: [PATCH 1/2] use cryptography's HKDF implementation
+
+---
+ setup.py   |  2 +-
+ src/spake2/ed25519_basic.py|  2 +-
+ src/spake2/groups.py   | 21 ++---
+ src/spake2/test/test_compat.py |  9 +
+ 4 files changed, 21 insertions(+), 13 deletions(-)
+
+diff --git a/setup.py b/setup.py
+index 660f055..ba3cc28 100755
+--- a/setup.py
 b/setup.py
+@@ -79,5 +79,5 @@ def abbrev(t):
+   "Programming Language :: Python :: 3.6",
+   "Topic :: Security :: Cryptography",
+   ],
+-  install_requires=["hkdf"],
++  install_requires=["cryptography"],
+   )
+diff --git a/src/spake2/ed25519_basic.py b/src/spake2/ed25519_basic.py
+index 1890be7..dbab56d 100644
+--- a/src/spake2/ed25519_basic.py
 b/src/spake2/ed25519_basic.py
+@@ -273,7 +273,7 @@ def arbitrary_element(seed): # unknown DL
+ # oversized string (128 bits more than the field size), then reducing
+ # down to Q. But it's comforting, and it's the same technique we use for
+ # converting passwords/seeds to scalars (which *does* need uniformity).
+-hseed = expand_arbitrary_element_seed(seed, (256/8)+16)
++hseed = expand_arbitrary_element_seed(seed, int((256/8)+16))
+ y = int(binascii.hexlify(hseed), 16) % Q
+ 
+ # we try successive Y values until we find a valid point
+diff --git a/src/spake2/groups.py b/src/spake2/groups.py
+index de4f75d..66b08e7 100644
+--- a/src/spake2/groups.py
 b/src/spake2/groups.py
+@@ -1,6 +1,7 @@
+ from __future__ import division
+ import hashlib
+-from hkdf import Hkdf
++from cryptography.hazmat.primitives.kdf import hkdf
++from cryptography.hazmat.primitives import hashes
+ from .six import integer_types
+ from .util import (size_bits, size_bytes, unbiased_randrange,
+bytes_to_number, number_to_bytes)
+@@ -63,9 +64,12 @@
+ 
+ 
+ def expand_password(data, num_bytes):
+-h = Hkdf(salt=b"", input_key_material=data, hash=hashlib.sha256)
+-info = b"SPAKE2 pw"
+-return h.expand(info, num_bytes)
++return hkdf.HKDF(
++algorithm=hashes.SHA256(),
++length=num_bytes,
++salt=b"",
++info=b"SPAKE2 pw"
++).derive(data)
+ 
+ def password_to_scalar(pw, scalar_size_bytes, q):
+ assert isinstance(pw, bytes)
+@@ -77,9 +81,12 @@ def password_to_scalar(pw, scalar_size_bytes, q):
+ return i % q
+ 
+ def expand_arbitrary_element_seed(data, num_bytes):
+-h = Hkdf(salt=b"", input_key_material=data, hash=hashlib.sha256)
+-info = b"SPAKE2 arbitrary element"
+-return h.expand(info, num_bytes)
++return hkdf.HKDF(
++algorithm=hashes.SHA256(),
++length=num_bytes,
++salt=b"",
++info=b"SPAKE2 arbitrary element"
++).derive(data)
+ 
+ class _Element:
+ def __init__(self, group, e):
+diff --git a/src/spake2/test/test_compat.py b/src/spake2/test/test_compat.py
+index 3c636be..1c1340c 100644
+--- a/src/spake2/test/test_compat.py
 b/src/spake2/test/test_compat.py
+@@ -1,7 +1,8 @@
+ import unittest
+ from binascii import hexlify, unhexlify
+ from hashlib import sha256
+-from hkdf import Hkdf
++from cryptography.hazmat.primitives.kdf import hkdf
++from cryptography.hazmat.primitives import hashes
+ from .myhkdf import HKDF as myHKDF
+ from spake2 import groups, ed25519_group
+ from spake2.spake2 import (SPAKE2_A, SPAKE2_B, SPAKE2_Symmetric,
+@@ -213,14 +214,14 @@ def test_vectors(self):
+ {"salt": "00", "IKM": 
"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "info": "", 
"L": 4, "OKM": "37ad2910"},
+ ]
+ 
+-class HKDF(unittest.TestCase):
++class TestHKDF(unittest.TestCase):
+ def test_vectors(self):
+ for vector in

[gentoo-commits] repo/gentoo:master commit in: dev-python/hkdf/

2023-05-26 Thread Matthias Maier
commit: 5aa395aaca8f48da1c6cc0b5c79e22e7e76154e8
Author: Matthias Maier  gentoo  org>
AuthorDate: Fri May 26 07:59:39 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Fri May 26 08:00:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5aa395aa

dev-python/hkdf: treeclean

Bug: https://bugs.gentoo.org/907117
Signed-off-by: Matthias Maier  gentoo.org>

 dev-python/hkdf/Manifest  |  1 -
 dev-python/hkdf/hkdf-0.0.3.ebuild | 23 ---
 dev-python/hkdf/metadata.xml  | 13 -
 3 files changed, 37 deletions(-)

diff --git a/dev-python/hkdf/Manifest b/dev-python/hkdf/Manifest
deleted file mode 100644
index 61dbb31a62b7..
--- a/dev-python/hkdf/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST hkdf-0.0.3.gh.tar.gz 6784 BLAKE2B 
3034db59d29c9e4ee9b0e94b7927a63df3691d927ac8dc61f7599b55ee4cd27bb3d08fff6cc5dc650e75db74a2fa67cc2004d960558519423fd747455a2874bc
 SHA512 
6738bcebd6a8d48d7389340f0a30cf66114bf5dd4909fd5cfd09d61a39affb851f2cb4143eb9a7e9a4d27bd89797216ec51c635f57b9e3e3573b2719436bcab4

diff --git a/dev-python/hkdf/hkdf-0.0.3.ebuild 
b/dev-python/hkdf/hkdf-0.0.3.ebuild
deleted file mode 100644
index c08523596c1e..
--- a/dev-python/hkdf/hkdf-0.0.3.ebuild
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-DISTUTILS_USE_PEP517=setuptools
-
-# corresponding to upstream version 0.0.3
-COMMIT_SHA1="cc3c9dbf0a271b27a7ac5cd04cc1485bbc3b4307"
-
-inherit distutils-r1 vcs-snapshot
-
-DESCRIPTION="HMAC-based Extract-and-Expand Key Derivation Function (HKDF)"
-HOMEPAGE="https://pypi.org/project/hkdf;
-SRC_URI="https://github.com/casebeer/python-hkdf/archive/${COMMIT_SHA1}.tar.gz 
-> ${P}.gh.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-S="${WORKDIR}/${P}.gh"
-
-distutils_enable_tests nose

diff --git a/dev-python/hkdf/metadata.xml b/dev-python/hkdf/metadata.xml
deleted file mode 100644
index 499864299082..
--- a/dev-python/hkdf/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-https://www.gentoo.org/dtd/metadata.dtd;>
-
-   
-   tam...@gentoo.org
-   Matthias Maier
-   
-   
-   
-   hkdf
-   casebeer/python-hkdf
-   
-



[gentoo-commits] repo/gentoo:master commit in: dev-python/magic-wormhole-transit-relay/

2023-05-25 Thread Matthias Maier
commit: a271721246d8efca2410050852cbea66449a2968
Author: Matthias Maier  gentoo  org>
AuthorDate: Fri May 26 00:38:28 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Fri May 26 01:01:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2717212

dev-python/magic-wormhole-transit-relay: add 0.2.1

Signed-off-by: Matthias Maier  gentoo.org>

 dev-python/magic-wormhole-transit-relay/Manifest   |  1 +
 .../magic-wormhole-transit-relay-0.2.1.ebuild  | 23 ++
 2 files changed, 24 insertions(+)

diff --git a/dev-python/magic-wormhole-transit-relay/Manifest 
b/dev-python/magic-wormhole-transit-relay/Manifest
index 05dd4669ab5a..6ddedcfde874 100644
--- a/dev-python/magic-wormhole-transit-relay/Manifest
+++ b/dev-python/magic-wormhole-transit-relay/Manifest
@@ -1 +1,2 @@
+DIST magic-wormhole-transit-relay-0.2.1.gh.tar.gz 45936 BLAKE2B 
ffb05c716a35e688801150c3fd6de28cf557ed346091400f9eeb9335b6815425624e70d61f54be8f0a1e8bb15e874528f7cfcef1e8f0a2f8d3cd4285adb1db3a
 SHA512 
dcc309de800d9023ff106ea7b67da4814006ee50e517570c046f2dff20573306b3d5f7c4e227186b2b6f8ff7cb71e02e41499766badf299d859a0e5628066162
 DIST magic-wormhole-transit-relay-0.2.1_p20230525.gh.tar.gz 55549 BLAKE2B 
36184ce5034f8a5b684fb82a9e6debd1f945a119c9daa155e5bec0041dd986668573b7843efde8bbce2dbf2630774b7a195e28443c070760e234e0214c51dcc3
 SHA512 
c8270b8daebaf2d6403f0cbc6ff8a5c37fec6fd28ce0d441c834f5bcfcb1e0dedfb953acdf9711b6077c0e5fce3fba37447f2c29ed424ba64d8c2a9519b5eed8

diff --git 
a/dev-python/magic-wormhole-transit-relay/magic-wormhole-transit-relay-0.2.1.ebuild
 
b/dev-python/magic-wormhole-transit-relay/magic-wormhole-transit-relay-0.2.1.ebuild
new file mode 100644
index ..fdda8adc83f2
--- /dev/null
+++ 
b/dev-python/magic-wormhole-transit-relay/magic-wormhole-transit-relay-0.2.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1
+
+DESCRIPTION="Transit relay server for magic-wormhole"
+HOMEPAGE="https://magic-wormhole.readthedocs.io/en/latest/ 
https://pypi.org/project/magic-wormhole-transit-relay/;
+SRC_URI="https://github.com/magic-wormhole/${PN}/archive/refs/tags/${PV}.tar.gz
 -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   dev-python/autobahn[${PYTHON_USEDEP}]
+   dev-python/twisted[ssl,${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/magic-wormhole/

2023-05-25 Thread Matthias Maier
commit: 2f841741e2f615652aa73bdc6cb435ec572a5ae6
Author: Matthias Maier  gentoo  org>
AuthorDate: Wed May 24 21:59:09 2023 +
Commit:     Matthias Maier  gentoo  org>
CommitDate: Fri May 26 01:04:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f841741

dev-python/magic-wormhole: new package, add 0.12.0_p20230525

Revision:
  - move to latest upstream patches for python 3.11 support
  - enable testsuite
  - verified that the package installs cleanly for 3.10 and 3.11

Bug: https://bugs.gentoo.org/907117
Signed-off-by: Matthias Maier  gentoo.org>

 dev-python/magic-wormhole/Manifest |  1 +
 .../magic-wormhole-0.12.0_p20230525.ebuild | 51 ++
 dev-python/magic-wormhole/metadata.xml | 13 ++
 3 files changed, 65 insertions(+)

diff --git a/dev-python/magic-wormhole/Manifest 
b/dev-python/magic-wormhole/Manifest
new file mode 100644
index ..95132edb3b84
--- /dev/null
+++ b/dev-python/magic-wormhole/Manifest
@@ -0,0 +1 @@
+DIST magic-wormhole-0.12.0_p20230525.gh.tar.gz 281332 BLAKE2B 
daf9e39c89d8591584b25f142de2e66757a31970179f38e2fb74e112295e637f94930127bd3c0c1cc1243ac559dc4885bab3e7892b112dbf174b0514b49051c0
 SHA512 
ef5be6396fb9d6e35c64baeeaaea269526f9f8127eaf1bdd7b7b693a0272885388c4d6dc9fac87f6355eff5e9fe94450aebeafd2009b7d74f6772922a2796cbd

diff --git a/dev-python/magic-wormhole/magic-wormhole-0.12.0_p20230525.ebuild 
b/dev-python/magic-wormhole/magic-wormhole-0.12.0_p20230525.ebuild
new file mode 100644
index ..6a6c99bff5a9
--- /dev/null
+++ b/dev-python/magic-wormhole/magic-wormhole-0.12.0_p20230525.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+DISTUTILS_USE_PEP517=setuptools
+
+# Version 0.12.0 with additional upstream fixes for python 3.11 support and
+# miscellanous improvements
+COMMIT_SHA1="8afd171791943b9fab036f0e0067b87c9b59"
+
+inherit distutils-r1 vcs-snapshot
+
+DESCRIPTION="Get Things From One Computer To Another, Safely"
+HOMEPAGE="https://magic-wormhole.readthedocs.io/en/latest/ 
https://pypi.org/project/magic-wormhole/;
+SRC_URI="https://github.com/${PN}/${PN}/archive/${COMMIT_SHA1}.tar.gz -> 
${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+S="${WORKDIR}/${P}.gh"
+
+RDEPEND="
+   dev-python/attrs[${PYTHON_USEDEP}]
+   dev-python/autobahn[${PYTHON_USEDEP}]
+   dev-python/automat[${PYTHON_USEDEP}]
+   dev-python/click[${PYTHON_USEDEP}]
+   dev-python/cryptography[${PYTHON_USEDEP}]
+   dev-python/humanize[${PYTHON_USEDEP}]
+   dev-python/noiseprotocol[${PYTHON_USEDEP}]
+   dev-python/pynacl[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/spake2[${PYTHON_USEDEP}]
+   dev-python/tqdm[${PYTHON_USEDEP}]
+   dev-python/twisted[ssl,${PYTHON_USEDEP}]
+   dev-python/txtorcon[${PYTHON_USEDEP}]"
+
+#
+# magic-wormhole-0.12.0_p20230525 requires the released
+# magic-wormhole-transit-relay-0.21 for setting up its unit tests. This
+# hopefully will be resolved soon with the upcoming releases (of wormhole,
+# mailbox-server, and transit-relay).
+#
+BDEPEND="
+   test? (
+   dev-python/magic-wormhole-mailbox-server[${PYTHON_USEDEP}]
+   ~dev-python/magic-wormhole-transit-relay-0.2.1[${PYTHON_USEDEP}]
+   )"
+
+distutils_enable_tests pytest

diff --git a/dev-python/magic-wormhole/metadata.xml 
b/dev-python/magic-wormhole/metadata.xml
new file mode 100644
index ..c0b4cfe14855
--- /dev/null
+++ b/dev-python/magic-wormhole/metadata.xml
@@ -0,0 +1,13 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   tam...@gentoo.org
+   Matthias Maier
+   
+   
+   
+   magic-wormhole
+   magic-wormhole/magic-wormhole
+   
+



  1   2   3   4   5   6   7   8   9   10   >