[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/slepc/
commit: ead854247f662931682d41ba817b91ed2f14bcba Author: Matthias Maier gentoo org> AuthorDate: Wed Jul 3 23:17:40 2024 + Commit: Matthias Maier gentoo org> CommitDate: Wed Jul 3 23:28:09 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ead85424 sci-mathematics/slepc: add 3.21.1 Closes: https://bugs.gentoo.org/929797 Signed-off-by: Matthias Maier gentoo.org> sci-mathematics/slepc/Manifest| 2 + sci-mathematics/slepc/slepc-3.21.1.ebuild | 125 ++ 2 files changed, 127 insertions(+) diff --git a/sci-mathematics/slepc/Manifest b/sci-mathematics/slepc/Manifest index 6df2601b5b5d..0a870c1cd6e4 100644 --- a/sci-mathematics/slepc/Manifest +++ b/sci-mathematics/slepc/Manifest @@ -4,6 +4,8 @@ DIST slepc-3.18.1.tar.gz 6013016 BLAKE2B 1526b7e6e0f0387a8410cfcbee9bc62f35f9304 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-3.21.1.tar.gz 1827860 BLAKE2B 64da6b28bbea6a811972c9ec4115a44c49609a9b98524001aa53fc6bafe0dfbe0497b799204a80e387bfd9c588cc7858fce5835249e1d8d3a93d09c6d622feb8 SHA512 ee80d868fcdc9be63ebdf07020900c99d72867c5e8f1778de38bfa7890b083cbe5a03ee32a7886607bba04d42218b1f4d526b82a8b1b1f24d78f3ee4ef998db3 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 +DIST slepc-with-docs-3.21.1.tar.gz 6379594 BLAKE2B 96f544bfa5c378c65192e2ea9885939a66f254f1a92ac0bf51b118971171bc9de23307a95dc5505b8177fd5dc8c2c694ceb77f3dac9c65df6338dc8f0c4fce4c SHA512 6c110664aec40721a1cd787d922ad46d0cd5c03762cd29cfd13491656ffeebb8068ac7a0d81946dee74645886a9230134f161ce50f714c705fb3edf9afd63a16 diff --git a/sci-mathematics/slepc/slepc-3.21.1.ebuild b/sci-mathematics/slepc/slepc-3.21.1.ebuild new file mode 100644 index ..c96091f2d520 --- /dev/null +++ b/sci-mathematics/slepc/slepc-3.21.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..12} ) + +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
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/slepc/
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)/slepcdir" \ + --with-arpack=1 \ + --with-arpack-lib="$(usex mpi "-lparpack -larpack" "-larpack")" + else +
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/slepc/
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" \ + --with-arpack=0 + fi +} + +src_install() { + emake DESTDIR="${ED}" install + + # + # Clean up the mess: + # + + # put all include directories under a proper
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/slepc/
commit: 456764076a13b6be867dfd94536a73118fd9fd89 Author: Matthias Maier gentoo org> AuthorDate: Sun May 7 18:54:22 2023 + Commit: Matthias Maier gentoo org> CommitDate: Sun May 7 18:59:02 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45676407 sci-mathematics/slepc: update SRC_URI and fix USE=doc Signed-off-by: Matthias Maier gentoo.org> sci-mathematics/slepc/Manifest| 1 + sci-mathematics/slepc/slepc-3.19.0.ebuild | 9 - 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/sci-mathematics/slepc/Manifest b/sci-mathematics/slepc/Manifest index 62251e13d86d..989e43b029f9 100644 --- a/sci-mathematics/slepc/Manifest +++ b/sci-mathematics/slepc/Manifest @@ -2,3 +2,4 @@ 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-with-docs-3.19.0.tar.gz 6320650 BLAKE2B 32d383d7ddfe6cf21755fcae768517830076d38ef4c0d844c0a4270194de541a32849883d951f1a47d98491be05866b415de3ca6148b9d9cdf0bfc5e6487234e SHA512 48695c8449a323755a5d8bd3e88560e72ef82a48d0d1150e2a751a323db02836b7bbaea3bb44c9a79b900a93337f6ced12aba6cfd939a7c1edae49f17e71 diff --git a/sci-mathematics/slepc/slepc-3.19.0.ebuild b/sci-mathematics/slepc/slepc-3.19.0.ebuild index dacebd229f02..3622655a7bd1 100644 --- a/sci-mathematics/slepc/slepc-3.19.0.ebuild +++ b/sci-mathematics/slepc/slepc-3.19.0.ebuild @@ -9,7 +9,9 @@ inherit python-any-r1 DESCRIPTION="Scalable Library for Eigenvalue Problem Computations" HOMEPAGE="https://slepc.upv.es/; -SRC_URI="https://slepc.upv.es/download/distrib/${P}.tar.gz; +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" @@ -32,6 +34,11 @@ DEPEND="${RDEPEND} 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
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/slepc/
commit: f14d01043d4eaf24d3f1bdd5e286efea522f2c0e Author: Matthias Maier gentoo org> AuthorDate: Sun May 7 18:34:58 2023 + Commit: Matthias Maier gentoo org> CommitDate: Sun May 7 18:59:02 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f14d0104 sci-mathematics/slepc: add 3.19.0 Signed-off-by: Matthias Maier gentoo.org> sci-mathematics/slepc/Manifest| 1 + sci-mathematics/slepc/slepc-3.19.0.ebuild | 118 ++ 2 files changed, 119 insertions(+) diff --git a/sci-mathematics/slepc/Manifest b/sci-mathematics/slepc/Manifest index 5c0d593e316c..62251e13d86d 100644 --- a/sci-mathematics/slepc/Manifest +++ b/sci-mathematics/slepc/Manifest @@ -1,3 +1,4 @@ DIST slepc-3.16.0.tar.gz 5486237 BLAKE2B 28f45036ba7e6aa2b227c6f25e2c8edf7fc6914f3150043a7e310f270d24e669f32172897b558687c33a809c484e314a865296d4879a622d85004d329ec3bd1c SHA512 15ba9e4626fe3cf44142448b77869fa6d313bb7c026736d5552dfbab1ce350c2e2f2379fb647a1c236af8cb95895e4442dca1defa741a5b2b9172cbdf0baf75f 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 diff --git a/sci-mathematics/slepc/slepc-3.19.0.ebuild b/sci-mathematics/slepc/slepc-3.19.0.ebuild new file mode 100644 index ..dacebd229f02 --- /dev/null +++ b/sci-mathematics/slepc/slepc-3.19.0.ebuild @@ -0,0 +1,118 @@ +# 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="https://slepc.upv.es/download/distrib/${P}.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_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" \ + --with-arpack=0 + fi +} + +src_install() { + emake DESTDIR="${ED}" install + + # + # Clean up the mess: + # + + # put all include directories under a proper subdirectory + mkdir "${ED}"/usr/include || die "mkdir failed (include)" + mv "${ED}"/usr/{$(get_libdir)/slepcdir/include,include/slepc} || die "mv failed (include)" + + # put libraries and pkconfig file into proper place + mv "${ED}"/usr/$(get_libdir)/slepcdir/lib/{libslepc*,pkgconfig} \ + "${ED}/usr/$(get_libdir)" || die "mv failed (lib)" + + # move share to proper location + mv "${ED}"/usr/{$(get_libdir)/slepcdir/share,share} || die "mv failed (share)" + + # fix pc files: + sed -i \ + -e 's#include$#include/slepc#' \ + -e "s#lib\$#$(get_libdir)#" \ + -e "s#^prefix=.*slepcdir\$#prefix=${EPREFIX}/usr#" \ + "${ED}"/usr/$(get_libdir)/pkgconfig/*.pc || die "sed failed (pkgconfig)" + + # recreate a "valid" slepcdir: + for i in "${ED}"/usr/$(get_libdir)/*; do + [ $(basename $i) = slepcdir
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/slepc/
commit: 580b8f5a88b3fd8372c1ad7d59f87f3b77809865 Author: Matthias Maier gentoo org> AuthorDate: Wed Dec 28 06:43:34 2022 + Commit: Matthias Maier gentoo org> CommitDate: Wed Dec 28 06:46:15 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=580b8f5a sci-mathematics/slepc: add 3.18.1 Closes: https://bugs.gentoo.org/851099 Signed-off-by: Matthias Maier gentoo.org> sci-mathematics/slepc/Manifest| 1 + sci-mathematics/slepc/metadata.xml| 1 + sci-mathematics/slepc/slepc-3.18.1.ebuild | 118 ++ 3 files changed, 120 insertions(+) diff --git a/sci-mathematics/slepc/Manifest b/sci-mathematics/slepc/Manifest index adafe0310cde..5c0d593e316c 100644 --- a/sci-mathematics/slepc/Manifest +++ b/sci-mathematics/slepc/Manifest @@ -1,2 +1,3 @@ DIST slepc-3.16.0.tar.gz 5486237 BLAKE2B 28f45036ba7e6aa2b227c6f25e2c8edf7fc6914f3150043a7e310f270d24e669f32172897b558687c33a809c484e314a865296d4879a622d85004d329ec3bd1c SHA512 15ba9e4626fe3cf44142448b77869fa6d313bb7c026736d5552dfbab1ce350c2e2f2379fb647a1c236af8cb95895e4442dca1defa741a5b2b9172cbdf0baf75f DIST slepc-3.17.1.tar.gz 5450177 BLAKE2B ec4f597085a176a010797d599779cc4532e52996105bb76f755073876ebb81026c580cb5759a03bda58cb2de2767b1dcdb01ff0d946f218117edb2a7a6557414 SHA512 5429aa7516ec0b2fee8158f9317634faf1c963aa60237be81a0392d5f2fa9f531db59b4a9ad04e266d808befdbd71b5a30259b4abc639a1da2defffd74acd35b +DIST slepc-3.18.1.tar.gz 6013016 BLAKE2B 1526b7e6e0f0387a8410cfcbee9bc62f35f930420b86bcb58146b16f73b28b349c6aad0ef59e02a635c374a0a8b6eb16ac50b7bcb79ce6c06a3de56029db551a SHA512 d366844c492be6bf77edabdbe0d61672ead45605fc299c25ac24bf14d9d15bc107bb62f0d08aa403a5f269a2b12ae4d7cd3768958d792812e6c1924b93a27be4 diff --git a/sci-mathematics/slepc/metadata.xml b/sci-mathematics/slepc/metadata.xml index a8d5fa4419fe..d04f7a280211 100644 --- a/sci-mathematics/slepc/metadata.xml +++ b/sci-mathematics/slepc/metadata.xml @@ -10,6 +10,7 @@ Gentoo Mathematics Project + Adds support for ARPACK (sci-libs/arpack) Make scalars complex diff --git a/sci-mathematics/slepc/slepc-3.18.1.ebuild b/sci-mathematics/slepc/slepc-3.18.1.ebuild new file mode 100644 index ..507db75bf443 --- /dev/null +++ b/sci-mathematics/slepc/slepc-3.18.1.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) + +inherit python-any-r1 + +DESCRIPTION="Scalable Library for Eigenvalue Problem Computations" +HOMEPAGE="https://slepc.upv.es/; +SRC_URI="https://slepc.upv.es/download/distrib/${P}.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_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" \ + --with-arpack=0 + fi +} + +src_install() { + emake DESTDIR="${ED}" install + + # + # Clean up the mess: + # + + # put all include directories under a proper subdirectory + mkdir "${ED}"/usr/include || die "mkdir failed (include)" + mv "${ED}"/usr/{$(get_libdir)/slepcdir/include,include/slepc} || die "mv failed (include)" + + # put libraries and pkconfig file into proper place + mv "${ED}"/usr/$(get_libdir)/slepcdir/lib/{libslepc*,pkgconfig} \ + "${ED}/usr/$(get_libdir)" || die "mv failed (lib)" + + # move share to proper location + mv "${ED}"/usr/{$(get_libdir)/slepcdir/share,share} || die "mv failed (share)" + + # fix pc files: + sed -i \ + -e 's#include$#include/slepc#' \ + -e "s#lib\$#$(get_libdir)#" \ + -e "s#^prefix=.*slepcdir\$#prefix=${EPREFIX}/usr#" \ +
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/slepc/
commit: 7829fa61e5716f26f560b5be5135c2b335227f9c Author: Matthias Maier gentoo org> AuthorDate: Thu May 26 00:06:01 2022 + Commit: Matthias Maier gentoo org> CommitDate: Thu May 26 01:26:54 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7829fa61 sci-mathematics/slepc: drop 3.13.1, 3.14.2, 3.15.0 Signed-off-by: Matthias Maier gentoo.org> sci-mathematics/slepc/Manifest| 3 -- sci-mathematics/slepc/slepc-3.13.1.ebuild | 69 --- sci-mathematics/slepc/slepc-3.14.2.ebuild | 69 --- sci-mathematics/slepc/slepc-3.15.0.ebuild | 69 --- 4 files changed, 210 deletions(-) diff --git a/sci-mathematics/slepc/Manifest b/sci-mathematics/slepc/Manifest index cf9e24f3d0a5..adafe0310cde 100644 --- a/sci-mathematics/slepc/Manifest +++ b/sci-mathematics/slepc/Manifest @@ -1,5 +1,2 @@ -DIST slepc-3.13.1.tar.gz 4797627 BLAKE2B 29372b8a2d4c5f3b26e840df743f7aec098bfeeb29e9c108e509baa21d9697da19c737470ba4c132391d5193ebf749ef3f3c6ece600ec7527502d40a239aa0ee SHA512 620c344274808329c0a1009e7844532e03e88d38135bfd5b73bc0bc6815b17b6dfb49341d05399230ba6e06997db688aec17615429eaca3dc94fd886119bf321 -DIST slepc-3.14.2.tar.gz 4865497 BLAKE2B d6fd0b45368383fad03b17f9d7f0ef26215b7459a5566c62ab2ad758eaa5fbc626be255b0aafa29b8830eb649a7bcfb0f36d383b865b4c1baa9de6037638de84 SHA512 0727a4f1672c4eb3cf0aa20aa408b897425539ac69123001ac3b2e0bc2d1fa230ef028fa0cd5e89e7a86a98884164fd1c97a742f90f0c128fcc7066d032ee321 -DIST slepc-3.15.0.tar.gz 5191730 BLAKE2B 2fcdfbe25f59a80390478059ef0a8b066ac39b57e99fe65ab4fe4814507fdc78d1feb245df5f7542f08c151d20f2e2a6168c4bc2624f78ab5058627816bb6696 SHA512 f815f0805db3f3e329324778c172ba301ebb5d2fc8f8f4c5dd17e574a2cbed5c0f8015715bc908dfcbd4050fade8dab7ae3b312bae746c41d84c57bc5d101929 DIST slepc-3.16.0.tar.gz 5486237 BLAKE2B 28f45036ba7e6aa2b227c6f25e2c8edf7fc6914f3150043a7e310f270d24e669f32172897b558687c33a809c484e314a865296d4879a622d85004d329ec3bd1c SHA512 15ba9e4626fe3cf44142448b77869fa6d313bb7c026736d5552dfbab1ce350c2e2f2379fb647a1c236af8cb95895e4442dca1defa741a5b2b9172cbdf0baf75f DIST slepc-3.17.1.tar.gz 5450177 BLAKE2B ec4f597085a176a010797d599779cc4532e52996105bb76f755073876ebb81026c580cb5759a03bda58cb2de2767b1dcdb01ff0d946f218117edb2a7a6557414 SHA512 5429aa7516ec0b2fee8158f9317634faf1c963aa60237be81a0392d5f2fa9f531db59b4a9ad04e266d808befdbd71b5a30259b4abc639a1da2defffd74acd35b diff --git a/sci-mathematics/slepc/slepc-3.13.1.ebuild b/sci-mathematics/slepc/slepc-3.13.1.ebuild deleted file mode 100644 index b30b13af2da9.. --- a/sci-mathematics/slepc/slepc-3.13.1.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8} ) - -inherit flag-o-matic python-any-r1 toolchain-funcs - -DESCRIPTION="Scalable Library for Eigenvalue Problem Computations" -HOMEPAGE="https://slepc.upv.es/; -SRC_URI="https://slepc.upv.es/download/distrib/${P}.tar.gz; - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="complex-scalars doc mpi" - -RDEPEND=" - =sci-mathematics/petsc-$(ver_cut 1-2)*:=[mpi=,complex-scalars=] - sci-libs/arpack[mpi=] - mpi? ( virtual/mpi ) -" - -DEPEND="${RDEPEND} - ${PYTHON_DEPS} - virtual/pkgconfig - dev-util/cmake -" - -MAKEOPTS="${MAKEOPTS} V=1" - -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 - ./configure \ - --prefix="${EPREFIX}/usr/$(get_libdir)/slepc" \ - --with-arpack=1 \ - --with-arpack-dir="${EPREFIX}/usr/$(get_libdir)" \ - --with-arpack-lib="$(usex mpi "-lparpack,-larpack" "-larpack")" -} - -src_install() { - emake DESTDIR="${ED}" install - - # add PETSC_DIR to environmental variables - cat >> 99slepc <<- EOF - SLEPC_DIR=${EPREFIX}/usr/$(get_libdir)/slepc - LDPATH=${EPREFIX}/usr/$(get_libdir)/slepc/lib - EOF - doenvd 99slepc - - if use doc ; then - dodoc docs/slepc.pdf - docinto html - dodoc -r docs/*.html docs/manualpages - fi -} diff --git a/sci-mathematics/slepc/slepc-3.14.2.ebuild b/sci-mathematics/slepc/slepc-3.14.2.ebuild deleted file mode 100644 index b30b13af2da9.. --- a/sci-mathematics/slepc/slepc-3.14.2.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/slepc/
commit: eda33279083369e2c6a48e53f40f11dc5707a5d8 Author: Matthias Maier gentoo org> AuthorDate: Thu May 26 00:06:23 2022 + Commit: Matthias Maier gentoo org> CommitDate: Thu May 26 01:26:53 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eda33279 sci-mathematics/slepc: add 3.17.1 Signed-off-by: Matthias Maier gentoo.org> sci-mathematics/slepc/Manifest| 1 + sci-mathematics/slepc/slepc-3.17.1.ebuild | 68 +++ 2 files changed, 69 insertions(+) diff --git a/sci-mathematics/slepc/Manifest b/sci-mathematics/slepc/Manifest index fad6e5f3c24b..cf9e24f3d0a5 100644 --- a/sci-mathematics/slepc/Manifest +++ b/sci-mathematics/slepc/Manifest @@ -2,3 +2,4 @@ DIST slepc-3.13.1.tar.gz 4797627 BLAKE2B 29372b8a2d4c5f3b26e840df743f7aec098bfee DIST slepc-3.14.2.tar.gz 4865497 BLAKE2B d6fd0b45368383fad03b17f9d7f0ef26215b7459a5566c62ab2ad758eaa5fbc626be255b0aafa29b8830eb649a7bcfb0f36d383b865b4c1baa9de6037638de84 SHA512 0727a4f1672c4eb3cf0aa20aa408b897425539ac69123001ac3b2e0bc2d1fa230ef028fa0cd5e89e7a86a98884164fd1c97a742f90f0c128fcc7066d032ee321 DIST slepc-3.15.0.tar.gz 5191730 BLAKE2B 2fcdfbe25f59a80390478059ef0a8b066ac39b57e99fe65ab4fe4814507fdc78d1feb245df5f7542f08c151d20f2e2a6168c4bc2624f78ab5058627816bb6696 SHA512 f815f0805db3f3e329324778c172ba301ebb5d2fc8f8f4c5dd17e574a2cbed5c0f8015715bc908dfcbd4050fade8dab7ae3b312bae746c41d84c57bc5d101929 DIST slepc-3.16.0.tar.gz 5486237 BLAKE2B 28f45036ba7e6aa2b227c6f25e2c8edf7fc6914f3150043a7e310f270d24e669f32172897b558687c33a809c484e314a865296d4879a622d85004d329ec3bd1c SHA512 15ba9e4626fe3cf44142448b77869fa6d313bb7c026736d5552dfbab1ce350c2e2f2379fb647a1c236af8cb95895e4442dca1defa741a5b2b9172cbdf0baf75f +DIST slepc-3.17.1.tar.gz 5450177 BLAKE2B ec4f597085a176a010797d599779cc4532e52996105bb76f755073876ebb81026c580cb5759a03bda58cb2de2767b1dcdb01ff0d946f218117edb2a7a6557414 SHA512 5429aa7516ec0b2fee8158f9317634faf1c963aa60237be81a0392d5f2fa9f531db59b4a9ad04e266d808befdbd71b5a30259b4abc639a1da2defffd74acd35b diff --git a/sci-mathematics/slepc/slepc-3.17.1.ebuild b/sci-mathematics/slepc/slepc-3.17.1.ebuild new file mode 100644 index ..8aa85eac9d58 --- /dev/null +++ b/sci-mathematics/slepc/slepc-3.17.1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit flag-o-matic python-any-r1 toolchain-funcs + +DESCRIPTION="Scalable Library for Eigenvalue Problem Computations" +HOMEPAGE="https://slepc.upv.es/; +SRC_URI="https://slepc.upv.es/download/distrib/${P}.tar.gz; + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="complex-scalars doc mpi" + +RDEPEND=" + =sci-mathematics/petsc-$(ver_cut 1-2)*:=[mpi=,complex-scalars=] + sci-libs/arpack[mpi=] + mpi? ( virtual/mpi ) +" + +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + virtual/pkgconfig + dev-util/cmake +" + +MAKEOPTS="${MAKEOPTS} V=1" + +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 + ./configure \ + --prefix="${EPREFIX}/usr/$(get_libdir)/slepc" \ + --with-arpack=1 \ + --with-arpack-lib="$(usex mpi "-lparpack,-larpack" "-larpack")" +} + +src_install() { + emake DESTDIR="${ED}" install + + # add PETSC_DIR to environmental variables + cat >> 99slepc <<- EOF + SLEPC_DIR=${EPREFIX}/usr/$(get_libdir)/slepc + LDPATH=${EPREFIX}/usr/$(get_libdir)/slepc/lib + EOF + doenvd 99slepc + + if use doc ; then + dodoc docs/slepc.pdf + docinto html + dodoc -r docs/*.html docs/manualpages + fi +}
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/slepc/
commit: e3491c72cf2f67796fcc8f0b5b24f7597e80bf9b Author: Matthias Maier gentoo org> AuthorDate: Fri Dec 3 07:16:58 2021 + Commit: Matthias Maier gentoo org> CommitDate: Fri Dec 3 07:30:08 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3491c72 sci-mathematics/slepc: version bump to 3.16 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Matthias Maier gentoo.org> sci-mathematics/slepc/Manifest| 1 + sci-mathematics/slepc/slepc-3.16.0.ebuild | 69 +++ 2 files changed, 70 insertions(+) diff --git a/sci-mathematics/slepc/Manifest b/sci-mathematics/slepc/Manifest index 9404459bb057..fad6e5f3c24b 100644 --- a/sci-mathematics/slepc/Manifest +++ b/sci-mathematics/slepc/Manifest @@ -1,3 +1,4 @@ DIST slepc-3.13.1.tar.gz 4797627 BLAKE2B 29372b8a2d4c5f3b26e840df743f7aec098bfeeb29e9c108e509baa21d9697da19c737470ba4c132391d5193ebf749ef3f3c6ece600ec7527502d40a239aa0ee SHA512 620c344274808329c0a1009e7844532e03e88d38135bfd5b73bc0bc6815b17b6dfb49341d05399230ba6e06997db688aec17615429eaca3dc94fd886119bf321 DIST slepc-3.14.2.tar.gz 4865497 BLAKE2B d6fd0b45368383fad03b17f9d7f0ef26215b7459a5566c62ab2ad758eaa5fbc626be255b0aafa29b8830eb649a7bcfb0f36d383b865b4c1baa9de6037638de84 SHA512 0727a4f1672c4eb3cf0aa20aa408b897425539ac69123001ac3b2e0bc2d1fa230ef028fa0cd5e89e7a86a98884164fd1c97a742f90f0c128fcc7066d032ee321 DIST slepc-3.15.0.tar.gz 5191730 BLAKE2B 2fcdfbe25f59a80390478059ef0a8b066ac39b57e99fe65ab4fe4814507fdc78d1feb245df5f7542f08c151d20f2e2a6168c4bc2624f78ab5058627816bb6696 SHA512 f815f0805db3f3e329324778c172ba301ebb5d2fc8f8f4c5dd17e574a2cbed5c0f8015715bc908dfcbd4050fade8dab7ae3b312bae746c41d84c57bc5d101929 +DIST slepc-3.16.0.tar.gz 5486237 BLAKE2B 28f45036ba7e6aa2b227c6f25e2c8edf7fc6914f3150043a7e310f270d24e669f32172897b558687c33a809c484e314a865296d4879a622d85004d329ec3bd1c SHA512 15ba9e4626fe3cf44142448b77869fa6d313bb7c026736d5552dfbab1ce350c2e2f2379fb647a1c236af8cb95895e4442dca1defa741a5b2b9172cbdf0baf75f diff --git a/sci-mathematics/slepc/slepc-3.16.0.ebuild b/sci-mathematics/slepc/slepc-3.16.0.ebuild new file mode 100644 index ..0cd112cb1f08 --- /dev/null +++ b/sci-mathematics/slepc/slepc-3.16.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit flag-o-matic python-any-r1 toolchain-funcs + +DESCRIPTION="Scalable Library for Eigenvalue Problem Computations" +HOMEPAGE="https://slepc.upv.es/; +SRC_URI="https://slepc.upv.es/download/distrib/${P}.tar.gz; + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="complex-scalars doc mpi" + +RDEPEND=" + =sci-mathematics/petsc-$(ver_cut 1-2)*:=[mpi=,complex-scalars=] + sci-libs/arpack[mpi=] + mpi? ( virtual/mpi ) +" + +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + virtual/pkgconfig + dev-util/cmake +" + +MAKEOPTS="${MAKEOPTS} V=1" + +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 + ./configure \ + --prefix="${EPREFIX}/usr/$(get_libdir)/slepc" \ + --with-arpack=1 \ + --with-arpack-dir="${EPREFIX}/usr/$(get_libdir)" \ + --with-arpack-lib="$(usex mpi "-lparpack,-larpack" "-larpack")" +} + +src_install() { + emake DESTDIR="${ED}" install + + # add PETSC_DIR to environmental variables + cat >> 99slepc <<- EOF + SLEPC_DIR=${EPREFIX}/usr/$(get_libdir)/slepc + LDPATH=${EPREFIX}/usr/$(get_libdir)/slepc/lib + EOF + doenvd 99slepc + + if use doc ; then + dodoc docs/slepc.pdf + docinto html + dodoc -r docs/*.html docs/manualpages + fi +}
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/slepc/
commit: c62547ced027b9eec0247fa3e115eced946be62e Author: Arthur Zamarin gentoo org> AuthorDate: Sun Oct 17 19:32:29 2021 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Oct 17 20:02:23 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c62547ce sci-mathematics/slepc: enable py3.10, py3.9 Signed-off-by: Arthur Zamarin gentoo.org> sci-mathematics/slepc/slepc-3.15.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/slepc/slepc-3.15.0.ebuild b/sci-mathematics/slepc/slepc-3.15.0.ebuild index b30b13af2da..0cd112cb1f0 100644 --- a/sci-mathematics/slepc/slepc-3.15.0.ebuild +++ b/sci-mathematics/slepc/slepc-3.15.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit flag-o-matic python-any-r1 toolchain-funcs
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/slepc/
commit: 91450f133366b037217d42215506f66f1df81ace Author: Matthias Maier gentoo org> AuthorDate: Fri Apr 9 17:52:50 2021 + Commit: Matthias Maier gentoo org> CommitDate: Fri Apr 9 18:26:34 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91450f13 sci-mathematics/slepc: version bump to 3.14.2, 3.15.0 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Matthias Maier gentoo.org> sci-mathematics/slepc/Manifest| 2 + sci-mathematics/slepc/slepc-3.14.2.ebuild | 69 +++ sci-mathematics/slepc/slepc-3.15.0.ebuild | 69 +++ 3 files changed, 140 insertions(+) diff --git a/sci-mathematics/slepc/Manifest b/sci-mathematics/slepc/Manifest index 9beac5e4965..9404459bb05 100644 --- a/sci-mathematics/slepc/Manifest +++ b/sci-mathematics/slepc/Manifest @@ -1 +1,3 @@ DIST slepc-3.13.1.tar.gz 4797627 BLAKE2B 29372b8a2d4c5f3b26e840df743f7aec098bfeeb29e9c108e509baa21d9697da19c737470ba4c132391d5193ebf749ef3f3c6ece600ec7527502d40a239aa0ee SHA512 620c344274808329c0a1009e7844532e03e88d38135bfd5b73bc0bc6815b17b6dfb49341d05399230ba6e06997db688aec17615429eaca3dc94fd886119bf321 +DIST slepc-3.14.2.tar.gz 4865497 BLAKE2B d6fd0b45368383fad03b17f9d7f0ef26215b7459a5566c62ab2ad758eaa5fbc626be255b0aafa29b8830eb649a7bcfb0f36d383b865b4c1baa9de6037638de84 SHA512 0727a4f1672c4eb3cf0aa20aa408b897425539ac69123001ac3b2e0bc2d1fa230ef028fa0cd5e89e7a86a98884164fd1c97a742f90f0c128fcc7066d032ee321 +DIST slepc-3.15.0.tar.gz 5191730 BLAKE2B 2fcdfbe25f59a80390478059ef0a8b066ac39b57e99fe65ab4fe4814507fdc78d1feb245df5f7542f08c151d20f2e2a6168c4bc2624f78ab5058627816bb6696 SHA512 f815f0805db3f3e329324778c172ba301ebb5d2fc8f8f4c5dd17e574a2cbed5c0f8015715bc908dfcbd4050fade8dab7ae3b312bae746c41d84c57bc5d101929 diff --git a/sci-mathematics/slepc/slepc-3.14.2.ebuild b/sci-mathematics/slepc/slepc-3.14.2.ebuild new file mode 100644 index 000..b1c64ce9203 --- /dev/null +++ b/sci-mathematics/slepc/slepc-3.14.2.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8} ) + +inherit eutils flag-o-matic python-any-r1 toolchain-funcs + +DESCRIPTION="Scalable Library for Eigenvalue Problem Computations" +HOMEPAGE="https://slepc.upv.es/; +SRC_URI="https://slepc.upv.es/download/distrib/${P}.tar.gz; + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="complex-scalars doc mpi" + +RDEPEND=" + =sci-mathematics/petsc-$(ver_cut 1-2)*:=[mpi=,complex-scalars=] + sci-libs/arpack[mpi=] + mpi? ( virtual/mpi ) +" + +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + virtual/pkgconfig + dev-util/cmake +" + +MAKEOPTS="${MAKEOPTS} V=1" + +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 + ./configure \ + --prefix="${EPREFIX}/usr/$(get_libdir)/slepc" \ + --with-arpack=1 \ + --with-arpack-dir="${EPREFIX}/usr/$(get_libdir)" \ + --with-arpack-lib="$(usex mpi "-lparpack,-larpack" "-larpack")" +} + +src_install() { + emake DESTDIR="${ED}" install + + # add PETSC_DIR to environmental variables + cat >> 99slepc <<- EOF + SLEPC_DIR=${EPREFIX}/usr/$(get_libdir)/slepc + LDPATH=${EPREFIX}/usr/$(get_libdir)/slepc/lib + EOF + doenvd 99slepc + + if use doc ; then + dodoc docs/slepc.pdf + docinto html + dodoc -r docs/*.html docs/manualpages + fi +} diff --git a/sci-mathematics/slepc/slepc-3.15.0.ebuild b/sci-mathematics/slepc/slepc-3.15.0.ebuild new file mode 100644 index 000..b1c64ce9203 --- /dev/null +++ b/sci-mathematics/slepc/slepc-3.15.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8} ) + +inherit eutils flag-o-matic python-any-r1 toolchain-funcs + +DESCRIPTION="Scalable Library for Eigenvalue Problem Computations" +HOMEPAGE="https://slepc.upv.es/; +SRC_URI="https://slepc.upv.es/download/distrib/${P}.tar.gz; + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="complex-scalars doc mpi" + +RDEPEND=" + =sci-mathematics/petsc-$(ver_cut 1-2)*:=[mpi=,complex-scalars=] + sci-libs/arpack[mpi=] + mpi? ( virtual/mpi ) +" + +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + virtual/pkgconfig + dev-util/cmake +" + +MAKEOPTS="${MAKEOPTS} V=1" + +src_configure() { + # *sigh* +
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/slepc/
commit: 5677f47c0617969676b0fe075cf383377965dfbc Author: Alexey Sokolov google com> AuthorDate: Sat Jun 20 15:58:57 2020 + Commit: Andreas K. Hüttel gentoo org> CommitDate: Sat Jun 27 20:44:41 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5677f47c sci-mathematics/slepc: update homepage Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alexey Sokolov asokolov.org> Signed-off-by: Andreas K. Hüttel gentoo.org> sci-mathematics/slepc/slepc-3.13.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sci-mathematics/slepc/slepc-3.13.1.ebuild b/sci-mathematics/slepc/slepc-3.13.1.ebuild index be2d085dd6c..003f1453e56 100644 --- a/sci-mathematics/slepc/slepc-3.13.1.ebuild +++ b/sci-mathematics/slepc/slepc-3.13.1.ebuild @@ -8,8 +8,8 @@ PYTHON_COMPAT=( python3_{6,7,8} ) inherit eutils flag-o-matic python-any-r1 toolchain-funcs DESCRIPTION="Scalable Library for Eigenvalue Problem Computations" -HOMEPAGE="http://slepc.upv.es/; -SRC_URI="http://slepc.upv.es/download/distrib/${P}.tar.gz; +HOMEPAGE="https://slepc.upv.es/; +SRC_URI="https://slepc.upv.es/download/distrib/${P}.tar.gz; LICENSE="LGPL-3" SLOT="0"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/slepc/
commit: 1a6474734818a7b46ba495fc5742db3d3525a770 Author: Matthias Maier gentoo org> AuthorDate: Wed Apr 29 21:15:26 2020 + Commit: Matthias Maier gentoo org> CommitDate: Wed Apr 29 21:35:40 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a647473 sci-mathematics/slepc: version bump to 3.13.1; remove old Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Matthias Maier gentoo.org> sci-mathematics/slepc/Manifest | 3 +- sci-mathematics/slepc/slepc-3.12.1.ebuild | 75 -- .../{slepc-3.11.1.ebuild => slepc-3.13.1.ebuild} | 16 ++--- 3 files changed, 6 insertions(+), 88 deletions(-) diff --git a/sci-mathematics/slepc/Manifest b/sci-mathematics/slepc/Manifest index d23b2beb677..9beac5e4965 100644 --- a/sci-mathematics/slepc/Manifest +++ b/sci-mathematics/slepc/Manifest @@ -1,2 +1 @@ -DIST slepc-3.11.1.tar.gz 4700643 BLAKE2B a624050aad0128d7ef53f27f72484e078e62d8edf9298995dda71a9e8d804dddc7e433542eccf95b2d896be80e8795b1664375e68a4c02c18c56d78d490bffb7 SHA512 a941c2a955953ed2344de7f7d9eaaed79504c3559e27920c633bc09cfb192f883b26fd4aa5dc3bd9909a2fc045f3a34e514feca0e074ca36bc3166aa9c059235 -DIST slepc-3.12.1.tar.gz 4757436 BLAKE2B 607e7b28730ff16fa995768e23fd9861e180c078d2f06e8f65324b1e1761f0688fe5a4c4420983b521583cb2b3fe28b606baea604daf5253c30131f9f54c5572 SHA512 0254ea1a521cf150f9f0402bb936c9d1aa32765264e055ecdd058e44aaa7e87c3df1b63b1889c1989c4a691c652eb0f248a1bbbe6d555ce16f9f8f28d6765b50 +DIST slepc-3.13.1.tar.gz 4797627 BLAKE2B 29372b8a2d4c5f3b26e840df743f7aec098bfeeb29e9c108e509baa21d9697da19c737470ba4c132391d5193ebf749ef3f3c6ece600ec7527502d40a239aa0ee SHA512 620c344274808329c0a1009e7844532e03e88d38135bfd5b73bc0bc6815b17b6dfb49341d05399230ba6e06997db688aec17615429eaca3dc94fd886119bf321 diff --git a/sci-mathematics/slepc/slepc-3.12.1.ebuild b/sci-mathematics/slepc/slepc-3.12.1.ebuild deleted file mode 100644 index 52212cabfd5..000 --- a/sci-mathematics/slepc/slepc-3.12.1.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python2_7 ) - -inherit eutils flag-o-matic python-any-r1 toolchain-funcs - -DESCRIPTION="Scalable Library for Eigenvalue Problem Computations" -HOMEPAGE="http://slepc.upv.es/; -SRC_URI="http://slepc.upv.es/download/distrib/${P}.tar.gz; - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="complex-scalars doc mpi" - -RDEPEND=" - =sci-mathematics/petsc-$(ver_cut 1-2)*:=[mpi=,complex-scalars=] - sci-libs/arpack[mpi=] - mpi? ( virtual/mpi ) -" - -DEPEND="${RDEPEND} - ${PYTHON_DEPS} - virtual/pkgconfig - dev-util/cmake -" - -MAKEOPTS="${MAKEOPTS} V=1" - -src_prepare() { - default - - sed -i -e 's%/usr/bin/env python%/usr/bin/env python2%' configure || die -} - -src_configure() { - # *sigh* - addpredict "${PETSC_DIR}"/.nagged - - # Make sure that the environment is set up correctly: - unset PETSC_DIR - unset PETSC_ARCH - unset SLEPC_DIR - source "${EPREFIX}"/etc/env.d/99petsc - export PETSC_DIR - - # configure is a custom python script and doesn't want to have default - # configure arguments that we set with econf - ./configure \ - --prefix="${EPREFIX}/usr/$(get_libdir)/slepc" \ - --with-arpack=1 \ - --with-arpack-dir="${EPREFIX}/usr/$(get_libdir)" \ - --with-arpack-flags="$(usex mpi "-lparpack,-larpack" "-larpack")" - -} - -src_install() { - emake DESTDIR="${ED}" install - - # add PETSC_DIR to environmental variables - cat >> 99slepc <<- EOF - SLEPC_DIR=${EPREFIX}/usr/$(get_libdir)/slepc - LDPATH=${EPREFIX}/usr/$(get_libdir)/slepc/lib - EOF - doenvd 99slepc - - if use doc ; then - dodoc docs/slepc.pdf - docinto html - dodoc -r docs/*.html docs/manualpages - fi -} diff --git a/sci-mathematics/slepc/slepc-3.11.1.ebuild b/sci-mathematics/slepc/slepc-3.13.1.ebuild similarity index 84% rename from sci-mathematics/slepc/slepc-3.11.1.ebuild rename to sci-mathematics/slepc/slepc-3.13.1.ebuild index 52212cabfd5..be2d085dd6c 100644 --- a/sci-mathematics/slepc/slepc-3.11.1.ebuild +++ b/sci-mathematics/slepc/slepc-3.13.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python2_7 ) +PYTHON_COMPAT=( python3_{6,7,8} ) inherit eutils flag-o-matic python-any-r1 toolchain-funcs @@ -30,12 +30,6 @@ DEPEND="${RDEPEND} MAKEOPTS="${MAKEOPTS} V=1" -src_prepare() { - default - - sed -i -e 's%/usr/bin/env python%/usr/bin/env python2%' configure || die -} - src_configure() { # *sigh* addpredict
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/slepc/
commit: c3779321f75d53fe0a5e1b261d4047c9df9f892d Author: Matthias Maier gentoo org> AuthorDate: Thu Nov 14 05:03:15 2019 + Commit: Matthias Maier gentoo org> CommitDate: Thu Nov 14 06:01:51 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3779321 sci-mathematics/slepc: version bump to 3.12.1 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Matthias Maier gentoo.org> sci-mathematics/slepc/Manifest| 1 + sci-mathematics/slepc/slepc-3.12.1.ebuild | 75 +++ 2 files changed, 76 insertions(+) diff --git a/sci-mathematics/slepc/Manifest b/sci-mathematics/slepc/Manifest index a1f5cfb711c..d23b2beb677 100644 --- a/sci-mathematics/slepc/Manifest +++ b/sci-mathematics/slepc/Manifest @@ -1 +1,2 @@ DIST slepc-3.11.1.tar.gz 4700643 BLAKE2B a624050aad0128d7ef53f27f72484e078e62d8edf9298995dda71a9e8d804dddc7e433542eccf95b2d896be80e8795b1664375e68a4c02c18c56d78d490bffb7 SHA512 a941c2a955953ed2344de7f7d9eaaed79504c3559e27920c633bc09cfb192f883b26fd4aa5dc3bd9909a2fc045f3a34e514feca0e074ca36bc3166aa9c059235 +DIST slepc-3.12.1.tar.gz 4757436 BLAKE2B 607e7b28730ff16fa995768e23fd9861e180c078d2f06e8f65324b1e1761f0688fe5a4c4420983b521583cb2b3fe28b606baea604daf5253c30131f9f54c5572 SHA512 0254ea1a521cf150f9f0402bb936c9d1aa32765264e055ecdd058e44aaa7e87c3df1b63b1889c1989c4a691c652eb0f248a1bbbe6d555ce16f9f8f28d6765b50 diff --git a/sci-mathematics/slepc/slepc-3.12.1.ebuild b/sci-mathematics/slepc/slepc-3.12.1.ebuild new file mode 100644 index 000..52212cabfd5 --- /dev/null +++ b/sci-mathematics/slepc/slepc-3.12.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 ) + +inherit eutils flag-o-matic python-any-r1 toolchain-funcs + +DESCRIPTION="Scalable Library for Eigenvalue Problem Computations" +HOMEPAGE="http://slepc.upv.es/; +SRC_URI="http://slepc.upv.es/download/distrib/${P}.tar.gz; + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="complex-scalars doc mpi" + +RDEPEND=" + =sci-mathematics/petsc-$(ver_cut 1-2)*:=[mpi=,complex-scalars=] + sci-libs/arpack[mpi=] + mpi? ( virtual/mpi ) +" + +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + virtual/pkgconfig + dev-util/cmake +" + +MAKEOPTS="${MAKEOPTS} V=1" + +src_prepare() { + default + + sed -i -e 's%/usr/bin/env python%/usr/bin/env python2%' configure || die +} + +src_configure() { + # *sigh* + addpredict "${PETSC_DIR}"/.nagged + + # Make sure that the environment is set up correctly: + unset PETSC_DIR + unset PETSC_ARCH + unset SLEPC_DIR + source "${EPREFIX}"/etc/env.d/99petsc + export PETSC_DIR + + # configure is a custom python script and doesn't want to have default + # configure arguments that we set with econf + ./configure \ + --prefix="${EPREFIX}/usr/$(get_libdir)/slepc" \ + --with-arpack=1 \ + --with-arpack-dir="${EPREFIX}/usr/$(get_libdir)" \ + --with-arpack-flags="$(usex mpi "-lparpack,-larpack" "-larpack")" + +} + +src_install() { + emake DESTDIR="${ED}" install + + # add PETSC_DIR to environmental variables + cat >> 99slepc <<- EOF + SLEPC_DIR=${EPREFIX}/usr/$(get_libdir)/slepc + LDPATH=${EPREFIX}/usr/$(get_libdir)/slepc/lib + EOF + doenvd 99slepc + + if use doc ; then + dodoc docs/slepc.pdf + docinto html + dodoc -r docs/*.html docs/manualpages + fi +}
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/slepc/
commit: ea0a668c18823766a061f87931945998b1230fb0 Author: Matthias Maier gentoo org> AuthorDate: Mon Aug 5 04:53:12 2019 + Commit: Matthias Maier gentoo org> CommitDate: Mon Aug 5 06:51:15 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea0a668c sci-mathematics/slepc: package migration from ::science overlay After years in ::science it is stable enough to be hosted in ::gentoo. Package-Manager: Portage-2.3.70, Repoman-2.3.16 Signed-off-by: Matthias Maier gentoo.org> sci-mathematics/slepc/Manifest| 1 + sci-mathematics/slepc/metadata.xml| 15 +++ sci-mathematics/slepc/slepc-3.11.1.ebuild | 75 +++ 3 files changed, 91 insertions(+) diff --git a/sci-mathematics/slepc/Manifest b/sci-mathematics/slepc/Manifest new file mode 100644 index 000..a1f5cfb711c --- /dev/null +++ b/sci-mathematics/slepc/Manifest @@ -0,0 +1 @@ +DIST slepc-3.11.1.tar.gz 4700643 BLAKE2B a624050aad0128d7ef53f27f72484e078e62d8edf9298995dda71a9e8d804dddc7e433542eccf95b2d896be80e8795b1664375e68a4c02c18c56d78d490bffb7 SHA512 a941c2a955953ed2344de7f7d9eaaed79504c3559e27920c633bc09cfb192f883b26fd4aa5dc3bd9909a2fc045f3a34e514feca0e074ca36bc3166aa9c059235 diff --git a/sci-mathematics/slepc/metadata.xml b/sci-mathematics/slepc/metadata.xml new file mode 100644 index 000..046ec6c8f40 --- /dev/null +++ b/sci-mathematics/slepc/metadata.xml @@ -0,0 +1,15 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + + tam...@gentoo.org + Matthias Maier + + + sci-mathemat...@gentoo.org + Gentoo Mathematics Project + + + Make scalars complex + + diff --git a/sci-mathematics/slepc/slepc-3.11.1.ebuild b/sci-mathematics/slepc/slepc-3.11.1.ebuild new file mode 100644 index 000..cfd41a75da8 --- /dev/null +++ b/sci-mathematics/slepc/slepc-3.11.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit eutils flag-o-matic python-any-r1 toolchain-funcs versionator + +DESCRIPTION="Scalable Library for Eigenvalue Problem Computations" +HOMEPAGE="http://slepc.upv.es/; +SRC_URI="http://slepc.upv.es/download/distrib/${P}.tar.gz; + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="complex-scalars doc mpi" + +PETSC_PV="$(get_version_component_range 1-2 ${PV})" +RDEPEND=" + =sci-mathematics/petsc-${PETSC_PV}*:=[mpi=,complex-scalars=] + sci-libs/arpack[mpi=] + mpi? ( virtual/mpi ) +" + +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + virtual/pkgconfig + dev-util/cmake +" + +MAKEOPTS="${MAKEOPTS} -j1 V=1" + +src_prepare() { + default + + sed -i -e 's%/usr/bin/env python%/usr/bin/env python2%' configure || die +} + +src_configure() { + # *sigh* + addpredict "${PETSC_DIR}"/.nagged + + # Make sure that the environment is set up correctly: + unset PETSC_DIR + unset PETSC_ARCH + unset SLEPC_DIR + source "${EPREFIX}"/etc/env.d/99petsc + export PETSC_DIR + + # configure is a custom python script and doesn't want to have default + # configure arguments that we set with econf + ./configure \ + --prefix="${EPREFIX}/usr/$(get_libdir)/slepc" \ + --with-arpack=1 \ + --with-arpack-dir="${EPREFIX}/usr/$(get_libdir)" \ + --with-arpack-flags="$(usex mpi "-lparpack,-larpack" "-larpack")" + +} + +src_install() { + emake DESTDIR="${ED}" install + + # add PETSC_DIR to environmental variables + cat >> 99slepc <<- EOF + SLEPC_DIR=${EPREFIX}/usr/$(get_libdir)/slepc + LDPATH=${EPREFIX}/usr/$(get_libdir)/slepc/lib + EOF + doenvd 99slepc + + if use doc ; then + dodoc docs/slepc.pdf + dohtml -r docs/*.html docs/manualpages + fi +}
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/slepc/
commit: 9f25ff6dfa6b7631f53b8e1e5a8144f07f1cc15f Author: Matthias Maier gentoo org> AuthorDate: Mon Aug 5 05:53:15 2019 + Commit: Matthias Maier gentoo org> CommitDate: Mon Aug 5 06:51:26 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f25ff6d sci-mathematics/slepc: port to EAPI 7 Package-Manager: Portage-2.3.70, Repoman-2.3.16 Signed-off-by: Matthias Maier gentoo.org> sci-mathematics/slepc/slepc-3.11.1.ebuild | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sci-mathematics/slepc/slepc-3.11.1.ebuild b/sci-mathematics/slepc/slepc-3.11.1.ebuild index cfd41a75da8..52212cabfd5 100644 --- a/sci-mathematics/slepc/slepc-3.11.1.ebuild +++ b/sci-mathematics/slepc/slepc-3.11.1.ebuild @@ -1,11 +1,11 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 PYTHON_COMPAT=( python2_7 ) -inherit eutils flag-o-matic python-any-r1 toolchain-funcs versionator +inherit eutils flag-o-matic python-any-r1 toolchain-funcs DESCRIPTION="Scalable Library for Eigenvalue Problem Computations" HOMEPAGE="http://slepc.upv.es/; @@ -16,9 +16,8 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="complex-scalars doc mpi" -PETSC_PV="$(get_version_component_range 1-2 ${PV})" RDEPEND=" - =sci-mathematics/petsc-${PETSC_PV}*:=[mpi=,complex-scalars=] + =sci-mathematics/petsc-$(ver_cut 1-2)*:=[mpi=,complex-scalars=] sci-libs/arpack[mpi=] mpi? ( virtual/mpi ) " @@ -29,7 +28,7 @@ DEPEND="${RDEPEND} dev-util/cmake " -MAKEOPTS="${MAKEOPTS} -j1 V=1" +MAKEOPTS="${MAKEOPTS} V=1" src_prepare() { default @@ -70,6 +69,7 @@ src_install() { if use doc ; then dodoc docs/slepc.pdf - dohtml -r docs/*.html docs/manualpages + docinto html + dodoc -r docs/*.html docs/manualpages fi }