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

Rémy Oudompheng remy at archlinux.org
Thu Apr 2 06:42:08 UTC 2020


    Date: Thursday, April 2, 2020 @ 06:42:08
  Author: remy
Revision: 609355

archrelease: copy trunk to community-testing-any

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

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

Copied: biber/repos/community-testing-any/PKGBUILD (from rev 609354, biber/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2020-04-02 06:42:08 UTC (rev 609355)
@@ -0,0 +1,86 @@
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+
+pkgname=biber
+epoch=1
+pkgver=2.14
+pkgrel=1
+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}.tar.gz"
+        "test.tex"
+        "test.bib")
+sha512sums=('dd42aabdb8f469ea759a4a7bb97cbe27ebe57e46d1b6dde7d293d1b046a55e20ac889bf9c8c6b6219ee827b162a280bf7aca239af1f357ee1ccc90600a5dcfc1'
+            '06babeb4ec2fd76b8a339070eb208c3c8c16665a085e4674ef3b61b3816d4408ca636b925fabe467adc5c32bf8eeb23d357f7ef979ac0a1722dc7f91142ec541'
+            '68a00e41f200b8e24a674538b6581b88f84daef38a765790c1781365329203f60f4461a56dfa092bf336cc00c8801df1ee85f60d86fd384a8c039f913bdeeb2d')
+
+prepare() {
+  cd "${srcdir}/biber-${pkgver}"
+
+  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-testing-any/test.bib (from rev 609354, biber/trunk/test.bib)
===================================================================
--- community-testing-any/test.bib	                        (rev 0)
+++ community-testing-any/test.bib	2020-04-02 06:42:08 UTC (rev 609355)
@@ -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-testing-any/test.tex (from rev 609354, biber/trunk/test.tex)
===================================================================
--- community-testing-any/test.tex	                        (rev 0)
+++ community-testing-any/test.tex	2020-04-02 06:42:08 UTC (rev 609355)
@@ -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