Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/libxc/
Date: Mon, 04 Oct 2021 10:09:46
Message-Id: 1633340259.8c9fd1d6492d666e0126d0e621e1d54cd9f0d0bb.jsmolic@gentoo
1 commit: 8c9fd1d6492d666e0126d0e621e1d54cd9f0d0bb
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 4 09:37:39 2021 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 4 09:37:39 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c9fd1d6
7
8 sci-libs/libxc: Version bump to 5.1.6
9
10 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
11
12 sci-libs/libxc/Manifest | 1 +
13 sci-libs/libxc/libxc-5.1.6.ebuild | 40 +++++++++++++++++++++++++++++++++++++++
14 2 files changed, 41 insertions(+)
15
16 diff --git a/sci-libs/libxc/Manifest b/sci-libs/libxc/Manifest
17 index c31f10f3ee3..198b182adf2 100644
18 --- a/sci-libs/libxc/Manifest
19 +++ b/sci-libs/libxc/Manifest
20 @@ -1,2 +1,3 @@
21 DIST libxc-5.1.0.tar.gz 42951890 BLAKE2B 32ce8d15547882455e01cbf9d4ee8780b97059d5b710f25b799779a5efe7326c376a53111102f3d5e0853bb89ba1f4dd9c2f219cfb4d3f91a2f6e1100f8fb47a SHA512 615b82290e87a48484f6dbe41cd8f1538ba6201b99fc97be2db64b66232fa4349fe6cebfb51566098db3cabd7aff662bb7ace43a811507bff2e93afd03d56ce4
22 DIST libxc-5.1.4.tar.gz 43036222 BLAKE2B 10348ccd2e8e512bf576a03eb19bf714ae4f0e590ae3a7266ae8f46c42ee12ef91e049f0007ce42023e7f13c865fedef6d1ab0fb76195ca47f62a50702741c49 SHA512 ef7f44e773a0a8a9c1a53ddd12301e123f9a4606f22420cf011d579314c1bf3164b82299aca0ef32cb130b380e5e9534d4fcc658c549ac4cb8b6f86d025cfe1e
23 +DIST libxc-5.1.6.tar.gz 45121466 BLAKE2B 393c85b49b1cc515abd4767a01cc56958585aac74d9913f60c304f102e76c0f3903dab326779ea7e466c19389309b2bcf49a4e0833d8f869a185b6143e1ecf29 SHA512 7e65753ca93c2174e3644f519651c59305b2fc4919de99ca2278c42a359641ced73b5c661c5315fe73b55a69ac4b7568ab1be754fc06b40bdf790881ba3ed2cb
24
25 diff --git a/sci-libs/libxc/libxc-5.1.6.ebuild b/sci-libs/libxc/libxc-5.1.6.ebuild
26 new file mode 100644
27 index 00000000000..54a6f584a57
28 --- /dev/null
29 +++ b/sci-libs/libxc/libxc-5.1.6.ebuild
30 @@ -0,0 +1,40 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +inherit autotools fortran-2
37 +
38 +DESCRIPTION="A library of exchange-correlation functionals for use in DFT"
39 +HOMEPAGE="https://octopus-code.org/wiki/Libxc"
40 +SRC_URI="https://gitlab.com/libxc/libxc/-/archive/${PV}/${P}.tar.gz"
41 +
42 +LICENSE="MPL-2.0"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86 ~amd64-linux"
45 +IUSE="fortran test"
46 +RESTRICT="!test? ( test )"
47 +
48 +pkg_setup() {
49 + use fortran && fortran-2_pkg_setup
50 +}
51 +
52 +src_prepare() {
53 + default
54 + eautoreconf
55 +}
56 +
57 +src_configure() {
58 + econf \
59 + --enable-shared \
60 + --disable-static \
61 + $(use_enable fortran)
62 +}
63 +
64 +src_install() {
65 + default
66 + dodoc ChangeLog.md
67 +
68 + # no static archives
69 + find "${ED}" -name '*.la' -type f -delete || die
70 +}