Gentoo Archives: gentoo-commits

From: Craig Andrews <candrews@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libfmt/
Date: Sun, 28 Aug 2022 15:25:20
Message-Id: 1661700245.7ceacb8f404d10be04099b3bc6179bf589cf1920.candrews@gentoo
1 commit: 7ceacb8f404d10be04099b3bc6179bf589cf1920
2 Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 28 15:24:05 2022 +0000
4 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 28 15:24:05 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ceacb8f
7
8 dev-libs/libfmt: add 9.1.0
9
10 Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
11
12 dev-libs/libfmt/Manifest | 1 +
13 dev-libs/libfmt/libfmt-9.1.0.ebuild | 35 +++++++++++++++++++++++++++++++++++
14 2 files changed, 36 insertions(+)
15
16 diff --git a/dev-libs/libfmt/Manifest b/dev-libs/libfmt/Manifest
17 index 5da6975802ec..d0540db9ccf6 100644
18 --- a/dev-libs/libfmt/Manifest
19 +++ b/dev-libs/libfmt/Manifest
20 @@ -4,3 +4,4 @@ DIST libfmt-8.0.0.tar.gz 804902 BLAKE2B 9330acbfb6ab47a484b4dbd3138d11cdd79f4233
21 DIST libfmt-8.0.1.tar.gz 805616 BLAKE2B b64a4686050a9edb4e5d3ec28a3727a847105ae0b12a89461841e14d6c9c442e391cdcfbca39b2d141d04cdb10d00516ecc8bf605867c792b7d2d6bc99c7b2bc SHA512 643e68d5b2e0e9c83231ab2b0036596a6297b1d9ed6bd7b1172bee4ff134c8af8f09174c06c94225132c1b635b0977ea4ce783748d7bd76a9a0b5ad597456c84
22 DIST libfmt-8.1.1.tar.gz 826254 BLAKE2B 8f3eafd72c0eff62cfcf26a8a37e4d89c8f4a2cec6e427e3ea8d0de3010dd6e5e45ce4486335d3b433308a967915b38ca4d422d789ceda4196153329128056b9 SHA512 794a47d7cb352a2a9f2c050a60a46b002e4157e5ad23e15a5afc668e852b1e1847aeee3cda79e266c789ff79310d792060c94976ceef6352e322d60b94e23189
23 DIST libfmt-9.0.0.tar.gz 833639 BLAKE2B 1455aec5bec73c56d4d4074ae034176143a3f6171aa60505ee48cbc4b6c66e0de4b5600c4a91e2d16073a285f98b3e5b5ee89b4061e49578c005bccc04855045 SHA512 f9612a53c93654753572ac038e52c683f3485691493750d5c2fdb48f3a769e181bfeab8035041cae02bf14cd67df30ec3c5614d7db913f85699cd9da8072bdf8
24 +DIST libfmt-9.1.0.tar.gz 837901 BLAKE2B ff1daa43140615b63aeb1ecd0aa1c32d24decfd5006805080293ef3db04d544c0445a30e8da0d985a6f5a25ad48ce4f6ae61e52da5ea4a4d3b031c212da38b18 SHA512 a18442042722dd48e20714ec034a12fcc0576c9af7be5188586970e2edf47529825bdc99af366b1d5891630c8dbf6f63bfa9f012e77ab3d3ed80d1a118e3b2be
25
26 diff --git a/dev-libs/libfmt/libfmt-9.1.0.ebuild b/dev-libs/libfmt/libfmt-9.1.0.ebuild
27 new file mode 100644
28 index 000000000000..d61928901158
29 --- /dev/null
30 +++ b/dev-libs/libfmt/libfmt-9.1.0.ebuild
31 @@ -0,0 +1,35 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +inherit cmake-multilib
38 +
39 +DESCRIPTION="Small, safe and fast formatting library"
40 +HOMEPAGE="https://github.com/fmtlib/fmt"
41 +
42 +LICENSE="MIT"
43 +IUSE="test"
44 +SLOT="0/${PV}"
45 +
46 +if [[ ${PV} == *9999 ]] ; then
47 + EGIT_REPO_URI="https://github.com/fmtlib/fmt.git"
48 + inherit git-r3
49 +else
50 + SRC_URI="https://github.com/fmtlib/fmt/archive/${PV}.tar.gz -> ${P}.tar.gz"
51 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
52 + S="${WORKDIR}/fmt-${PV}"
53 +fi
54 +
55 +DEPEND=""
56 +RDEPEND=""
57 +RESTRICT="!test? ( test )"
58 +
59 +multilib_src_configure() {
60 + local mycmakeargs=(
61 + -DFMT_CMAKE_DIR="$(get_libdir)/cmake/fmt"
62 + -DFMT_LIB_DIR="$(get_libdir)"
63 + -DFMT_TEST=$(usex test)
64 + )
65 + cmake_src_configure
66 +}