[arch-commits] Commit in lhapdf/repos/community-x86_64 (5 files)
Konstantin Gizdov
kgizdov at archlinux.org
Mon Aug 10 12:42:00 UTC 2020
Date: Monday, August 10, 2020 @ 12:42:00
Author: kgizdov
Revision: 673652
archrelease: copy trunk to community-x86_64
Added:
lhapdf/repos/community-x86_64/PKGBUILD
(from rev 673651, lhapdf/trunk/PKGBUILD)
lhapdf/repos/community-x86_64/lhapdf.install
(from rev 673651, lhapdf/trunk/lhapdf.install)
Deleted:
lhapdf/repos/community-x86_64/PKGBUILD
lhapdf/repos/community-x86_64/fix_typo.patch
lhapdf/repos/community-x86_64/lhapdf.install
----------------+
PKGBUILD | 83 ++++++++++++++++++++++++++-----------------------------
fix_typo.patch | 12 -------
lhapdf.install | 22 +++++++-------
3 files changed, 51 insertions(+), 66 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-10 12:41:53 UTC (rev 673651)
+++ PKGBUILD 2020-08-10 12:42:00 UTC (rev 673652)
@@ -1,43 +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.3
-pkgrel=6
-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"
- 'fix_typo.patch')
-sha256sums=('d6e63addc56c57b6286dc43ffc56d901516f4779a93a0f1547e14b32cfd82dd1'
- '6ababeef3831d1bc2f708d0fbbf5e759aa983a83f9bec18706d3cb1ce257b536')
-
-prepare() {
- cd "${srcdir}/LHAPDF-${pkgver}"
- sed -e 's/print Cython.Compiler.Version.version/print (Cython.Compiler.Version.version)/g' -i m4/cython.m4
- patch -Np1 -i "${srcdir}/fix_typo.patch"
-}
-
-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 673651, lhapdf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-08-10 12:42:00 UTC (rev 673652)
@@ -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.3.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=('ed4d8772b7e6be26d1a7682a13c87338d67821847aa1640d78d67d2cef8b9b5d')
+
+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: fix_typo.patch
===================================================================
--- fix_typo.patch 2020-08-10 12:41:53 UTC (rev 673651)
+++ fix_typo.patch 2020-08-10 12:42:00 UTC (rev 673652)
@@ -1,12 +0,0 @@
-diff -aur LHAPDF-6.2.3-old/bin/lhapdf LHAPDF-6.2.3-new/bin/lhapdf
---- LHAPDF-6.2.3-old/bin/lhapdf 2019-05-11 23:06:38.000000000 +0300
-+++ LHAPDF-6.2.3-new/bin/lhapdf 2019-05-27 13:38:55.737898779 +0300
-@@ -287,7 +287,7 @@
- (by default lists all sets available for download; use --installed or --outdated to explore those installed on the current system)"""
- ap = argparse.ArgumentParser(description=__doc__, usage="%(prog)s list [options] [pattern...]")
- ap.add_argument("PATTERNS", nargs="*", help="patterns to match PDF sets against")
-- ag = ap.add_add_mutually_exclusive_group()
-+ ag = ap.add_mutually_exclusive_group()
- ag.add_argument("--installed", dest="INSTALLED", action="store_true", help="list installed PDF sets")
- ag.add_argument("--outdated", dest="OUTDATED", action="store_true", help="list installed, but outdated, PDF sets")
- ap.add_argument("--codes", dest="CODES", action="store_true", help="additionally show ID codes")
Deleted: lhapdf.install
===================================================================
--- lhapdf.install 2020-08-10 12:41:53 UTC (rev 673651)
+++ lhapdf.install 2020-08-10 12:42:00 UTC (rev 673652)
@@ -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 673651, lhapdf/trunk/lhapdf.install)
===================================================================
--- lhapdf.install (rev 0)
+++ lhapdf.install 2020-08-10 12:42:00 UTC (rev 673652)
@@ -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