Date: Monday, November 19, 2018 @ 16:56:01
  Author: bisson
Revision: 408885

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  161 +++++++++++++++++++++++++++++++++----------------------------
 test.bib |   16 ++++++
 test.tex |   15 +++++
 3 files changed, 120 insertions(+), 72 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2018-11-19 16:55:48 UTC (rev 408884)
+++ PKGBUILD    2018-11-19 16:56:01 UTC (rev 408885)
@@ -1,72 +0,0 @@
-# Maintainer: Rémy Oudompheng <r...@archlinux.org>
-
-pkgname=biber
-pkgver=2.12
-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-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')
-options=('!emptydirs')
-# The sourceforge tarball is missing bblxml.pm
-source=("https://github.com/plk/biber/archive/v${pkgver}.tar.gz";)
-sha512sums=('72f1a05224dc2735b32e92ac376d392fb631bf788a15de449471fdc5a94182ad4434ce71f95281e4cfc3a06cd275d2ff98e526d540c2979cd3e0dfa15b5c75ff')
-
-prepare() {
-  cd "${srcdir}/biber-${pkgver}"
-  # Disable long year tests on 32 bit
-  if [[ $CARCH = "i686" ]]; then
-    sed -i '/17000002/ s+.*+eq_or_diff("dummy", "dummy", "skip 32 bit");+' 
t/dateformats.t
-  fi
-}
-
-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}"
-  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-any/PKGBUILD (from rev 408884, 
biber/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-11-19 16:56:01 UTC (rev 408885)
@@ -0,0 +1,89 @@
+# Maintainer: Rémy Oudompheng <r...@archlinux.org>
+
+pkgname=biber
+epoch=1
+pkgver=2.11
+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-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=('669f69349bb88728b6b03a11e9acb8c47031de16f26d360b3ed18c5f9fe535241362ec46eecc3f259e76ef5a186c1daf51a6b7a501c2216b48ea4d31945ced5a'
+            
'06babeb4ec2fd76b8a339070eb208c3c8c16665a085e4674ef3b61b3816d4408ca636b925fabe467adc5c32bf8eeb23d357f7ef979ac0a1722dc7f91142ec541'
+            
'68a00e41f200b8e24a674538b6581b88f84daef38a765790c1781365329203f60f4461a56dfa092bf336cc00c8801df1ee85f60d86fd384a8c039f913bdeeb2d')
+
+prepare() {
+  cd "${srcdir}/biber-${pkgver}"
+  # Disable long year tests on 32 bit
+  if [[ $CARCH = "i686" ]]; then
+    sed -i '/17000002/ s+.*+eq_or_diff("dummy", "dummy", "skip 32 bit");+' 
t/dateformats.t
+  fi
+
+  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-any/test.bib (from rev 408884, 
biber/trunk/test.bib)
===================================================================
--- test.bib                            (rev 0)
+++ test.bib    2018-11-19 16:56:01 UTC (rev 408885)
@@ -0,0 +1,16 @@
+@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-any/test.tex (from rev 408884, 
biber/trunk/test.tex)
===================================================================
--- test.tex                            (rev 0)
+++ test.tex    2018-11-19 16:56:01 UTC (rev 408885)
@@ -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}

Reply via email to