[arch-commits] Commit in lhapdf/repos/community-x86_64 (4 files)

Konstantin Gizdov kgizdov at gemini.archlinux.org
Fri Nov 26 13:11:15 UTC 2021


    Date: Friday, November 26, 2021 @ 13:11:15
  Author: kgizdov
Revision: 1054859

archrelease: copy trunk to community-x86_64

Added:
  lhapdf/repos/community-x86_64/PKGBUILD
    (from rev 1054858, lhapdf/trunk/PKGBUILD)
  lhapdf/repos/community-x86_64/lhapdf.install
    (from rev 1054858, lhapdf/trunk/lhapdf.install)
Deleted:
  lhapdf/repos/community-x86_64/PKGBUILD
  lhapdf/repos/community-x86_64/lhapdf.install

----------------+
 PKGBUILD       |   89 ++++++++++++++++++++++++++++++-------------------------
 lhapdf.install |   22 ++++++-------
 2 files changed, 60 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-26 13:11:08 UTC (rev 1054858)
+++ PKGBUILD	2021-11-26 13:11:15 UTC (rev 1054859)
@@ -1,40 +0,0 @@
-# Maintainer: Konstantin Gizdov <arch at kge dot pw>
-# Contributor: Frank Siegert <frank dot siegert at googlemail dot com>
-# Contributor: JP-Ellis <josh at jpellis dot me>
-pkgname=lhapdf
-pkgver=6.4.0
-pkgrel=1
-pkgdesc="A particle physics tool for evaluating PDFs from discretised data files"
-arch=('x86_64')
-url="https://lhapdf.hepforge.org/"
-license=('GPL3')
-makedepends=('cython')
-depends=('python')
-install=lhapdf.install
-source=("https://www.hepforge.org/archive/lhapdf/LHAPDF-${pkgver}.tar.gz")
-sha256sums=('7d2f0267e2d65b0ddee048553b342d7c893a6dbabe1e326cad62de0010dd810c')
-
-prepare() {
-    cd "${srcdir}/LHAPDF-${pkgver}"
-    sed -e 's/print Cython.Compiler.Version.version/print (Cython.Compiler.Version.version)/g' -i m4/cython.m4
-}
-
-build() {
-    cd "${srcdir}/LHAPDF-${pkgver}"
-    autoreconf -i
-    ## need to rebuild Python extension code with up-to-date Cython for Python 3.7
-    ## will eventually be fixed upstream
-    touch wrappers/python/lhapdf.pyx
-    ./configure --prefix=/usr --datadir=/usr/share/lhapdf --docdir=/usr/share/doc/lhapdf --pdfdir=/usr/share/lhapdf/LHAPDF
-    make
-}
-
-check() {
-    cd "${srcdir}/LHAPDF-${pkgver}"
-    make -k check
-}
-
-package() {
-    cd "${srcdir}/LHAPDF-${pkgver}"
-    make DESTDIR="${pkgdir}/" install
-}

Copied: lhapdf/repos/community-x86_64/PKGBUILD (from rev 1054858, lhapdf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-26 13:11:15 UTC (rev 1054859)
@@ -0,0 +1,49 @@
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+# Contributor: Frank Siegert <frank dot siegert at googlemail dot com>
+# Contributor: JP-Ellis <josh at jpellis dot me>
+pkgname=lhapdf
+pkgver=6.4.0
+pkgrel=2
+pkgdesc="A particle physics tool for evaluating PDFs from discretised data files"
+arch=('x86_64')
+url="https://lhapdf.hepforge.org/"
+license=('GPL3')
+makedepends=('cython')
+depends=('python')
+install=lhapdf.install
+source=("https://www.hepforge.org/archive/lhapdf/LHAPDF-${pkgver}.tar.gz")
+sha256sums=('7d2f0267e2d65b0ddee048553b342d7c893a6dbabe1e326cad62de0010dd810c')
+
+prepare() {
+  cd "${srcdir}/LHAPDF-${pkgver}"
+  sed -e 's/print Cython.Compiler.Version.version/print (Cython.Compiler.Version.version)/g' -i m4/cython.m4
+}
+
+build() {
+  cd "${srcdir}/LHAPDF-${pkgver}"
+  autoreconf -i
+  ## need to rebuild Python extension code with up-to-date Cython for Python 3.7
+  ## will eventually be fixed upstream
+  touch wrappers/python/lhapdf.pyx
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --localstatedir=/var \
+    --runstatedir=/run \
+    --datarootdir=/usr/share/${pkgname} \
+    --datadir=/usr/share/${pkgname} \
+    --docdir=/usr/share/doc/${pkgname} \
+    --pdfdir=/usr/share/${pkgname}/LHAPDF \
+    --localedir=/usr/share/locale
+  make
+}
+
+check() {
+  cd "${srcdir}/LHAPDF-${pkgver}"
+  make -k check
+}
+
+package() {
+  cd "${srcdir}/LHAPDF-${pkgver}"
+  make DESTDIR="${pkgdir}/" install
+}

Deleted: lhapdf.install
===================================================================
--- lhapdf.install	2021-11-26 13:11:08 UTC (rev 1054858)
+++ lhapdf.install	2021-11-26 13:11:15 UTC (rev 1054859)
@@ -1,11 +0,0 @@
-post_install() {
-    echo 'PDF sets are stored in /usr/share/lhapdf/LHAPDF'
-    echo 'You can download PDF sets with the "lhapdf" command like so:'
-    echo '    $ lhapdf ls'
-    echo '    # sudo lhapdf install CT10'
-}
-
-post_upgrade() {
-    echo 'To update your PDF sets, please run:'
-    echo '    # lhapdf install $(lhapdf list --outdated)'
-}

Copied: lhapdf/repos/community-x86_64/lhapdf.install (from rev 1054858, lhapdf/trunk/lhapdf.install)
===================================================================
--- lhapdf.install	                        (rev 0)
+++ lhapdf.install	2021-11-26 13:11:15 UTC (rev 1054859)
@@ -0,0 +1,11 @@
+post_install() {
+    echo 'PDF sets are stored in /usr/share/lhapdf/LHAPDF'
+    echo 'You can download PDF sets with the "lhapdf" command like so:'
+    echo '    $ lhapdf ls'
+    echo '    # sudo lhapdf install CT10'
+}
+
+post_upgrade() {
+    echo 'To update your PDF sets, please run:'
+    echo '    # lhapdf install $(lhapdf list --outdated)'
+}



More information about the arch-commits mailing list