commit:     78989e922a74a7a1f7f3dc05a2053562a0e0979b
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  5 13:16:46 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Jun  5 13:25:28 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78989e92

dev-libs/libfastjson: bump to EAPI 8; minor tweaks

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 ...stjson-0.99.8.ebuild => libfastjson-0.99.8-r1.ebuild} | 16 +++++++---------
 ...stjson-0.99.9.ebuild => libfastjson-0.99.9-r1.ebuild} | 16 +++++++---------
 2 files changed, 14 insertions(+), 18 deletions(-)

diff --git a/dev-libs/libfastjson/libfastjson-0.99.8.ebuild 
b/dev-libs/libfastjson/libfastjson-0.99.8-r1.ebuild
similarity index 75%
rename from dev-libs/libfastjson/libfastjson-0.99.8.ebuild
rename to dev-libs/libfastjson/libfastjson-0.99.8-r1.ebuild
index d708a382d6a2..8d9063c9799e 100644
--- a/dev-libs/libfastjson/libfastjson-0.99.8.ebuild
+++ b/dev-libs/libfastjson/libfastjson-0.99.8-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="6"
+EAPI=8
 
 inherit autotools
 
@@ -13,28 +13,26 @@ SLOT="0/4.2.0"
 KEYWORDS="amd64 arm arm64 ~hppa sparc x86"
 IUSE="static-libs"
 
-DEPEND=">=sys-devel/autoconf-archive-2015.02.04"
-RDEPEND=""
+BEPEND=">=sys-devel/autoconf-archive-2015.02.04"
+
+DOCS=( AUTHORS ChangeLog )
 
 src_prepare() {
        default
-
        eautoreconf
 }
 
 src_configure() {
        local myeconfargs=(
-               --enable-compile-warnings=yes
                $(use_enable static-libs static)
                --disable-rdrand
+               --enable-compile-warnings=yes
        )
-
        econf "${myeconfargs[@]}"
 }
 
 src_install() {
-       local DOCS=( AUTHORS ChangeLog )
        default
 
-       find "${ED}"usr/lib* -name '*.la' -delete || die
+       find "${ED}"/usr/lib* -name '*.la' -delete || die
 }

diff --git a/dev-libs/libfastjson/libfastjson-0.99.9.ebuild 
b/dev-libs/libfastjson/libfastjson-0.99.9-r1.ebuild
similarity index 75%
rename from dev-libs/libfastjson/libfastjson-0.99.9.ebuild
rename to dev-libs/libfastjson/libfastjson-0.99.9-r1.ebuild
index e398fef4b3d2..56d3287ed32a 100644
--- a/dev-libs/libfastjson/libfastjson-0.99.9.ebuild
+++ b/dev-libs/libfastjson/libfastjson-0.99.9-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="6"
+EAPI=8
 
 inherit autotools
 
@@ -13,28 +13,26 @@ SLOT="0/4.3.0"
 KEYWORDS="amd64 arm arm64 ~hppa sparc x86"
 IUSE="static-libs"
 
-DEPEND=">=sys-devel/autoconf-archive-2015.02.04"
-RDEPEND=""
+BEPEND=">=sys-devel/autoconf-archive-2015.02.04"
+
+DOCS=( AUTHORS ChangeLog )
 
 src_prepare() {
        default
-
        eautoreconf
 }
 
 src_configure() {
        local myeconfargs=(
-               --enable-compile-warnings=yes
                $(use_enable static-libs static)
                --disable-rdrand
+               --enable-compile-warnings=yes
        )
-
        econf "${myeconfargs[@]}"
 }
 
 src_install() {
-       local DOCS=( AUTHORS ChangeLog )
        default
 
-       find "${ED}"usr/lib* -name '*.la' -delete || die
+       find "${ED}"/usr/lib* -name '*.la' -delete || die
 }

Reply via email to