commit: f5616e68120885992445b246d7271f2600ad1915
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 23 11:28:46 2021 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Thu Sep 23 11:29:34 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5616e68
dev-perl/Text-BibTeX: EAPI=8 bump
Package-Manager: Portage-3.0.23, Repoman-3.0.3
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
.../{Text-BibTeX-0.880.0.ebuild => Text-BibTeX-0.880.0-r1.ebuild} | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/dev-perl/Text-BibTeX/Text-BibTeX-0.880.0.ebuild
b/dev-perl/Text-BibTeX/Text-BibTeX-0.880.0-r1.ebuild
similarity index 93%
rename from dev-perl/Text-BibTeX/Text-BibTeX-0.880.0.ebuild
rename to dev-perl/Text-BibTeX/Text-BibTeX-0.880.0-r1.ebuild
index b76346db833..9203f64aa8c 100644
--- a/dev-perl/Text-BibTeX/Text-BibTeX-0.880.0.ebuild
+++ b/dev-perl/Text-BibTeX/Text-BibTeX-0.880.0-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DIST_AUTHOR=AMBS
DIST_VERSION=0.88
@@ -13,8 +13,6 @@ DESCRIPTION="A Perl library for reading, parsing, and
processing BibTeX files"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ppc x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
RDEPEND="
!dev-libs/btparse
@@ -22,7 +20,7 @@ RDEPEND="
virtual/perl-Scalar-List-Utils
virtual/perl-Unicode-Normalize
"
-DEPEND="${RDEPEND}
+BDEPEND="${RDEPEND}
>=dev-perl/Config-AutoConf-0.160.0
>=dev-perl/ExtUtils-LibBuilder-0.20.0
>=virtual/perl-ExtUtils-CBuilder-0.270.0
@@ -31,6 +29,7 @@ DEPEND="${RDEPEND}
>=dev-perl/Capture-Tiny-0.60.0
)
"
+
src_prepare() {
sed -i -e "/#include <stdio.h>/a #include <string.h>"\
btparse/tests/{tex,purify,postprocess,name,macro}_test.c || die