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

2024-03-17 Thread Sam James
commit: 5e0c88b630a733242dea94eae1a00e833d4242ee
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar 17 10:37:26 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar 17 10:41:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e0c88b6

sci-libs/libint: add 2.9.0

Filter LTO given it's a tonne of code generating stuff and it takes hours
to build. Filld with reinterpret_cast.

Closes: https://bugs.gentoo.org/862894
Signed-off-by: Sam James  gentoo.org>

 sci-libs/libint/Manifest|  1 +
 sci-libs/libint/libint-2.9.0.ebuild | 74 +
 2 files changed, 75 insertions(+)

diff --git a/sci-libs/libint/Manifest b/sci-libs/libint/Manifest
index f9aba9659d87..037fb5fba076 100644
--- a/sci-libs/libint/Manifest
+++ b/sci-libs/libint/Manifest
@@ -1,2 +1,3 @@
 DIST libint-1.1.6.tar.gz 256404 BLAKE2B 
c754e25f0c3bc6c52eb434beafd2cb794a2e715003ee9409d76e8ae06e0ce19a42a9331ad4db9be2745d6820e7248210d10b4c004146e99192fd16fd2c31966d
 SHA512 
cb39d73e89431c324e32d4a71593fe913c7ae2132677d4600e63ce1ed99e8e431758f0aa3d130991da841e98a1064fa931eb0e82dbe80af4c0ece10ee3a4f2d7
 DIST libint-2.6.0.tar.gz 24743255 BLAKE2B 
3ab7baba012828485c6c8425bce100e1ab50d2a3c8443ea2ef5cf173d58d8aa211a07e837b10a7f89d7e57f2e15b9384060bbf7b9885f32e9426525e65e15960
 SHA512 
56343c64b0dfb829702f4bb2fe14a04ad063acd7cb8b5a21cd1a45a830944c1ee98c888c9a28d6746b1bc17459aefcfb0aafe6ef310bfe554056212ad19e43ef
+DIST libint-2.9.0.tar.gz 21705777 BLAKE2B 
b2e8f36356f6eb8eff1207ba47c0f3bcc4471bd918cf933d03a1dd97efddd72d65464af743815d8bb633567ba97b19b8629881a5115b14f1630df1be7e6d0304
 SHA512 
6cffbd3d78dee4722b8085f4dd93085351cb610b5cb7ac090335adb2c43e87256ca06a658c202473fd763a38f7c0eeb6570b2c6a107e3f41d1258baf6e5b17de

