1 |
commit: a7bb963c619741bbc4e00331c93fb50f60f1faef |
2 |
Author: Craig Andrews <candrews <AT> integralblue <DOT> com> |
3 |
AuthorDate: Mon Mar 6 20:46:32 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 7 21:56:58 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7bb963c |
7 |
|
8 |
dev-libs/libfmt: Small, safe and fast formatting library |
9 |
|
10 |
Bug: https://bugs.gentoo.org/show_bug.cgi?id=611804 |
11 |
Package-Manager: Portage-2.3.4, Repoman-2.3.2 |
12 |
Closes: https://github.com/gentoo/gentoo/pull/4143 |
13 |
|
14 |
dev-libs/libfmt/Manifest | 1 + |
15 |
dev-libs/libfmt/libfmt-3.0.1.ebuild | 33 +++++++++++++++++++++++++++++++++ |
16 |
dev-libs/libfmt/libfmt-9999.ebuild | 33 +++++++++++++++++++++++++++++++++ |
17 |
dev-libs/libfmt/metadata.xml | 16 ++++++++++++++++ |
18 |
4 files changed, 83 insertions(+) |
19 |
|
20 |
diff --git a/dev-libs/libfmt/Manifest b/dev-libs/libfmt/Manifest |
21 |
new file mode 100644 |
22 |
index 00000000000..ed842be51a8 |
23 |
--- /dev/null |
24 |
+++ b/dev-libs/libfmt/Manifest |
25 |
@@ -0,0 +1 @@ |
26 |
+DIST libfmt-3.0.1.tar.gz 606603 SHA256 dce62ab75a161dd4353a98364feb166d35e7eea382169d59d9ce842c49c55bad SHA512 daf5dfb2fe63eb611983fa248bd2182c6202cf1c4f0fc236f357040fce8e87ad531cdf59090306bb313ea333d546e516f467b385e05094e696d0ca091310aad6 WHIRLPOOL 775f9dc9228fbd429e4dbad90d536b69542fb583e44dba9eda950267bae82938b2703726481ff02fbab0cb9efe78b46501f4b82e20cfef550313b7653f6cb963 |
27 |
|
28 |
diff --git a/dev-libs/libfmt/libfmt-3.0.1.ebuild b/dev-libs/libfmt/libfmt-3.0.1.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..aa04d6331ef |
31 |
--- /dev/null |
32 |
+++ b/dev-libs/libfmt/libfmt-3.0.1.ebuild |
33 |
@@ -0,0 +1,33 @@ |
34 |
+# Copyright 1999-2017 Gentoo Foundation |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=6 |
38 |
+ |
39 |
+inherit cmake-utils |
40 |
+ |
41 |
+DESCRIPTION="Small, safe and fast formatting library" |
42 |
+HOMEPAGE="https://github.com/fmtlib/fmt" |
43 |
+ |
44 |
+LICENSE="BSD-2" |
45 |
+IUSE="test" |
46 |
+SLOT="0" |
47 |
+ |
48 |
+if [[ ${PV} == *9999 ]] ; then |
49 |
+ EGIT_REPO_URI="git://github.com/fmtlib/fmt.git" |
50 |
+ inherit git-r3 |
51 |
+else |
52 |
+ SRC_URI="https://github.com/fmtlib/fmt/archive/${PV}.tar.gz -> ${P}.tar.gz" |
53 |
+ KEYWORDS="~amd64 ~x86" |
54 |
+ S="${WORKDIR}/fmt-${PV}" |
55 |
+fi |
56 |
+ |
57 |
+DEPEND="" |
58 |
+RDEPEND="" |
59 |
+ |
60 |
+src_configure() { |
61 |
+ local mycmakeargs=( |
62 |
+ -DFMT_TEST=$(usex test) |
63 |
+ -DBUILD_SHARED_LIBS=ON |
64 |
+ ) |
65 |
+ cmake-utils_src_configure |
66 |
+} |
67 |
|
68 |
diff --git a/dev-libs/libfmt/libfmt-9999.ebuild b/dev-libs/libfmt/libfmt-9999.ebuild |
69 |
new file mode 100644 |
70 |
index 00000000000..aa04d6331ef |
71 |
--- /dev/null |
72 |
+++ b/dev-libs/libfmt/libfmt-9999.ebuild |
73 |
@@ -0,0 +1,33 @@ |
74 |
+# Copyright 1999-2017 Gentoo Foundation |
75 |
+# Distributed under the terms of the GNU General Public License v2 |
76 |
+ |
77 |
+EAPI=6 |
78 |
+ |
79 |
+inherit cmake-utils |
80 |
+ |
81 |
+DESCRIPTION="Small, safe and fast formatting library" |
82 |
+HOMEPAGE="https://github.com/fmtlib/fmt" |
83 |
+ |
84 |
+LICENSE="BSD-2" |
85 |
+IUSE="test" |
86 |
+SLOT="0" |
87 |
+ |
88 |
+if [[ ${PV} == *9999 ]] ; then |
89 |
+ EGIT_REPO_URI="git://github.com/fmtlib/fmt.git" |
90 |
+ inherit git-r3 |
91 |
+else |
92 |
+ SRC_URI="https://github.com/fmtlib/fmt/archive/${PV}.tar.gz -> ${P}.tar.gz" |
93 |
+ KEYWORDS="~amd64 ~x86" |
94 |
+ S="${WORKDIR}/fmt-${PV}" |
95 |
+fi |
96 |
+ |
97 |
+DEPEND="" |
98 |
+RDEPEND="" |
99 |
+ |
100 |
+src_configure() { |
101 |
+ local mycmakeargs=( |
102 |
+ -DFMT_TEST=$(usex test) |
103 |
+ -DBUILD_SHARED_LIBS=ON |
104 |
+ ) |
105 |
+ cmake-utils_src_configure |
106 |
+} |
107 |
|
108 |
diff --git a/dev-libs/libfmt/metadata.xml b/dev-libs/libfmt/metadata.xml |
109 |
new file mode 100644 |
110 |
index 00000000000..7891bb997fa |
111 |
--- /dev/null |
112 |
+++ b/dev-libs/libfmt/metadata.xml |
113 |
@@ -0,0 +1,16 @@ |
114 |
+<?xml version="1.0" encoding="UTF-8"?> |
115 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
116 |
+<pkgmetadata> |
117 |
+ <maintainer type="person"> |
118 |
+ <email>candrews@××××××××××××.com</email> |
119 |
+ <name>Craig Andrews</name> |
120 |
+ </maintainer> |
121 |
+ <maintainer type="project"> |
122 |
+ <email>proxy-maint@g.o</email> |
123 |
+ <name>Proxy Maintainers</name> |
124 |
+ </maintainer> |
125 |
+ <upstream> |
126 |
+ <bugs-to>https://github.com/fmtlib/fmt/issues</bugs-to> |
127 |
+ <remote-id type="github">fmtlib/fmt</remote-id> |
128 |
+ </upstream> |
129 |
+</pkgmetadata> |