1 |
commit: 78989e922a74a7a1f7f3dc05a2053562a0e0979b |
2 |
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 5 13:16:46 2022 +0000 |
4 |
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 5 13:25:28 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78989e92 |
7 |
|
8 |
dev-libs/libfastjson: bump to EAPI 8; minor tweaks |
9 |
|
10 |
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> |
11 |
|
12 |
...stjson-0.99.8.ebuild => libfastjson-0.99.8-r1.ebuild} | 16 +++++++--------- |
13 |
...stjson-0.99.9.ebuild => libfastjson-0.99.9-r1.ebuild} | 16 +++++++--------- |
14 |
2 files changed, 14 insertions(+), 18 deletions(-) |
15 |
|
16 |
diff --git a/dev-libs/libfastjson/libfastjson-0.99.8.ebuild b/dev-libs/libfastjson/libfastjson-0.99.8-r1.ebuild |
17 |
similarity index 75% |
18 |
rename from dev-libs/libfastjson/libfastjson-0.99.8.ebuild |
19 |
rename to dev-libs/libfastjson/libfastjson-0.99.8-r1.ebuild |
20 |
index d708a382d6a2..8d9063c9799e 100644 |
21 |
--- a/dev-libs/libfastjson/libfastjson-0.99.8.ebuild |
22 |
+++ b/dev-libs/libfastjson/libfastjson-0.99.8-r1.ebuild |
23 |
@@ -1,7 +1,7 @@ |
24 |
-# Copyright 1999-2018 Gentoo Foundation |
25 |
+# Copyright 1999-2022 Gentoo Authors |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
|
28 |
-EAPI="6" |
29 |
+EAPI=8 |
30 |
|
31 |
inherit autotools |
32 |
|
33 |
@@ -13,28 +13,26 @@ SLOT="0/4.2.0" |
34 |
KEYWORDS="amd64 arm arm64 ~hppa sparc x86" |
35 |
IUSE="static-libs" |
36 |
|
37 |
-DEPEND=">=sys-devel/autoconf-archive-2015.02.04" |
38 |
-RDEPEND="" |
39 |
+BEPEND=">=sys-devel/autoconf-archive-2015.02.04" |
40 |
+ |
41 |
+DOCS=( AUTHORS ChangeLog ) |
42 |
|
43 |
src_prepare() { |
44 |
default |
45 |
- |
46 |
eautoreconf |
47 |
} |
48 |
|
49 |
src_configure() { |
50 |
local myeconfargs=( |
51 |
- --enable-compile-warnings=yes |
52 |
$(use_enable static-libs static) |
53 |
--disable-rdrand |
54 |
+ --enable-compile-warnings=yes |
55 |
) |
56 |
- |
57 |
econf "${myeconfargs[@]}" |
58 |
} |
59 |
|
60 |
src_install() { |
61 |
- local DOCS=( AUTHORS ChangeLog ) |
62 |
default |
63 |
|
64 |
- find "${ED}"usr/lib* -name '*.la' -delete || die |
65 |
+ find "${ED}"/usr/lib* -name '*.la' -delete || die |
66 |
} |
67 |
|
68 |
diff --git a/dev-libs/libfastjson/libfastjson-0.99.9.ebuild b/dev-libs/libfastjson/libfastjson-0.99.9-r1.ebuild |
69 |
similarity index 75% |
70 |
rename from dev-libs/libfastjson/libfastjson-0.99.9.ebuild |
71 |
rename to dev-libs/libfastjson/libfastjson-0.99.9-r1.ebuild |
72 |
index e398fef4b3d2..56d3287ed32a 100644 |
73 |
--- a/dev-libs/libfastjson/libfastjson-0.99.9.ebuild |
74 |
+++ b/dev-libs/libfastjson/libfastjson-0.99.9-r1.ebuild |
75 |
@@ -1,7 +1,7 @@ |
76 |
-# Copyright 1999-2021 Gentoo Authors |
77 |
+# Copyright 1999-2022 Gentoo Authors |
78 |
# Distributed under the terms of the GNU General Public License v2 |
79 |
|
80 |
-EAPI="6" |
81 |
+EAPI=8 |
82 |
|
83 |
inherit autotools |
84 |
|
85 |
@@ -13,28 +13,26 @@ SLOT="0/4.3.0" |
86 |
KEYWORDS="amd64 arm arm64 ~hppa sparc x86" |
87 |
IUSE="static-libs" |
88 |
|
89 |
-DEPEND=">=sys-devel/autoconf-archive-2015.02.04" |
90 |
-RDEPEND="" |
91 |
+BEPEND=">=sys-devel/autoconf-archive-2015.02.04" |
92 |
+ |
93 |
+DOCS=( AUTHORS ChangeLog ) |
94 |
|
95 |
src_prepare() { |
96 |
default |
97 |
- |
98 |
eautoreconf |
99 |
} |
100 |
|
101 |
src_configure() { |
102 |
local myeconfargs=( |
103 |
- --enable-compile-warnings=yes |
104 |
$(use_enable static-libs static) |
105 |
--disable-rdrand |
106 |
+ --enable-compile-warnings=yes |
107 |
) |
108 |
- |
109 |
econf "${myeconfargs[@]}" |
110 |
} |
111 |
|
112 |
src_install() { |
113 |
- local DOCS=( AUTHORS ChangeLog ) |
114 |
default |
115 |
|
116 |
- find "${ED}"usr/lib* -name '*.la' -delete || die |
117 |
+ find "${ED}"/usr/lib* -name '*.la' -delete || die |
118 |
} |