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

Konstantin Gizdov kgizdov at archlinux.org
Mon May 27 10:36:50 UTC 2019


    Date: Monday, May 27, 2019 @ 10:36:50
  Author: kgizdov
Revision: 471272

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-27 10:36:23 UTC (rev 471271)
+++ PKGBUILD	2019-05-27 10:36:50 UTC (rev 471272)
@@ -1,54 +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.2.1
-pkgrel=4
-pkgdesc="A particle physics tool for evaluating PDFs from discretised data files."
-arch=('x86_64')
-url="http://lhapdf.hepforge.org/"
-license=('GPL3')
-makedepends=('cython')
-depends=('python' 'python2')
-# install=lhapdf.install
-source=("http://www.hepforge.org/archive/lhapdf/LHAPDF-${pkgver}.tar.gz")
-sha256sums=('6d57ced88592bfd0feca4b0b50839110780c3a1cd158091c075a155c5917202e')
-
-prepare() {
-    cd "${srcdir}/LHAPDF-${pkgver}"
-    sed -e 's/print Cython.Compiler.Version.version/print (Cython.Compiler.Version.version)/g' -i m4/cython.m4
-
-    cd "${srcdir}"
-    cp -r "LHAPDF-${pkgver}" "LHAPDF-${pkgver}-py2"
-}
-
-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
-
-    cd "${srcdir}/LHAPDF-${pkgver}-py2"
-    autoreconf -i
-    PYTHON=/usr/bin/python2 ./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
-
-    cd "${srcdir}/LHAPDF-${pkgver}-py2"
-    make -k check
-}
-
-package() {
-    cd "${srcdir}/LHAPDF-${pkgver}"
-    make DESTDIR="${pkgdir}/" install
-
-    cd "${srcdir}/LHAPDF-${pkgver}-py2"
-    make DESTDIR="${pkgdir}/" install
-}

Copied: lhapdf/repos/community-x86_64/PKGBUILD (from rev 471271, lhapdf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-27 10:36:50 UTC (rev 471272)
@@ -0,0 +1,40 @@
+# 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.2.3
+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' 'python2')
+install=lhapdf.install
+source=("https://www.hepforge.org/archive/lhapdf/LHAPDF-${pkgver}.tar.gz")
+sha256sums=('d6e63addc56c57b6286dc43ffc56d901516f4779a93a0f1547e14b32cfd82dd1')
+
+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
+}

Deleted: lhapdf.install
===================================================================
--- lhapdf.install	2019-05-27 10:36:23 UTC (rev 471271)
+++ lhapdf.install	2019-05-27 10:36:50 UTC (rev 471272)
@@ -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 471271, lhapdf/trunk/lhapdf.install)
===================================================================
--- lhapdf.install	                        (rev 0)
+++ lhapdf.install	2019-05-27 10:36:50 UTC (rev 471272)
@@ -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