diff --git a/sci-libs/libint/libint-2.9.0.ebuild 
b/sci-libs/libint/libint-2.9.0.ebuild
new file mode 100644
index ..f2d1c2fa4e39
--- /dev/null
+++ b/sci-libs/libint/libint-2.9.0.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic fortran-2 toolchain-funcs
+
+DESCRIPTION="Matrix elements (integrals) evaluation over Cartesian Gaussian 
functions"
+HOMEPAGE="https://github.com/evaleev/libint;
+SRC_URI="https://github.com/evaleev/libint/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs doc"
+
+DEPEND="
+   dev-libs/boost
+   dev-libs/gmp[cxx(+)]
+   doc? (
+   dev-texlive/texlive-latex
+   dev-tex/latex2html
+   )
+"
+
+src_prepare() {
+   default
+   eautoreconf
+
+   # bug 725454
+   sed -i -e '/RANLIB/d' src/bin/libint/Makefile || die
+}
+
+src_configure() {
+   # bug #862894
+   append-flags -fno-strict-aliasing
+   filter-lto
+
+   econf \
+   --with-cxx="$(tc-getCXX)" \
+   --with-cxx-optflags="${CXXFLAGS}" \
+   --with-cxxgen-optflags="${CXXFLAGS}" \
+   --with-cxxdepend="$(tc-getCXX)" \
+   --with-ranlib="$(tc-getRANLIB)" \
+   --with-ar="$(tc-getAR)" \
+   --with-ld="$(tc-getLD)" \
+   --enable-eri=2 --enable-eri3=2 --enable-eri2=2 \
+   --with-eri-max-am=7,5,4 --with-eri-opt-am=3 \
+   --with-eri3-max-am=7 --with-eri2-max-am=7 \
+   --with-g12-max-am=5 --with-g12-opt-am=3 \
+   --with-g12dkh-max-am=5 --with-g12dkh-opt-am=3 \
+   --enable-contracted-ints \
+   --enable-shared \
+   $(use_enable static-libs static)
+}
+
+src_compile() {
+   emake LDFLAGS="${LDFLAGS}"
+
+   use doc && emake html pdf
+}
+
+src_install() {
+   default
+   if ! use static-libs; then
+   find "${ED}" -name '*.la' -delete || die "Failed to remove .la 
files"
+   fi
+
+   if use doc; then
+   DOCS=( doc/progman/progman.pdf )
+   HTML_DOCS=( doc/progman/progman/*.{html,png,css} )
+   einstalldocs
+   fi
+}



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

2022-03-20 Thread Sam James
commit: a10db098c07441f3af3b71275ed1a46f7c641fe0
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar 20 18:50:13 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar 20 18:51:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a10db098

sci-libs/libint: [QA] fix tc-get* quoting

This can cause build problems for e.g. 32-bit (gcc -m32 ...)

Signed-off-by: Sam James  gentoo.org>

 sci-libs/libint/libint-1.1.6.ebuild|  6 +++---
 sci-libs/libint/libint-2.6.0-r5.ebuild | 12 ++--
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/sci-libs/libint/libint-1.1.6.ebuild 
b/sci-libs/libint/libint-1.1.6.ebuild
index 1abdfd1fd795..28a3672a85ef 100644
--- a/sci-libs/libint/libint-1.1.6.ebuild
+++ b/sci-libs/libint/libint-1.1.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -28,8 +28,8 @@ src_configure() {
local myeconfargs=(
--enable-deriv
--enable-r12
-   --with-cc=$(tc-getCC)
-   --with-cxx=$(tc-getCXX)
+   --with-cc="$(tc-getCC)"
+   --with-cxx="$(tc-getCXX)"
--with-cc-optflags="${CFLAGS}"
--with-cxx-optflags="${CXXFLAGS}"
)

diff --git a/sci-libs/libint/libint-2.6.0-r5.ebuild 
b/sci-libs/libint/libint-2.6.0-r5.ebuild
index 176c1000db5f..4acff533f4c6 100644
--- a/sci-libs/libint/libint-2.6.0-r5.ebuild
+++ b/sci-libs/libint/libint-2.6.0-r5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -32,13 +32,13 @@ src_prepare() {
 
 src_configure() {
econf \
-   --with-cxx=$(tc-getCXX) \
+   --with-cxx="$(tc-getCXX)" \
--with-cxx-optflags="${CXXFLAGS}" \
--with-cxxgen-optflags="${CXXFLAGS}" \
-   --with-cxxdepend=$(tc-getCXX) \
-   --with-ranlib=$(tc-getRANLIB) \
-   --with-ar=$(tc-getAR) \
-   --with-ld=$(tc-getLD) \
+   --with-cxxdepend="$(tc-getCXX)" \
+   --with-ranlib="$(tc-getRANLIB)" \
+   --with-ar="$(tc-getAR)" \
+   --with-ld="$(tc-getLD)" \
--enable-eri=2 --enable-eri3=2 --enable-eri2=2 \
--with-eri-max-am=7,5,4 --with-eri-opt-am=3 \
--with-eri3-max-am=7 --with-eri2-max-am=7 \



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

2021-10-06 Thread Jakov Smolić
commit: 75dc6c784ed431533df5c6b140aeb3d6d031b178
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed Oct  6 08:00:01 2021 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed Oct  6 08:31:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75dc6c78

sci-libs/libint: drop 2.6.0-r3

Signed-off-by: Jakov Smolić  gentoo.org>

 sci-libs/libint/libint-2.6.0-r3.ebuild | 63 --
 1 file changed, 63 deletions(-)

diff --git a/sci-libs/libint/libint-2.6.0-r3.ebuild 
b/sci-libs/libint/libint-2.6.0-r3.ebuild
deleted file mode 100644
index cf8dc7472d9..000
--- a/sci-libs/libint/libint-2.6.0-r3.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools fortran-2 toolchain-funcs
-
-DESCRIPTION="Matrix elements (integrals) evaluation over Cartesian Gaussian 
functions"
-HOMEPAGE="https://github.com/evaleev/libint;
-SRC_URI="https://github.com/evaleev/libint/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-SLOT="2"
-LICENSE="GPL-2"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
-IUSE="static-libs doc"
-
-DEPEND="
-   dev-libs/boost
-   dev-libs/gmp[cxx(+)]
-   doc? (
-   dev-texlive/texlive-latex
-   dev-tex/latex2html
-   )"
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   econf \
-   --with-cxx=$(tc-getCXX) \
-   --with-cxx-optflags="${CXXFLAGS}" \
-   --with-cxxgen-optflags="${CXXFLAGS}" \
-   --with-cxxdepend=$(tc-getCXX) \
-   --with-ranlib=$(tc-getRANLIB) \
-   --with-ar=$(tc-getAR) \
-   --with-ld=$(tc-getLD) \
-   --enable-eri=2 --enable-eri3=2 --enable-eri2=2 \
-   --with-eri-max-am=7,5,4 --with-eri-opt-am=3 \
-   --with-eri3-max-am=7 --with-eri2-max-am=7 \
-   --with-g12-max-am=5 --with-g12-opt-am=3 \
-   --with-g12dkh-max-am=5 --with-g12dkh-opt-am=3 \
-   --enable-contracted-ints \
-   --enable-shared
-   $(use_enable static-libs static)
-}
-
-src_compile() {
-   emake LDFLAGS="${LDFLAGS}"
-
-   use doc && emake html pdf
-}
-
-src_install() {
-   default
-
-   if use doc; then
-   DOCS=( doc/progman/progman.pdf )
-   HTML_DOCS=( doc/progman/progman/*.{html,png,css} )
-   einstalldocs
-   fi
-}



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

2021-08-02 Thread Sam James
commit: 44d19eda116a8bb9ba4f7d05ab608e0ca8db9705
Author: Sam James  gentoo  org>
AuthorDate: Mon Aug  2 12:15:24 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug  2 12:15:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44d19eda

sci-libs/libint: Stabilize 2.6.0-r5 x86, #804798

Signed-off-by: Sam James  gentoo.org>

 sci-libs/libint/libint-2.6.0-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/libint/libint-2.6.0-r5.ebuild 
b/sci-libs/libint/libint-2.6.0-r5.ebuild
index bbf70b01e2b..176c1000db5 100644
--- a/sci-libs/libint/libint-2.6.0-r5.ebuild
+++ b/sci-libs/libint/libint-2.6.0-r5.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/evaleev/libint/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 SLOT="2"
 LICENSE="GPL-2"
-KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
 IUSE="static-libs doc"
 
 DEPEND="



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

2021-06-18 Thread David Seifert
commit: 44ed00b9182af2ef6d4bd448d2edf35c2128fdec
Author: David Seifert  gentoo  org>
AuthorDate: Fri Jun 18 13:15:18 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri Jun 18 13:15:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44ed00b9

sci-libs/libint: Depend on dev-libs/gmp[cxx(+)]

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: David Seifert  gentoo.org>

 sci-libs/libint/{libint-2.6.0-r2.ebuild => libint-2.6.0-r3.ebuild} | 2 +-
 sci-libs/libint/{libint-2.6.0-r4.ebuild => libint-2.6.0-r5.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/libint/libint-2.6.0-r2.ebuild 
b/sci-libs/libint/libint-2.6.0-r3.ebuild
similarity index 98%
rename from sci-libs/libint/libint-2.6.0-r2.ebuild
rename to sci-libs/libint/libint-2.6.0-r3.ebuild
index f66470ae1fb..cf8dc7472d9 100644
--- a/sci-libs/libint/libint-2.6.0-r2.ebuild
+++ b/sci-libs/libint/libint-2.6.0-r3.ebuild
@@ -16,7 +16,7 @@ IUSE="static-libs doc"
 
 DEPEND="
dev-libs/boost
-   dev-libs/gmp[cxx]
+   dev-libs/gmp[cxx(+)]
doc? (
dev-texlive/texlive-latex
dev-tex/latex2html

diff --git a/sci-libs/libint/libint-2.6.0-r4.ebuild 
b/sci-libs/libint/libint-2.6.0-r5.ebuild
similarity index 98%
rename from sci-libs/libint/libint-2.6.0-r4.ebuild
rename to sci-libs/libint/libint-2.6.0-r5.ebuild
index b112d1144fc..bb486f0f534 100644
--- a/sci-libs/libint/libint-2.6.0-r4.ebuild
+++ b/sci-libs/libint/libint-2.6.0-r5.ebuild
@@ -16,7 +16,7 @@ IUSE="static-libs doc"
 
 DEPEND="
dev-libs/boost
-   dev-libs/gmp[cxx]
+   dev-libs/gmp[cxx(+)]
doc? (
dev-texlive/texlive-latex
dev-tex/latex2html



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

2021-05-26 Thread Sam James
commit: 6af502b3423abbb11926b78daa7ad157b8a59e80
Author: Jakov Smolic  sartura  hr>
AuthorDate: Tue May 25 16:57:08 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May 26 12:35:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6af502b3

sci-libs/libint: Drop unused USE=static-libs in 1.1.6, cleanup patch

Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: Sam James  gentoo.org>

 sci-libs/libint/files/libint-1.1.6-as-needed.patch | 17 -
 sci-libs/libint/libint-1.1.6.ebuild|  7 +++
 2 files changed, 3 insertions(+), 21 deletions(-)

diff --git a/sci-libs/libint/files/libint-1.1.6-as-needed.patch 
b/sci-libs/libint/files/libint-1.1.6-as-needed.patch
index c48505314b3..d9f6e449ba0 100644
--- a/sci-libs/libint/files/libint-1.1.6-as-needed.patch
+++ b/sci-libs/libint/files/libint-1.1.6-as-needed.patch
@@ -1,12 +1,3 @@
- configure.ac  | 3 +--
- src/bin/MakeRules.in  | 2 +-
- src/lib/libderiv/Makefile.library | 2 +-
- src/lib/libint/Makefile.library   | 2 +-
- src/lib/libr12/Makefile.library   | 2 +-
- 5 files changed, 5 insertions(+), 6 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index dc86e88..8cc3aac 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -317,12 +317,11 @@ LIBS=$withval
@@ -23,8 +14,6 @@ index dc86e88..8cc3aac 100644
  echo Using extra library directories: $withval
  )
  
-diff --git a/src/bin/MakeRules.in b/src/bin/MakeRules.in
-index 5b90607..8ea5005 100644
 --- a/src/bin/MakeRules.in
 +++ b/src/bin/MakeRules.in
 @@ -3,7 +3,7 @@ HAVE_MAKERULES = yes
@@ -36,8 +25,6 @@ index 5b90607..8ea5005 100644
  
  .PHONY: install install_inc install_target uninstall clean oclean distclean 
targetclean realclean
  install::
-diff --git a/src/lib/libderiv/Makefile.library 
b/src/lib/libderiv/Makefile.library
-index ee152ef..8debfe8 100644
 --- a/src/lib/libderiv/Makefile.library
 +++ b/src/lib/libderiv/Makefile.library
 @@ -23,7 +23,7 @@ $(TOPDIR)/lib/$(NAME).a: $(LIBOBJ)
@@ -49,8 +36,6 @@ index ee152ef..8debfe8 100644
  
  $(TOPDIR)/include/$(NAME)/$(NAME).h: $(NAME).h
$(INSTALL) $(INSTALLDIROPT) $(TOPDIR)/include/$(NAME)
-diff --git a/src/lib/libint/Makefile.library b/src/lib/libint/Makefile.library
-index 23e2918..01c4225 100644
 --- a/src/lib/libint/Makefile.library
 +++ b/src/lib/libint/Makefile.library
 @@ -41,7 +41,7 @@ $(TOPDIR)/lib/$(NAME).a: $(LIBOBJ)
@@ -62,8 +47,6 @@ index 23e2918..01c4225 100644
  
  $(TOPDIR)/include/$(NAME)/$(NAME).h: $(NAME).h
$(INSTALL) $(INSTALLDIROPT) $(TOPDIR)/include/$(NAME)
-diff --git a/src/lib/libr12/Makefile.library b/src/lib/libr12/Makefile.library
-index 1510807..26d47a4 100644
 --- a/src/lib/libr12/Makefile.library
 +++ b/src/lib/libr12/Makefile.library
 @@ -47,7 +47,7 @@ $(TOPDIR)/lib/$(NAME).a: $(LIBOBJ)

diff --git a/sci-libs/libint/libint-1.1.6.ebuild 
b/sci-libs/libint/libint-1.1.6.ebuild
index f3a93eaaacd..1abdfd1fd79 100644
--- a/sci-libs/libint/libint-1.1.6.ebuild
+++ b/sci-libs/libint/libint-1.1.6.ebuild
@@ -3,19 +3,18 @@
 
 EAPI=7
 
-MY_PV="$(ver_rs 0- -)"
 inherit autotools fortran-2 toolchain-funcs
 
+MY_PV="$(ver_rs 0- -)"
+
 DESCRIPTION="Matrix elements (integrals) evaluation over Cartesian Gaussian 
functions"
 HOMEPAGE="https://github.com/evaleev/libint;
 SRC_URI="https://github.com/evaleev/libint/archive/release-${MY_PV}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/${PN}-release-${MY_PV}"
 
 LICENSE="GPL-2"
 SLOT="1"
 KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
-IUSE="static-libs"
-
-S="${WORKDIR}/${PN}-release-${MY_PV}"
 
 PATCHES=( "${FILESDIR}"/${P}-as-needed.patch )
 



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

2021-05-26 Thread Sam James
commit: ea50e5c0782be438e421ca04b3c660ac4daa245c
Author: Jakov Smolic  sartura  hr>
AuthorDate: Tue May 25 18:02:51 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May 26 12:35:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea50e5c0

sci-libs/libint: Fix direct ranlib call

Closes: https://bugs.gentoo.org/725454
Signed-off-by: Jakov Smolic  sartura.hr>
Closes: https://github.com/gentoo/gentoo/pull/20987
Signed-off-by: Sam James  gentoo.org>

 sci-libs/libint/libint-2.6.0-r4.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sci-libs/libint/libint-2.6.0-r4.ebuild 
b/sci-libs/libint/libint-2.6.0-r4.ebuild
index b8166abf35c..b112d1144fc 100644
--- a/sci-libs/libint/libint-2.6.0-r4.ebuild
+++ b/sci-libs/libint/libint-2.6.0-r4.ebuild
@@ -25,6 +25,9 @@ DEPEND="
 src_prepare() {
default
eautoreconf
+
+   # bug 725454
+   sed -i -e '/RANLIB/d' src/bin/libint/Makefile || die
 }
 
 src_configure() {



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

2021-03-14 Thread Christoph Junghans
commit: 12ecf53c75ed4f1410a9b7a2044a0adaad5fc57a
Author: Christoph Junghans  gentoo  org>
AuthorDate: Sun Mar 14 22:59:26 2021 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Sun Mar 14 22:59:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12ecf53c

sci-libs/libint: fix install of static libs (bug #776256)

Closes: https://bugs.gentoo.org/776256
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Christoph Junghans  gentoo.org>

 sci-libs/libint/{libint-2.6.0-r3.ebuild => libint-2.6.0-r4.ebuild} | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sci-libs/libint/libint-2.6.0-r3.ebuild 
b/sci-libs/libint/libint-2.6.0-r4.ebuild
similarity index 91%
rename from sci-libs/libint/libint-2.6.0-r3.ebuild
rename to sci-libs/libint/libint-2.6.0-r4.ebuild
index 686add02d2d..e248dec698c 100644
--- a/sci-libs/libint/libint-2.6.0-r3.ebuild
+++ b/sci-libs/libint/libint-2.6.0-r4.ebuild
@@ -42,7 +42,7 @@ src_configure() {
--with-g12-max-am=5 --with-g12-opt-am=3 \
--with-g12dkh-max-am=5 --with-g12dkh-opt-am=3 \
--enable-contracted-ints \
-   --enable-shared
+   --enable-shared \
$(use_enable static-libs static)
 }
 
@@ -54,6 +54,9 @@ src_compile() {
 
 src_install() {
default
+   if ! use static-libs; then
+   find "${ED}" -name '*.la' -delete || die "Failed to remove .la 
files"
+   fi
 
if use doc; then
DOCS=( doc/progman/progman.pdf )



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

2021-03-14 Thread Christoph Junghans
commit: bf8eded56653b220a499cf667de4007f5582dcfd
Author: Christoph Junghans  gentoo  org>
AuthorDate: Sun Mar 14 19:11:29 2021 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Sun Mar 14 19:15:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf8eded5

sci-libs/libint: enable shared libs

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Christoph Junghans  gentoo.org>

 sci-libs/libint/libint-2.6.0-r2.ebuild | 1 +
 sci-libs/libint/{libint-2.6.0-r2.ebuild => libint-2.6.0-r3.ebuild} | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/sci-libs/libint/libint-2.6.0-r2.ebuild 
b/sci-libs/libint/libint-2.6.0-r2.ebuild
index a07d7360830..6646dd1f96d 100644
--- a/sci-libs/libint/libint-2.6.0-r2.ebuild
+++ b/sci-libs/libint/libint-2.6.0-r2.ebuild
@@ -42,6 +42,7 @@ src_configure() {
--with-g12-max-am=5 --with-g12-opt-am=3 \
--with-g12dkh-max-am=5 --with-g12dkh-opt-am=3 \
--enable-contracted-ints \
+   --enable-shared
$(use_enable static-libs static)
 }
 

diff --git a/sci-libs/libint/libint-2.6.0-r2.ebuild 
b/sci-libs/libint/libint-2.6.0-r3.ebuild
similarity index 95%
copy from sci-libs/libint/libint-2.6.0-r2.ebuild
copy to sci-libs/libint/libint-2.6.0-r3.ebuild
index a07d7360830..686add02d2d 100644
--- a/sci-libs/libint/libint-2.6.0-r2.ebuild
+++ b/sci-libs/libint/libint-2.6.0-r3.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/evaleev/libint/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 SLOT="2"
 LICENSE="GPL-2"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="static-libs doc"
 
 DEPEND="
@@ -42,6 +42,7 @@ src_configure() {
--with-g12-max-am=5 --with-g12-opt-am=3 \
--with-g12dkh-max-am=5 --with-g12dkh-opt-am=3 \
--enable-contracted-ints \
+   --enable-shared
$(use_enable static-libs static)
 }
 



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

2021-02-26 Thread Andreas Sturmlechner
commit: 4ff0b0bea66d51fe99aeb1ac959d0f5ee67051c6
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Fri Feb 26 16:22:19 2021 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Fri Feb 26 22:16:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ff0b0be

sci-libs/libint: EAPI-7 bump

Package-Manager: Portage-3.0.15, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sci-libs/libint/libint-1.1.6.ebuild | 18 --
 1 file changed, 8 insertions(+), 10 deletions(-)

diff --git a/sci-libs/libint/libint-1.1.6.ebuild 
b/sci-libs/libint/libint-1.1.6.ebuild
index 760d266a781..f3a93eaaacd 100644
--- a/sci-libs/libint/libint-1.1.6.ebuild
+++ b/sci-libs/libint/libint-1.1.6.ebuild
@@ -1,20 +1,17 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
-AUTOTOOLS_AUTORECONF=true
-
-inherit autotools-utils fortran-2 toolchain-funcs versionator
-
-MY_PV="$(replace_all_version_separators -)"
+MY_PV="$(ver_rs 0- -)"
+inherit autotools fortran-2 toolchain-funcs
 
 DESCRIPTION="Matrix elements (integrals) evaluation over Cartesian Gaussian 
functions"
 HOMEPAGE="https://github.com/evaleev/libint;
 SRC_URI="https://github.com/evaleev/libint/archive/release-${MY_PV}.tar.gz -> 
${P}.tar.gz"
 
-SLOT="1"
 LICENSE="GPL-2"
+SLOT="1"
 KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
 IUSE="static-libs"
 
@@ -24,7 +21,8 @@ PATCHES=( "${FILESDIR}"/${P}-as-needed.patch )
 
 src_prepare() {
mv configure.{in,ac} || die
-   autotools-utils_src_prepare
+   default
+   eautoreconf
 }
 
 src_configure() {
@@ -36,5 +34,5 @@ src_configure() {
--with-cc-optflags="${CFLAGS}"
--with-cxx-optflags="${CXXFLAGS}"
)
-   autotools-utils_src_configure
+   econf "${myeconfargs[@]}"
 }



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

2021-02-18 Thread David Seifert
commit: 764aa330bc63f506b61bc5117995f8e74305c7a5
Author: Jakov Smolic  sartura  hr>
AuthorDate: Thu Feb 18 18:55:58 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu Feb 18 18:55:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=764aa330

sci-libs/libint: Remove old

Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 sci-libs/libint/libint-2.6.0.ebuild | 56 -
 1 file changed, 56 deletions(-)

diff --git a/sci-libs/libint/libint-2.6.0.ebuild 
b/sci-libs/libint/libint-2.6.0.ebuild
deleted file mode 100644
index 774bdc758b4..000
--- a/sci-libs/libint/libint-2.6.0.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools eutils fortran-2 toolchain-funcs
-
-DESCRIPTION="Matrix elements (integrals) evaluation over Cartesian Gaussian 
functions"
-HOMEPAGE="https://github.com/evaleev/libint;
-SRC_URI="https://github.com/evaleev/libint/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-SLOT="2"
-LICENSE="GPL-2"
-KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="static-libs doc"
-
-DEPEND="
-   dev-libs/boost
-   dev-libs/gmp[cxx]
-   doc? (
-   dev-texlive/texlive-latex
-   dev-tex/latex2html
-   )"
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   econf \
-   --with-cxx=$(tc-getCXX) \
-   --with-cxx-optflags="${CXXFLAGS}" \
-   --with-cxxgen-optflags="${CXXFLAGS}" \
-   --with-cxxdepend=$(tc-getCXX) \
-   --with-ranlib=$(tc-getRANLIB) \
-   --with-ar=$(tc-getAR) \
-   --with-ld=$(tc-getLD) \
-   $(use_enable static-libs static)
-}
-
-src_compile() {
-   emake LDFLAGS="${LDFLAGS}"
-
-   use doc && emake html pdf
-}
-
-src_install() {
-   default
-
-   if use doc; then
-   DOCS=( doc/progman/progman.pdf )
-   HTML_DOCS=( doc/progman/progman/*.{html,png,css} )
-   einstalldocs
-   fi
-}



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

2021-02-18 Thread Sam James
commit: 3d033b8dea2e468f3eec40ee93bfcf6f77821a77
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 18 08:38:45 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 18 08:38:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d033b8d

sci-libs/libint: Stabilize 2.6.0-r2 amd64, #765760

Signed-off-by: Sam James  gentoo.org>

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

diff --git a/sci-libs/libint/libint-2.6.0-r2.ebuild 
b/sci-libs/libint/libint-2.6.0-r2.ebuild
index 3cfbb78d7f7..a07d7360830 100644
--- a/sci-libs/libint/libint-2.6.0-r2.ebuild
+++ b/sci-libs/libint/libint-2.6.0-r2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/evaleev/libint/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 SLOT="2"
 LICENSE="GPL-2"
-KEYWORDS="~amd64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
 IUSE="static-libs doc"
 
 DEPEND="



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

2021-02-18 Thread Sam James
commit: 1a12d4380f16805be784d9d67049aa15134f7e57
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 18 08:35:17 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 18 08:35:17 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a12d438

sci-libs/libint: Stabilize 2.6.0-r2 x86, #765760

Signed-off-by: Sam James  gentoo.org>

 sci-libs/libint/libint-2.6.0-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/libint/libint-2.6.0-r2.ebuild 
b/sci-libs/libint/libint-2.6.0-r2.ebuild
index 0297d5bfea8..3cfbb78d7f7 100644
--- a/sci-libs/libint/libint-2.6.0-r2.ebuild
+++ b/sci-libs/libint/libint-2.6.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/evaleev/libint/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 SLOT="2"
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 x86 ~amd64-linux ~x86-linux"
 IUSE="static-libs doc"
 
 DEPEND="



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

2020-10-14 Thread Christoph Junghans
commit: 1e5c68d5369eae6884ba8bbd91548aae56bc2ffb
Author: Christoph Junghans  gentoo  org>
AuthorDate: Wed Oct 14 15:09:00 2020 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Wed Oct 14 15:09:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e5c68d5

sci-libs/libint: enable more features

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Christoph Junghans  gentoo.org>

 sci-libs/libint/{libint-2.6.0-r1.ebuild => libint-2.6.0-r2.ebuild} | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/sci-libs/libint/libint-2.6.0-r1.ebuild 
b/sci-libs/libint/libint-2.6.0-r2.ebuild
similarity index 80%
rename from sci-libs/libint/libint-2.6.0-r1.ebuild
rename to sci-libs/libint/libint-2.6.0-r2.ebuild
index cdda6546357..0297d5bfea8 100644
--- a/sci-libs/libint/libint-2.6.0-r1.ebuild
+++ b/sci-libs/libint/libint-2.6.0-r2.ebuild
@@ -36,7 +36,12 @@ src_configure() {
--with-ranlib=$(tc-getRANLIB) \
--with-ar=$(tc-getAR) \
--with-ld=$(tc-getLD) \
-   --enable-eri3=1
+   --enable-eri=2 --enable-eri3=2 --enable-eri2=2 \
+   --with-eri-max-am=7,5,4 --with-eri-opt-am=3 \
+   --with-eri3-max-am=7 --with-eri2-max-am=7 \
+   --with-g12-max-am=5 --with-g12-opt-am=3 \
+   --with-g12dkh-max-am=5 --with-g12dkh-opt-am=3 \
+   --enable-contracted-ints \
$(use_enable static-libs static)
 }
 



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

2020-10-13 Thread Christoph Junghans
commit: 0ffa139642ef161505e6d9582df70f1a3eb0f8b2
Author: Christoph Junghans  gentoo  org>
AuthorDate: Tue Oct 13 16:45:38 2020 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Tue Oct 13 16:45:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ffa1396

sci-libs/libint: compile with support derivatives

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Christoph Junghans  gentoo.org>

 sci-libs/libint/libint-2.6.0-r1.ebuild | 57 ++
 1 file changed, 57 insertions(+)

diff --git a/sci-libs/libint/libint-2.6.0-r1.ebuild 
b/sci-libs/libint/libint-2.6.0-r1.ebuild
new file mode 100644
index 000..cdda6546357
--- /dev/null
+++ b/sci-libs/libint/libint-2.6.0-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools eutils fortran-2 toolchain-funcs
+
+DESCRIPTION="Matrix elements (integrals) evaluation over Cartesian Gaussian 
functions"
+HOMEPAGE="https://github.com/evaleev/libint;
+SRC_URI="https://github.com/evaleev/libint/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+SLOT="2"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs doc"
+
+DEPEND="
+   dev-libs/boost
+   dev-libs/gmp[cxx]
+   doc? (
+   dev-texlive/texlive-latex
+   dev-tex/latex2html
+   )"
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   --with-cxx=$(tc-getCXX) \
+   --with-cxx-optflags="${CXXFLAGS}" \
+   --with-cxxgen-optflags="${CXXFLAGS}" \
+   --with-cxxdepend=$(tc-getCXX) \
+   --with-ranlib=$(tc-getRANLIB) \
+   --with-ar=$(tc-getAR) \
+   --with-ld=$(tc-getLD) \
+   --enable-eri3=1
+   $(use_enable static-libs static)
+}
+
+src_compile() {
+   emake LDFLAGS="${LDFLAGS}"
+
+   use doc && emake html pdf
+}
+
+src_install() {
+   default
+
+   if use doc; then
+   DOCS=( doc/progman/progman.pdf )
+   HTML_DOCS=( doc/progman/progman/*.{html,png,css} )
+   einstalldocs
+   fi
+}



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

2020-09-24 Thread Aaron Bauman
commit: 01f62096b97e99ea32a800afadb34aa1a9021e30
Author: Aaron Bauman  gentoo  org>
AuthorDate: Thu Sep 24 19:08:37 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Thu Sep 24 19:53:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01f62096

sci-libs/libint: drop old EAPI=5

Signed-off-by: Aaron Bauman  gentoo.org>

 sci-libs/libint/Manifest|  1 -
 sci-libs/libint/libint-2.0.5.ebuild | 60 -
 2 files changed, 61 deletions(-)

diff --git a/sci-libs/libint/Manifest b/sci-libs/libint/Manifest
index c5e881bc46e..f9aba9659d8 100644
--- a/sci-libs/libint/Manifest
+++ b/sci-libs/libint/Manifest
@@ -1,3 +1,2 @@
 DIST libint-1.1.6.tar.gz 256404 BLAKE2B 
c754e25f0c3bc6c52eb434beafd2cb794a2e715003ee9409d76e8ae06e0ce19a42a9331ad4db9be2745d6820e7248210d10b4c004146e99192fd16fd2c31966d
 SHA512 
cb39d73e89431c324e32d4a71593fe913c7ae2132677d4600e63ce1ed99e8e431758f0aa3d130991da841e98a1064fa931eb0e82dbe80af4c0ece10ee3a4f2d7
-DIST libint-2.0.5.tar.gz 3209528 BLAKE2B 
348dd7e2bf17504e19522f053e4dc25936702e7feea1342954af1fc3656711b38b70676c0ac574ee37bb74b37ca30b323d29d156c90711a127b7404b0ca8d5cd
 SHA512 
d7717a6337b73645dcb77d3c0731df17884b4c662b0d52061b7b80ac0ebd9de344e6c301294f714db09e7b6e3dff5b4b6958ef06122303df52d0ebb6a011cf24
 DIST libint-2.6.0.tar.gz 24743255 BLAKE2B 
3ab7baba012828485c6c8425bce100e1ab50d2a3c8443ea2ef5cf173d58d8aa211a07e837b10a7f89d7e57f2e15b9384060bbf7b9885f32e9426525e65e15960
 SHA512 
56343c64b0dfb829702f4bb2fe14a04ad063acd7cb8b5a21cd1a45a830944c1ee98c888c9a28d6746b1bc17459aefcfb0aafe6ef310bfe554056212ad19e43ef

diff --git a/sci-libs/libint/libint-2.0.5.ebuild 
b/sci-libs/libint/libint-2.0.5.ebuild
deleted file mode 100644
index 625e42a700c..000
--- a/sci-libs/libint/libint-2.0.5.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-AUTOTOOLS_AUTORECONF=true
-
-inherit autotools-utils eutils fortran-2 toolchain-funcs versionator
-
-MY_PV="$(replace_all_version_separators -)"
-
-DESCRIPTION="Matrix elements (integrals) evaluation over Cartesian Gaussian 
functions"
-HOMEPAGE="https://github.com/evaleev/libint;
-SRC_URI="https://github.com/evaleev/libint/archive/release-2-0-5.tar.gz -> 
${P}.tar.gz"
-
-SLOT="2"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="static-libs doc"
-
-S="${WORKDIR}/${PN}-release-${MY_PV}"
-
-DEPEND="
-   dev-libs/boost
-   dev-libs/gmp[cxx]
-   doc? (
-   dev-texlive/texlive-latex
-   dev-tex/latex2html
-   )"
-
-AUTOTOOLS_IN_SOURCE_BUILD=1
-
-src_configure() {
-   local myeconfargs=(
-   --with-cxx=$(tc-getCXX)
-   --with-cxx-optflags="${CXXFLAGS}"
-   --with-cxxgen-optflags="${CXXFLAGS}"
-   --with-cxxdepend=$(tc-getCXX)
-   --with-ranlib=$(tc-getRANLIB)
-   --with-ar=$(tc-getAR)
-   --with-ld=$(tc-getLD)
-   )
-   autotools-utils_src_configure
-}
-
-src_compile() {
-   emake LDFLAGS="${LDFLAGS}"
-
-   use doc && emake html pdf
-}
-
-src_install() {
-   einstall
-
-   if use doc; then
-   DOCS=( doc/progman/progman.pdf )
-   HTML_DOCS=( doc/progman/progman/*.{html,png,css} )
-   einstalldocs
-   fi
-}



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

2020-09-19 Thread Christoph Junghans
commit: e61ac24a1e6f7f7c22518017662e26e4f6651e70
Author: Christoph Junghans  gentoo  org>
AuthorDate: Sat Sep 19 21:00:29 2020 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Sat Sep 19 21:00:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e61ac24a

sci-libs/libint: version bump

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Christoph Junghans  gentoo.org>

 sci-libs/libint/Manifest|  1 +
 sci-libs/libint/libint-2.6.0.ebuild | 56 +
 2 files changed, 57 insertions(+)

diff --git a/sci-libs/libint/Manifest b/sci-libs/libint/Manifest
index 072822675c1..c5e881bc46e 100644
--- a/sci-libs/libint/Manifest
+++ b/sci-libs/libint/Manifest
@@ -1,2 +1,3 @@
 DIST libint-1.1.6.tar.gz 256404 BLAKE2B 
c754e25f0c3bc6c52eb434beafd2cb794a2e715003ee9409d76e8ae06e0ce19a42a9331ad4db9be2745d6820e7248210d10b4c004146e99192fd16fd2c31966d
 SHA512 
cb39d73e89431c324e32d4a71593fe913c7ae2132677d4600e63ce1ed99e8e431758f0aa3d130991da841e98a1064fa931eb0e82dbe80af4c0ece10ee3a4f2d7
 DIST libint-2.0.5.tar.gz 3209528 BLAKE2B 
348dd7e2bf17504e19522f053e4dc25936702e7feea1342954af1fc3656711b38b70676c0ac574ee37bb74b37ca30b323d29d156c90711a127b7404b0ca8d5cd
 SHA512 
d7717a6337b73645dcb77d3c0731df17884b4c662b0d52061b7b80ac0ebd9de344e6c301294f714db09e7b6e3dff5b4b6958ef06122303df52d0ebb6a011cf24
+DIST libint-2.6.0.tar.gz 24743255 BLAKE2B 
3ab7baba012828485c6c8425bce100e1ab50d2a3c8443ea2ef5cf173d58d8aa211a07e837b10a7f89d7e57f2e15b9384060bbf7b9885f32e9426525e65e15960
 SHA512 
56343c64b0dfb829702f4bb2fe14a04ad063acd7cb8b5a21cd1a45a830944c1ee98c888c9a28d6746b1bc17459aefcfb0aafe6ef310bfe554056212ad19e43ef

diff --git a/sci-libs/libint/libint-2.6.0.ebuild 
b/sci-libs/libint/libint-2.6.0.ebuild
new file mode 100644
index 000..a81caff037d
--- /dev/null
+++ b/sci-libs/libint/libint-2.6.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools eutils fortran-2 toolchain-funcs
+
+DESCRIPTION="Matrix elements (integrals) evaluation over Cartesian Gaussian 
functions"
+HOMEPAGE="https://github.com/evaleev/libint;
+SRC_URI="https://github.com/evaleev/libint/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+SLOT="2"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs doc"
+
+DEPEND="
+   dev-libs/boost
+   dev-libs/gmp[cxx]
+   doc? (
+   dev-texlive/texlive-latex
+   dev-tex/latex2html
+   )"
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   --with-cxx=$(tc-getCXX) \
+   --with-cxx-optflags="${CXXFLAGS}" \
+   --with-cxxgen-optflags="${CXXFLAGS}" \
+   --with-cxxdepend=$(tc-getCXX) \
+   --with-ranlib=$(tc-getRANLIB) \
+   --with-ar=$(tc-getAR) \
+   --with-ld=$(tc-getLD) \
+   $(use_enable static-libs static)
+}
+
+src_compile() {
+   emake LDFLAGS="${LDFLAGS}"
+
+   use doc && emake html pdf
+}
+
+src_install() {
+   default
+
+   if use doc; then
+   DOCS=( doc/progman/progman.pdf )
+   HTML_DOCS=( doc/progman/progman/*.{html,png,css} )
+   einstalldocs
+   fi
+}



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

2020-02-16 Thread David Seifert
commit: 97d3b9b619853697781f86daf215b4287ae08923
Author: David Seifert  gentoo  org>
AuthorDate: Sun Feb 16 20:24:14 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Feb 16 20:24:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97d3b9b6

sci-libs/libint: [QA] inherit eutils.eclass directly

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: David Seifert  gentoo.org>

 sci-libs/libint/libint-2.0.5.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/libint/libint-2.0.5.ebuild 
b/sci-libs/libint/libint-2.0.5.ebuild
index 42ac3cfeddf..625e42a700c 100644
--- a/sci-libs/libint/libint-2.0.5.ebuild
+++ b/sci-libs/libint/libint-2.0.5.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 
 AUTOTOOLS_AUTORECONF=true
 
-inherit autotools-utils fortran-2 toolchain-funcs versionator
+inherit autotools-utils eutils fortran-2 toolchain-funcs versionator
 
 MY_PV="$(replace_all_version_separators -)"
 



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

2016-02-14 Thread Justin Lecher
commit: 155949fd3937314bf5ddf0e1b8655924f01c148b
Author: Justin Lecher  gentoo  org>
AuthorDate: Sun Feb 14 17:07:22 2016 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Sun Feb 14 17:54:21 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=155949fd

sci-libs/libint: Drop old

Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher  gentoo.org>

 sci-libs/libint/Manifest |  1 -
 sci-libs/libint/files/1.1.4-as-needed.patch  | 39 
 sci-libs/libint/files/dont-append-mcpu.patch | 16 
 sci-libs/libint/libint-1.1.4-r1.ebuild   | 36 -
 4 files changed, 92 deletions(-)

diff --git a/sci-libs/libint/Manifest b/sci-libs/libint/Manifest
index 429c545..4b9f5df 100644
--- a/sci-libs/libint/Manifest
+++ b/sci-libs/libint/Manifest
@@ -1,3 +1,2 @@
-DIST libint-1.1.4.tar.gz 350252 SHA256 
f67b13bdf1135ecc93b4cff961c1ff33614d9f8409726ddc8451803776885cff SHA512 
9a4011c227fbdee52f95a40659ebb131a2d2422784b35e5c8fc781da250f32bb53207c29e429785c1a59054391f44e1efad2c85b37c5d3a70f2e392a7857805d
 WHIRLPOOL 
ac84f3cbf8b21f02a2f3ae5b6b48e4e629c7c3c719fdd31fdaf308d42339250473c55620f1350687e0ff9f203ad835fdadba7ff3e7749f44d19462b5b2e96acc
 DIST libint-1.1.6.tar.gz 256404 SHA256 
f201b0c621df678cfe8bdf3990796b8976ff194aba357ae398f2f29b0e2985a6 SHA512 
cb39d73e89431c324e32d4a71593fe913c7ae2132677d4600e63ce1ed99e8e431758f0aa3d130991da841e98a1064fa931eb0e82dbe80af4c0ece10ee3a4f2d7
 WHIRLPOOL 
ed6e0f850df067da115cdea4e9cff2545ea6ffe4e7b9dea28ef3232adec12d23c6b6709e8a058f78b9764890134440f4869a770b3b4e4934b4571562848fdb6a
 DIST libint-2.0.5.tar.gz 3209528 SHA256 
f64298bc6513771ffea476a250110b3f488c01d669e05dd309fe4ba6114c5f95 SHA512 
d7717a6337b73645dcb77d3c0731df17884b4c662b0d52061b7b80ac0ebd9de344e6c301294f714db09e7b6e3dff5b4b6958ef06122303df52d0ebb6a011cf24
 WHIRLPOOL 
896269589d6c95f83b5dc0517491d2b07bf60103fb0a11c131681acaa4a83f494ab436647ae7989a1a9e944b0fd59b03d530ab025efbba73efc75e9f1f720653

diff --git a/sci-libs/libint/files/1.1.4-as-needed.patch 
b/sci-libs/libint/files/1.1.4-as-needed.patch
deleted file mode 100644
index cc87d76..000
--- a/sci-libs/libint/files/1.1.4-as-needed.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-diff --git a/src/lib/libderiv/Makefile.library 
b/src/lib/libderiv/Makefile.library
-index ee152ef..8debfe8 100644
 a/src/lib/libderiv/Makefile.library
-+++ b/src/lib/libderiv/Makefile.library
-@@ -23,7 +23,7 @@ $(TOPDIR)/lib/$(NAME).a: $(LIBOBJ)
- 
- # this is how shared library is made
- $(TOPDIR)/lib/$(NAME).la: $(LIBOBJ)
--  $(LTLINK) $(CXX) -o $@ $^ $(LTLINKLIBOPTS)
-+  $(LTLINK) $(CXX) $(LDFLAGS) -o $@ $^ $(LTLINKLIBOPTS)
- 
- $(TOPDIR)/include/$(NAME)/$(NAME).h: $(NAME).h
-   $(INSTALL) $(INSTALLDIROPT) $(TOPDIR)/include/$(NAME)
-diff --git a/src/lib/libint/Makefile.library b/src/lib/libint/Makefile.library
-index 23e2918..01c4225 100644
 a/src/lib/libint/Makefile.library
-+++ b/src/lib/libint/Makefile.library
-@@ -41,7 +41,7 @@ $(TOPDIR)/lib/$(NAME).a: $(LIBOBJ)
- 
- # this is how shared library is made
- $(TOPDIR)/lib/$(NAME).la: $(LIBOBJ)
--  $(LTLINK) $(CXX) -o $@ $^ $(LTLINKLIBOPTS)
-+  $(LTLINK) $(CXX) $(LDFLAGS) -o $@ $^ $(LTLINKLIBOPTS)
- 
- $(TOPDIR)/include/$(NAME)/$(NAME).h: $(NAME).h
-   $(INSTALL) $(INSTALLDIROPT) $(TOPDIR)/include/$(NAME)
-diff --git a/src/lib/libr12/Makefile.library b/src/lib/libr12/Makefile.library
-index 1510807..26d47a4 100644
 a/src/lib/libr12/Makefile.library
-+++ b/src/lib/libr12/Makefile.library
-@@ -47,7 +47,7 @@ $(TOPDIR)/lib/$(NAME).a: $(LIBOBJ)
- 
- # this is how shared library is made
- $(TOPDIR)/lib/$(NAME).la: $(LIBOBJ)
--  $(LTLINK) $(CXX) -o $@ $^ $(LTLINKLIBOPTS)
-+  $(LTLINK) $(CXX) $(LDFLAGS) -o $@ $^ $(LTLINKLIBOPTS)
- 
- $(TOPDIR)/include/$(NAME)/$(NAME).h: $(NAME).h
-   $(INSTALL) $(INSTALLDIROPT) $(TOPDIR)/include/$(NAME)

diff --git a/sci-libs/libint/files/dont-append-mcpu.patch 
b/sci-libs/libint/files/dont-append-mcpu.patch
deleted file mode 100644
index 72b5e43..000
--- a/sci-libs/libint/files/dont-append-mcpu.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff -urN libint-1.1.2.orig/configure libint-1.1.2/configure
 libint-1.1.2.orig/configure2003-12-05 13:24:55.0 -0800
-+++ libint-1.1.2/configure 2005-12-06 03:27:37.0 -0800
-@@ -3554,10 +3554,10 @@
-   cpu_arch_option="-mcpu=$target_cpu"
- fi
- if test X$GCC = Xyes; then
--  COPTIONS_MISC="$COPTIONS_MISC $cpu_arch_option"
-+  COPTIONS_MISC="$COPTIONS_MISC"
- fi
- if test X$GXX = Xyes; then
--  CXXOPTIONS_MISC="$CXXOPTIONS_MISC $cpu_arch_option"
-+  CXXOPTIONS_MISC="$CXXOPTIONS_MISC"
- fi
- echo "$as_me:3562: result: IA-32: $cpu_arch_option" >&5
- echo "${ECHO_T}IA-32: $cpu_arch_option" >&6

diff --git a/sci-libs/libint/libint-1.1.4-r1.ebuild 
b/sci-libs/libint/libint-1.1.4-r1.ebuild
deleted file mode 100644
index 8c6bef0..000
--- 

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

2016-02-13 Thread Agostino Sarubbo
commit: cebc19ecbeb6cb60d7e413bb0cfcdc078fb0f27a
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Feb 13 15:32:14 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Feb 13 15:32:14 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cebc19ec

sci-libs/libint: amd64 stable wrt bug #574236

Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

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

diff --git a/sci-libs/libint/libint-1.1.6.ebuild 
b/sci-libs/libint/libint-1.1.6.ebuild
index f349d6a..ed13b18 100644
--- a/sci-libs/libint/libint-1.1.6.ebuild
+++ b/sci-libs/libint/libint-1.1.6.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/evaleev/libint/archive/release-${MY_PV}.tar.gz -> ${
 
 SLOT="1"
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="static-libs"
 
 S="${WORKDIR}/${PN}-release-${MY_PV}"



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

2016-02-09 Thread Justin Lecher
commit: 218647ddea169bcf2fd2d3d4392ca38718ab10e7
Author: Justin Lecher  gentoo  org>
AuthorDate: Tue Feb  9 11:49:35 2016 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Tue Feb  9 12:19:21 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=218647dd

sci-libs/libint: Slot package

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=574068

Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher  gentoo.org>

 sci-libs/libint/libint-1.1.4-r1.ebuild | 4 ++--
 sci-libs/libint/libint-1.1.6.ebuild| 4 ++--
 sci-libs/libint/libint-2.0.5.ebuild| 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sci-libs/libint/libint-1.1.4-r1.ebuild 
b/sci-libs/libint/libint-1.1.4-r1.ebuild
index 952d6e3..8c6bef0 100644
--- a/sci-libs/libint/libint-1.1.4-r1.ebuild
+++ b/sci-libs/libint/libint-1.1.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -10,7 +10,7 @@ DESCRIPTION="Matrix elements (integrals) evaluation over 
Cartesian Gaussian func
 HOMEPAGE="http://www.chem.vt.edu/chem-dept/valeev/software/libint/libint.html;
 
SRC_URI="http://www.chem.vt.edu/chem-dept/valeev/software/libint/src/${P}.tar.gz;
 
-SLOT="0"
+SLOT="1"
 LICENSE="GPL-2"
 KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
 IUSE="static-libs"

diff --git a/sci-libs/libint/libint-1.1.6.ebuild 
b/sci-libs/libint/libint-1.1.6.ebuild
index 73ed49b..f349d6a 100644
--- a/sci-libs/libint/libint-1.1.6.ebuild
+++ b/sci-libs/libint/libint-1.1.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -14,7 +14,7 @@ DESCRIPTION="Matrix elements (integrals) evaluation over 
Cartesian Gaussian func
 HOMEPAGE="https://github.com/evaleev/libint;
 SRC_URI="https://github.com/evaleev/libint/archive/release-${MY_PV}.tar.gz -> 
${P}.tar.gz"
 
-SLOT="0"
+SLOT="1"
 LICENSE="GPL-2"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="static-libs"

diff --git a/sci-libs/libint/libint-2.0.5.ebuild 
b/sci-libs/libint/libint-2.0.5.ebuild
index 454062f..3ec60db 100644
--- a/sci-libs/libint/libint-2.0.5.ebuild
+++ b/sci-libs/libint/libint-2.0.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -14,7 +14,7 @@ DESCRIPTION="Matrix elements (integrals) evaluation over 
Cartesian Gaussian func
 HOMEPAGE="https://github.com/evaleev/libint;
 SRC_URI="https://github.com/evaleev/libint/archive/release-2-0-5.tar.gz -> 
${P}.tar.gz"
 
-SLOT="0"
+SLOT="2"
 LICENSE="GPL-2"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="static-libs doc"