[arch-commits] Commit in biber/repos (4 files)

Felix Yan felixonmars at archlinux.org
Mon May 24 11:51:05 UTC 2021


    Date: Monday, May 24, 2021 @ 11:51:05
  Author: felixonmars
Revision: 944702

archrelease: copy trunk to community-staging-any

Added:
  biber/repos/community-staging-any/
  biber/repos/community-staging-any/PKGBUILD
    (from rev 944701, biber/trunk/PKGBUILD)
  biber/repos/community-staging-any/test.bib
    (from rev 944701, biber/trunk/test.bib)
  biber/repos/community-staging-any/test.tex
    (from rev 944701, biber/trunk/test.tex)

----------+
 PKGBUILD |   90 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 test.bib |   16 ++++++++++
 test.tex |   15 ++++++++++
 3 files changed, 121 insertions(+)

Copied: biber/repos/community-staging-any/PKGBUILD (from rev 944701, biber/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-05-24 11:51:05 UTC (rev 944702)
@@ -0,0 +1,90 @@
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+
+pkgname=biber
+epoch=1
+pkgver=2.15
+pkgrel=2
+pkgdesc="A Unicode-capable BibTeX replacement for biblatex users"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+url="https://github.com/plk/biber"
+# Encode::* modules are not real dependencies.
+depends=('perl-autovivification'
+         'perl-business-isbn'
+         'perl-business-ismn'
+         'perl-business-issn'
+         'perl-class-accessor'
+         'perl-data-compare'
+         'perl-data-dump'
+         'perl-data-uniqid'
+         'perl-datetime-calendar-julian'
+         'perl-datetime-format-builder'
+         'perl-file-slurper'
+         'perl-io-string' # required by Biber::Output::bblxml
+         'perl-ipc-run3'
+         'perl-lingua-translit'
+         'perl-list-allutils'
+         'perl-log-log4perl'
+         'perl-lwp-protocol-https'
+         'perl-mozilla-ca'
+         'perl-parse-recdescent'
+         'perl-perlio-utf8-strict'
+         'perl-regexp-common'
+         'perl-sort-key'
+         'perl-text-bibtex'
+         'perl-text-csv'
+         'perl-text-roman'
+         'perl-unicode-linebreak'
+         'perl-xml-libxml-simple'
+         'perl-xml-libxslt'
+         'perl-xml-writer')
+# ExtUtils::LibBuilder and Config::AutoConf are not actual makedepends
+makedepends=('perl-module-build' 'perl-test-differences')
+checkdepends=('perl-capture-tiny' 'perl-file-which'
+              'texlive-bibtexextra'
+              'texlive-latexextra')
+options=('!emptydirs')
+# The sourceforge tarball is missing bblxml.pm
+source=("https://github.com/plk/biber/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
+        "${pkgname}-unicode-collate-1.29.patch::https://github.com/plk/biber/commit/d5cdbe1f50e1.patch"
+        "test.tex"
+        "test.bib")
+sha512sums=('34a1856ada40eba205cc1b6f504da8cf40d628abc1a17826b9160b70f8f02d36ee3a3075e690f493fb354b70ba11a72d44a96054b8c25ae08122f2417f289b93'
+            '95d4920817c4ef6e97ef1f6921a25b3cefd8cb984830c6b0dec8c5656ac92543c21fff3b3bb71d8771a40178590faed98fee5a9fd93cf3515d42a96c957f5262'
+            '06babeb4ec2fd76b8a339070eb208c3c8c16665a085e4674ef3b61b3816d4408ca636b925fabe467adc5c32bf8eeb23d357f7ef979ac0a1722dc7f91142ec541'
+            '68a00e41f200b8e24a674538b6581b88f84daef38a765790c1781365329203f60f4461a56dfa092bf336cc00c8801df1ee85f60d86fd384a8c039f913bdeeb2d')
+
+prepare() {
+  cd "${srcdir}/biber-${pkgver}"
+
+  patch -Np1 -i ../${pkgname}-unicode-collate-1.29.patch
+
+  mkdir -p "test"
+  cp "${srcdir}"/test.{tex,bib} test/
+}
+
+build() {
+  cd "${srcdir}/biber-${pkgver}"
+  unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+  perl Build.PL
+  ./Build
+}
+
+check() {
+  cd "${srcdir}/biber-${pkgver}"
+  # Test a sample file
+  pushd test
+  latex test
+  PERL5LIB=../blib/lib ../bin/biber test
+  latex test
+  popd
+  # Run test suite
+  unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+  LC_CTYPE=en_US.UTF-8 BIBER_DEV_TESTS=1 ./Build test
+}
+
+package() {
+  cd "${srcdir}/biber-${pkgver}"
+  unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+  ./Build install installdirs=vendor destdir="${pkgdir}"
+}

Copied: biber/repos/community-staging-any/test.bib (from rev 944701, biber/trunk/test.bib)
===================================================================
--- community-staging-any/test.bib	                        (rev 0)
+++ community-staging-any/test.bib	2021-05-24 11:51:05 UTC (rev 944702)
@@ -0,0 +1,16 @@
+ at misc{rfc793,
+  shorthand="RFC793",
+  presort="RFC0793",
+  author="J. Postel",
+  title="{Transmission Control Protocol}",
+  series="Request for Comments",
+  number="793",
+  howpublished="RFC 793 (Standard)",
+  publisher="IETF",
+  organization="Internet Engineering Task Force",
+  year=1981,
+  month=sep,
+    note="Updated by RFCs 1122, 3168, 6093, 6528",
+  url="http://www.ietf.org/rfc/rfc793.txt",
+}
+

Copied: biber/repos/community-staging-any/test.tex (from rev 944701, biber/trunk/test.tex)
===================================================================
--- community-staging-any/test.tex	                        (rev 0)
+++ community-staging-any/test.tex	2021-05-24 11:51:05 UTC (rev 944702)
@@ -0,0 +1,15 @@
+\documentclass{article}
+\usepackage{biblatex}
+\title{Biber test}
+\author{Toke Høiland-Jørgensen}
+\date{\today}
+\bibliography{test}
+
+\begin{document}
+\maketitle
+
+See \cite{rfc793}.
+
+\printbibliography
+
+\end{document}



More information about the arch-commits mailing list