public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Virgil Dupras" <vdupras@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tex/biber/, dev-tex/biber/files/
Date: Wed, 15 Aug 2018 20:16:25 +0000 (UTC)	[thread overview]
Message-ID: <1534363968.c36b43d48b205e711a75566ac5de4f511e67b038.vdupras@gentoo> (raw)

commit:     c36b43d48b205e711a75566ac5de4f511e67b038
Author:     Hendrik v. Raven <hendrik <AT> consetetur <DOT> de>
AuthorDate: Wed Jul 25 19:28:56 2018 +0000
Commit:     Virgil Dupras <vdupras <AT> gentoo <DOT> org>
CommitDate: Wed Aug 15 20:12:48 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c36b43d4

dev-tex/biber: add patch to fix perl-5.26 warnings

Bug: https://bugs.gentoo.org/623410
Package-Manager: Portage-2.3.42, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/9349

 .../{biber-2.7.ebuild => biber-2.5-r1.ebuild}      | 58 +++++++++++++---------
 dev-tex/biber/biber-2.7.ebuild                     |  5 +-
 .../biber-2.5-unescaped-left-brace-in-regex.patch  | 12 +++++
 3 files changed, 51 insertions(+), 24 deletions(-)

diff --git a/dev-tex/biber/biber-2.7.ebuild b/dev-tex/biber/biber-2.5-r1.ebuild
similarity index 53%
copy from dev-tex/biber/biber-2.7.ebuild
copy to dev-tex/biber/biber-2.5-r1.ebuild
index 4e8ada3cfa5..e8797f26ab7 100644
--- a/dev-tex/biber/biber-2.7.ebuild
+++ b/dev-tex/biber/biber-2.5-r1.ebuild
@@ -9,12 +9,12 @@ DESCRIPTION="A BibTeX replacement for users of biblatex"
 HOMEPAGE="http://biblatex-biber.sourceforge.net/ https://github.com/plk/biber/"
 SRC_URI="https://github.com/plk/biber/archive/v${PV}.tar.gz  -> ${P}.tar.gz"
 
-LICENSE="Artistic-2"
+LICENSE="|| ( Artistic-2 GPL-1 GPL-2 GPL-3 )"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="test"
+KEYWORDS="~amd64"
+IUSE="doc test"
 
-RDEPEND=">=dev-lang/perl-5.24
+RDEPEND=">=dev-lang/perl-5.16
 	dev-perl/autovivification
 	dev-perl/Business-ISBN
 	dev-perl/Business-ISMN
@@ -23,43 +23,55 @@ RDEPEND=">=dev-lang/perl-5.24
 	dev-perl/Data-Compare
 	dev-perl/Data-Dump
 	dev-perl/Data-Uniqid
-	dev-perl/DateTime-Calendar-Julian
-	dev-perl/DateTime-Format-Builder
+	dev-perl/Date-Simple
 	dev-perl/Encode-EUCJPASCII
 	dev-perl/Encode-HanExtra
 	dev-perl/Encode-JIS2K
-	dev-perl/File-Slurp
+	dev-perl/File-Slurp-Unicode
 	dev-perl/IPC-Run3
 	dev-perl/libwww-perl[ssl]
-	>=dev-perl/Lingua-Translit-0.250
+	>=dev-perl/Lingua-Translit-0.25
 	dev-perl/List-AllUtils
-	dev-perl/List-MoreUtils
-	dev-perl/List-MoreUtils-XS
+	>=dev-perl/List-MoreUtils-0.408.0
 	dev-perl/Log-Log4perl
 	dev-perl/LWP-Protocol-https
 	dev-perl/Regexp-Common
-	dev-perl/Sort-Key
-	>=dev-perl/Text-BibTeX-0.760.0
-	dev-perl/Text-CSV
-	dev-perl/Text-CSV_XS
+	dev-perl/Readonly
+	dev-perl/Readonly-XS
 	dev-perl/Text-Roman
+	>=dev-perl/Text-BibTeX-0.720.0
 	dev-perl/URI
-	>=dev-perl/Unicode-LineBreak-2016.3.0
-	>=virtual/perl-Unicode-Normalize-1.250.0
-	>=dev-perl/XML-LibXML-1.70
+	dev-perl/Unicode-LineBreak
+	>=virtual/perl-Unicode-Normalize-1.230.0
+	dev-perl/XML-LibXML
 	dev-perl/XML-LibXML-Simple
 	dev-perl/XML-LibXSLT
+	dev-perl/XML-SAX-Base
 	dev-perl/XML-Writer
-	~dev-tex/biblatex-3.7
+	~dev-tex/biblatex-3.4
 	virtual/perl-IPC-Cmd
-	>=virtual/perl-Unicode-Collate-1.190.0"
+	>=virtual/perl-Unicode-Collate-1.140.0"
 DEPEND="${RDEPEND}
 	dev-perl/Config-AutoConf
 	dev-perl/Module-Build
-	dev-perl/ExtUtils-LibBuilder
 	test? ( dev-perl/File-Which
-			dev-perl/Test-Differences )"
+			dev-perl/Test-Differences
+			dev-perl/Test-Pod
+			dev-perl/Test-Pod-Coverage
+			~virtual/perl-Unicode-Collate-1.140.0 )"
 
-PATCHES=( "${FILESDIR}/${PN}-2.7-drop-mozilla-ca.patch" )
+SRC_TEST="parallel"
 
-mydoc="doc/biber.tex"
+PATCHES=(
+	"${FILESDIR}"/${PN}-2.4-drop-mozilla-ca.patch
+	"${FILESDIR}"/${PN}-2.5-unescaped-left-brace-in-regex.patch
+	)
+
+src_install(){
+	perl-module_src_install
+	use doc && dodoc -r doc
+}
+
+src_test() {
+	BIBER_SKIP_DEV_TESTS=1 perl-module_src_test
+}

diff --git a/dev-tex/biber/biber-2.7.ebuild b/dev-tex/biber/biber-2.7.ebuild
index 4e8ada3cfa5..f74084ea47c 100644
--- a/dev-tex/biber/biber-2.7.ebuild
+++ b/dev-tex/biber/biber-2.7.ebuild
@@ -60,6 +60,9 @@ DEPEND="${RDEPEND}
 	test? ( dev-perl/File-Which
 			dev-perl/Test-Differences )"
 
-PATCHES=( "${FILESDIR}/${PN}-2.7-drop-mozilla-ca.patch" )
+PATCHES=(
+	"${FILESDIR}/${PN}-2.7-drop-mozilla-ca.patch"
+	"${FILESDIR}/${PN}-2.5-unescaped-left-brace-in-regex.patch"
+	)
 
 mydoc="doc/biber.tex"

diff --git a/dev-tex/biber/files/biber-2.5-unescaped-left-brace-in-regex.patch b/dev-tex/biber/files/biber-2.5-unescaped-left-brace-in-regex.patch
new file mode 100644
index 00000000000..c84b6cdbbb9
--- /dev/null
+++ b/dev-tex/biber/files/biber-2.5-unescaped-left-brace-in-regex.patch
@@ -0,0 +1,12 @@
+diff -Naur ./lib/Biber/LaTeX/Recode.pm ./lib/Biber/LaTeX/Recode.pm
+--- ./lib/Biber/LaTeX/Recode.pm	2018-07-25 21:20:25.961547631 +0200
++++ ./lib/Biber/LaTeX/Recode.pm	2018-07-25 21:20:06.653779312 +0200
+@@ -292,7 +292,7 @@
+     # Workaround perl's lack of variable-width negative look-behind -
+     # Reverse string (and therefore some of the Re) and use variable width negative look-ahead
+     $text = reverse $text;
+-    $text =~ s/}(\pM+\pL){(?!\pL+\\)/$1/g;
++    $text =~ s/}(\pM+\pL)\{(?!\pL+\\)/$1/g;
+     $text = reverse $text;
+     $logger->trace("String in latex_decode() now -> '$text'");
+ 


             reply	other threads:[~2018-08-15 20:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-15 20:16 Virgil Dupras [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-06-10  2:45 [gentoo-commits] repo/gentoo:master commit in: dev-tex/biber/, dev-tex/biber/files/ Sam James
2021-04-10  0:09 Sam James
2017-05-18 20:47 Michał Górny
2016-03-12  1:57 Jason Donenfeld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1534363968.c36b43d48b205e711a75566ac5de4f511e67b038.vdupras@gentoo \
    --to=vdupras@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox